You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Meurant , Gerald" <ge...@mad.tecsidel.es> on 2002/02/18 13:22:41 UTC

Digest authentication problem

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:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>