How to import users or groups from specific OUs with Assets LDAP import

お困りですか?

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

コミュニティに質問

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

このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

問題

At the moment the Assets LDAP import does not allow to import users or groups from a specific Organization Unit (OU) if those are directly located under the root/Base DN of the LDAP/AD server tree.

原因

This can happen in situations where in the general Assets LDAP import configuration, the Base DN and Search Filter set to refer to all the object types/selectors retrieved from the server:

The solution for this is to select the multiple OUs in the object type mapping for users or groups in the Selector config. However, at the moment the Assets LDAP integration only allows one OU set for each selector (e.g ou=users):

回避策

There are three workarounds available to overcome this. For example, let's apply the workaround in the situation where there are have 2 OUs, users and customers just under LDAP Base DN.

Workaround 1:

Create an object type for each OU, one for Users and one for Customers. Then define multiple object type mappings in the import config and set the scope of LDAP as the selector. For this scenario, it will be ou =users for object type users and ou=customers for object type customers.

Workaround 2:

Configure multiple LDAP imports pointing to the same LDAP Server and in each of them configure a different selector OU for the same object type so that both of them will be imported in them over the same object type. However this option needs to be carefully tested first over a dummy schema, as the import options (ex. the Missing objects set to Update or Delete) could remove the objects imported from one import.

Workaround 3:

Move all the OUs from the Base DN into an additional parent OU under the Base DN in your LDAP/AD Server. E.g.:

LDAP Root contains:
- OU Parent which contains
-- OU users
-- OU customers

This way admins will be setting OU parent in the selector of users mapping object type configuration and Insight would fetch users from both the OUs.


Make sure to perform some testing over the above in a staging Jira environment or a dummy Insight schema before applying those to production.


For more info about the missing feature please check also:


最終更新日: 2025 年 2 月 24 日

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

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