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=16541>.
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=16541

jndi realm role search cannot handle \ in user dn correctly

           Summary: jndi realm role search cannot handle \ in user dn
                    correctly
           Product: Tomcat 4
           Version: 4.1.18
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


User DN contains \

e.g  CN=Haaf\, Armin,CN=Users,DC=mercatis,DC=de


role search did not return any roles, because it interprets the "\," as an 
escaped ","


Solution replace all "\" in user dn with "\\" in the getRoles method of the
JNDIRealm

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to