svn commit: samba-docs r589 - in trunk/Samba-Guide: .

jht at samba.org jht at samba.org
Fri May 27 19:20:27 GMT 2005


Author: jht
Date: 2005-05-27 19:20:27 +0000 (Fri, 27 May 2005)
New Revision: 589

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-docs&rev=589

Log:
Another edit.
Modified:
   trunk/Samba-Guide/SBE-500UserNetwork.xml
   trunk/Samba-Guide/SBE-SecureOfficeServer.xml
   trunk/Samba-Guide/SBE-SimpleOfficeServer.xml


Changeset:
Modified: trunk/Samba-Guide/SBE-500UserNetwork.xml
===================================================================
--- trunk/Samba-Guide/SBE-500UserNetwork.xml	2005-05-27 06:03:17 UTC (rev 588)
+++ trunk/Samba-Guide/SBE-500UserNetwork.xml	2005-05-27 19:20:27 UTC (rev 589)
@@ -1090,7 +1090,7 @@
 max-lease-time 172800;
 default-lease-time 86400;
 ddns-updates on;
-ddns-update-style ad-hoc;
+ddns-update-style interim;
 
 option ntp-servers 172.16.0.1;
 option domain-name "abmas.biz";
@@ -1168,7 +1168,7 @@
 max-lease-time 172800;
 default-lease-time 86400;
 ddns-updates on;
-ddns-update-style ad-hoc;
+ddns-update-style interim;
 
 option ntp-servers 172.16.0.1;
 option domain-name "abmas.biz";

Modified: trunk/Samba-Guide/SBE-SecureOfficeServer.xml
===================================================================
--- trunk/Samba-Guide/SBE-SecureOfficeServer.xml	2005-05-27 06:03:17 UTC (rev 588)
+++ trunk/Samba-Guide/SBE-SecureOfficeServer.xml	2005-05-27 19:20:27 UTC (rev 589)
@@ -846,6 +846,7 @@
 <smbconfoption name="utmp">Yes</smbconfoption>
 <smbconfoption name="map acl inherit">Yes</smbconfoption>
 <smbconfoption name="printing">cups</smbconfoption>
