Unbalanced parenthesis after directory synchronization

Still need help?

The Atlassian Community is here for you.

Ask the community

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

When synchronizing Active directory there is an error shown in the logs 

The following appears in the atlassian-crowd.log

com.atlassian.crowd.exception.OperationFailedException: org.springframework.ldap.InvalidSearchFilterException: Unbalanced parenthesis; nested exception is javax.naming.directory.InvalidSearchFilterException: Unbalanced parenthesis; remaining name 'OU=xxx DC=xxx,DC=xxx,DC=xxx'

Diagnosis

Check if the user filter has parenthesis

Cause

If the user filter is not enclosed between a parenthesis this will result in the issue


Resolution

The user filter should be enclosed with parenthesis .

Last modified on Mar 30, 2016

Was this helpful?

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