Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ldapsearch error

Status
Not open for further replies.

garabatus

Programmer
Dec 22, 2009
1
CA
Hi there,

I'm trying to query an AD using something like:

ldapsearch -v -x -W -D "cn=username,cn=Users,dc=AD,dc=domain,dc=com " -LLL "(sAMAccountName=theaccount)" -H ldap://1.1.1.1

and I'm getting the following error:

ldap_initialize( ldap://1.1.1.1 )
Enter LDAP Password:
filter: (sAMAccountName=theaccount)
requesting: All userApplication attributes
No such object (32)
Additional information: 0000208D: NameErr: DSID-031001A8, problem 2001 (NO_OBJECT), data 0, best match of:
''

any idea about how to fix it?

thanks a lot,

garabatus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top