1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

r6522: I have no idea why this change was made, but it not only breaks

connections to Win2k3, it doesn't match the well-known behaviour from
samba3.

Andrew Bartlett
(This used to be commit 99c9afe45a345e78d7492fe01463922460d66e99)
This commit is contained in:
Andrew Bartlett 2005-04-30 08:09:47 +00:00 committed by Gerald (Jerry) Carter
parent cba367d001
commit d3481b160c

View File

@ -177,7 +177,6 @@ NTSTATUS ntlmssp_client_challenge(struct gensec_security *gensec_security,
password = cli_credentials_get_password(gensec_security->credentials);
if (!password) {
static const uint8_t zero[1];
static const uint8_t zeros[16];
/* do nothing - blobs are zero length */
@ -185,7 +184,7 @@ NTSTATUS ntlmssp_client_challenge(struct gensec_security *gensec_security,
session_key = data_blob_talloc(gensec_ntlmssp_state, zeros, 16);
lm_session_key = data_blob_talloc(gensec_ntlmssp_state, zeros, 16);
lm_response = data_blob_talloc(gensec_ntlmssp_state, zero, 1);
lm_response = data_blob(NULL, 0);
nt_response = data_blob(NULL, 0);
/* not doing NLTM2 without a password */