Have a look at

http://www.jspwiki.org/wiki/ActiveDirectoryIntegration

Regards,

Rainer

On 26.05.2009 12:16, Geofrey Rainey wrote:
> I'm trying to setup a tomcat6 realm to authenticate against an active
> directory server. I got a
> 
> JDBC realm working okay with a MySQL database.
> 
>  
> 
> I'm receiving the following error and thought it might be wise to try
> and get ldapsearch working
> 
> First. However I'm not having much luck with either.
> 
>  
> 
> Can anyone assist or does anyone know of good documentation for AD auth
> with Tomcat?
> 
>  
> 
> May 26, 2009 10:09:56 PM org.apache.catalina.realm.JNDIRealm
> authenticate
> 
> SEVERE: Exception performing authentication
> 
> javax.naming.NamingException: [LDAP: error code 1 - 00000000: LdapErr:
> DSID-0C090627, comment: In order to perform this operation a successful
> bind must be completed on the connection., data 0, vece]; remaining name
> 'dc=tvnzad,dc=tvnz,dc=co,dc=nz'
> 
>         at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3072)
> 
>         at
> com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2978)
> 
>         at
> com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2785)
> 
>         at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1839)
> 
>         at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1762)
> 
>  
> 
>  
> 
> Regards,
> 
> Geoff.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to