note 28991 added to function.ldap-search

From: Date: Wed, 29 Jan 2003 22:50:02 +0000
Subject: note 28991 added to function.ldap-search
Groups: php.notes 
Request: Send a blank email to php-notes+get-43094@lists.php.net to get a copy of this message
A previous comment noted: "I've also noticed that the departmentNumber, employeeNumber (and maybe others in inetorgperson.schema) are not returned from a search." This is incorrect. These attributes are returned, but you must reference them with lowercase names. That is, instead of doing this: $entries[0]["departmentNumber"][0] Do this: $entries[0]["departmentnumber"][0] This doesn't seem like "correct" behavior to me, but I don't know enough about LDAP to say for sure. -- http://www.php.net/manual/en/function.ldap-search.php http://master.php.net/manage/user-notes.php?action=edit+28991 http://master.php.net/manage/user-notes.php?action=delete+28991 http://master.php.net/manage/user-notes.php?action=reject+28991

« previous php.notes (#43094) next »