Unbalanced parenthesis after directory synchronization
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
Summary
Problem
When synchronizing Active directory there is an error shown in the logs
The following appears in the atlassian-crowd.log
1
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
Solution
Resolution
The user filter should be enclosed with parenthesis .
Was this helpful?