Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

LDAP query throws error

 
Kannan Ekanath
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic