How can I tell which LDAP attribute is linked to the external_id field in Confluence cwd_user table?

お困りですか?

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

コミュニティに質問

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

問題

In the course of debugging LDAP issues, an admin may need to understand which LDAP attribute is tied to the external_id value in cwd_user table in Confluence.

診断

環境

  • Confluence
  • LDAP

ソリューション

  1. First, find the required LDAP Directory ID:

    Find the effected LDAP Directory ID
    SELECT *
    FROM cwd_directory
    
  2. Next, use the Directory ID obtained from the previous step to run the following query"  

    Find the LDAP attribute tied to external_id in database table cwd_user
    SELECT *
    FROM cwd_directory_attribute
    WHERE directory_id = '<directory-id-here>'
    AND attribute_name
    LIKE '%ldap.external.id%'
  3. The output for attribute_value is the LDAP attribute that is tied to the external_id value in cwd_user for the affected directory.


  4. The external_id, can also be located under Confluence Support Zip > auth-cfg > directoryConfigurationSummary.txt under correct directory name by locating attribute  "ldap.external.id".



最終更新日: 2022 年 1 月 14 日

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

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