SizeLimitExceededException when integrated with LDAP

プラットフォームについて: 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 は除く

症状

atlassian-bitbucket.log に次のエラーが返される。

2013-07-08 20:27:47,531 ERROR [scheduler_Worker-7] o.s.l.c.AbstractRequestControlDirContextProcessor No matching response control found for paged results - looking for 'class javax.naming.ldap.PagedResultsResponseControl 2013-07-08 20:27:47,552 ERROR [scheduler_Worker-7] c.a.c.d.DbCachingDirectoryPoller Error occurred while refreshing the cache for directory [ 32770 ]. com.atlassian.crowd.exception.OperationFailedException: org.springframework.ldap.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; nested exception is javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name 'ou=People,xxxxxxxxx' at com.atlassian.crowd.directory.SpringLDAPConnector.pageSearchResults(SpringLDAPConnector.java:357) ~[crowd-ldap-2.5.3-m1.jar:na] at com.atlassian.crowd.directory.SpringLDAPConnector.searchEntitiesWithRequestControls(SpringLDAPConnector.java:390) ~[crowd-ldap-2.5.3-m1.jar:na] at com.atlassian.crowd.directory.SpringLDAPConnector.searchEntities(SpringLDAPConnector.java:375) ~[crowd-ldap-2.5.3-m1.jar:na] .... .... Caused by: org.springframework.ldap.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; nested exception is javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name 'ou=People,xxxxxxxxx' at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:148) ~[spring-ldap-core-1.3.1.RELEASE.jar:1.3.1.RELEASE] .... .... ... 14 common frames omitted Caused by: javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded] .... ... 20 common frames omitted

原因

The application is getting more results to LDAP queries than what its current configuration allows.

ソリューション

Adjust "Use Paged Results" according to this document:

Configuring delegated LDAP authentication

更新日時: September 25, 2025

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。