From 6667788706e565be7eabd81a946d4ef8c3fb8bc9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 4 Jul 2005 05:54:09 +0000 Subject: r8123: fixed the RAW-NOTIFY and RAW-QFSINFO tests against w2k3 (This used to be commit acd9fad3a4c578e20cd4bdb79a000a7ff70f680c) --- source4/torture/raw/notify.c | 2 +- source4/torture/raw/qfsinfo.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/torture/raw/notify.c b/source4/torture/raw/notify.c index 0877931d06..921fdb4dbf 100644 --- a/source4/torture/raw/notify.c +++ b/source4/torture/raw/notify.c @@ -83,7 +83,7 @@ BOOL torture_raw_notify(void) io.ntcreatex.in.file_attr = FILE_ATTRIBUTE_NORMAL; io.ntcreatex.in.share_access = NTCREATEX_SHARE_ACCESS_READ | NTCREATEX_SHARE_ACCESS_WRITE; io.ntcreatex.in.alloc_size = 0; - io.ntcreatex.in.open_disposition = NTCREATEX_DISP_CREATE; + io.ntcreatex.in.open_disposition = NTCREATEX_DISP_OPEN; io.ntcreatex.in.impersonation = NTCREATEX_IMPERSONATION_ANONYMOUS; io.ntcreatex.in.security_flags = 0; io.ntcreatex.in.fname = BASEDIR; diff --git a/source4/torture/raw/qfsinfo.c b/source4/torture/raw/qfsinfo.c index 258f127d61..58bc801a02 100644 --- a/source4/torture/raw/qfsinfo.c +++ b/source4/torture/raw/qfsinfo.c @@ -43,7 +43,10 @@ static struct { {"ATTRIBUTE_INFORMATION", RAW_QFS_ATTRIBUTE_INFORMATION, }, {"QUOTA_INFORMATION", RAW_QFS_QUOTA_INFORMATION, }, {"FULL_SIZE_INFORMATION", RAW_QFS_FULL_SIZE_INFORMATION, }, +#if 0 + /* w2k3 seems to no longer support this */ {"OBJECTID_INFORMATION", RAW_QFS_OBJECTID_INFORMATION, }, +#endif { NULL, } }; -- cgit