Migrating users from Connector User directory to Delegated User directory in Confluence

お困りですか?

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

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

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.

*Fisheye および Crucible は除く

While we offer a migration guide for transitioning users for a Connector User Directory to Delegated User Directory as a part of the Database migration process, Please note that Atlassian Support is unable to provide direct assistance for this procedure. If you have any inquiries, feel free to ask the Atlassian Community, to seek assistance from a certified Solution Partner.

要約

Migrating users from Connector User directory to Delegated User directory in Confluence.

The following document will help to understand the difference between the Connectory user directory & Delegated User directory.

Delegated LDAP ユーザー ディレクトリと Connector LDAP ユーザー ディレクトリの違い

ソリューション


Be sure to test this in a QA environment before implementing it in production. Be sure to backup production before making any changes to the database.

  1. Create a delegated directory.
  2. Disable the old connector directory.
  3. Confluence をシャットダウンします。
  4. Find the IDs of the connector directory and the new delegated user directory. This can be identified by running the below SQL in the Confluence Database:

    select * from cwd_directory; 
  5. Run the following SQL. In this example, 6815745 is the new delegated directory's id, and 98306 is the old Connector User directory’s id. 

    UPDATE cwd_user SET directory_id = 6815745 WHERE directory_id = 98306;
    UPDATE cwd_user_attribute SET directory_id = 6815745 WHERE directory_id = 98306;
    UPDATE cwd_group SET directory_id = 6815745 WHERE directory_id = 98306;
    UPDATE cwd_group_attribute SET directory_id = 6815745 WHERE directory_id = 98306;
    commit;

Once you run the above you can start Confluence and remove the old connector type user directory. 

This change will not migrate the user group membership, but when the user logs in for the first time, his user group membership will be synced in Confluence.

最終更新日 2024 年 5 月 29 日

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

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.