1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/param
Ralph Boehme 84f07a8dcb s3/smbd: fix handling of delete-on-close on directories
This implements a check to test the delete-on-close flag of a directory
for requests to create files in this directory.

Windows server implement this check, Samba doesn't as it has performance
implications.

This commit implements the check and a new option to control it. By
default the check is skipped, setting "check parent directory delete on
close = yes" enables it.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Sat Feb  3 23:42:16 CET 2018 on sn-devel-144
2018-02-03 23:42:16 +01:00
..
loadparm_ctx.c s3:param: use lp_load_no_reinit() in lp_load_for_s4_ctx() 2015-04-22 13:57:30 +02:00
loadparm.c s3/smbd: fix handling of delete-on-close on directories 2018-02-03 23:42:16 +01:00
pyparam.c s3-param: Rename loadparm_s3_context -> loadparm_s3_helpers 2012-06-27 17:11:16 +02:00
service.c param: remove unused get_share_params() 2014-11-26 21:27:21 +01:00
test_lp_load.c s3:param: remove arg save_defaults from lp_load_with_registry_shares() 2015-04-22 13:57:30 +02:00
util.c Change all uses of uint32/16/8 in proto.h to uint32_t/16_t/8_t. 2015-04-29 23:42:20 +02:00
wscript_build s3:waf: Make PARAM and SMBREGISTRY a subsystem of smbconf only 2016-12-04 16:35:22 +01:00