yes,

there is catalina.out and three localhost_* log files
(examples, log, admin)

None of which suggest that any communication with LDAP
has occurred.

Charlene

 --- Hari Venkatesan <[EMAIL PROTECTED]> wrote: >
Did you check Catalina_log in /logs directory
> 
> Hari
> 
> -----Original Message-----
> From: Charlene Mitchell
> [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, November 26, 2002 3:46 AM
> To: Tomcat Users List
> Subject: Re: ldap authenitcation
> 
> Hi,
> 
> Is it just not possible to authenticate against
> LDAP?
> 
> If not can someone help explain how to set the
> debugging mode of TomCat to verbose because I'm
> seeing
> nothing relevant in the logs.
> 
> sigh
> 
> please help!
> 
> Charlene
> 
>  --- Charlene Mitchell <[EMAIL PROTECTED]>
> wrote: > Hi,
> > 
> > No success so far :-(
> > 
> > Surely I can't be the only person trying to do
> > something so fundamental?
> > 
> > How can I guarantee that I see even a failure in
> the
> > log files? Seeing nothing at all seems very weird.
> > 
> > Thanks
> > 
> > Charlene
> > 
> >  --- Charlene Mitchell <[EMAIL PROTECTED]>
> > wrote: > Hi,
> > > 
> > > How do I authenticate against an LDAP directory
> > > using
> > > TomCat 4.1.2?
> > > 
> > > In my web.xml I have a resource that requires
> form
> > > authentication as follows:
> > >    <login-config>
> > >         <auth-method>FORM</auth-method>
> > >        
> > > <realm-name>java:/jaas/LDAPLogin</realm-name>
> > > <!-- I tried with and without this -->
> > >         <form-login-config>
> > >            
> > > <form-login-page>/login</form-login-page>
> > >            
> > > <form-error-page>/login-fail</form-error-page>
> > >         </form-login-config>  
> > >     </login-config>
> > > 
> > > I have read the JNDI Realm how-to and added the
> > > following few lines to my server.xml file.
> > >       <Realm
> > > className="org.apache.catalina.realm.JNDIRealm"
> > > debug="99"
> > >         connectionURL="ldap://ldapmachine:389";
> > >        
> userPattern="uid={0},ou=Users,o=myOrg.com"
> > >         roleBase="ou=Groups,0=myOrg.com"
> > >         roleName="cn"
> > >         roleSearch="(uniqueMember={0})"/>
> > > 
> > > When I access a restricted URL the login page
> > > appears
> > > and I type in my credentials, but when I submit
> > (to:
> > > j_security_check) 
> > > I automatically get redirected to my login-fail
> > page
> > > in a matter of nano-seconds (this in itself
> > suggests
> > > that it is not working!).
> > > 
> > > When I look in the TomCat log files I cannot see
> > any
> > > references to any attempts to contact my LDAP
> > > directory.
> > > And when I look in the LDAP access log I cannot
> > see
> > > any attempt to be contacted either.
> > > 
> > > What step have I missed out or got wrong?
> > > 
> > > Many thanks in advance
> > > 
> > > Charlene
> > > 
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Everything you'll ever need on one web page
> > > from News and Sport to Email and Music Charts
> > > http://uk.my.yahoo.com
> > > 
> > > --
> > > To unsubscribe, e-mail:  
> > >
> >
> <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > >  
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Everything you'll ever need on one web page
> > from News and Sport to Email and Music Charts
> > http://uk.my.yahoo.com
> > 
> > --
> > To unsubscribe, e-mail:  
> >
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >  
> 
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to