LDAP sync fails due to incorrect directory type
LDAP synchronisation fails and the users are not added into any groups. The following appears in the
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) ...
Ensure that you have POSIX style LDAP system
The "Directory Type" chosen in the directory configuration is wrong
Navigate to Confluence Admin > User Directories, edit the configuration directory, and change the "Directory Type" to OpenLDAP (Read-Only Posix Schema)