summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-04-21 12:17:02 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-04-21 12:17:02 +0000
commitaf4ebfd970f55c315076b31373f2c4a23ecb709c (patch)
tree6fb1ca4b6a35d8fc7ffab603b5add28197e392f8
parent76a0be1dbac56c8631a373151799dda2d64714f9 (diff)
downloadsamba-af4ebfd970f55c315076b31373f2c4a23ecb709c.tar.gz
samba-af4ebfd970f55c315076b31373f2c4a23ecb709c.tar.bz2
samba-af4ebfd970f55c315076b31373f2c4a23ecb709c.zip
For NTLM2 (not yet even close to real implementation) we must use the
server hash for checking the server's signiture. Andrew Bartlett (This used to be commit 61255a2b3694ba13c72a2a33e5956d14c7d4d2c1)
-rw-r--r--source3/libsmb/ntlmssp_sign.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/ntlmssp_sign.c b/source3/libsmb/ntlmssp_sign.c
index 5426263fb9..86faf1f5e6 100644
--- a/source3/libsmb/ntlmssp_sign.c
+++ b/source3/libsmb/ntlmssp_sign.c
@@ -121,7 +121,7 @@ static NTSTATUS ntlmssp_make_packet_signiture(NTLMSSP_CLIENT_STATE *ntlmssp_stat
NTLMSSPcalc_ap(ntlmssp_state->cli_sign_hash, sig->data, sig->length);
break;
case NTLMSSP_RECEIVE:
- NTLMSSPcalc_ap(ntlmssp_state->cli_sign_hash, sig->data, sig->length);
+ NTLMSSPcalc_ap(ntlmssp_state->srv_sign_hash, sig->data, sig->length);
break;
}
} else {