I tried to reset a user password with the gem "devise_ldap_authenticatable" but it didn't work.
The command I tried to run was.
Devise::LdapAdapter.update_password(login, new_password)
but it didn't work.
Unfortunately when it tries to bind it tries to bind the that user with a password nil since the old password is nil. I also tried to bind with the admin user credential but although the admin user is being logged in in; the password is not updated.
How would you reset a user ldap account password without using the 'old_password' as an admin user that have that privilege?
If you know a better solution, thanks to share!