git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e545b25
)
s3:smbd: ignore NTCREATEX_OPTIONS_SYNC_ALERT and NTCREATEX_OPTIONS_ASYNC_ALERT for...
author
Stefan Metzmacher
<metze@samba.org>
Thu, 4 Jun 2009 10:17:37 +0000
(12:17 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 4 Jun 2009 20:41:17 +0000
(22:41 +0200)
This should make the Windows Explorer happier.
metze
source3/smbd/smb2_create.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_create.c
b/source3/smbd/smb2_create.c
index 8cd0c3bb385003ca3f4d231d75a58fe301a4d35b..0f955a4df8ef43c85781a371f263f7f5a5394cdc 100644
(file)
--- a/
source3/smbd/smb2_create.c
+++ b/
source3/smbd/smb2_create.c
@@
-231,6
+231,10
@@
static NTSTATUS smbd_smb2_create(struct smbd_smb2_request *req,
break;
}
+ /* these are ignored for SMB2 */
+ in_create_options &= ~(0x10);/* NTCREATEX_OPTIONS_SYNC_ALERT */
+ in_create_options &= ~(0x20);/* NTCREATEX_OPTIONS_ASYNC_ALERT */
+
status = SMB_VFS_CREATE_FILE(req->tcon->compat_conn,
smbreq,
0, /* root_dir_fid */