as a special case don't check the status of the create of \clients -
[samba.git] / source4 / torture / nbench / nbio.c
index 8a9c36f1d0df3cd0884ae40070b4dbff86e6233b..d42f7194730e5bf529c402c56e30f9c3bd0924a0 100644 (file)
@@ -215,7 +215,9 @@ void nb_createx(const char *fname,
 
        talloc_destroy(mem_ctx);
 
-       check_status("NTCreateX", status, ret);
+       if (strcmp(fname, "\\clients") != 0) {
+               check_status("NTCreateX", status, ret);
+       }
 
        if (!NT_STATUS_IS_OK(ret)) return;