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

http://issues.apache.org/bugzilla/show_bug.cgi?id=30612

Bind Mode not work for JNDIRealm(LDAP)

           Summary: Bind Mode not work for JNDIRealm(LDAP)
           Product: Tomcat 5
           Version: 5.0.27
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If i try to configure the bind mode for LDAP it give this error:
2004-08-12 11:24:23 JNDIRealm[Catalina]: Connecting to URL ldap://XXX.YYY.ZZ
2004-08-12 11:31:40 JNDIRealm[Catalina]:   Searching for [EMAIL PROTECTED]
2004-08-12 11:31:40 JNDIRealm[Catalina]:   base: CN=Users,dc=YYY,dc=ZZ  
filter: ([EMAIL PROTECTED])
2004-08-12 11:31:40 JNDIRealm[Catalina]: Exception performing authentication
javax.naming.NamingException: [LDAP: error code 1 - 00000000: LdapErr: DSID-
0C0905FF, comment: In order to perform this operation a successful bind must 
be completed on the connection., data 0, vece

and this is the configuration:
      <Realm className="org.apache.catalina.realm.JNDIRealm" 
             connectionURL="ldap://XXX.YYY.ZZ";
             alternateURL="ldap://AAA.YYY.ZZ";
             userBase="CN=Users,dc=idtech,dc=it"
             userSearch="(userPrincipalName={0})"
             userRoleName="memberOf"
             roleBase="CN=Users,dc=idtech,dc=it"
             roleName="cn"
             roleSearch="(member={0})"
             roleSubtree="true"
             userSubtree="true"/>

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

Reply via email to