[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldapsearch to query active directory



Thanks Todd,
I know that AD cannot use anonymous to query data know, but if I use -W parameter,
I cannot access it! Although I type right password, it still return - Incredential ac...


Todd Lyons wrote:

Jeffery Huang wanted us to know:



ldapsearch -x -LLL "cn=HuangJeffery,cn=Users,dc=mydomain,dc=com" mobile -h
192.10.10.193 -p 389



AD does not allow anonymous binds. Add to that:
-D "cn=someuser,blah,blah" -w password (or just -W to be prompted).