Alfresco administrator password lost, it doesn't belong to the LDAP server, and even if i update the password of the admin user that i could find in the database, it doesn't not work correctly. Anyone got any idea how to solve this? Thank you
I tried changing the password in the database, in alfresco-global.properties, none works.
The alfresco version is the community edition (an old one, 4.2)
In Alfresco 3.x-5.0, the internal users passwords are stored as md5 hashes in the db (In Alfresco > 5.0 the hash algorithm is flexible and the table structre changed).
e.g. to get the password has for the user
admin
:to update the passwort to the password
admin
you could set the hash209c6174da490caeb422f3fa5a7ae634
. Depending on the ids you got back from the previous query the update sql could look like:You would need to restart Alfresco to take effect your change.
There is no way to change the admin password for an existing Alfresco Repository in
alfresco-global.properties
. The propertyalfresco_user_store.adminpassword
is only to define the admin password for a new repository. If you know the password of any existing user in Alfresco you could define that user temporarily as the admin: