[Samba] Changing password in PDC using a pre-hashed value

Andrew Bartlett abartlet at samba.org
Wed Nov 26 02:07:32 MST 2014

On Tue, 2014-11-25 at 13:43 +0100, Emond Papegaaij wrote:
> Hello,
> In short, we would like to add users to a Samba PDC, using a pre-hashed value 
> for their password. Is this possible, if so, how?

Look into how the classicupgrade code uses the passdb python bindings to
force a specific hashed password. 

However, this only allows you to set the NT password hash, and so you
can't use AES in Kerberos or LM.


Andrew Bartlett

Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba mailing list