summaryrefslogtreecommitdiffstats
path: root/source3/python/py_ntsec.c
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2015-02-23 20:27:37 +0100
committerJeremy Allison <jra@samba.org>2015-03-09 21:27:08 +0100
commitb0e5a4ebde8af4dad9fda0f73df23d55ee6d858a (patch)
tree542114554a876bec69ff24b63f17648d3327e57c /source3/python/py_ntsec.c
parent55d8ac528097013ee3c072406952e0394ce6ff34 (diff)
downloadsamba-b0e5a4ebde8af4dad9fda0f73df23d55ee6d858a.tar.gz
samba-b0e5a4ebde8af4dad9fda0f73df23d55ee6d858a.tar.xz
samba-b0e5a4ebde8af4dad9fda0f73df23d55ee6d858a.zip
s3/smbd: fix FSCTL_SET_SPARSE permission checks
On Windows servers (tested against Windows Server 2008 & 2012) the FSCTL_SET_SPARSE ioctl is processed if FILE_WRITE_DATA, FILE_WRITE_ATTRIBUTES _or_ SEC_FILE_APPEND_DATA permissions are granted on the open file-handle. Fix Samba such that it matches this behaviour, rather than only checking for FILE_WRITE_DATA or FILE_WRITE_ATTRIBUTES. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/python/py_ntsec.c')
0 files changed, 0 insertions, 0 deletions