Username truncates at 20 characters when using AD

プラットフォームについて: Cloud と Data Center - この記事は クラウド プラットフォームとデータセンター プラットフォームの両方に等しく当てはまります。

Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

要約

問題

Crowd, configured to sync with Microsoft Active Directory, truncates the username to 20 characters. This issue affects both Crowd and any applications with embedded Crowd (Jira, Confluence, etc).

診断

環境

  • Microsoft Active Directory

原因

Crowd is configured to sync sAMAccountName for usernames. This is a feature of Active Directory; the sAMAccountName attribute can store only 20 characters to provide backward compatibility with pre-2000 Windows Server login names.

ソリューション

回避策

Configure Crowd to use a different attribute, for example CN, for usernames. The CN attribute up to 64 characters, versus the 20 allowed in the sAMAccountName.

Be aware that this configuration change will affect all users in your AD. It is advised to try this change on a staging environment before applying it to production.

更新日時: September 26, 2025

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

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