Restting user's password

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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published 9 hours ago in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

38 views 0 5
Read article

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