svn commit: samba r3953 - in
branches/SAMBA_4_0/source/rpc_server/samr: .
tridge at samba.org
tridge at samba.org
Thu Nov 25 04:01:32 GMT 2004
Author: tridge
Date: 2004-11-25 04:01:31 +0000 (Thu, 25 Nov 2004)
New Revision: 3953
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3953
Log:
the lm verifier key in passwoed ChangePasswordUser3 is based on the nt
hash, not the lm hash
Modified:
branches/SAMBA_4_0/source/rpc_server/samr/samr_password.c
Changeset:
Modified: branches/SAMBA_4_0/source/rpc_server/samr/samr_password.c
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/samr/samr_password.c 2004-11-25 01:13:44 UTC (rev 3952)
+++ branches/SAMBA_4_0/source/rpc_server/samr/samr_password.c 2004-11-25 04:01:31 UTC (rev 3953)
@@ -332,7 +332,7 @@
/* check LM verifier */
if (lm_pwd && r->in.lm_verifier != NULL) {
E_deshash(new_pass, new_lm_hash);
- E_old_pw_hash(new_lm_hash, lm_pwd->hash, lm_verifier.hash);
+ E_old_pw_hash(new_nt_hash, lm_pwd->hash, lm_verifier.hash);
if (memcmp(lm_verifier.hash, r->in.lm_verifier->hash, 16) != 0) {
status = NT_STATUS_WRONG_PASSWORD;
goto failed;
More information about the samba-cvs
mailing list