summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/smb_server/smb/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb/reply.c b/source4/smb_server/smb/reply.c
index b608959556..0da61ef253 100644
--- a/source4/smb_server/smb/reply.c
+++ b/source4/smb_server/smb/reply.c
@@ -2123,7 +2123,7 @@ static void reply_sesssetup_spnego(struct smbsrv_request *req)
smbsrv_setup_reply(req, 4, sess.spnego.out.secblob.length);
if (NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) {
- smbsrv_send_error(req, status);
+ smbsrv_setup_error(req, status);
}
SSVAL(req->out.vwv, VWV(0), SMB_CHAIN_NONE);