The password for the server profiles can be reset using the master configuration password. Open LAM configuration -> Edit server profiles ->Manage server profiles for this.
In case you lost your master configuration password you need to manually edit the main configuration file (config.cfg) on the file system.
Locate config.cfg: On DEB/RPM installations it is in /usr/share/ldap-account-manager/config and for tar.bz2 in config folder.
Locate the "password" entry in the file
Replace the password hash after "password: " with your new clear-text password (e.g. "secret")
After the change the line should look like this:
password: secret
You can now login using your new password. Set the password once again via GUI in main configuration settings. This will then put again a hash value in the config.cfg file.
Use a database admin tool (e.g. MySQL Workbench/phpMyAdmin) and connect to your database. Locate the table "main_configuration" and the row with value "config" in column "name". You will now need to edit this value which is in JSON format.
There is an entry "password" followed by a colon. Edit now the value in quotes that comes directly after. Enter your new password in clear text there. Do not remove the quotes.
You can now login using your new password. Set the password once again via GUI in main configuration settings. This will then put again a hash value in the config.cfg file.