From: <Bob...@kp...> - 2003-01-16 17:31:03
|
Set your search base at the OU level and use sub-tree search. $ldap -> search ( base => "ou=my OU, o=My Org, C=us", scope => "sub", filter => "sn=*", ); Bob Goolsby bob...@kp... (925) 926-3406 Patrice Gagnon <Pat...@gm...> Sent by: per...@li... 01/16/2003 08:29 AM To per...@li... cc Subject perl LDAP and Active directory Hi, I have a question. I want to make a list of users from an OU in the Windows 2000 Active Directory. I can bind to my server but i don't know how to proceed to make a list of users of an OU. if you have any trick..... Thanks in advance.. ------------------------------------------------------- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en |