summaryrefslogtreecommitdiff
path: root/docs/Samba-Guide
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2005-05-27 19:20:27 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:46:39 -0500
commita440d93770bbb35ec0c25232b3d8912e24de13b6 (patch)
tree5ae8979d9f2c62fa0f1ac308c9d43919b8199204 /docs/Samba-Guide
parent7f1d2b7ed8e10a9ab03517d4c4d2d4ec390e6c9f (diff)
downloadsamba-a440d93770bbb35ec0c25232b3d8912e24de13b6.tar.gz
samba-a440d93770bbb35ec0c25232b3d8912e24de13b6.tar.bz2
samba-a440d93770bbb35ec0c25232b3d8912e24de13b6.zip
Another edit.
(This used to be commit 1b404ed5f271e8f474ea839754ca855c211a615b)
Diffstat (limited to 'docs/Samba-Guide')
-rw-r--r--docs/Samba-Guide/SBE-500UserNetwork.xml4
-rw-r--r--docs/Samba-Guide/SBE-SecureOfficeServer.xml102
-rw-r--r--docs/Samba-Guide/SBE-SimpleOfficeServer.xml14
3 files changed, 61 insertions, 59 deletions
diff --git a/docs/Samba-Guide/SBE-500UserNetwork.xml b/docs/Samba-Guide/SBE-500UserNetwork.xml
index 819f6ceb0c..d5cb8c2f67 100644
--- a/docs/Samba-Guide/SBE-500UserNetwork.xml
+++ b/docs/Samba-Guide/SBE-500UserNetwork.xml
@@ -1090,7 +1090,7 @@ default-lease-time 86400;
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 @@ default-lease-time 86400;
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";
diff --git a/docs/Samba-Guide/SBE-SecureOfficeServer.xml b/docs/Samba-Guide/SBE-SecureOfficeServer.xml
index c3dca33052..f504363881 100644
--- a/docs/Samba-Guide/SBE-SecureOfficeServer.xml
+++ b/docs/Samba-Guide/SBE-SecureOfficeServer.xml
@@ -846,6 +846,7 @@ echo -e "\nNAT firewall done.\n"
<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 @@ hosts: files dns wins
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 @@ Processing section "[apps]"
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/
-
-[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
+ 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/
+
+[homes]
+ comment = Home Directories
+ valid users = %S
+ read only = No
+ browseable = No
...
### Remainder cut to save space ###
</screen>
@@ -1916,7 +1918,7 @@ $rootprompt; ps ax | grep winbind
Server Comment
--------- -------
- DIAMOND Samba CVS 3.0.20
+ DIAMOND Samba 3.0.20
Workgroup Master
--------- -------
diff --git a/docs/Samba-Guide/SBE-SimpleOfficeServer.xml b/docs/Samba-Guide/SBE-SimpleOfficeServer.xml
index 7f3c8d068c..b1e9c6a076 100644
--- a/docs/Samba-Guide/SBE-SimpleOfficeServer.xml
+++ b/docs/Samba-Guide/SBE-SimpleOfficeServer.xml
@@ -570,13 +570,13 @@ Password changed
<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 @@ application/octet-stream
<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 @@ application/octet-stream
<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>