The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Inactivation of third party directory (LDAP) users

Sameera Shaakunthala [inactive]
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 Champions.
February 12, 2013

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';

commit;

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Bruna Griebeler
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 Champions.
February 13, 2013

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.