This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat LDAP Authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat LDAP Authentication" Watch "Tomcat LDAP Authentication" New topic
Author

Tomcat LDAP Authentication

K.Suresh Kumar
Ranch Hand

Joined: Nov 21, 2007
Posts: 41
Hi,
I am trying to do LDAP Authentication from Tomcat. When I am accessing the web page am getting pop-up for username and password and after given the user credential, tomcat console displaying the error message.
Configuration Details :
server.xml:

web.xml:

Error Details :
SEVERE: Exception performing authentication
javax.naming.NamingException: [LDAP: error code 1 - 000004DC: LdapErr: DSID-0C09
062B, comment: In order to perform this operation a successful bind must be comp
leted on the connection., data 0, vece ]; remaining name 'TestUser@SoftphoneAD.c
om'

Please tell me where I did the mistakes.

Thanks and Regards,
SureshKumar K
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16101
    
  21

You are trying to bind to the LDAP server for authentication , but you're not supplying a password and it can't do an anonymous bind the way you have it presently set up.


Customer surveys are for companies who didn't pay proper attention to begin with.
K.Suresh Kumar
Ranch Hand

Joined: Nov 21, 2007
Posts: 41
Hi Tim Holloway,
Thanks for your reply. Please tell me how to pass the password for present LDAP bind and also give me a guidelines about how to do anonymous bind.

Thanks,
Sureshkumar K
 
GeeCON Prague 2014
 
subject: Tomcat LDAP Authentication