Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Confusion about Internal with LDAP Authentication

muratgur December 6, 2017

We are new to Jira and having confusion about Authentication. Our scenario is simple. We want to create users manually but we want to authenticate them with our LDAP credentials. We need to define some attributes while we creating a new user (like email, username, password). The confusion starts here:

  • Should username be the same as LDAP username?
  • Is the password important? Will user login with the pass we gave or pass within the LDAP?
  • Which directory do we need to use when creating a new user? (JIRA Internal Directory or Delegated LDAP Authentication?)
  • If we remove LDAP user, can Jira user still logins?

And there is also User Directory problem:

  • Which directory should be on top, or do we need 2 directories. Is Internal with LDAP Auth is enough, should we disable the default JIRA Internal Directory?

Info: We have to directories. 1-JIRA Internal Dırectory (Internal), 2- Delegated LDAP Authentication (Internal with LDAP Authentication-Microsoft AD)

1 comment

Comment

Log in or Sign up to comment
Daniel Wester
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 6, 2017

 

The order is very important. The first directory that claims a user will own the user(it's from the top to bottom). The match is done on the username (not username/password). So in your case you'll want to have the directories in the opposite of what you have right now:

2- Delegated LDAP Authentication (Internal with LDAP Authentication-Microsoft AD)
1-JIRA Internal Dırectory (Internal),

As far as removing the internal directory - there are restructions (it's not a bad idea to have a non-ldap admin user - in case ldap messes up :) ): https://confluence.atlassian.com/adminjiraserver071/configuring-user-directories-802592347.html

 

However, you might want to consider turning on external user management ( https://confluence.atlassian.com/adminjiraserver071/configuring-jira-application-options-802593101.html ):

When turned ON, JIRA will not display options for users to change their password and edit their profile. This will also disable the Forgot your password link on the login page.Generally you would only turn this ON if you are managing all your users from outside JIRA (e.g. using Crowd, Microsoft Active Directory or another LDAP directory) Default: OFF

 

TAGS
AUG Leaders

Atlassian Community Events