summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-09-21 04:11:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:55 -0500
commitf1fbeb880c9dc61cbb066e40b87c6635bf25055a (patch)
tree3af3500048f25c5e12d887f2845027a08dcd4d22
parent635d5d88000c8fcc6e4faef10663afe6a500422e (diff)
downloadsamba-f1fbeb880c9dc61cbb066e40b87c6635bf25055a.tar.gz
samba-f1fbeb880c9dc61cbb066e40b87c6635bf25055a.tar.bz2
samba-f1fbeb880c9dc61cbb066e40b87c6635bf25055a.zip
r2460: fixed the spnego code that I recently broke
(This used to be commit 9a708e2281b87e41032e8a0b12bb5ac3b0e151ce)
-rw-r--r--source4/smb_server/reply.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/smb_server/reply.c b/source4/smb_server/reply.c
index 30eef74fde..5827d64bcd 100644
--- a/source4/smb_server/reply.c
+++ b/source4/smb_server/reply.c
@@ -2057,6 +2057,10 @@ static void reply_sesssetup_spnego(struct smbsrv_request *req)
/* construct reply */
req_setup_reply(req, 4, sess.spnego.out.secblob.length);
+ if (NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) {
+ req_setup_error(req, status);
+ }
+
SSVAL(req->out.vwv, VWV(0), SMB_CHAIN_NONE);
SSVAL(req->out.vwv, VWV(1), 0);
SSVAL(req->out.vwv, VWV(2), sess.spnego.out.action);