[Samba] get previous password hash

Kees van Vloten keesvanvloten at gmail.com
Sun Nov 24 18:41:27 UTC 2024


Hi Team,

I am trying so setup some password synchronization with Samba-AD as the 
source of truth.

It is possible to get the user's current password with samba-tool user 
getpassword and pwdLastSet can be used to see if it was changed since 
the last synchronization run.

That would be enough if I could force the new password onto the target 
application, however it wants the previous password as well. Now I have 
configured a password policy to check password history in Samba, so it 
knows about previous passwords.

Would it be possible to retrieve the previous password hashes in some 
way, just as it is possible to retrieve the current password?

- Kees.




More information about the samba mailing list