Hello, I have problems with ldap conection.
I did this: - copy ldaptemplate.1.0.2.jar + cas_server_ldap_3.0.5.jar to localplugins/lib - i modify the file webapp/web-inf/deployerConfigContext.xml - ant jar - ant war - deploy to tomcat My company ldap is somethig like this: a01.xx.yy.zz a02.xx.yy.zz a03.xx.yy.zz ............ a20.xx.yy.zz I start with FastBindLdapAuthenticationHandler to test my ldap conection with a user in A01.xx.yy.zz This is my deployerConfigContext: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <beans> <bean id="authenticationManager" class="org.jasig.cas.authentication.AuthenticationManagerImpl"> <property name="credentialsToPrincipalResolvers"> <list> <bean class="org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver" /> <bean class="org.jasig.cas.authentication.principal.HttpBasedServiceCredentialsToPrincipalResolver" /> </list> </property> <property name="authenticationHandlers"> <list> <bean class="org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler" > <property name="filter" value="uid=%u,ou=A01,ou=xx,ou=yy,o=zz" /> <property name="contextSource" ref="contextSource" /> </bean> </list> </property> </bean> <bean id="contextSource" class="org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource"> <property name="urls"> <list> <value>ldap://dirIPofMyServerLdap:389/</value> </list> </property> </bean> </beans> After deploy to test i use this url: http://localhost:8084/cas to login But always i received error.authentication.credentials.bad and i don“t know why. I use the same information with acegi-ldap and i have no problems. What i am doing wrong? Thanks in advance _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
