diff options
Diffstat (limited to 'docs/Samba-Guide/Chap04-SecureOfficeServer.xml')
-rw-r--r-- | docs/Samba-Guide/Chap04-SecureOfficeServer.xml | 148 |
1 files changed, 74 insertions, 74 deletions
diff --git a/docs/Samba-Guide/Chap04-SecureOfficeServer.xml b/docs/Samba-Guide/Chap04-SecureOfficeServer.xml index 20103e0904..acbb25d03f 100644 --- a/docs/Samba-Guide/Chap04-SecureOfficeServer.xml +++ b/docs/Samba-Guide/Chap04-SecureOfficeServer.xml @@ -511,7 +511,7 @@ Given 500 Users and 2 years: </indexterm><indexterm> <primary>name resolve order</primary> </indexterm> - WINS serving is enabled by the <smbconfoption><name>wins support</name><value>Yes</value></smbconfoption>, + WINS serving is enabled by the <smbconfoption name="wins support">Yes</smbconfoption>, and name resolution is set to use it by means of the <smbconfoption><name>name resolve order</name> <value>wins bcast hosts</value></smbconfoption> entry. </para></listitem> @@ -531,8 +531,8 @@ Given 500 Users and 2 years: </indexterm> Samba is configured to directly interface with CUPS via the direct internal interface that is provided by CUPS libraries. This is achieved with the - <smbconfoption><name>printing</name><value>CUPS</value></smbconfoption> as well as the - <smbconfoption><name>printcap name</name><value>CUPS</value></smbconfoption> entries. + <smbconfoption name="printing">CUPS</smbconfoption> as well as the + <smbconfoption name="printcap name">CUPS</smbconfoption> entries. </para></listitem> <listitem><para><indexterm> @@ -863,100 +863,100 @@ echo -e "\nNAT firewall done.\n" <title>130 User Network with <emphasis>tdbsam</emphasis> &smbmdash; [globals] Section</title> <smbconfcomment>Global parameters</smbconfcomment> <smbconfsection>[global]</smbconfsection> -<smbconfoption><name>workgroup</name><value>PROMISES</value></smbconfoption> -<smbconfoption><name>netbios name</name><value>DIAMOND</value></smbconfoption> -<smbconfoption><name>interfaces</name><value>eth1, eth2, lo</value></smbconfoption> -<smbconfoption><name>bind interfaces only</name><value>Yes</value></smbconfoption> -<smbconfoption><name>passdb backend</name><value>tdbsam</value></smbconfoption> -<smbconfoption><name>pam password change</name><value>Yes</value></smbconfoption> -<smbconfoption><name>passwd chat</name><value>*New*Password* %n\n *Re-enter*new*password*</value></smbconfoption> +<smbconfoption name="workgroup">PROMISES</smbconfoption> +<smbconfoption name="netbios name">DIAMOND</smbconfoption> +<smbconfoption name="interfaces">eth1, eth2, lo</smbconfoption> +<smbconfoption name="bind interfaces only">Yes</smbconfoption> +<smbconfoption name="passdb backend">tdbsam</smbconfoption> +<smbconfoption name="pam password change">Yes</smbconfoption> +<smbconfoption name="passwd chat">*New*Password* %n\n *Re-enter*new*password*</smbconfoption> <member><parameter> %n\n *Password*changed*</parameter></member> -<smbconfoption><name>username map</name><value>/etc/samba/smbusers</value></smbconfoption> -<smbconfoption><name>unix password sync</name><value>Yes</value></smbconfoption> -<smbconfoption><name>log level</name><value>1</value></smbconfoption> -<smbconfoption><name>syslog</name><value>0</value></smbconfoption> -<smbconfoption><name>log file</name><value>/var/log/samba/%m</value></smbconfoption> -<smbconfoption><name>max log size</name><value>50</value></smbconfoption> -<smbconfoption><name>smb ports</name><value>139 445</value></smbconfoption> -<smbconfoption><name>name resolve order</name><value>wins bcast hosts</value></smbconfoption> -<smbconfoption><name>time server</name><value>Yes</value></smbconfoption> -<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>/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</value></smbconfoption> +<smbconfoption name="username map">/etc/samba/smbusers</smbconfoption> +<smbconfoption name="unix password sync">Yes</smbconfoption> +<smbconfoption name="log level">1</smbconfoption> +<smbconfoption name="syslog">0</smbconfoption> +<smbconfoption name="log file">/var/log/samba/%m</smbconfoption> +<smbconfoption name="max log size">50</smbconfoption> +<smbconfoption name="smb ports">139 445</smbconfoption> +<smbconfoption name="name resolve order">wins bcast hosts</smbconfoption> +<smbconfoption name="time server">Yes</smbconfoption> +<smbconfoption name="printcap name">CUPS</smbconfoption> +<smbconfoption name="show add printer wizard">No</smbconfoption> +<smbconfoption name="add user script">/usr/sbin/useradd -m '%u'</smbconfoption> +<smbconfoption name="delete user script">/usr/sbin/userdel -r '%u'</smbconfoption> +<smbconfoption name="add group script">/usr/sbin/groupadd '%g'</smbconfoption> +<smbconfoption name="delete group script">/usr/sbin/groupdel '%g'</smbconfoption> +<smbconfoption name="add user to group script">/usr/sbin/usermod -G '%g' '%u'</smbconfoption> +<smbconfoption name="add machine script">/usr/sbin/useradd</smbconfoption> <member><parameter>-s /bin/false -d /tmp '%u'</parameter></member> -<smbconfoption><name>shutdown script</name><value>/var/lib/samba/scripts/shutdown.sh</value></smbconfoption> -<smbconfoption><name>abort shutdown script</name><value>/sbin/shutdown -c</value></smbconfoption> -<smbconfoption><name>logon script</name><value>scripts\logon.bat</value></smbconfoption> -<smbconfoption><name>logon path</name><value>\\%L\profiles\%U</value></smbconfoption> -<smbconfoption><name>logon drive</name><value>X:</value></smbconfoption> -<smbconfoption><name>logon home</name><value>\\%L\%U</value></smbconfoption> -<smbconfoption><name>domain logons</name><value>Yes</value></smbconfoption> -<smbconfoption><name>preferred master</name><value>Yes</value></smbconfoption> -<smbconfoption><name>wins support</name><value>Yes</value></smbconfoption> -<smbconfoption><name>utmp</name><value>Yes</value></smbconfoption> -<smbconfoption><name>map acl inherit</name><value>Yes</value></smbconfoption> -<smbconfoption><name>printing</name><value>cups</value></smbconfoption> -<smbconfoption><name>veto files</name><value>/*.eml/*.nws/*.{*}/</value></smbconfoption> -<smbconfoption><name>veto oplock files</name><value>/*.doc/*.xls/*.mdb/</value></smbconfoption> +<smbconfoption name="shutdown script">/var/lib/samba/scripts/shutdown.sh</smbconfoption> +<smbconfoption name="abort shutdown script">/sbin/shutdown -c</smbconfoption> +<smbconfoption name="logon script">scripts\logon.bat</smbconfoption> +<smbconfoption name="logon path">\\%L\profiles\%U</smbconfoption> +<smbconfoption name="logon drive">X:</smbconfoption> +<smbconfoption name="logon home">\\%L\%U</smbconfoption> +<smbconfoption name="domain logons">Yes</smbconfoption> +<smbconfoption name="preferred master">Yes</smbconfoption> +<smbconfoption name="wins support">Yes</smbconfoption> +<smbconfoption name="utmp">Yes</smbconfoption> +<smbconfoption name="map acl inherit">Yes</smbconfoption> +<smbconfoption name="printing">cups</smbconfoption> +<smbconfoption name="veto files">/*.eml/*.nws/*.{*}/</smbconfoption> +<smbconfoption name="veto oplock files">/*.doc/*.xls/*.mdb/</smbconfoption> </smbconfexample> <smbconfexample id="promisnetsvca"> <title>130 User Network with <emphasis>tdbsam</emphasis> &smbmdash; Services Section Part A</title> <smbconfsection>[IPC$]</smbconfsection> -<smbconfoption><name>path</name><value>/tmp</value></smbconfoption> -<smbconfoption><name>hosts allow</name><value>192.168.1.0/24, 192.168.2.0/24, 127.0.0.1</value></smbconfoption> -<smbconfoption><name>hosts deny</name><value>0.0.0.0/0</value></smbconfoption> +<smbconfoption name="path">/tmp</smbconfoption> +<smbconfoption name="hosts allow">192.168.1.0/24, 192.168.2.0/24, 127.0.0.1</smbconfoption> +<smbconfoption name="hosts deny">0.0.0.0/0</smbconfoption> <smbconfsection>[homes]</smbconfsection> -<smbconfoption><name>comment</name><value>Home Directories</value></smbconfoption> -<smbconfoption><name>valid users</name><value>%S</value></smbconfoption> -<smbconfoption><name>read only</name><value>No</value></smbconfoption> -<smbconfoption><name>browseable</name><value>No</value></smbconfoption> +<smbconfoption name="comment">Home Directories</smbconfoption> +<smbconfoption name="valid users">%S</smbconfoption> +<smbconfoption name="read only">No</smbconfoption> +<smbconfoption name="browseable">No</smbconfoption> <smbconfsection>[printers]</smbconfsection> -<smbconfoption><name>comment</name><value>SMB Print Spool</value></smbconfoption> -<smbconfoption><name>path</name><value>/var/spool/samba</value></smbconfoption> -<smbconfoption><name>guest ok</name><value>Yes</value></smbconfoption> -<smbconfoption><name>printable</name><value>Yes</value></smbconfoption> -<smbconfoption><name>use client driver</name><value>Yes</value></smbconfoption> -<smbconfoption><name>default devmode</name><value>Yes</value></smbconfoption> -<smbconfoption><name>browseable</name><value>No</value></smbconfoption> +<smbconfoption name="comment">SMB Print Spool</smbconfoption> +<smbconfoption name="path">/var/spool/samba</smbconfoption> +<smbconfoption name="guest ok">Yes</smbconfoption> +<smbconfoption name="printable">Yes</smbconfoption> +<smbconfoption name="use client driver">Yes</smbconfoption> +<smbconfoption name="default devmode">Yes</smbconfoption> +<smbconfoption name="browseable">No</smbconfoption> <smbconfsection>[netlogon]</smbconfsection> -<smbconfoption><name>comment</name><value>Network Logon Service</value></smbconfoption> -<smbconfoption><name>path</name><value>/var/lib/samba/netlogon</value></smbconfoption> -<smbconfoption><name>guest ok</name><value>Yes</value></smbconfoption> -<smbconfoption><name>locking</name><value>No</value></smbconfoption> +<smbconfoption name="comment">Network Logon Service</smbconfoption> +<smbconfoption name="path">/var/lib/samba/netlogon</smbconfoption> +<smbconfoption name="guest ok">Yes</smbconfoption> +<smbconfoption name="locking">No</smbconfoption> </smbconfexample> <smbconfexample id="promisnetsvcb"> <title>130 User Network with <emphasis>tdbsam</emphasis> &smbmdash; Services Section Part B</title> <smbconfsection>[profiles]</smbconfsection> -<smbconfoption><name>comment</name><value>Profile Share</value></smbconfoption> -<smbconfoption><name>path</name><value>/var/lib/samba/profiles</value></smbconfoption> -<smbconfoption><name>read only</name><value>No</value></smbconfoption> -<smbconfoption><name>profile acls</name><value>Yes</value></smbconfoption> +<smbconfoption name="comment">Profile Share</smbconfoption> +<smbconfoption name="path">/var/lib/samba/profiles</smbconfoption> +<smbconfoption name="read only">No</smbconfoption> +<smbconfoption name="profile acls">Yes</smbconfoption> <smbconfsection>[accounts]</smbconfsection> -<smbconfoption><name>comment</name><value>Accounting Files</value></smbconfoption> -<smbconfoption><name>path</name><value>/data/accounts</value></smbconfoption> -<smbconfoption><name>read only</name><value>No</value></smbconfoption> +<smbconfoption name="comment">Accounting Files</smbconfoption> +<smbconfoption name="path">/data/accounts</smbconfoption> +<smbconfoption name="read only">No</smbconfoption> <smbconfsection>[service]</smbconfsection> -<smbconfoption><name>comment</name><value>Financial Services Files</value></smbconfoption> -<smbconfoption><name>path</name><value>/data/service</value></smbconfoption> -<smbconfoption><name>read only</name><value>No</value></smbconfoption> +<smbconfoption name="comment">Financial Services Files</smbconfoption> +<smbconfoption name="path">/data/service</smbconfoption> +<smbconfoption name="read only">No</smbconfoption> <smbconfsection>[apps]</smbconfsection> -<smbconfoption><name>comment</name><value>Application Files</value></smbconfoption> -<smbconfoption><name>path</name><value>/apps</value></smbconfoption> -<smbconfoption><name>read only</name><value>Yes</value></smbconfoption> -<smbconfoption><name>admin users</name><value>bjordan</value></smbconfoption> +<smbconfoption name="comment">Application Files</smbconfoption> +<smbconfoption name="path">/apps</smbconfoption> +<smbconfoption name="read only">Yes</smbconfoption> +<smbconfoption name="admin users">bjordan</smbconfoption> </smbconfexample> </para></step> @@ -2579,7 +2579,7 @@ Nmap run completed -- 1 IP address (1 host up) scanned in 168 seconds <question> <para> - Why does the &smb.conf; file in this exercise include an entry for <smbconfoption><name>smb ports</name></smbconfoption>? + Why does the &smb.conf; file in this exercise include an entry for <smbconfoption name="smb ports"/>? </para> </question> |