F
FET
Hi all,
I am trying to search a Microsoft Active Directory server on Windows
2003 using Netscape LDAP API. I have the entire DIT in place as:
ou=product,o=cos,dc=myweb,dc=com
Under this tree, I successfully added a cn=user1 and some attributes.
But I am unable to search the directory using this api. The exact
error is as follows:
netscape.ldap.LDAPException: error result (32); 0000208D: NameErr:
DSID-03151E4D, problem 2001 (NO_OBJECT), data 0, best match of:
'DC=myweb,DC=com'
; matchedDN = DC=myweb,DC=com; No such object
LDAPUrl is ldap://<server>:389/CN=user1,OU=product,O=cos,C=IN,DC=myweb,DC=com
I simply construct an LDAPUrl as above and perform a search on it
thus:
LDAPSearchResults results = new LDAPConnection().search(lurl);
I get the exception at the line where I call the
LDAPConnection().search.
Please help me.
Thank you in advance.
Regards.
I am trying to search a Microsoft Active Directory server on Windows
2003 using Netscape LDAP API. I have the entire DIT in place as:
ou=product,o=cos,dc=myweb,dc=com
Under this tree, I successfully added a cn=user1 and some attributes.
But I am unable to search the directory using this api. The exact
error is as follows:
netscape.ldap.LDAPException: error result (32); 0000208D: NameErr:
DSID-03151E4D, problem 2001 (NO_OBJECT), data 0, best match of:
'DC=myweb,DC=com'
; matchedDN = DC=myweb,DC=com; No such object
LDAPUrl is ldap://<server>:389/CN=user1,OU=product,O=cos,C=IN,DC=myweb,DC=com
I simply construct an LDAPUrl as above and perform a search on it
thus:
LDAPSearchResults results = new LDAPConnection().search(lurl);
I get the exception at the line where I call the
LDAPConnection().search.
Please help me.
Thank you in advance.
Regards.