Hi guys!
My case looks like this:
There is no activate button, because of LDAP synchronization.
My JIRA version is 6.4.1
We have 26 user licenses left.
update wd_user set active=1 where user_name='there_username';
** typo
update cwd_user set active=1 where user_name='there_username';
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this seems to require a restart of Jira, doesn't it? At least I just tested this in dev and had no luck until the restart of Jira service on my Linux machines...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must shut down Jira before doing anything to the database like this.
When done, start it again.
To be sure if the "active" property is the problem, run this query first:
SELECT active FROM cwd_user WHERE USER_NAME = 'the_username';
If result is active=0, then run the query suggested by the others.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
many thanks Ann Kristin for the heads-up and the hint that all app server(s) need to be down. Will try my best (so much efforts for a single user...) to find an appropriate slot for a downtime ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
we got the same problem. Is this a bug in Jira? Updating db manually is a pain
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
not sure that this is a real bug. It seems to be more kind of an artifact from earlier usage of the Jira internal user directory on our side and now switching over to Active Directory (user was disabled back then and should now be "re-activated" via AD).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We have not used the internal user directory earlier, so I don't think that is the only reason this happens at least. Seems like there is something from AD that makes Jira recognise the user as inactive/disabled.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
actually I got this fixed by disabling the option to "filter out expired users". Re-adding did do the trick...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any other solution except db update? it is not a good solution such as our company which has lots of users and turnover..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nastjak,
thanks for you replies. Now I understand why i cannot see this option. We are using Sun Directory Server Enterprise Edition .
But for now, we have resolved this issue by increasing the search index limit in the LDAP itself.
Since, the limit was low Jira and other tools were not able to search users beyond previously set limit.
Thanks for your answers.
Regards
sanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This solution worked for me without changing anything in the database:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi NastjaK,
I am facing the same issue but I am not able to find "Manage User Status Locally" in the LDAP settings.
We are using Jira 7.13 server version.
I login with the local admin id and go the user directories and open the Edit page. But there, I am not able to find anything like "Manage user status locally".
How and where do you get this option
Regards
sanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And I noticed, that this option is active only if you choose Microsoft Active Directory in Directory type under Server settings section. In other cases it's impossible to change the value of that checkbox :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lukasz,
Thank you for your answer! I guess we have to do the same thing then. Do you know exactly what they changed in the database?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To answer my own question:
To verify if this really is the problem, run:
SELECT active
FROM database.schema.cwd_user
WHERE USER_NAME = 'theusersname';
If the result is active: 0, then:
Shut down Jira and run the following query:
UPDATE database.schema.cwd_user SET active = 1 WHERE user_name = 'theusersname';
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you find a solution to this?
We are experiencing the same problem here (not sure how the user was created though), but he pops up in JIRA as "inactive", even though he is not in disabled state in AD.
The user have never been set as inactive/active in JIRA (and it seems that is not an option with LDAP sync).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is he fulfilling all demands your organization has? (we use LDAP filters that make sure he has a phonenumber, email, is in the right OU and so forth.
Is he fulfilling all demands JIRA has? (In most cases the user have to be added to group jira-users to become active).
Last thing, if you edit the user in Jira, can you activate the account here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well he does fulfil all demands. Other ways he would not pop up in Jira.
And yes, I have double checked if all data is there.
User is added to group jira-users and jira-delevopers.
I have not edited user in Jira. I have edited him in AD, and changes was synced, but user is still inactive.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.