svn commit: samba r6522 - in branches/SAMBA_4_0/source/auth/ntlmssp: .

abartlet at samba.org abartlet at samba.org
Sat Apr 30 08:09:48 GMT 2005


Author: abartlet
Date: 2005-04-30 08:09:47 +0000 (Sat, 30 Apr 2005)
New Revision: 6522

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6522

Log:
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

Modified:
   branches/SAMBA_4_0/source/auth/ntlmssp/ntlmssp_client.c


Changeset:
Modified: branches/SAMBA_4_0/source/auth/ntlmssp/ntlmssp_client.c
===================================================================
--- branches/SAMBA_4_0/source/auth/ntlmssp/ntlmssp_client.c	2005-04-30 04:46:54 UTC (rev 6521)
+++ branches/SAMBA_4_0/source/auth/ntlmssp/ntlmssp_client.c	2005-04-30 08:09:47 UTC (rev 6522)
@@ -177,7 +177,6 @@
 	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 @@
 		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 */



More information about the samba-cvs mailing list