mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
Adding further change to accommodate the add machine script facility.
(This used to be commit bec502c3b8bba1ae77a72c05da2f0de6e1b0931e)
This commit is contained in:
parent
e38127f4f2
commit
5feb6fda35
@ -469,20 +469,20 @@ is joined to the domain. </para>
|
||||
<para>Since each Samba machine trust account requires a corresponding
|
||||
Unix account, a method for automatically creating the
|
||||
Unix account is usually supplied; this requires configuration of the
|
||||
<ulink url="smb.conf.5.html#ADDUSERSCRIPT">add user script</ulink>
|
||||
<ulink url="smb.conf.5.html#ADDMACHINESCRIPT">add machine script</ulink>
|
||||
option in <filename>smb.conf</filename>. This
|
||||
method is not required, however; corresponding Unix accounts may also
|
||||
be created manually.
|
||||
</para>
|
||||
|
||||
|
||||
<para>Below is an example for a RedHat 6.2 Linux system.
|
||||
<para>Below is an example for a Red Hat Linux system.
|
||||
</para>
|
||||
|
||||
<para><programlisting>
|
||||
[global]
|
||||
# <...remainder of parameters...>
|
||||
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
|
||||
add machine script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
|
||||
</programlisting></para>
|
||||
|
||||
</sect2>
|
||||
|
Loading…
x
Reference in New Issue
Block a user