From ff700acdd04b2a3e01d125a616571479410e9657 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 16 May 2012 15:32:08 +0200 Subject: [PATCH] s3:smb2_sesssetup: make use of nt_status_squash() in smbd_smb2_session_setup_recv() metze --- source3/smbd/smb2_sesssetup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/smb2_sesssetup.c b/source3/smbd/smb2_sesssetup.c index 2dafa06c7dc..939cfaced1a 100644 --- a/source3/smbd/smb2_sesssetup.c +++ b/source3/smbd/smb2_sesssetup.c @@ -484,7 +484,7 @@ static NTSTATUS smbd_smb2_session_setup_recv(struct tevent_req *req, if (tevent_req_is_nterror(req, &status)) { if (!NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) { tevent_req_received(req); - return status; + return nt_status_squash(status); } } else { status = NT_STATUS_OK; -- 2.11.4.GIT