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 2003/01/29 14:23:19 UTC

DO NOT REPLY [Bug 16541] New: - jndi realm role search cannot handle \ in user dn correctly

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: tomcat-dev@jakarta.apache.org
        ReportedBy: Armin.Haaf@mercatis.de


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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org