diff options
Diffstat (limited to 'source3/smbd/chgpasswd.c')
-rw-r--r-- | source3/smbd/chgpasswd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c index a5274862fc..9e593b022e 100644 --- a/source3/smbd/chgpasswd.c +++ b/source3/smbd/chgpasswd.c @@ -707,11 +707,11 @@ BOOL change_lanman_password(SAM_ACCOUNT *sampass, uchar * pass1, D_P16(pwd, pass2, unenc_new_pw); } - if (!pdb_set_lanman_passwd(sampass, unenc_new_pw, PDB_CHANGED)) { + if (!pdb_set_lanman_passwd(sampass, unenc_new_pw)) { return False; } - if (!pdb_set_nt_passwd (sampass, NULL, PDB_CHANGED)) { + if (!pdb_set_nt_passwd (sampass, NULL)) { return False; /* We lose the NT hash. Sorry. */ } |