Inactivation of third party directory (LDAP) users

In JIRA 5.1.8, we can inactivate user accounts instead of deleting them. This works for user accounts in JIRA internal directory, but not for users synchronized and authenticated from LADP. When administering an LDAP user, this option is hidden.

I checked whether this can be done with SQL.

update cwd_user
set active = 0
where lower_user_name = 'shaakunthala';


It worked after a restart. After restarting, I did a directory synchronization to see whether it get reverted.

Is this workaround OK? Are there any drawbacks in this approach other than the downtime?

1 answer

1 accepted

Hi Sameera

This workaround seems to be okay.

The only problem is that you'll need to set the user as "active =1" directly on the database when you want it back.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

815 views 2 19
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