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 Leaders.
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

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 Leaders.
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.

Suggest an answer

Log in or Sign up to answer