diff options
author | Christian Ambach <ambi@samba.org> | 2011-11-24 13:49:17 +0100 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2011-11-24 17:25:58 +0100 |
commit | faf8b9bba053e844d530021566c75d83c031a94d (patch) | |
tree | c8a68b61144d69f671e5f46ddcbd7408a08d7848 /source3/smbd | |
parent | 94229435e80ecc5c0158c59e0ab3976b98668238 (diff) | |
download | samba-faf8b9bba053e844d530021566c75d83c031a94d.tar.gz samba-faf8b9bba053e844d530021566c75d83c031a94d.tar.bz2 samba-faf8b9bba053e844d530021566c75d83c031a94d.zip |
s3:smb2 do not set allow_namespace_caching flag for a share
this matches Win7/2002R2 behavior and clients also must ignore
this flag when set (MS-SMB 2.2.10), so we should not set it at all
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/smb2_tcon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_tcon.c b/source3/smbd/smb2_tcon.c index bf98d254e0..b0db5e66b7 100644 --- a/source3/smbd/smb2_tcon.c +++ b/source3/smbd/smb2_tcon.c @@ -248,7 +248,7 @@ static NTSTATUS smbd_smb2_tree_connect(struct smbd_smb2_request *req, *out_share_type = SMB2_SHARE_TYPE_DISK; } - *out_share_flags = SMB2_SHAREFLAG_ALLOW_NAMESPACE_CACHING; + *out_share_flags = 0; if (lp_msdfs_root(SNUM(tcon->compat_conn)) && lp_host_msdfs()) { *out_share_flags |= (SMB2_SHAREFLAG_DFS|SMB2_SHAREFLAG_DFS_ROOT); |