As far as I know, you won't be able to do this until Tomcat 4.1 is released. In the current version of Tomcat, it binds as an administrator and then queries for the user's password and compares it to that which was provided by the user. This comparison takes place on the client-side. i.e. in Tomcat itself. There is another way to do this where it binds as the user himself. This is really what you need. Someone provided a patch that does this and from what I've heard it will most likely be introduced when Tomcat 4.1 comes out. I don't think the patch included SSL support though. Hopefully, they will put that in there too. Otherwise, that would be pretty problematic as well.
Jon ----- Original Message ----- From: "Soefara Redzuan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 12, 2002 7:57 AM Subject: Re: JNDI realm against win2000 DC (REPOST SORRY) > No sooner have I hit send then I find the solution for you !! > > http://forum.java.sun.com/thread.jsp?forum=51&thread=194669 > > Please do let us know if it works. > > Soefara. > > >From: "Soefara Redzuan" <[EMAIL PROTECTED]> > >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: Re: JNDI realm against win2000 DC (REPOST SORRY) > >Date: Fri, 12 Apr 2002 20:55:31 +0800 > > > >Do you mean authentication against a Windows 2000 Active Directory ? The > >latter is based upon LDAP I believe and therefore should be accessible. At > >least that's what the JNDI FAQ implies > >http://java.sun.com/products/jndi/faq.html > > > >However, for authentication purposes, you need to communicate with the > >server via SSL. I've never managed to get this to work successfully but > >there are quite a few references in the forums. For example > >http://forum.java.sun.com/thread.jsp?forum=51&thread=91182 > > > >Please do let us know if you get it working. I'm sure there are many people > >who would love to use it too. > > > >Soefara. > > > > > > > > > > > >>From: "Jacob Lund" <[EMAIL PROTECTED]> > >>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> > >>To: <[EMAIL PROTECTED]> > >>Subject: JNDI realm against win2000 DC (REPOST SORRY) > >>Date: Fri, 12 Apr 2002 14:39:07 +0200 > >> > >>Sorry about this repost, but it is really bugging me! > >> > >> > >>Does anyone have a TC 4.0.x configured with a JNDI realm against a > >>windows 2000 domain controller? Or maybe just know how to set this up! > >> > >>I have been looking at the JNDI how-to and I cannot get it working. > >> > >>Thanks, > >>Jacob > >> > >> > >>-- > >>To unsubscribe: <mailto:[EMAIL PROTECTED]> > >>For additional commands: <mailto:[EMAIL PROTECTED]> > >>Troubles with the list: <mailto:[EMAIL PROTECTED]> > >> > > > > > >_________________________________________________________________ > >Chat with friends online, try MSN Messenger: http://messenger.msn.com > > > > > >-- > >To unsubscribe: <mailto:[EMAIL PROTECTED]> > >For additional commands: <mailto:[EMAIL PROTECTED]> > >Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > > > _________________________________________________________________ > Join the world's largest e-mail service with MSN Hotmail. > http://www.hotmail.com > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
