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 2004/08/12 11:56:44 UTC
DO NOT REPLY [Bug 30612] New: -
Bind Mode not work for JNDIRealm(LDAP)
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: tomcat-dev@jakarta.apache.org
ReportedBy: piergiorgiomunzi@katamail.com
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 p.munzi@YYY.ZZZ
2004-08-12 11:31:40 JNDIRealm[Catalina]: base: CN=Users,dc=YYY,dc=ZZ
filter: (userPrincipalName=p.munzi@YYY.ZZ)
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org