summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-04-03 15:41:32 +0000
committerAndrew Bartlett <abartlet@samba.org>2004-04-03 15:41:32 +0000
commitc2ff214772ac1934731938b3804d37e514e45c32 (patch)
tree6e7219577a7f1d2ad3e573bc220e07d99ec3708e /source3/utils
parentc2699d25462e8684bded32adada78addf88b6df5 (diff)
downloadsamba-c2ff214772ac1934731938b3804d37e514e45c32.tar.gz
samba-c2ff214772ac1934731938b3804d37e514e45c32.tar.bz2
samba-c2ff214772ac1934731938b3804d37e514e45c32.zip
Fix most of bug #169.
For a (very) long time, we have had a bug in Samba were an NTLMv2-only PDC would fail, because it converted the password into NTLM format for checking. This patch performs the direct comparison required for interactive logons to function in this situation. It also removes the 'auth flags', which simply where not ever used. Natrually, this plays with the size of structures, so rebuild, rebuild rebuild... Andrew Bartlett (This used to be commit 9598593bcf2d877b1d08cd6a7323ee0bc160d4ba)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/ntlm_auth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c
index 2213a9bae3..e33bca363b 100644
--- a/source3/utils/ntlm_auth.c
+++ b/source3/utils/ntlm_auth.c
@@ -366,6 +366,7 @@ static NTSTATUS local_pw_check(struct ntlmssp_state *ntlmssp_state, DATA_BLOB *n
&ntlmssp_state->chal,
&ntlmssp_state->lm_resp,
&ntlmssp_state->nt_resp,
+ NULL, NULL,
ntlmssp_state->user,
ntlmssp_state->user,
ntlmssp_state->domain,