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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

65 views 0 11
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