summaryrefslogtreecommitdiff
path: root/source4/torture/smb2/util.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-18 11:59:02 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-18 11:59:02 +0100
commit4e750552b789054f094c3dc42f091cebdc4f715e (patch)
tree6231d9969f39482b5b9e74e7ee519a96cc989653 /source4/torture/smb2/util.c
parent85ac8dc17ad8cd01bb773383fd30261b9f357292 (diff)
parente8cf95773df914e8d71dcc1ce713fe0cc723d946 (diff)
downloadsamba-4e750552b789054f094c3dc42f091cebdc4f715e.tar.gz
samba-4e750552b789054f094c3dc42f091cebdc4f715e.tar.bz2
samba-4e750552b789054f094c3dc42f091cebdc4f715e.zip
Merge branch 'v4-0-trivial' into v4-0-gmake3
Conflicts: source/build/smb_build/main.pl source/build/smb_build/makefile.pm (This used to be commit d31987461984aebf8c6f2513e83c92757c0f83c7)
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);