+<smbconfoption name="cups options">Raw</smbconfoption>
 <smbconfoption name="veto files">/*.eml/*.nws/*.{*}/</smbconfoption>
 <smbconfoption name="veto oplock files">/*.doc/*.xls/*.mdb/</smbconfoption>
 </smbconfexample>
@@ -1803,9 +1804,8 @@
 			of this file by running:
 <screen>
 &rootprompt; testparm -s
-Load smb config files from /etc/samba/smb.conf
-Processing section "[IPC$]"
-Processing section "[homes]"
+Load smb config files from smb.conf
+rocessing section "[homes]"
 Processing section "[printers]"
 Processing section "[netlogon]"
 Processing section "[profiles]"
@@ -1815,52 +1815,54 @@
 Loaded services file OK.
 # Global parameters
 [global]
-        workgroup = PROMISES
-        netbios name = DIAMOND
-        interfaces = eth1, eth2, lo
-        bind interfaces only = Yes
-        passdb backend = tdbsam
-        pam password change = Yes
-        passwd chat = *New*Password* %n\n \
-		*Re-enter*new*password* %n\n *Password*changed*
-        username map = /etc/samba/smbusers
-        unix password sync = Yes
-        log level = 1
-        syslog = 0
-        log file = /var/log/samba/%m
-        max log size = 50
-        smb ports = 139 445
-        name resolve order = wins bcast hosts
-        time server = Yes
-        printcap name = CUPS
-        show add printer wizard = No
-        add user script = /usr/sbin/useradd -m %u
-        delete user script = /usr/sbin/userdel -r %u
-        add group script = /usr/sbin/groupadd %g
-        delete group script = /usr/sbin/groupdel %g
-        add user to group script = /usr/sbin/usermod -G %g %u
-        add machine script = /usr/sbin/useradd \
-				-s /bin/false -d /var/lib/nobody %u
-        shutdown script = /var/lib/samba/scripts/shutdown.sh
-        abort shutdown script = /sbin/shutdown -c
-        logon script = scripts\logon.bat
-        logon path = \\%L\profiles\%U
-        logon drive = X:
-        logon home = \\%L\%U
-        domain logons = Yes
-        preferred master = Yes
-        wins support = Yes
-        utmp = Yes
-        winbind use default domain = Yes
-        map acl inherit = Yes
-        printing = cups
-        veto files = /*.eml/*.nws/riched20.dll/*.{*}/
-        veto oplock files = /*.doc/*.xls/*.mdb/
+    workgroup = PROMISES
+    netbios name = DIAMOND
+    interfaces = eth1, eth2, lo
+    bind interfaces only = Yes
+    passdb backend = tdbsam
+    pam password change = Yes
+    passwd program = /usr/bin/passwd '%u'
+    passwd chat = *New*Password* %n\n \
+             *Re-enter*new*password* %n\n *Password*changed*
+    username map = /etc/samba/smbusers
+    unix password sync = Yes
+    log level = 1
+    syslog = 0
+    log file = /var/log/samba/%m
+    max log size = 50
+    smb ports = 139 445
+    name resolve order = wins bcast hosts
+    time server = Yes
+    printcap name = CUPS
+    show add printer wizard = No
+    add user script = /usr/sbin/useradd -m '%u'
+    delete user script = /usr/sbin/userdel -r '%u'
+    add group script = /usr/sbin/groupadd '%g'
+    delete group script = /usr/sbin/groupdel '%g'
+    add user to group script = /usr/sbin/usermod -G '%g' '%u'
+    add machine script = /usr/sbin/useradd \
+                              -s /bin/false -d /dev/null '%u'
+    shutdown script = /var/lib/samba/scripts/shutdown.sh
+    abort shutdown script = /sbin/shutdown -c
+    logon script = scripts\logon.bat
+    logon path = \\%L\profiles\%U
+    logon drive = X:
+    logon home = \\%L\%U
+    domain logons = Yes
+    preferred master = Yes
+    wins support = Yes
+    utmp = Yes
+    winbind use default domain = Yes
+    map acl inherit = Yes
+    cups options = Raw
+    veto files = /*.eml/*.nws/*.{*}/
+    veto oplock files = /*.doc/*.xls/*.mdb/
 
-[IPC$]
-        path = /tmp
-        hosts allow = 192.168.1.0/24, 192.168.2.0/24, 127.0.0.1
-        hosts deny = 0.0.0.0/0
+[homes]
+    comment = Home Directories
+    valid users = %S
+    read only = No
+    browseable = No
 ...
 ### Remainder cut to save space ###
 </screen>
@@ -1916,7 +1918,7 @@
 
         Server               Comment
         ---------            -------
-        DIAMOND              Samba CVS 3.0.20
+        DIAMOND              Samba 3.0.20
 
         Workgroup            Master
         ---------            -------

Modified: trunk/Samba-Guide/SBE-SimpleOfficeServer.xml
===================================================================
--- trunk/Samba-Guide/SBE-SimpleOfficeServer.xml	2005-05-27 06:03:17 UTC (rev 588)
+++ trunk/Samba-Guide/SBE-SimpleOfficeServer.xml	2005-05-27 19:20:27 UTC (rev 589)
@@ -570,13 +570,13 @@
 				<filename>/etc/samba</filename> directory. This newer &smb.conf; file uses user-mode security
 				and is more suited to the mode of operation of Samba-3 that the older share-mode security
 				configuration that was shown in the first edition of this book.
-				</para></step>
+				</para>
 
-				<note><para>
-				If you want to use the older style configuration that uses share-mode security, you can
-				install the file shown in <link linkend="charity-smbconf"/> in the
+				<para>
+				Note: If you want to use the older style configuration that uses share-mode security, you
+				can install the file shown in <link linkend="charity-smbconf"/> in the
 				<filename>/etc/samba</filename> directory.
-				</para></note>
+				</para></step>
 
 				<step><para>
 				<indexterm><primary>smbd</primary></indexterm>
@@ -644,7 +644,7 @@
 
 <smbconfexample id="charity-smbconfnew">
 <title>Charity Administration Office &smb.conf; File</title>
-<smbconfcomment>Global Parameters - Newer Configuration`</smbconfcomment>
+<smbconfcomment>Global Parameters - Newer Configuration</smbconfcomment>
 <smbconfsection name="[global]"/>
 <smbconfoption name="workgroup">MIDEARTH</smbconfoption>
 <smbconfoption name="printing">CUPS</smbconfoption>
@@ -682,7 +682,7 @@
 
 <smbconfexample id="charity-smbconf">
 <title>Charity Administration Office &smb.conf; File</title>
-<smbconfcomment>Global Parameters</smbconfcomment>
+<smbconfcomment>Global Parameters - Older Style Configuration</smbconfcomment>
 <smbconfsection name="[global]"/>
 <smbconfoption name="workgroup">MIDEARTH</smbconfoption>
 <smbconfoption name="security">SHARE</smbconfoption>



More information about the samba-cvs mailing list