svn commit: samba r9865 - in trunk/source/libsmb: .

jra at samba.org jra at samba.org
Thu Sep 1 05:04:40 GMT 2005


Author: jra
Date: 2005-09-01 05:04:39 +0000 (Thu, 01 Sep 2005)
New Revision: 9865

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

Log:
Now client ntlmssp_update returns NT_STATUS_OK on finish, not NT_STATUS_MORE_PROCESSING_REQUIRED,
we must check for this as the termination of the connect state.
Andrew Bartlett, can you please check the code in utils/ntlm_auth.c as I'm worried about
the same issue on line :1062  in that file. Thanks.
Jeremy.

Modified:
   trunk/source/libsmb/cliconnect.c


Changeset:
Modified: trunk/source/libsmb/cliconnect.c
===================================================================
--- trunk/source/libsmb/cliconnect.c	2005-09-01 05:04:37 UTC (rev 9864)
+++ trunk/source/libsmb/cliconnect.c	2005-09-01 05:04:39 UTC (rev 9865)
@@ -600,7 +600,7 @@
 		nt_status = ntlmssp_update(ntlmssp_state, 
 						  blob_in, &blob_out);
 		data_blob_free(&blob_in);
-		if (NT_STATUS_EQUAL(nt_status, NT_STATUS_MORE_PROCESSING_REQUIRED)) {
+		if (NT_STATUS_EQUAL(nt_status, NT_STATUS_MORE_PROCESSING_REQUIRED) || NT_STATUS_IS_OK(nt_status)) {
 			if (turn == 1) {
 				/* and wrap it in a SPNEGO wrapper */
 				msg1 = gen_negTokenInit(OID_NTLMSSP, blob_out);



More information about the samba-cvs mailing list