Page 1 of 1

Active Directory OU's

Posted: Fri Oct 27, 2006 6:37 am
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

Posted: Fri Oct 27, 2006 12:36 pm
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

Posted: Fri Oct 27, 2006 12:38 pm
by timvw
The last user comment will be informational too :) http://greg.cathell.net/php_ldap_ssl.html

Posted: Fri Oct 27, 2006 1:46 pm
by amir
Thanks! I 'll certainly try it.
You all are too good.
God bless you all.