legacy-knowledge-base
公開されました Jun. 30, 2025

ユーザーでログインすると、既存のすべてのグループがLDAPからインポートされます

written-by

Christopher Czibere

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

問題

  • LDAPユーザーでログインすると、既存のすべてのグループがLDAPサーバーからインポートされます。
  • それ以前のバージョン(DXP 7.1、DXP 7.2)では、ユーザーが割り当てられているグループのみインポートされます。

Environment

  • Liferay DXP 7.3
  • Liferay DXP 7.4

解決策

  • この動作は、 LPS-142044の要求される変更の意図するところであり、その結果である。
  • 複数のLDAPサーバーが設定されている場合に、インポートしたユーザーがどのユーザーグループに属しているのかを把握できるようにするための変更です。
  • つまり、次のような問題が解決されたのです:

User" の方法の問題点は、同じユーザーが複数のLDAPサーバーに所属しており、そのサーバー間でグループセットが異なる場合に破綻することです。 この場合、インポート時に最後に処理されたLDAPサーバーのいずれかが、ユーザーが所属するグループに関する最終決定権を持つことになります。 Liferayで、ユーザーがサーバーの一部でないLDAPグループに属していることがわかれば、それらのグループからユーザーを削除します(たとえ、そのユーザーが別のLDAPサーバーでそれらのグループに属していたとしてもです)。

did-this-article-resolve-your-issue

legacy-knowledge-base