External LDAP users fail to authenticate to Jira server

お困りですか?

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

コミュニティに質問

症状

Specific user(s) fail consistently to login JIRA.

atlassian-jira.log に次のメッセージが表示される。

2015-03-02 02:36:06,956 http-bio-8443-exec-36568 anonymous 156x3887640x1 108ig3h 127.0.0.1 /login.jsp login : 'user_one' tried to login but they do not have USE permission or weren't found. Deleting remember me cookie.
2015-03-02 02:36:07,108 http-bio-8443-exec-36568 anonymous 156x3887640x1 108ig3h 127.0.0.1 /login.jsp The user 'user_one' has FAILED authentication. Failure count equals 2
2015-03-02 02:36:07,112 http-bio-8443-exec-36568 anonymous 156x3887640x1 108ig3h 127.0.0.1 /login.jsp login.jsp called with lastLoginResult : com.atlassian.jira.bc.security.login.LoginResultImpl@5aca742[reason=AUTHENTICATED_FAILED,loginInfo=com.atlassian.jira.bc.security.login.LoginInfoImpl@2431c0e4[lastLoginTime=<null>,previousLoginTime=<null>,loginCount=<null>,currentFailedLoginCount=2,totalFailedLoginCount=2,lastFailedLoginTime=1425263766957,elevatedSecurityCheckRequired=false,maxAuthenticationAttemptsAllowed=3],userName=user_one,deniedReasons<com.atlassian.jira.bc.security.login.LoginResultImpl@5aca742[reason=AUTHENTICATED_FAILED,loginInfo=com.atlassian.jira.bc.security.login.LoginInfoImpl@2431c0e4[lastLoginTime=%3cnull%3e,previousLoginTime=%3cnull%3e,loginCount=%3cnull%3e,currentFailedLoginCount=2,totalFailedLoginCount=2,lastFailedLoginTime=1425263766957,elevatedSecurityCheckRequired=false,maxAuthenticationAttemptsAllowed=3],userName=user_one,deniedReasons>=[]]

診断

  • JIRA is connected to external user directories using Delegated LDAP Authentication
  • 'Copy User on Login' option is not enabled

原因

The ldap.user.dn parameter was configured but is hidden due to 'Copy User on Login' option is not enabled in JIRA.

ソリューション

  1. Edit the Delegated LDAP Authentication
  2. Enable the Copy User on Login option
  3. Look for User Schema Settings dropdown
  4. For Additional User DN, remove the ldap.user.dn value. Leave the field value empty.
  5. Select Test settings , then Save and Test
最終更新日 2019 年 9 月 25 日

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

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