Have you tried setting the "java.naming.referral" property to "follow" ?
-Misagh -----Original Message----- From: James Lorenzen [mailto:[email protected]] Sent: Thursday, May 17, 2012 12:53 PM To: [email protected] Subject: [cas-user] Still getting javax.naming.PartialResultException when setting ignorePartialResultException to true CAS Server version 3.4.12. Authenticating users against Active Directory. I'm still getting the javax.naming.PartialResultException when setting the property ignorePartialResultException to true. I would expect to no longer see this exception. Not sure if this is a problem in CAS or spring, but just wanted someone to know about it. Here is my bean definition: <bean class="org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler"> <property name="filter" value="$prop{ldap.filter}" /> <property name="searchBase" value="$prop{ldap.searchBase}" /> <property name="contextSource" ref="contextSource" /> <property name="ignorePartialResultException" value="true" /> <property name="timeout" value="10000" /> </bean> And here is part of the stack trace: 14:33:19,150 INFO [STDOUT] 2012-05-17 14:33:19,146 ERROR [org.jasig.services.persondir.support.ldap.LdapPersonAttributeAndRoleDao] - <TODO - Handle exceptions> org.springframework.ldap.PartialResultException: Unprocessed Continuation Reference(s); nested exception is javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'DC=int,DC=gestalt-llc,DC=com' at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:205) at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:315) at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:259) at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:571) at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:556) at org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao.getPeopleForQuery(LdapPersonAttributeDao.java:187) -- 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 -- 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
