Unable to Build LDAP/AD Cache After Upgrade to 6.3 or 6.4


While building the LDAP/Active Directory cache, the following error is seen in the conductor.log and the cache fails to build:

Caused by: javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'DC=subdomain,DC=domain,DC=com'
	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2917)
	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2891)
	at com.sun.jndi.ldap.AbstractLdapNamingEnumeration.getNextBatch(AbstractLdapNamingEnumeration.java:148)
	at com.sun.jndi.ldap.AbstractLdapNamingEnumeration.hasMoreImpl(AbstractLdapNamingEnumeration.java:217)
	at com.sun.jndi.ldap.AbstractLdapNamingEnumeration.hasMore(AbstractLdapNamingEnumeration.java:189)
	at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:365)


The LDAP Server URL is incorrectly specified. As of Datameer 6.3, it is required to use the Authentication repository specific ports. There is either no port defined or the incorrect port is defined.


Explicitly define the correct port on the LDAP Server URL.  

Navigate to:

Admin Tab -> Authentication -> Edit -> Next -> Server Connection -> Server URL.

Refer to the table below for the correct port to use for your deployment:

  Unencrypted Encrypted
LDAP 389 636
Active Directory 3268 3269


For example: ldap://hostname.tld:3268 for a basic unencrypted Active Directory.