Hi! Is there anyone out there who would like to figure out what I am doing wrong when trying to create a realm in Tomcat that is supposed to authenitcate users over JNDI against an Active Directory server.
In my server.xml I have the following <Realm className="org.apache.catalina.realm.JNDIRealm" connectionURL="ldap://192.168.10.10:389" alternateURL="ldap://192.168.10.10:389" userBase="ou=Users,dc=alfa-moving,dc=se" userPattern="uid={0},ou=Users,dc=alfa-moving,dc=se" roleBase="ou=Users,dc=alfa-moving,dc=se" roleName="cn" debug="99" /> The log from tomcat says the following 004-10-14 16:04:04 JNDIRealm[Catalina]: Connecting to URL ldap://192.168.10.10:389 2004-10-14 16:04:16 JNDIRealm[Catalina]: lookupUser(JKP_konf) 2004-10-14 16:04:16 JNDIRealm[Catalina]: dn=uid=JKP_konf,ou=Users,dc=alfa-moving,dc=se 2004-10-14 16:04:16 JNDIRealm[Catalina]: validating credentials by binding as the user 2004-10-14 16:04:16 JNDIRealm[Catalina]: binding as uid=JKP_konf,ou=Users,dc=alfa-moving,dc=se 2004-10-14 16:04:16 JNDIRealm[Catalina]: bind attempt failed 2004-10-14 16:04:16 JNDIRealm[Catalina]: Username JKP_konf NOT successfully authenticated When I look in the gui of AD I se a tree like this Active Directory Users and Computers --+alfa-moving.se ----+ Users ------+JKP_konf So, what have I done wrong ... somehow it always seem to be me who does the errors... .-) Thanks in advance Roland Carlsson ps: This is a crosspost of what I posted in the JNDI-forum at java.sun.com yesterday but got no answers (jet). Sent using the Microsoft Entourage 2004 for Mac Test Drive. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]