svn commit: samba r19558 - in branches/SAMBA_4_0/source/utils: .

jelmer at samba.org jelmer at samba.org
Sat Nov 4 20:57:32 GMT 2006


Author: jelmer
Date: 2006-11-04 20:57:32 +0000 (Sat, 04 Nov 2006)
New Revision: 19558

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

Log:
Make behaviour of "OK" match that of Samba3's ntlm_auth. Patch by 
Kai Blin.

Modified:
   branches/SAMBA_4_0/source/utils/ntlm_auth.c


Changeset:
Modified: branches/SAMBA_4_0/source/utils/ntlm_auth.c
===================================================================
--- branches/SAMBA_4_0/source/utils/ntlm_auth.c	2006-11-04 20:24:35 UTC (rev 19557)
+++ branches/SAMBA_4_0/source/utils/ntlm_auth.c	2006-11-04 20:57:32 UTC (rev 19558)
@@ -402,7 +402,8 @@
 			state->gensec_state = NULL;
 		}
 	} else if ( (strncmp(buf, "OK", 2) == 0)) {
-		/* do nothing */
+		/* Just return BH, like ntlm_auth from Samba 3 does. */
+		mux_printf(mux_id, "BH\n");
 		data_blob_free(&in);
 		return;
 	} else if ( (strncmp(buf, "TT ", 3) != 0) &&



More information about the samba-cvs mailing list