Configure LDAP User Directory

2017-10-03 13:59:59,821 Caesium-1-4 ERROR ServiceRunner [c.a.c.d.l.mapper.entity.LDAPUserAttributesMapper] The following record does not have a username: NameAwareAttribute; attributes: {entryuuid=NameAwareAttribute; id: entryUUID; hasValuesAsNames: false; orderMatters: false; values: [d36b5477-c157-44c2-9b1c-00b08df04049], sn=NameAwareAttribute; id: sn; hasValuesAsNames: false; orderMatters: false; values: [person]}
2017-10-03 13:59:59,823 Caesium-1-4 INFO ServiceRunner [c.a.crowd.directory.DbCachingRemoteDirectory] failed synchronisation complete for directory [ 10004 ] in [ 157ms ]
2017-10-03 14:00:00,116 Caesium-1-4 ERROR ServiceRunner [c.atlassian.scheduler.JobRunnerResponse] Unable to synchronise directory
com.atlassian.crowd.exception.OperationFailedException: org.springframework.ldap.UncategorizedLdapException: Unable to find the username of the principal.
at com.atlassian.crowd.directory.SpringLDAPConnector.searchEntitiesWithRequestControls(SpringLDAPConnector.java:512)
at com.atlassian.crowd.directory.SpringLDAPConnector.searchEntities(SpringLDAPConnector.java:464)
at com.atlassian.crowd.directory.SpringLDAPConnector.searchUserObjects(SpringLDAPConnector.java:685)

Caused by: org.springframework.ldap.UncategorizedLdapException: Unable to find the username of the principal.
at com.atlassian.crowd.directory.ldap.mapper.entity.LDAPUserAttributesMapper.getUsernameFromAttributes(LDAPUserAttributesMapper.java:167)
at com.atlassian.crowd.directory.ldap.mapper.entity.LDAPUserAttributesMapper.mapUserFromAttributes(LDAPUserAttributesMapper.java:93)
at com.atlassian.crowd.directory.ldap.mapper.UserContextMapper.mapFromContext(UserContextMapper.java:62)
at com.atlassian.crowd.directory.ldap.mapper.UserContextMapper.mapFromContext(UserContextMapper.java:26)
at com.atlassian.crowd.directory.ldap.mapper.ContextMapperWithCustomAttributes.mapFromContext(ContextMapperWithCustomAttributes.java:31)

1 answer

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

171 views 4 8
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you