fix from WSPP SMB2 test 11
authorAndrew Tridgell <tridge@samba.org>
Thu, 29 May 2008 09:32:04 +0000 (19:32 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 29 May 2008 09:32:04 +0000 (19:32 +1000)
(This used to be commit 81612b7854725837e8487bf97b87bff6548b6ad3)

source4/smb_server/smb2/sesssetup.c

index 1aaacf897c62e46310b6c4aa17cdfcc2cddec6a4..d386bfc72d1c23c4bc28fc0f917e2f845f1e012c 100644 (file)
@@ -158,7 +158,8 @@ static void smb2srv_sesssetup_backend(struct smb2srv_request *req, union smb_ses
        }
 
        if (!smb_sess) {
-               status = NT_STATUS_USER_SESSION_DELETED;
+               /* see WSPP test suite - test 11 */
+               status = NT_STATUS_REQUEST_NOT_ACCEPTED;
                goto failed;
        }