• Post Reply Bookmark Topic Watch Topic
  • New Topic

Anonymous Connection To Active Directory LDAP

Jason Ferguson
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to connect anonymously to my organization's LDAP server just to read a set of user details. My .NET coworkers use a relatively simple set of code to connect:

I have attempting to connect with the following Java code, using Spring-LDAP's LDAP Template and an LDAP DAO.

Unfortunately, the following exception is thrown:

In the .NET snippet, note that no username/password is provided. As such, I'm trying to avoid providing one in the Java version.
[ January 02, 2008: Message edited by: J. Ferguson ]
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!