You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/02/06 00:52:31 UTC

DO NOT REPLY [Bug 26487] - JNDIRealm not working - using incorrect filter

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26487>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26487

JNDIRealm not working - using incorrect filter





------- Additional Comments From jtulley@novell.com  2004-02-05 23:52 -------
Ahh, I see the problem.  I did the RFC 2254 encoding on the whole search string 
we were using, whereas it should only be done on the DN that the user enters, 
so you would go from a DN of  "some(Strange)Username" to a role search string 
of (uniqueMember=some\28Strange\29Username), not 
\28uniqueMember=some\28Strange\29Username\29
I'll post the simple patch to make the encoding more focused.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org