Unsafe character causes LDAP synchronization to fail
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
LDAP group name with a unsafe character in Active Directory cause the synchronisation to fail.
The following appears in the atlassian-confluence
.log
getValueFromAttributes Unsafe attribute value <Test Group\u000BName> for attribute <displayName>. Context: *****. . Attribute was skipped.
Cause
Confluence doesn't recognize or handle unsafe characters causing the LDAP synchronization to fail.
Workaround
- Go to Confluence Administrator > User Directories
Select the User Directory
Group Schema Settings
Insert the following Group Object Filter
(&(objectCategory=Group)(!(groupName=*\u000B*)))
Retry the sync.