View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024043 | mantisbt | ldap | public | 2018-02-26 11:28 | 2018-03-04 00:36 |
Reporter | raspopov | Assigned To | community | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.11.1 | ||||
Target Version | 2.12.0 | Fixed in Version | 2.12.0 | ||
Summary | 0024043: $g_ldap_realname_field generates WARNING: field 'givenName' does not exist. | ||||
Description | A LDAP attribute specified in $g_ldap_realname_field option in the well-know form (i.e. 'displayName', 'givenName' etc.) doesn't work, seems only lower-cased supported. | ||||
Steps To Reproduce |
| ||||
Tags | No tags attached. | ||||
MantisBT: master 34978af2 2018-02-27 15:04 Committer: vboctor Details Diff |
Fixed case-sensitive LDAP attributes names A ldap_get_entries() function returns attribute names as lowercase keys so next call of array_key_exists() fails because of it performs a case-sensitive comparison. For example if a $g_ldap_realname_field option is set to 'givenName' (a well-known LDAP attribute display name) then it finds nothing. Fixes 0024043 |
Affected Issues 0024043 |
|
mod - core/ldap_api.php | Diff File |