|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #19438 ldap_get_entries() does strlower() on attribute names
Submitted: 2002-09-16 12:20 UTC Modified: 2017-10-23 01:19 UTC
Avg. Score:4.4 ± 0.8
Reproduced:7 of 8 (87.5%)
Same Version:7 (100.0%)
Same OS:4 (57.1%)
From: titus dot anderson at louisville dot edu Assigned: mcmic (profile)
Status: Assigned Package: LDAP related
PHP Version: 7.1 OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
45 - 33 = ?
Subscribe to this entry?

 [2002-09-16 12:20 UTC] titus dot anderson at louisville dot edu
The function ldap_get_entries strlower's attribute names before returning the array of results.  ldap_get_attributes, on the other hand, does not.  It seems to me that these two functions should treat attribute names in a consistent manner.  Perhaps it would make sense to add a configuration option to allow the user to decide how attribute names should be treated.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-29 21:36 UTC]
Not a bug, feature request.
 [2010-12-03 18:13 UTC]
-Package: Feature/Change Request +Package: LDAP related
 [2017-01-09 06:59 UTC]
-PHP Version: 5,6 (PHP_5_2, PHP_5_3, HEAD) +PHP Version: 7.1
 [2017-10-23 01:19 UTC]
-Status: Open +Status: Assigned -Assigned To: +Assigned To: mcmic
 [2017-10-23 01:19 UTC]
The only way this can be introduced is with a new additional parameter to ldap_get_entries() as it would otherwise introduce a BC break.

Assigning to maintainer so he can clarify whether this should be something or not
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Sep 28 17:03:37 2021 UTC