diff options
Diffstat (limited to 'docs/Samba-Guide/Chap05-500UserNetwork.xml')
-rw-r--r-- | docs/Samba-Guide/Chap05-500UserNetwork.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/Samba-Guide/Chap05-500UserNetwork.xml b/docs/Samba-Guide/Chap05-500UserNetwork.xml index 6835beed79..4c761332bc 100644 --- a/docs/Samba-Guide/Chap05-500UserNetwork.xml +++ b/docs/Samba-Guide/Chap05-500UserNetwork.xml @@ -952,12 +952,12 @@ hosts: files dns wins <smbconfoption><name>interfaces</name><value>eth1, lo</value></smbconfoption> <smbconfoption><name>bind interfaces only</name><value>Yes</value></smbconfoption> <smbconfoption><name>passdb backend</name><value>tdbsam</value></smbconfoption> -<smbconfoption><name>add user script</name><value>/usr/sbin/useradd -m %u</value></smbconfoption> -<smbconfoption><name>delete user script</name><value>/usr/sbin/userdel -r %u</value></smbconfoption> -<smbconfoption><name>add group script</name><value>/usr/sbin/groupadd %g</value></smbconfoption> -<smbconfoption><name>delete group script</name><value>/usr/sbin/groupdel %g</value></smbconfoption> -<smbconfoption><name>add user to group script</name><value>/usr/sbin/usermod -G %g %u</value></smbconfoption> -<smbconfoption><name>add machine script</name><value>/usr/sbin/useradd -s /bin/false -d /dev/null %u</value></smbconfoption> +<smbconfoption><name>add user script</name><value>/usr/sbin/useradd -m '%u'</value></smbconfoption> +<smbconfoption><name>delete user script</name><value>/usr/sbin/userdel -r '%u'</value></smbconfoption> +<smbconfoption><name>add group script</name><value>/usr/sbin/groupadd '%g'</value></smbconfoption> +<smbconfoption><name>delete group script</name><value>/usr/sbin/groupdel '%g'</value></smbconfoption> +<smbconfoption><name>add user to group script</name><value>/usr/sbin/usermod -G '%g' '%u'</value></smbconfoption> +<smbconfoption><name>add machine script</name><value>/usr/sbin/useradd -s /bin/false -d /dev/null '%u'</value></smbconfoption> <smbconfoption><name>preferred master</name><value>Yes</value></smbconfoption> <smbconfoption><name>wins support</name><value>Yes</value></smbconfoption> <smbconfoption><name>include</name><value>/etc/samba/dc-common.conf</value></smbconfoption> |