legacy-knowledge-base
公開されました Jul. 2, 2025

インスタンス レベルの LDAP 構成

written-by

Richárd Szabácsik

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • DXP 7.3 から LDAP 認証を構成する場合、companyId をインスタンス レベルで構成する必要があります。 この問題は、たとえば CI / CD 開発中に発生する可能性があります。

Environment

  • DXP 7.3

解決策

  • companyId を適切に構成するには、次の手順を実行します。
    1. 構成ファイルの companyId を使用して、システム設定に LDAP サーバー構成を追加します。
    2. 次に、LDAP を有効にするインスタンスごとに、com.liferay.portal.security.ldap.authenticator.configuration.LDAPAuthConfiguration.config ファイルを作成する必要があります。
    3. これらの構成ファイルでは、特定のインスタンスの companyId を指定する必要があります
  • たとえば、インスタンスに companyId=0 を設定する場合は、構成ファイルを次の場所に追加する必要があります。
    1. システム設定
    2. 使用したい特定のインスタンス
    3. そしてもちろん、あなたの LDAP サーバー

did-this-article-resolve-your-issue

legacy-knowledge-base