reporting LDAP: error code 32 No Such Object remaining name "ou=roles", please help!

1,389 views
Skip to first unread message

Eric luo

unread,
Dec 12, 2013, 7:30:21 PM12/12/13
to jasig-c...@googlegroups.com
Could some one help me with this issue, I guess the high chance is my configuration somewhere wrong.. Thanks!


Log files

2013-12-12 16:18:06,540 INFO [com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN
=============================================================
WHO: [username: joe]
WHAT: supplied credentials: [username: joe]
ACTION: AUTHENTICATION_SUCCESS
APPLICATION: CAS
WHEN: Thu Dec 12 16:18:06 PST 2013
CLIENT IP ADDRESS: 192.168.16.23
SERVER IP ADDRESS: 192.168.16.201
=============================================================

>
2013-12-12 16:18:06,549 INFO [com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN
=============================================================
WHO: [username: joe]
WHAT: TGT-1-4XVNbxiJnOAHGxzYt2vagatZ50SnsoiwqgWSLGzMWT2Ebc1k16-cas
ACTION: TICKET_GRANTING_TICKET_CREATED
APPLICATION: CAS
WHEN: Thu Dec 12 16:18:06 PST 2013
CLIENT IP ADDRESS: 192.168.16.23
SERVER IP ADDRESS: 192.168.16.201
=============================================================

>
2013-12-12 16:18:06,558 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted service ticket [ST-1-WgSQedcFY2BWg5T1S05Q-cas] for service [http://192.168.16.201:8080/pentaho/j_spring_cas_security_check] for user [joe]>
2013-12-12 16:18:06,560 INFO [com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN
=============================================================
WHO: joe
ACTION: SERVICE_TICKET_CREATED
APPLICATION: CAS
WHEN: Thu Dec 12 16:18:06 PST 2013
CLIENT IP ADDRESS: 192.168.16.23
SERVER IP ADDRESS: 192.168.16.201
=============================================================

>
2013-12-12 16:18:06,602 INFO [com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN
=============================================================
WHO: audit:unknown
WHAT: ST-1-WgSQedcFY2BWg5T1S05Q-cas
ACTION: SERVICE_TICKET_VALIDATED
APPLICATION: CAS
WHEN: Thu Dec 12 16:18:06 PST 2013
CLIENT IP ADDRESS: 192.168.16.201
SERVER IP ADDRESS: 192.168.16.201
=============================================================

>
16:18:06,739 ERROR [[default]] Servlet.service() for servlet default threw exception
org.springframework.ldap.NameNotFoundException: [LDAP: error code 32 - No Such Object]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'ou=roles'
        at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:172)
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:306)
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:259)
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:606) org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:524)


===================================================================================================================
Configuration file: deployerConfigContext.xml

<bean class="org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler">
<property name="filter" value="uid=%u" />
<property name="searchBase" value="ou=people,dc=cas,dc=symmetrics,dc=local" />
<property name="contextSource" ref="contextSource" />
<property name="ignorePartialResultException" value="true" />
</bean>


LDAP configuration




Reply all
Reply to author
Forward
0 new messages