You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Geofrey Rainey <Ge...@tvnz.co.nz> on 2009/05/26 12:16:01 UTC
Tomcat6 JNDI Realm
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.
Re: Tomcat6 JNDI Realm
Posted by Rainer Jung <ra...@kippdata.de>.
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org