View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
1487 | RackTables | default | public | 2015-07-09 13:06 | 2019-01-08 11:47 |
Reporter | jelle | Assigned To | infrastation | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
OS | Centos | OS Version | 6 | ||
Product Version | 0.20.10 | ||||
Target Version | 0.20.11 | Fixed in Version | 0.20.11 | ||
Summary | 1487: success_server not set in queryLDAPServer when using TLS | ||||
Description | When using TLS, queryLDAPServer will always returns 'CAN' because $success_server is not set. if (!isset ($success_server)) return array ('result' => 'CAN'); | ||||
Steps To Reproduce | index 6e30a94..e14d98f 100644 --- a/auth_old.php $LDAP_options = array ( 'server' => 'ldap://dc01.example.com ldap://dc02.example.com', 'search_attr' => 'uid', 'search_dn' => 'ou=users,ou=test,dc=example,dc=com', 'displayname_attrs' => 'cn', 'cache_refresh' => 300, 'cache_retry' => 15, 'cache_expiry' => 600, // Uncomment line below to work around ActiveDirectory+PHP problem to perform // search right in the base DN (not in one of OUs/CNs below). # 'options' => array (LDAP_OPT_PROTOCOL_VERSION => 3, LDAP_OPT_REFERRALS => 0), 'options' => array (LDAP_OPT_PROTOCOL_VERSION => 3), 'use_tls' => 2, ); | ||||
Additional Information | +++ b/auth.php @@ -505,6 +505,7 @@ function queryLDAPServer ($username, $password) else throw new RackTablesError ('LDAP misconfiguration: LDAP TLS required but not successfully negotiated.', RackTablesError::MISCONFIGURED); } + $success_server = $server; } else { | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2015-07-09 13:06 | jelle | New Issue | |
2015-07-22 12:10 | infrastation | Note Added: 0002901 | |
2015-07-22 12:10 | infrastation | Assigned To | => infrastation |
2015-07-22 12:10 | infrastation | Status | new => closed |
2015-07-22 12:10 | infrastation | Resolution | open => fixed |
2015-07-22 12:10 | infrastation | Fixed in Version | => 0.20.11 |
2015-07-22 12:10 | infrastation | Target Version | => 0.20.11 |
2015-07-22 12:10 | infrastation | Additional Information Updated | |
2019-01-08 11:47 | infrastation | Source_changeset_attached | => RackTables master 3207ebb0 |