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 "|" 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
20 <para>Example: <command moreinfo="none">source environment =
21 /usr/local/smb_env_vars</command></para>