LDAP sync fails due to incorrect directory type

Still need help?

The Atlassian Community is here for you.

Ask the community

Problem

LDAP synchronisation fails and the users are not added into any groups. The following appears in the atlassian-confluence.log:

2013-01-03 12:50:44,309 ERROR [scheduler_Worker-4] [directory.ldap.mapper.GroupContextMapper] mapFromContext Failed to map attribute <memberDNs> from context with DN <cn=conf,ou=groups,dc=atl,dc=atlassian,dc=com>
org.springframework.ldap.BadLdapGrammarException: Failed to parse DN; nested exception is org.springframework.ldap.core.ParseException: Encountered "<EOF>" at line 1, column 5.
Was expecting:
    <SPACED_EQUALS> ...
    
	at org.springframework.ldap.core.DistinguishedName.parse(DistinguishedName.java:187)
	at org.springframework.ldap.core.DistinguishedName.<init>(DistinguishedName.java:140)
...

Diagnosis

Ensure that you have POSIX style LDAP system

Cause

The "Directory Type" chosen in the directory configuration is wrong

Resolution

Navigate to Confluence Admin > User Directories, edit the configuration directory, and change the "Directory Type" to OpenLDAP (Read-Only Posix Schema)

Last modified on Apr 5, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.