1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/lib/smbconf
Michael Adam 658fbefef7 libsmbconf:registry: add "state directory" to the list of forbidden parameters
At the time when the registry configuration was introduced,
the registry database file was placed in the "lock directory".
So the "lock directory" was added to the list of parameters
that may not be changed in the registry configuration
(because the next config reload would then load a different
 registry and drop all the original seetings).

Later, "state directory" and "cache directory" were introduced,
both defaulting to "lock directory". And the registry's location
was changed to "state directory".

It slipped my attention that the forbidden parameters for the
should have been adapted at the time.

So this patch adds "state directory" to the list.
It keeps the lock directory, to catch the case
where the state directory is not explicitly set, hence
defaulting to the "lock directory".

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-24 07:44:29 +02:00
..
smbconf_init.c libsmbconf: Convert smbconf_init() to sbcErr. 2011-05-10 19:13:20 +02:00
smbconf_init.h libsmbconf: Convert smbconf_init() to sbcErr. 2011-05-10 19:13:20 +02:00
smbconf_reg.c libsmbconf:registry: add "state directory" to the list of forbidden parameters 2013-09-24 07:44:29 +02:00
smbconf_reg.h libsmbconf:registry: publish smbconf_reg_parameter_is_valid() 2013-09-24 07:44:28 +02:00
testsuite.c source3/lib/smbconf/testsuite.c: fix stackframe leak 2012-07-18 05:07:31 +09:30