aspose file tools*
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
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