mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
0c7ed5a8ab
This parameter is renamed because it does not normally return the current smb.conf file, but instead returns the next one, as found in a config file = directive, to be loaded. This avoids a conflict with the lpcfg_configfile from lib/param, which does refer to the current smb.conf path. Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Michael Adam <obnox@samba.org>
26 lines
952 B
XML
26 lines
952 B
XML
<samba:parameter name="config file"
|
|
context="G"
|
|
type="string"
|
|
hide="1"
|
|
function="next_configfile"
|
|
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
|
|
<description>
|
|
<para>This allows you to override the config file
|
|
to use, instead of the default (usually <filename moreinfo="none">smb.conf</filename>).
|
|
There is a chicken and egg problem here as this option is set
|
|
in the config file!</para>
|
|
|
|
<para>For this reason, if the name of the config file has changed
|
|
when the parameters are loaded then it will reload them from
|
|
the new config file.</para>
|
|
|
|
<para>This option takes the usual substitutions, which can
|
|
be very useful.</para>
|
|
|
|
<para>If the config file doesn't exist then it won't be loaded
|
|
(allowing you to special case the config files of just a few
|
|
clients).</para>
|
|
</description>
|
|
<value type="example">/usr/local/samba/lib/smb.conf.%m</value>
|
|
</samba:parameter>
|