Hi,
I have a tomcat server using a JNDI-Realm to authenticate against a LDAP
server. It works fine when using the BASIC authentication mode, but it
doesn´t work when specifying the DIGEST authentication mode.
There´s no error message in tomcat, neither in the LDAP server, so I used a
sniffer to watch the network traffic and the communication between the 2
servers : there´s no communication !!
So I think the problem has its origin in tomcat. I post the realm
description of the server.xml (I replaced the lines that specified my ldap
server, the connection works in basic mode anyway) :
<Realm className="org.apache.catalina.realm.JNDIRealm" debug="4"
connectionName="cn=administrador"
connectionPassword="mypassword"
connectionURL="ldap://myserver:389"
roleBase="dc=roles,o=artic,c=es"
roleName="cn"
roleSearch="(uniqueMember={0})"
roleSubtree="false"
userPassword="userPassword"
userPattern="cn={0},o=artic,c=es"
digest="MD5"
/>
I would really apreciate any help, my searches on the net and in the doc are
not giving me any result. Is the realm descriptor correct ? Thanks.
Gerald.
--
To unsubscribe: <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
|