jira ldap readonly connection


I need to configure JIRA to connect to Microsoft AD, check user login & password and let them login or show some ugly red warning. Nothing else. Right now, when somebody reconfigures JIRA LDAP connection and makes mistake JIRA synchronizes with ad and wipes all users (except for those few local ones) and when admin writes correct configuration users are restored but without groups.

I suppose that there are 2 solutions:

1) users, groups etc. are stored in LDAP

2) (preffered) groups are stored in JIRA; JIRA connects to LDAP when a user tries to log in and checks their password; if there is anything bad with ldap, JIRA _cannot_ wipe user table.

My jira is 5.2.8.



3 answers

1 accepted

This widget could not be displayed.

Hi Marek,

You can try using a delegated directory (Internal with LDAP authentication).

This will sync users only when they log into the application and should not clear up everyone if anyone messes the configuration.

Hope it helps.

Hi Marcus

That's what I was looking for :). Thanks!! :)

This widget could not be displayed.

Just don't give admin permission to AD user which will jira use to retrieve LDAP users... In such case Jira will not be able to wipe LDAP...

This widget could not be displayed.

Delegated LDAP Authentication can work but in this case the users will be internal to JIRA. There is an option to copy users on first login but the user has to login before it appears inside JIRA.

Another option is to configure the directory as you have done but with "Read Only, with Local Groups" option. In this case, you can add local groups and use those groups in permissions.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

142 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you