s3:SMB2-SESSION-RECONNECT: also expect NETWORK_NAME_DELETED is signing isn't used
authorStefan Metzmacher <metze@samba.org>
Fri, 6 Jan 2012 07:31:16 +0000 (08:31 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 6 Jan 2012 07:31:16 +0000 (08:31 +0100)
metze

source3/torture/test_smb2.c

index 48786ae5071308c24439ac0c10122ae2c8c35251..098260be449af6a2022642367887705c96b2ddfa 100644 (file)
@@ -534,7 +534,8 @@ bool run_smb2_session_reconnect(int dummy)
                        NULL, /* smb2_create_blobs *blobs */
                        &fid_persistent,
                        &fid_volatile);
-       if (!NT_STATUS_EQUAL(status, NT_STATUS_ACCESS_DENIED)) {
+       if (!NT_STATUS_EQUAL(status, NT_STATUS_ACCESS_DENIED) &&
+           !NT_STATUS_EQUAL(status, NT_STATUS_NETWORK_NAME_DELETED)) {
                printf("smb2cli_create on cli2 %s\n", nt_errstr(status));
                return false;
        }