diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Samba-Guide/Chap05-500UserNetwork.xml | 12 | ||||
-rw-r--r-- | docs/Samba-Guide/Chap06-MakingHappyUsers.xml | 18 | ||||
-rw-r--r-- | docs/Samba-Guide/Chap07-2000UserNetwork.xml | 2 |
3 files changed, 16 insertions, 16 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> diff --git a/docs/Samba-Guide/Chap06-MakingHappyUsers.xml b/docs/Samba-Guide/Chap06-MakingHappyUsers.xml index 1b075e73f7..d27aced071 100644 --- a/docs/Samba-Guide/Chap06-MakingHappyUsers.xml +++ b/docs/Samba-Guide/Chap06-MakingHappyUsers.xml @@ -1479,7 +1479,7 @@ SID for domain MASSIVE is: S-1-5-21-3504140859-1010554828-2431957765 <smbconfoption><name>printcap name</name><value>CUPS</value></smbconfoption> <smbconfoption><name>show add printer wizard</name><value>No</value></smbconfoption> <smbconfoption><name>add user script</name><value>/var/lib/samba/sbin/smbldap-useradd.pl -a -m '%u'</value></smbconfoption> - <smbconfoption><name>delete user script</name><value>/var/lib/samba/sbin/smbldap-userdel.pl %u</value></smbconfoption> + <smbconfoption><name>delete user script</name><value>/var/lib/samba/sbin/smbldap-userdel.pl '%u'</value></smbconfoption> <smbconfoption><name>add group script</name><value>/var/lib/samba/sbin/smbldap-groupadd.pl -p '%g'</value></smbconfoption> <smbconfoption><name>delete group script</name><value>/var/lib/samba/sbin/smbldap-groupdel.pl '%g'</value></smbconfoption> <smbconfoption><name>add user to group script</name><value>/var/lib/samba/sbin/</value></smbconfoption> @@ -3145,35 +3145,35 @@ HKEY_LOCAL_MACHINE\Default\Software\Microsoft\Windows\ <tbody> <row> <entry>Cache</entry> - <entry>\\%LOGONSERVER%\profdata\%USERNAME%\InternetFiles</entry> + <entry>%LOGONSERVER%\profdata\%USERNAME%\InternetFiles</entry> </row> <row> <entry>Cookies</entry> - <entry>\\%LOGONSERVER%\profdata\%USERNAME%\Cookies</entry> + <entry>%LOGONSERVER%\profdata\%USERNAME%\Cookies</entry> </row> <row> <entry>History</entry> - <entry>\\%LOGONSERVER%\profdata\%USERNAME%\History</entry> + <entry>%LOGONSERVER%\profdata\%USERNAME%\History</entry> </row> <row> <entry>Local AppData</entry> - <entry>\\%LOGONSERVER%\profdata\%USERNAME%\AppData</entry> + <entry>%LOGONSERVER%\profdata\%USERNAME%\AppData</entry> </row> <row> <entry>Local Settings</entry> - <entry>\\%LOGONSERVER%\profdata\%USERNAME%\LocalSettings</entry> + <entry>%LOGONSERVER%\profdata\%USERNAME%\LocalSettings</entry> </row> <row> <entry>My Pictures</entry> - <entry>\\%LOGONSERVER%\profdata\%USERNAME%\MyPictures</entry> + <entry>%LOGONSERVER%\profdata\%USERNAME%\MyPictures</entry> </row> <row> <entry>Personal</entry> - <entry>\\%LOGONSERVER%\profdata\%USERNAME%\MyDocuments</entry> + <entry>%LOGONSERVER%\profdata\%USERNAME%\MyDocuments</entry> </row> <row> <entry>Recent</entry> - <entry>\\%LOGONSERVER%\profdata\%USERNAME%\Recent</entry> + <entry>%LOGONSERVER%\profdata\%USERNAME%\Recent</entry> </row> </tbody> </tgroup> diff --git a/docs/Samba-Guide/Chap07-2000UserNetwork.xml b/docs/Samba-Guide/Chap07-2000UserNetwork.xml index 64ced919a4..8be46d92c3 100644 --- a/docs/Samba-Guide/Chap07-2000UserNetwork.xml +++ b/docs/Samba-Guide/Chap07-2000UserNetwork.xml @@ -1149,7 +1149,7 @@ index default sub <smbconfoption><name>time server</name><value>Yes</value></smbconfoption> <smbconfoption><name>printcap name</name><value>CUPS</value></smbconfoption> <smbconfoption><name>add user script</name><value>/var/lib/samba/sbin/smbldap-useradd.pl -a -m '%u'</value></smbconfoption> -<smbconfoption><name>delete user script</name><value>/var/lib/samba/sbin/smbldap-userdel.pl %u</value></smbconfoption> +<smbconfoption><name>delete user script</name><value>/var/lib/samba/sbin/smbldap-userdel.pl '%u'</value></smbconfoption> <smbconfoption><name>add group script</name><value>/var/lib/samba/sbin/smbldap-groupadd.pl -p '%g'</value></smbconfoption> <smbconfoption><name>delete group script</name><value>/var/lib/samba/sbin/smbldap-groupdel.pl '%g'</value></smbconfoption> <smbconfoption><name>add user to group script</name><value>/var/lib/samba/sbin/</value></smbconfoption> |