1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
samba-mirror/source4/param
Aaron Haslett 5728867ddc param: Add non-global smb.cfg option (support 2 different smb.confs)
The default behaviour is that there is only a single global underlying
LoadParm object. E.g. if you create 2 different LoadParm objects in
python, they both modify the same underlying object.

This patch adds a mechanism to override this and create a separate
non-global LoadParm object. The use-case is the backup tool, where we
want to manipulate 2 different smb.conf files (the one used to create
the backup, and the smb.conf in the backup itself).

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-06-28 03:34:27 +02:00
..
tests Avoid including libds/common/roles.h in public loadparm.h header. 2016-01-13 04:43:23 +01:00
loadparm.c libcli/smb: add max_credits arg to smbXcli_negprot_send() 2017-03-03 21:55:27 +01:00
provision.c python3 port for provision.c 2018-04-05 08:59:09 +02:00
provision.h s4-provision: pass use_ntvfs from C wrappers and set to true in tests/vampire 2012-08-22 01:31:57 +02:00
pyparam_util.c s4/param: Additionally accept unicode as string param in Py2 2018-04-30 15:43:19 +02:00
pyparam.c param: Add non-global smb.cfg option (support 2 different smb.confs) 2018-06-28 03:34:27 +02:00
pyparam.h s4-loadparm: 2nd half of lp_ to lpcfg_ conversion 2010-07-16 18:24:27 +10:00
secrets.c Rely on /dev/urandom 2015-10-13 04:25:38 +02:00
secrets.h Rely on /dev/urandom 2015-10-13 04:25:38 +02:00
share_classic.c lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
share_ldb.c lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
share.c lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
share.h s4: pass down a memory context when performing share_string_option, to allow substitutions 2014-02-20 10:11:00 +13:00
wscript_build s3/param/wscript: build PROVISION subsytem for extra-python/py3 2018-04-13 07:27:11 +02:00