wood burning stoves 2.0*
The moose likes Java in General and the fly likes LDAP query throws error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "LDAP query throws error" Watch "LDAP query throws error" New topic

LDAP query throws error

Kannan Ekanath

Joined: Nov 26, 2008
Posts: 18
Yes I have googled and I have also read http://www.coderanch.com/t/329533/Java-General-advanced/java/Connecting-Active-Directory-using-LDAP before asking this question. My simple LDAP Java code,

throws an error "javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-031001A8, problem 2001 (NO_OBJECT), data 0, best match of:
'' and I dont know why. The url http://www.coderanch.com/t/329533/Java-General-advanced/java/Connecting-Active-Directory-using-LDAP seems to discuss about this but at one point a poster "Heather Rose" says "Alright, so I got Active directory to work with a sample project, but I can't get it to work when I integrate it with my own project". So there is no actual solution prescribed there. Can someone please help?

FYI there is already a php application that works with same configuration and it does not use SSL. (the server does not use SSL as well)
I agree. Here's the link: http://aspose.com/file-tools
subject: LDAP query throws error
Similar Threads
Password Change on Ldap keep on failing
How to add a user in the Active Directory via JNDI/LDAP?
How tp use SearchFilter with JNDI
How to add a user in the Active Directory via JNDI/LDAP?
Problem with using dirsyn control with active directory