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

           Summary: JNDIRealm not working - using incorrect filter
           Product: Tomcat 5
           Version: 5.0.18
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina:Modules
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When using the JNDIRealm, no role checking succeeds. Looking at the debug, this 
is due to an incorrect search filter being created, prepending and appending 
invalid characters (\28 and \29) to the filter. The server.xml works fine on 
previous versions. This occurs on both Windows and Linux. Log output:

2004-01-27 14:48:02 JNDIRealm[Catalina]: Username tomcat successfully 
authenticated
2004-01-27 14:48:02 JNDIRealm[Catalina]:   getRoles(uid=tomcat,dc=test,dc=com)
2004-01-27 14:48:02 JNDIRealm[Catalina]:   Searching role base 'dc=test,dc=com' 
for attribute 'cn'
2004-01-27 14:48:02 JNDIRealm[Catalina]:   With filter expression 
'\28uniqueMember=uid=tomcat,dc=test,dc=com\29'

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

Reply via email to