Add new framework for smb.conf(5). Please read README before trying to compile.
[Samba/gebeck_regimport.git] / docs / docbook / smbdotconf / misc / sourceenvironment.xml
blob07a8abce4d61ef0dbb4f5fd0cc59220fdcd13228
1 <samba:parameter xmlns:samba="http://samba.org/common">
2                 <term><anchor id="SOURCEENVIRONMENT"/>source environment (G)</term>
3                 <listitem><para>This parameter causes Samba to set environment 
4                 variables as per the content of the file named.</para>
6                 <para>If the value of this parameter starts with a &quot;|&quot; character 
7                 then Samba will treat that value as a pipe command to open and 
8                 will set the environment variables from the output of the pipe.</para>
10                 <para>The contents of the file or the output of the pipe should 
11                 be formatted as the output of the standard Unix <command moreinfo="none">env(1)
12                 </command> command. This is of the form :</para>
13                 <para>Example environment entry:</para>
14                 <para><command moreinfo="none">SAMBA_NETBIOS_NAME = myhostname</command></para>
16                 <para>Default: <emphasis>No default value</emphasis></para>
17                 <para>Examples: <command moreinfo="none">source environment = |/etc/smb.conf.sh
18                 </command></para>
20                 <para>Example: <command moreinfo="none">source environment = 
21                 /usr/local/smb_env_vars</command></para>
22                 </listitem>
23                 </samba:parameter>