summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-05-16 15:32:08 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-17 12:59:08 +0200
commitff700acdd04b2a3e01d125a616571479410e9657 (patch)
tree72ac10fe2ec67843ac876eb09a10b4651ab9d906
parent632af6645376185500820a5be9dbf5c0c3d1e515 (diff)
downloadsamba-ff700acdd04b2a3e01d125a616571479410e9657.tar.gz
samba-ff700acdd04b2a3e01d125a616571479410e9657.tar.bz2
samba-ff700acdd04b2a3e01d125a616571479410e9657.zip
s3:smb2_sesssetup: make use of nt_status_squash() in smbd_smb2_session_setup_recv()
metze
-rw-r--r--source3/smbd/smb2_sesssetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_sesssetup.c b/source3/smbd/smb2_sesssetup.c
index 2dafa06c7d..939cfaced1 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;