diff options
-rw-r--r-- | source4/smb_server/reply.c | 4 |
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); |