This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Security and the fly likes Anonymous Connection To Active Directory LDAP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Anonymous Connection To Active Directory LDAP" Watch "Anonymous Connection To Active Directory LDAP" New topic
Author

Anonymous Connection To Active Directory LDAP

Jason Ferguson
Ranch Hand

Joined: Aug 09, 2007
Posts: 58
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Anonymous Connection To Active Directory LDAP
 
Similar Threads
Connection To Active Directory Error
ldap hell
user Authentication problem using LDAPTemplate
user Authentication problem using LDAPTemplate
About LDAP and JNDI