Unsafe character causes LDAP synchronization to fail

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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

1 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

    1 (&(objectCategory=Group)(!(groupName=*\u000B*)))
  • Retry the sync.

Updated on April 14, 2025

Still need help?

The Atlassian Community is here for you.