Hi All-
I am trying to set up CAS Server and authenticate against Active Directory. I
have essentially followed the directions here:
https://wiki.jasig.org/display/CASUM/CAS+on+Windows+Quick+Setup+Guide
Although I am running on Ubunto.
I have the server starting up fine, when I try and login via a ldap user it
immediately fails. The CAS log shows:
2012-03-16 10:23:48,475 INFO
[org.jasig.cas.authentication.AuthenticationManagerImpl] -
AuthenticationHandler:
org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler failed to
authenticate the user which provided the following credentials: [username: XXX]
2012-03-16 10:23:48,484 INFO
[com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - Audit trail
record BEGIN
=============================================================
WHO: [username: XXX]
WHAT: supplied credentials: [username: XXX]
ACTION: AUTHENTICATION_FAILED
APPLICATION: CAS
WHEN: Fri Mar 16 10:23:48 EDT 2012
CLIENT IP ADDRESS: XXX
SERVER IP ADDRESS: XXX
=============================================================
In my deployerConfigContext.xml
<bean
class="org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler" >
<property name="filter"
value="sAMAccountName=%u" />
<property name="contextSource"
ref="contextSource" />
</bean>
and
<bean id="contextSource"
class="org.springframework.ldap.core.support.LdapContextSource">
<property name="pooled" value="true"/>
<property name="url" value="ldap://def.adb.edu">
</property>
<property name="userDn" value="CN=casXXX,OU=Security
Users,DC=XXX,DC=XXX"/>
<property name="password" value="***"/>
<property name="baseEnvironmentProperties">
<map>
<entry key="java.naming.security.authentication"
value="simple" />
</map>
</property>
</bean>
Does anyone know of a good way to debug this?
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user