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

ログに「Failed to bind to LDAP server with userDN」というエラーが表示される理由

written-by

Prarthana Jadhav

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

問題

  • ログに表示される以下のエラーの原因は何でしょうか?
    [LDAPAuth:198] Failed to bind to the LDAP server with userDN CN=VERMA BRIJESH KUMAR (MR.),OU=USERS,OU=RND,DC=DS,DC=INDIANOIL,DC=IN and password Me4Sharom@15012020 
    javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090400, comment: AcceptSecurityContext error, data 52e, v1db1_] [Sanitized]
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3154)

Environment

  • Liferay DXP 7.0

解決策

  • 一般的に、ここのエラー行 "LDAP: エラーコード 49 - 80090308:LdapErr:DSID-0C090400、コメント:AcceptSecurityContext error, data 52e" は、その無効な資格情報を示しています。 このエラーメッセージは、有効なユーザー名が提供され、無効なパスワード/クレデンシャルが提供された場合に表示されます。 このエラーを受信した場合、他のほとんどのエラーが表示されなくなります。

追加情報

  • なお、本解説で提供されるポインターは、一般的なシナリオに基づくものです。 解像度は、環境によっても異なる場合があります。

did-this-article-resolve-your-issue

legacy-knowledge-base