[PATCH] Add -H parameter to pdbedit to update user password from nt-hash hexstring.

Andrew Bartlett abartlet at samba.org
Sat Jun 13 00:03:54 MDT 2015

On Wed, 2015-06-10 at 16:28 +0200, Alberto Maria Fiaschi wrote:
> I modify pdbedit to   set password from  nthash to an existing user.This 
> is useful to take in sync password  (for example from OpenLdap) .It is 
> also updated paswordhistory.
> pbedit  with -vw (verbose & smbpasswd-style )  shows the password hashes 
> in the verbose output.


Please tidy up the code (we don't just leave stuff commented out with \
\), and don't use -H, just add a long option. 

Fix those up, and I'll double-check the rest, but it seems more


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-technical mailing list