summaryrefslogtreecommitdiff
path: root/source4/torture/raw
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-04 05:54:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:11 -0500
commit6667788706e565be7eabd81a946d4ef8c3fb8bc9 (patch)
treeab81952595613d8ba35fae996f058ef93cbd349c /source4/torture/raw
parenta703329908431b473483fe0e70a121fff1e5fbf6 (diff)
downloadsamba-6667788706e565be7eabd81a946d4ef8c3fb8bc9.tar.gz
samba-6667788706e565be7eabd81a946d4ef8c3fb8bc9.tar.bz2
samba-6667788706e565be7eabd81a946d4ef8c3fb8bc9.zip
r8123: fixed the RAW-NOTIFY and RAW-QFSINFO tests against w2k3
(This used to be commit acd9fad3a4c578e20cd4bdb79a000a7ff70f680c)
Diffstat (limited to 'source4/torture/raw')
-rw-r--r--source4/torture/raw/notify.c2
-rw-r--r--source4/torture/raw/qfsinfo.c3
2 files changed, 4 insertions, 1 deletions
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, }
};