Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Restting user's password

David J September 27, 2012

We have most of our users on tied to our existing LDAP and some users from other division where we have just created users that are not tied to our LDAP.

I am running in to a problem when one of the user that is not tied to the LDAP is trying to reset his password.

He is getting the following message:

You (or someone else) has requested to reset your password.

---------------------------------------------------------------------

This user account is managed in an external User Directory and JIRA is not able to update your password.

Please contact your System Administrator if you have any further queries.

Here are the details of your account:

---------------------------------------------------------------------

Username: mboccia

Email: mboccia@toronto.ca

Full Name: Michael Boccia

_____________________________________________________________________________________________________________________________

Is there a way I can reset this user's password for him.

1 answer

1 accepted

0 votes
Answer accepted
PauloP
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.
October 3, 2012

Hi David

To restore the user password, just run the following SQL commands against your database:

- Find the user and its directory

select A.id, A.user_name, B.directory_name from cwd_user as A JOIN cwd_directory as B on B.id = A.directory_id where user_name like '%<username>%'

If you have the same user account present in multiple directories, you probably have a Delegated LDAP Directory and the user was previously create in this directory. So, if you might to use just the Internal Directory to authenticate this user, go to JIRA UI and remove the existing user (before, just double check the user directory).

- To change the user password to sphere

update cwd_user set credential='uQieO/1CGMUIXXftw3ynrsaYLShI+GTcPS4LdUGWbIusFvHPfUzD7CZvms6yMMvA8I7FViHVEqr6Mj4pCLKAFQ==' where id = <ID from previous SQL command>;

For further detail, perhaps the following link could be useful:

https://confluence.atlassian.com/display/JIRA051/Retrieving+the+JIRA+Administrator

Anyway, you may raise a support ticket at http://support.atlassian.com for further assistance.

Cheers,

Paulo Renato

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events