thank you for your help! my cas is working now.
but i have another error report. wenn i want to login.
 
is there anything wrong in deployerConfigContext.xml?
 
have i wrote wrong "filter" or "searchBase" or "userName" or anything else?
 
 
2007-05-04 09:33:14,428 ERROR [org.apache.catalina.core.ContainerBase.[Catalina]
.[localhost].[/cas-web].[cas]] - <Servlet.service() for servlet cas threw except
ion>
javax.naming.NoPermissionException: [LDAP: error code 50 - failed on search oper
ation: Anonymous binds have been disabled!]; remaining name 'ou=system'
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2993)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2931)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2737)
        at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1808)
        at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1731)
        at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirCon
text.java:368)
        at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCom
positeDirContext.java:338)
        at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCom
positeDirContext.java:321)
        at javax.naming.directory.InitialDirContext.search(InitialDirContext.jav
a:248)
        at org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler$1.executeSe
arch(BindLdapAuthenticationHandler.java:74)
        at org.springframework.ldap.LdapTemplate.search(LdapTemplate.java:268)
        at org.springframework.ldap.LdapTemplate.search(LdapTemplate.java:314)
        at org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler.authenticat
eUsernamePasswordInternal(BindLdapAuthenticationHandler.java:70)
        at org.jasig.cas.authentication.handler.support.AbstractUsernamePassword
AuthenticationHandler.authenticate(AbstractUsernamePasswordAuthenticationHandler
.java:58)
        at org.jasig.........
 
 
 
 
 
 
 and here is my system.ldif data. 
 
 
 
 
#-------------------------------------------------------------------------------
# This file has been generated on 05.03.2007 at 11:15 from localhost:10389
# by Softerra LDAP Browser 2.6 (http://www.ldapbrowser.com)
#-------------------------------------------------------------------------------
version: 1
dn: ou=system
ou: system
objectClass: organizationalUnit
objectClass: extensibleObject
objectClass: top
dn: uid=admin,ou=system
sn: administrator
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: top
cn: system administrator
userPassword: secret
uid: admin
displayName: Directory Superuser
dn: ou=users,ou=system
ou: users
objectClass: organizationalUnit
objectClass: top
dn: ou=groups,ou=system
ou: groups
objectClass: organizationalUnit
objectClass: top
dn: cn=administrators,ou=groups,ou=system
objectClass: groupOfUniqueNames
objectClass: top
cn: Administrators
uniqueMember: 0.9.2342.19200300.100.1.1=admin,2.5.4.11=system
dn: ou=configuration,ou=system
ou: configuration
objectClass: organizationalUnit
objectClass: top
dn: ou=partitions,ou=configuration,ou=system
ou: partitions
objectClass: organizationalUnit
objectClass: top
dn: ou=services,ou=configuration,ou=system
ou: services
objectClass: organizationalUnit
objectClass: top
dn: ou=interceptors,ou=configuration,ou=system
ou: interceptors
objectClass: organizationalUnit
objectClass: top
dn: prefNodeName=sysPrefRoot,ou=system
objectClass: extensibleObject
objectClass: top
prefNodeName: sysPrefRoot
 
thank you!!


使用 Live Messenger 与联机的朋友进行交流
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to