note 3970 deleted from ref.ldap by felipe
| From: | felipe@php.net | Date: | Sun, 20 Jul 2008 23:33:12 +0000 |
| Subject: | note 3970 deleted from ref.ldap by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142353@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 too much fun to debug. ;-)