The following error in your CAS server log indicates a problem with
the credentials you're using to search the directory:

<org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler threw error
authenticating [username: cn\=ajay\,dc\=example\,dc\=com]>
org.springframework.dao.DataAccessResourceFailureException: Failed to
borrow DirContext from pool.; nested exception is
org.springframework.ldap.AuthenticationException: [LDAP: error code 49
- Invalid Credentials]; nested exception is
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid
Credentials]
at 
org.springframework.ldap.pool.factory.PoolingContextSource.getContext(PoolingContextSource.java:425)
at 
org.springframework.ldap.pool.factory.PoolingContextSource.getReadOnlyContext(PoolingContextSource.java:401)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:287)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:361)

Those credentials are specified here:

<bean id="contextSource"
class="org.springframework.ldap.core.support.LdapContextSource">
  <!-- DO NOT enable JNDI pooling for context sources that perform
LDAP bind operations. -->
  <property name="pooled" value="false"/>


  <property name="url" value="ldap://ldap_ip_details"; />


  <property name="userDn" value="cn=Directory Manager,dc=BLRKEC288785D,dc=com"/>

  <property name="password" value="password"/>

Doublecheck that that is a valid DN and that the password is correct.

M

-- 
You are currently subscribed to cas-dev@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to