Active Directory OU's

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
amir
Forum Contributor
Posts: 287
Joined: Sat Oct 07, 2006 4:28 pm

Active Directory OU's

Post by amir »

I can connect to our AD using PHP and LDAP and i can query it, but im looking to see if it is possible to display what security groups, OU's or groups in general that a specific member is apart.

when i mean OU's, security groups or groups in general, take this example:

our company name is Pegasus so we have a security group call pegasus that everyone is a member off..

another example is, we have a OU called IT, Engineering, Management, Administration etc. Is it possible to display all members in the IT OU?

I have been looking around at: http://uk.php.net/ldap but havent found anything that looks like what i want/need to use..

TIA
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Isn't that a basic ldap question that is not php specific at all?
Take a look at http://de2.php.net/manual/en/ref.ldap.php, Example 1
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

The last user comment will be informational too :) http://greg.cathell.net/php_ldap_ssl.html
amir
Forum Contributor
Posts: 287
Joined: Sat Oct 07, 2006 4:28 pm

Post by amir »

Thanks! I 'll certainly try it.
You all are too good.
God bless you all.
Post Reply