note 3970 modified in LDAP functions by ronabop
| From: | ronabop@php.net | Date: | Tue, 19 Jun 2001 20:21:08 +0000 |
| Subject: | note 3970 modified in LDAP functions by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14462@lists.php.net to get a copy of this message | ||
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 too much fun to debug. ;-)
http://www.php.net/manual/ldap-functions.php