How do I reset authentication mode on admin from LDAP to local
Added by shikari shambu almost 14 years ago
I enabled my Redmine instance to use LDAP authentication and in the process set even the admin account to use LDAP (Active Directory). Now, I have no way to login as I don't know if there is an "admin" user on AD or its password. It obviously does not go match the user by email id (which is mine) because I tried to give my domain password and it does not take it.
Is there a way to reset the authentication mode on the user "admin" to local? At this point I don't have a way to login to redmine as "admin" and I do not have any other user with admin access on Redmine
TIA
Replies (2)
RE: How do I reset authentication mode on admin from LDAP to local - Added by Felix Schäfer almost 14 years ago
Locate the row with the login admin
in the users
table and delete the entry in auth_source_id
, you can reset the password for that user to admin
by setting the hashed_password field to d033e22ae348aeb5660fc2140aec35850c4da997
.
RE: How do I reset authentication mode on admin from LDAP to local - Added by shikari shambu almost 14 years ago
thanks