diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-06-04 12:17:37 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-06-04 22:41:17 +0200 |
commit | 7f097368ed3c65467add701f1b3eb99081769ddb (patch) | |
tree | b68fd85fe095c3e7c8a43ad6aff3c3c6aa23ec9e | |
parent | e545b253d805028dbe3fe2bd94189ef3b0520885 (diff) | |
download | samba-7f097368ed3c65467add701f1b3eb99081769ddb.tar.gz samba-7f097368ed3c65467add701f1b3eb99081769ddb.tar.xz samba-7f097368ed3c65467add701f1b3eb99081769ddb.zip |
s3:smbd: ignore NTCREATEX_OPTIONS_SYNC_ALERT and NTCREATEX_OPTIONS_ASYNC_ALERT for SMB2 Create
This should make the Windows Explorer happier.
metze
-rw-r--r-- | source3/smbd/smb2_create.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c index 8cd0c3bb385..0f955a4df8e 100644 --- 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 */ |