Re: authentication fail (JNDI Realm with Tomcat )

2010-11-29 Thread long hong
untName" property. I changed this to "CN={0}" and "userPrincipalName={0}" and also failed to pass the authentication. On Nov 30, 2010, at 12:29 PM, Caldarale, Charles R wrote: >> From: long hong [mailto:longhong1...@gmail.com] >> Subject: Re: authentication

Re: authentication fail (JNDI Realm with Tomcat )

2010-11-29 Thread long hong
r Examples Username: Password: I confused that this code worked well with the example but failed in my case... On Nov 30, 2010, at 12:04 PM, Caldarale, Charles R wrote: >> From: long hong [mailto:longhong1...@gmail.com] >> S

authentication fail (JNDI Realm with Tomcat )

2010-11-29 Thread long hong
Hi, all! I am new to Tomcat. I am recently doing a sample app of authentication using tomcat + JNDI + Light Weight ActiveDirectory. I wanted to log into the web app with "admin" but failed several times with no error messages in my eclipse console... I had a user named "admin" with the dn= "c