summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/torture.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/torture.c b/source4/torture/torture.c
index d7dbbc43cf..935d1211e1 100644
--- a/source4/torture/torture.c
+++ b/source4/torture/torture.c
@@ -1347,7 +1347,9 @@ static BOOL run_vuidtest(void)
}
if (!NT_STATUS_EQUAL(cli->transport->error.e.nt_status,
- NT_STATUS_DOS(ERRSRV, ERRbaduid))) {
+ NT_STATUS_DOS(ERRSRV, ERRbaduid)) &&
+ !NT_STATUS_EQUAL(cli->transport->error.e.nt_status,
+ NT_STATUS_INVALID_HANDLE)) {
printf("ERROR: qfileinfo should have returned DOS error "
"ERRSRV:ERRbaduid\n but returned %s\n",
smbcli_errstr(cli->tree));