svn commit: samba r9864 - in branches/tmp/RPCREWRITE/source/libsmb:
.
jra at samba.org
jra at samba.org
Thu Sep 1 05:04:37 GMT 2005
Author: jra
Date: 2005-09-01 05:04:37 +0000 (Thu, 01 Sep 2005)
New Revision: 9864
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9864
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:
branches/tmp/RPCREWRITE/source/libsmb/cliconnect.c
Changeset:
Modified: branches/tmp/RPCREWRITE/source/libsmb/cliconnect.c
===================================================================
--- branches/tmp/RPCREWRITE/source/libsmb/cliconnect.c 2005-09-01 03:53:19 UTC (rev 9863)
+++ branches/tmp/RPCREWRITE/source/libsmb/cliconnect.c 2005-09-01 05:04:37 UTC (rev 9864)
@@ -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