LDAP Error "Unbalanced parenthesis"
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
問題
When logging in using an LDAP user account, the following error occurs:
Test retrieve user: Failed
org.springframework.ldap.InvalidSearchFilterException: Unbalanced parenthesis; nested exception is
javax.naming.directory.InvalidSearchFilterException: Unbalanced
parenthesis; remaining nameatlassian-fisheye-YYYY-MM-DD.log に次のエラーが返される。
2016-03-25 17:14:03,161 ERROR [qtp1342346098-355 ] fisheye
DefaultUserManager-loginWithSanitizedUserName - Could not authenticate
user "UserName"
com.cenqua.fisheye.user.AuthenticationException: com.atlassian.crowd.exception.runtime.OperationFailedException
...
Caused
by: org.springframework.ldap.InvalidSearchFilterException: Unbalanced
parenthesis; nested exception is
javax.naming.directory.InvalidSearchFilterException: Unbalanced
parenthesis; remaining name... 原因
User Object Filter requires that the value be enclosed in parentheses. By default this is not an issue as the default values already include parentheses.
Versions of Fisheye prior to 4.0 allowed the User Object Filter to be specified without parentheses.
ソリューション
Add parentheses to the value of User Object Filter.
例:

この内容はお役に立ちましたか?