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/06/30 20:11:17 UTC

DO NOT REPLY [Bug 21194] New: - JNDIRealm usersubtree doesn't work properly

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

JNDIRealm usersubtree doesn't work properly 

           Summary: JNDIRealm usersubtree doesn't work properly
           Product: Tomcat 4
           Version: 4.1.18
          Platform: All
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: jacquaviva@itsgny.com


I am trying to get Tomcat version 4.1.18 to authenticate to novell's eDirectory 
8.62 using JNDIRealm.  If a user exists in the base directory set, it picks up 
the user, no problem.  But if a user exists in a subdirectory of the base 
selected, the usersubtree being set to 'true' still doesn't change the search 
scope to the subdirectory.  This is the realm I have set.

<Realm   className="org.apache.catalina.realm.JNDIRealm" debug="99"
     connectionURL="ldap://10.228.2.91:389"
	userBase="ou=People,o=ny"
	userSearch="(cn={0})"
	userSubTree="true"
	  roleBase="ou=People,o=ny"
	  roleSubTree="true"
          roleName="title"
	  roleSearch="(cn={1})"

/>

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