LDAP: get list of ou

[email protected] (Mark Zimmermann)
Newsgroups php.db
Organization NOISY-Tec
Message-ID <[email protected]>
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!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.