summaryrefslogtreecommitdiff
path: root/source4/torture/smb2/util.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-18 11:31:40 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-18 11:31:40 +0100
commit9d0d614c7af6299482ba30c7c0ad36eed5af7474 (patch)
treed2c20eeb32c7b6bb18d380fa47ab39cce06405c0 /source4/torture/smb2/util.c
parent0419da69d5a8ab606a49598692c050447e306663 (diff)
parent0e03c3aa892439bb5567b0129a40b267ecb6cee5 (diff)
downloadsamba-9d0d614c7af6299482ba30c7c0ad36eed5af7474.tar.gz
samba-9d0d614c7af6299482ba30c7c0ad36eed5af7474.tar.bz2
samba-9d0d614c7af6299482ba30c7c0ad36eed5af7474.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit 2fb93e85eb5f415fbcdfb2fc0a1a58fad823138a)
Diffstat (limited to 'source4/torture/smb2/util.c')
-rw-r--r--source4/torture/smb2/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/smb2/util.c b/source4/torture/smb2/util.c
index 219c2140d3..f85b1c42ff 100644
--- a/source4/torture/smb2/util.c
+++ b/source4/torture/smb2/util.c
@@ -123,6 +123,7 @@ static NTSTATUS smb2_create_complex(struct smb2_tree *tree, const char *fname,
io.in.create_disposition = NTCREATEX_DISP_CREATE;
}
+ /* it seems vista is now fussier about alignment? */
if (strchr(fname, ':') == NULL) {
/* setup some EAs */
io.in.eas.num_eas = 2;
@@ -428,7 +429,7 @@ NTSTATUS smb2_util_roothandle(struct smb2_tree *tree, struct smb2_handle *handle
io.in.create_disposition = NTCREATEX_DISP_OPEN;
io.in.share_access = NTCREATEX_SHARE_ACCESS_READ|NTCREATEX_SHARE_ACCESS_DELETE;
io.in.create_options = NTCREATEX_OPTIONS_ASYNC_ALERT;
- io.in.fname = "";
+ io.in.fname = NULL;
status = smb2_create(tree, tree, &io);
NT_STATUS_NOT_OK_RETURN(status);