From: Chris R. <chr...@ma...> - 2002-11-03 06:32:34
|
On 3/11/02 3:23 am, Jeffery Huang <je...@uv...> wrote: > Dear all, > I tried to write a simple program to query microsoft active > directory data use Net::LDAP. > I have binded it successful, but I cannot query it! I use the same > command from ldap browser, > it can query my data. my query string like that: > > $querystring = "cn=HuangJeffery,cn=Users,dc=mydomain,dc=com"; > > What's problem here! does anyone success to access AD use perl module? > How to use it! I don't know what you mean by a query string. LDAP searches have search bases and search filters (and a few other things) but no query strings. Can you send us the exact parameters that you send to $ldap->search()? Cheers, Chris |