diff options
author | Luke Leighton <lkcl@samba.org> | 1998-10-10 00:46:28 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-10-10 00:46:28 +0000 |
commit | 827a9d862ebe3d5ce1853999d16bd121fddcc796 (patch) | |
tree | 90f001fc27b4c65b9104cc910a3525eb7ca04941 /source3/rpcclient | |
parent | 78c1fd054f25ae2d0fa57669a0db102bc916577c (diff) | |
download | samba-827a9d862ebe3d5ce1853999d16bd121fddcc796.tar.gz samba-827a9d862ebe3d5ce1853999d16bd121fddcc796.tar.bz2 samba-827a9d862ebe3d5ce1853999d16bd121fddcc796.zip |
dce/rpc
(This used to be commit dfb48aab6153e53a5efd1f8ee518375cc584b101)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_samr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c index 5cf6e61245..86a5619540 100644 --- a/source3/rpcclient/cmd_samr.c +++ b/source3/rpcclient/cmd_samr.c @@ -79,9 +79,9 @@ void cmd_sam_test(struct client_info *info) new_passwd = (char*)getpass("New Password (ONCE: this is test code!):"); nt_lm_owf_gen(new_passwd, lm_newhash, nt_newhash); - pwd_get_lm_nt_16(&(smb_cli->pwd), lm_oldhash , nt_oldhash ); - make_oem_passwd_hash(nt_newpass, new_passwd, nt_oldhash); - make_oem_passwd_hash(lm_newpass, new_passwd, lm_oldhash); + pwd_get_lm_nt_16(&(smb_cli->pwd), lm_oldhash, nt_oldhash ); + make_oem_passwd_hash(nt_newpass, new_passwd, nt_oldhash, True); + make_oem_passwd_hash(lm_newpass, new_passwd, lm_oldhash, True); E_old_pw_hash(lm_newhash, lm_oldhash, lm_hshhash); E_old_pw_hash(lm_newhash, nt_oldhash, nt_hshhash); |