note 3969 deleted from function.ldap-get-entries by felipe
| From: | felipe@php.net | Date: | Sat, 29 Dec 2007 17:22:12 +0000 |
| Subject: | note 3969 deleted from function.ldap-get-entries by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134132@lists.php.net to get a copy of this message | ||
Note Submitter: ron at opus1 dot com
----
Note that when you are using loops to search through attributes, you must handle [dn] separately,
otherwise each iteration of the loop will only return each character of the dn, left to right, and
the array for dn of "cn=boo" would be:
dn [0]="c"
dn [1]="n"
dn [2]="="
dn [3]="b"
dn [4]="o"
dn [5]="o"
Not much fun to debug. ;-)