hi,

I am trying to setup MS-AD LDAP authentication on cas 3.4.2 and I am running 
into following error

Apr 15, 2010 11:47:25 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet cas threw exception
javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: 
DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece]
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3041)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2789)
        at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2703)
        at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:293)


here is my setup inside deployerConfigContext.xml

<bean class="org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler">
                                    <property name="filter" 
value="sAMAccountName=%u" />
                                    <property name="searchBase" 
value="DC=bc,DC=edu" />
                                    <property name="contextSource" 
ref="contextSource" />
                                    <property 
name="ignorePartialResultException" value="yes" />
                                </bean>


       <bean id="contextSource" 
class="org.springframework.ldap.core.support.LdapContextSource">
        <property name="pooled" value="false"/>
        <property name="urls">
                <list>
                        <value>ldap://ldap.bc.edu</value>
                </list>
        </property>
  <property name="userDn" value="{CN=Test User1,
  OU=Users,OU=Employees,DC=bc,DC=edu}"/>
        <property name="password" value="{password}"/>
        <property name="baseEnvironmentProperties">
                <map>
                        <entry>
                                <key>
                                        
<value>java.naming.security.authentication</value>
                                </key>
                                <value>simple</value>
                        </entry>
                </map>
        </property>
        </bean>


can someone please take a look at my config and tell me what I am doing wrong 
here...

thanks
Raj
-- 
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

Reply via email to