1) checkout/get only JNDIRealm
2) compile it using all of the jar files in common/lib and server/lib in your classpath
3) Place the compiled file in server/classes (in the correctly nested directory)
-Tim
Sebastien Brunot wrote:
Does that means that i have to checkout from CVS head and recompile tomcat to solve the problem, or is there a stable version which correct this ?
Thanks for your answer,
Sebastien
-----Original Message-----
From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: lundi 2 août 2004 14:15
To: Tomcat Developers List
Subject: Re: JNDI Realm Bug
IIRC - This was fixed in HEAD of JNDIRealm.
-Tim
Sebastien Brunot wrote:
Hi,
I'm using Tomcat 4.1.30 with JDK 1.4.2 on Windows XP Professionnal.
I've got a problem with JNDIRealm : the group a user is in in my LDAP directory is an object which attribute "member" contains the user CN. So I've set up the roleSearch attribute of JNDIRealm to the value "(member=*{0}*)".
Both wildcards are replaced with the "\2a" String by JNDIRealm before running the search and the group my user is in is never retrieved. My interpretation of RFC 2254 is that those wildcards shouldn't be replaced with "\2a" : the replacement should only occur for wildcards in the String that will replace the {0} portion of the filter, aka wildcards in the user CN.
Is there a way to use wildcards in the roleSearch attribute, or is it a
new
found bug ?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]