JIRA throws javax.naming.PartialResultException: Unprocessed Continuation Reference(s) during log in attempt
Problem
When a user from an LDAP directory attempts a log in, the following stack trace is thrown in the atlassian-jira.log
2015-03-19 16:09:35,905 http-bio-8080-exec-18 DEBUG anonymous 969x41355x1 8t5pto 198.147.38.85,0:0:0:0:0:0:0:1 /rest/gadget/1.0/login [springframework.ldap.core.LdapTemplate] PartialResultException encountered and ignored
javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'DC=example,DC=com'
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.AbstractLdapNamingEnumeration.getNextBatch(Unknown Source)
at com.sun.jndi.ldap.AbstractLdapNamingEnumeration.hasMoreImpl(Unknown Source)
at com.sun.jndi.ldap.AbstractLdapNamingEnumeration.hasMore(Unknown Source)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:295)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:237)
at com.atlassian.crowd.directory.ldap.LdapTemplateWithClassLoaderWrapper$4.call(LdapTemplateWithClassLoaderWrapper.java:99)
at com.atlassian.crowd.directory.ldap.LdapTemplateWithClassLoaderWrapper$4.call(LdapTemplateWithClassLoaderWrapper.java:96)
at com.atlassian.crowd.directory.ldap.LdapTemplateWithClassLoaderWrapper.invokeWithContextClassLoader(LdapTemplateWithClassLoaderWrapper.java:54)
at com.atlassian.crowd.directory.ldap.LdapTemplateWithClassLoaderWrapper.search(LdapTemplateWithClassLoaderWrapper.java:96)
Diagnosis
Follow Referrals is not enabled
Cause
The Unprocessed Continuation Reference(s)message is saying that there is a referral on that user, and since we have referrals disabled, it throws an error.
Resolution
- Identify the directory which this user is logging on from
- Navigate to the User Directory page and Edit this particular directory
- Enable Follow Referrals
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.