Hi,

 

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.

==========================================================
For more information on the Television New Zealand Group, visit us
online at tvnz.co.nz 
==========================================================
CAUTION:  This e-mail and any attachment(s) contain information that
is intended to be read only by the named recipient(s).  This information
is not to be used or stored by any other person and/or organisation.

Reply via email to