LDAP: get list of ou
| From: | Mark Zimmermann | Date: | Mon, 20 Apr 2009 11:28:47 +0000 |
| Subject: | LDAP: get list of ou | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-46130@lists.php.net to get a copy of this message | ||
Hello,
i am working with a LDAP tree like this.
o=tree
ou=de
user1
user2
user3
ou=en
ou=ignore.me
ou=us
I wish to get a list of all 'ou' entries and one of their attributes, not the
users one.
I have no idea, how to realize this? Maybe, anyone can help me?
ldap_search($ldap,"o=tree", "ou=de");
works fine and i get a list of all 'de' users.
Thanks!