From 81516d1e99eddf2e88bb8658280bc0c936c6a2c9 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 13 Mar 2005 19:20:25 +0000 Subject: Validation updates to Samba3 By Example (This used to be commit 71a7e0df4ceb5ff106fc5a32b094eebb4febab91) --- .../Samba-Guide/Chap01-WindowsNetworkingPrimer.xml | 43 ++++++++++----------- docs/Samba-Guide/Chap02-SimpleOfficeServer.xml | 36 +++++++++-------- docs/Samba-Guide/Chap03-TheSmallOffice.xml | 15 ++++---- docs/Samba-Guide/Chap04-SecureOfficeServer.xml | 45 ++++++++++------------ docs/Samba-Guide/Chap08-MigrateNT4Samba3.xml | 2 +- docs/Samba-Guide/Chap11-HighAvailability.xml | 2 +- docs/Samba-Guide/Chap12-Appendix.xml | 2 +- docs/Samba-Guide/acknowledgements.xml | 2 +- docs/Samba-Guide/conventions.xml | 2 +- docs/Samba-Guide/foreword.xml | 2 +- docs/Samba-Guide/front-matter.xml | 2 +- docs/Samba-Guide/glossary.xml | 2 +- docs/Samba-Guide/gpl.xml | 3 +- docs/Samba-Guide/inside-cover.xml | 2 +- docs/Samba-Guide/preface.xml | 2 +- 15 files changed, 80 insertions(+), 82 deletions(-) (limited to 'docs/Samba-Guide') diff --git a/docs/Samba-Guide/Chap01-WindowsNetworkingPrimer.xml b/docs/Samba-Guide/Chap01-WindowsNetworkingPrimer.xml index bf8b636c92..429ac4065a 100644 --- a/docs/Samba-Guide/Chap01-WindowsNetworkingPrimer.xml +++ b/docs/Samba-Guide/Chap01-WindowsNetworkingPrimer.xml @@ -1,5 +1,5 @@ - + Networking Primer @@ -242,11 +242,11 @@ Click the following: - Update list of packets in real time - Automatic scrolling in live capture - Enable MAC name resolution - Enable network name resolution - Enable transport name resolution + Update list of packets in real time + Automatic scrolling in live capture + Enable MAC name resolution + Enable network name resolution + Enable transport name resolution Click OK. @@ -277,8 +277,8 @@ - WINREPRESSME-Capture Windows Me &smbmdash; Broadcasts &smbmdash; The First 10 Minutes + WINREPRESSME-Capture @@ -453,11 +453,11 @@ Click: - Update list of packets in real time - Automatic scrolling in live capture - Enable MAC name resolution - Enable network name resolution - Enable transport name resolution + Update list of packets in real time + Automatic scrolling in live capture + Enable MAC name resolution + Enable network name resolution + Enable transport name resolution Click OK. @@ -586,12 +586,12 @@ dissection of a Host Announcement is given in . - Typical Windows 9x/Me Host Announcement HostAnnouncment + @@ -682,7 +682,7 @@ IPC$ - The IPC$ share serves a vital purposeTOSHARG, Sect 4.5.1 + The IPC$ share serves a vital purposeTOSHARG, Sect 4.5.1 in SMB/CIFS based networking. A Windows client connects to this resource to obtain the list of resources that are available on the server. The server responds with the shares and print queues that are available. In most but not all cases, the connection is made with a NULL @@ -795,11 +795,11 @@ Click: - Update list of packets in real time - Automatic scrolling in live capture - Enable MAC name resolution - Enable network name resolution - Enable transport name resolution + Update list of packets in real time + Automatic scrolling in live capture + Enable MAC name resolution + Enable network name resolution + Enable transport name resolution Click OK. @@ -990,7 +990,7 @@ Windows networking. - + @@ -1160,8 +1160,7 @@ The use of WINS reduces network broadcast traffic. The reduction is greatest when all network clients are configured to operate in Hybrid Mode. This can be effected through use of DHCP to set the NetBIOS node type to type 8 for all network clients. Additionally, it is - beneficial to configure Samba to use name resolve orderwins host - bcast. + beneficial to configure Samba to use wins host cast. diff --git a/docs/Samba-Guide/Chap02-SimpleOfficeServer.xml b/docs/Samba-Guide/Chap02-SimpleOfficeServer.xml index 66ffae6eb7..0b641702f7 100644 --- a/docs/Samba-Guide/Chap02-SimpleOfficeServer.xml +++ b/docs/Samba-Guide/Chap02-SimpleOfficeServer.xml @@ -14,10 +14,10 @@ This chapter lays the groundwork for understanding the basics of Samba operation. Instead of a bland technical discussion, each principle is demonstrated by way of a - real-world scenario for which a working solutionThe examples given mirror those documented + real-world scenario for which a working solutionThe examples given mirror those documented in TOSHARG Chapter 2, Section 2.3.1. You may gain additional insight from the Stand-alone server configurations covered in TOSHARG sections 2.3.1.2 through 2.3.1.4. - is fully described. + is fully described. @@ -75,10 +75,8 @@ Anyone should be able to access the plans at any time and without barriers or difficulty. - - Red Hat - Fedora - + Red Hat + Fedora Mr. Bob Jordan has asked you to install the new server as economically as possible. The central server has a Pentium-IV 1.6GHz CPU, 768MB RAM, a 20GB IDE boot drive, a 160GB IDE second disk to store plans, and a 100-base-T Ethernet card. You have already installed Red Hat Fedora Core2 and @@ -114,11 +112,11 @@ It is not necessary to have specific users on the server. The site has a method for storing - all design files (plans). Each plan is stored in a directory that is named YYYYWW + all design files (plans). Each plan is stored in a directory that is named YYYYWW This information is given purely as an example of how data may be stored in such a way that it will be easy to locate records at a later date. The example is not meant to imply any instructions that may be construed as essential to the design of the solution, this is something you will almost - certainly want to determine for yourself., where + certainly want to determine for yourself., where YYYY is the year, and WW is the week of the year. This arrangement allows work to be stored by week of year to preserve the filing technique the site is familiar with. There is another customer directory that is alphabetically listed. At the top level are 26 @@ -785,6 +783,7 @@ C:\WINDOWS: regedit ME-dpwc.reg On each Windows Me workstation, configure a network drive mapping to drive G: that redirects to the uniform naming convention (UNC) resource \\server\office. Make this a permanent drive connection as follows: + @@ -808,11 +807,12 @@ C:\WINDOWS: regedit ME-dpwc.reg - + On each workstation, install the Funds Tracking and Management software following the manufacturer's instructions. + During installation, you are prompted for the name of the Windows 98 @@ -829,7 +829,7 @@ C:\WINDOWS: regedit ME-dpwc.reg continue. The software now completes the installation. - + Install an office automation software package of the customer's choice. Either Microsoft @@ -839,6 +839,7 @@ C:\WINDOWS: regedit ME-dpwc.reg Install a printer on each using the following steps: + @@ -872,8 +873,8 @@ C:\WINDOWS: regedit ME-dpwc.reg dialog panel. Right-click HP LaserJet 5/5M Postscript Properties - Details (Tab) - Add Port + Details (Tab) + Add Port . @@ -894,7 +895,7 @@ C:\WINDOWS: regedit ME-dpwc.reg - + @@ -1123,10 +1124,10 @@ C:\WINDOWS: regedit ME-dpwc.reg - Install the &smb.conf; file shownThis example makes use of the + Install the &smb.conf; file shownThis example makes use of the smbpasswd file. It does so in an obtuse way since the use of the passdb backend has not been specified in the &smb.conf; - file. This means that you are depending on correct default behavior. + file. This means that you are depending on correct default behavior. in . @@ -1225,6 +1226,7 @@ application/octet-stream On Alan's workstation, use Windows explorer to migrate the files from the old server to the new server. The new server should appear in the Network Neighborhood with the name of the old server (CASHPOOL). + @@ -1250,7 +1252,7 @@ application/octet-stream - + Verify that the files are being copied correctly from the Windows NT4 machine to the Samba-3 server. @@ -1323,7 +1325,7 @@ application/octet-stream is to expose some of the hidden implications. - + diff --git a/docs/Samba-Guide/Chap03-TheSmallOffice.xml b/docs/Samba-Guide/Chap03-TheSmallOffice.xml index fde9d71c1d..ee68508934 100644 --- a/docs/Samba-Guide/Chap03-TheSmallOffice.xml +++ b/docs/Samba-Guide/Chap03-TheSmallOffice.xml @@ -644,8 +644,7 @@ hosts: files wins Global parameters BILLMORE -*New*Password* \ -%n\n*Re-enter*new*password* %n\n *Password*changed* +*New*Password* %n\n*Re-enter*new*password* %n\n *Password*changed* /etc/samba/smbusers 0 wins bcast hosts @@ -656,8 +655,7 @@ hosts: files wins /usr/sbin/groupadd '%g' /usr/sbin/groupdel '%g' /usr/sbin/usermod -G '%g' '%u' -/usr/sbin/useradd \ --s /bin/false -d /var/lib/nobody '%u' +/usr/sbin/useradd -s /bin/false -d /var/lib/nobody '%u' scripts\login.bat X: @@ -902,6 +900,7 @@ smb: \> q Install a printer on each using the following steps: + @@ -935,8 +934,8 @@ smb: \> q dialog panel. Right-click HP LaserJet 4 Properties - Details (Tab) - Add Port + Details (Tab) + Add Port . @@ -954,7 +953,7 @@ smb: \> q as well as for the QMS Magicolor XXXX laser printer. - + @@ -1028,7 +1027,7 @@ smb: \> q may help. - + diff --git a/docs/Samba-Guide/Chap04-SecureOfficeServer.xml b/docs/Samba-Guide/Chap04-SecureOfficeServer.xml index 1ea6df9d2a..41e18a475d 100644 --- a/docs/Samba-Guide/Chap04-SecureOfficeServer.xml +++ b/docs/Samba-Guide/Chap04-SecureOfficeServer.xml @@ -512,8 +512,7 @@ Given 500 Users and 2 years: name resolve order WINS serving is enabled by the Yes, - and name resolution is set to use it by means of the name resolve order - wins bcast hosts entry. + and name resolution is set to use it by means of the wins bcast hosts entry. @@ -554,9 +553,9 @@ Given 500 Users and 2 years: User Mode The &smb.conf; file specifies that the Samba server will operate in (default) - security = user modeSee TOSHARG, Chapter 3. This is necessary + security = user modeSee TOSHARG, Chapter 3. This is necessary so that Samba can act as a Domain Controller (PDC); see TOSHARG, Chapter 4 for - additional information. (User Mode). + additional information. (User Mode). @@ -575,8 +574,7 @@ Given 500 Users and 2 years: profile share - Roaming profiles are enabled through the specification of the parameter, logon path - \\%L\profiles\%U. The value of this parameter translates the + Roaming profiles are enabled through the specification of the parameter, \\%L\profiles\%U. The value of this parameter translates the %L to the name by which the Samba server is called by the client (for this configuration, it translates to the name DIAMOND), and the %U will translate to the name of the user within the context of the connection made to the profile share. @@ -728,8 +726,8 @@ echo 1 > /proc/sys/net/ipv4/ip_forward To ensure that your kernel is capable of IP forwarding during configuration, you may wish to execute that command manually also. This setting permits the Linux system to - act as a router.ED NOTE: You may want to do the echo command last and include - "0" in the init scripts since it opens up your network for a short time. + act as a router.ED NOTE: You may want to do the echo command last and include + "0" in the init scripts since it opens up your network for a short time. @@ -869,8 +867,7 @@ echo -e "\nNAT firewall done.\n" Yes tdbsam Yes -*New*Password* %n\n *Re-enter*new*password* - %n\n *Password*changed* +*New*Password* %n\n *Re-enter*new*password*%n\n *Password*changed* /etc/samba/smbusers Yes 1 @@ -887,8 +884,7 @@ echo -e "\nNAT firewall done.\n" /usr/sbin/groupadd '%g' /usr/sbin/groupdel '%g' /usr/sbin/usermod -G '%g' '%u' -/usr/sbin/useradd --s /bin/false -d /tmp '%u' +/usr/sbin/useradd -s /bin/false -d /tmp '%u' /var/lib/samba/scripts/shutdown.sh /sbin/shutdown -c scripts\logon.bat @@ -1282,7 +1278,7 @@ subnet 123.45.67.64 netmask 255.255.255.252 { Create the files shown in their directories as follows: - +
DNS (named) Resource Files @@ -1960,10 +1956,10 @@ $rootprompt; ps ax | grep winbind 14295 ? S 0:00 /usr/sbin/winbindd -B The winbindd daemon is running in split mode (normal), so there are also - two instancesFor more information regarding winbindd, see TOSHARG, + two instancesFor more information regarding winbindd, see TOSHARG, Chapter 22, Section 22.3. The single instance of smbd is normal. One additional smbd slave process is spawned for each SMB/CIFS client - connection. of it. + connection. of it. @@ -2332,6 +2328,7 @@ Nmap run completed -- 1 IP address (1 host up) scanned in 168 seconds include the Accounting department HP LaserJet 6 and Minolta QMS Magicolor printers. You will also configure identical printers that are located in the financial services department. Install printers on each machine using the following steps: + @@ -2365,8 +2362,8 @@ Nmap run completed -- 1 IP address (1 host up) scanned in 168 seconds dialog panel. Right-click HP LaserJet 6 Properties - Details (Tab) - Add Port + Details (Tab) + Add Port . @@ -2384,7 +2381,7 @@ Nmap run completed -- 1 IP address (1 host up) scanned in 168 seconds as well as for both QMS Magicolor laser printers. - + defragmentation @@ -2477,7 +2474,7 @@ Nmap run completed -- 1 IP address (1 host up) scanned in 168 seconds - + @@ -2511,8 +2508,8 @@ Nmap run completed -- 1 IP address (1 host up) scanned in 168 seconds in the tdbsam backend to 250. This is the point at which most networks tend to want backup domain controllers (BDCs). Samba-3 does not provide a mechanism for replicating tdbsam data so it can be used by a BDC. The limitation of 250 users per tdbsam is predicated only on the need for replication - not on the limitsBench tests have shown that tdbsam is a very effective database technology. - There is surprisingly little performance loss even with over 4000 users. of the tdbsam backend itself. + not on the limitsBench tests have shown that tdbsam is a very effective database technology. + There is surprisingly little performance loss even with over 4000 users. of the tdbsam backend itself. @@ -2682,8 +2679,8 @@ Nmap run completed -- 1 IP address (1 host up) scanned in 168 seconds means top level domain. A FQDN is a long hand but easy to remember expression that may be up to 1024 characters in length and that represents an IP address. A NetBIOS name is always 16 characters long. The 16th character - is a name type indicator. A specific name type is registered - See TOSHARG, Chapter 9 for more information. for each + is a name type indicator. A specific name type is registered + See TOSHARG, Chapter 9 for more information. for each type of service that is provided by the Windows server or client and that may be registered where a WINS server is in use. @@ -2704,7 +2701,7 @@ Nmap run completed -- 1 IP address (1 host up) scanned in 168 seconds Windows 200x Active Directory requires the registration in the DNS zone for the domain it - controls of service locatorSee TOSHARG, Chapter 9, Section 9.3.3 records + controls of service locatorSee TOSHARG, Chapter 9, Section 9.3.3 records that Windows clients and servers will use to locate Kerberos and LDAP services. ADS also requires the registration of special records that are called global catalog (GC) entries and site entries by which domain controllers and other essential ADS servers may be located. diff --git a/docs/Samba-Guide/Chap08-MigrateNT4Samba3.xml b/docs/Samba-Guide/Chap08-MigrateNT4Samba3.xml index eb1553bf4d..7e9764419b 100644 --- a/docs/Samba-Guide/Chap08-MigrateNT4Samba3.xml +++ b/docs/Samba-Guide/Chap08-MigrateNT4Samba3.xml @@ -1,5 +1,5 @@ - + Migrating NT4 Domain to Samba-3 diff --git a/docs/Samba-Guide/Chap11-HighAvailability.xml b/docs/Samba-Guide/Chap11-HighAvailability.xml index 60b1ef8ad1..61990592be 100644 --- a/docs/Samba-Guide/Chap11-HighAvailability.xml +++ b/docs/Samba-Guide/Chap11-HighAvailability.xml @@ -1,5 +1,5 @@ - + Performance, Reliability, and Availability diff --git a/docs/Samba-Guide/Chap12-Appendix.xml b/docs/Samba-Guide/Chap12-Appendix.xml index 3ce6739c66..362f873a32 100644 --- a/docs/Samba-Guide/Chap12-Appendix.xml +++ b/docs/Samba-Guide/Chap12-Appendix.xml @@ -1,5 +1,5 @@ - + Appendix: A Collection of Useful Tid-bits diff --git a/docs/Samba-Guide/acknowledgements.xml b/docs/Samba-Guide/acknowledgements.xml index edc72ca03e..2d02ed3795 100644 --- a/docs/Samba-Guide/acknowledgements.xml +++ b/docs/Samba-Guide/acknowledgements.xml @@ -1,5 +1,5 @@ - + Acknowledgments diff --git a/docs/Samba-Guide/conventions.xml b/docs/Samba-Guide/conventions.xml index 82763d5369..d4bbde8f85 100644 --- a/docs/Samba-Guide/conventions.xml +++ b/docs/Samba-Guide/conventions.xml @@ -1,5 +1,5 @@ - + Conventions Used diff --git a/docs/Samba-Guide/foreword.xml b/docs/Samba-Guide/foreword.xml index 20060a8701..38770d7e9b 100644 --- a/docs/Samba-Guide/foreword.xml +++ b/docs/Samba-Guide/foreword.xml @@ -1,5 +1,5 @@ - + Foreword diff --git a/docs/Samba-Guide/front-matter.xml b/docs/Samba-Guide/front-matter.xml index 93f542e5b8..1afd6cd14b 100644 --- a/docs/Samba-Guide/front-matter.xml +++ b/docs/Samba-Guide/front-matter.xml @@ -1,5 +1,5 @@ - + Front Matter diff --git a/docs/Samba-Guide/glossary.xml b/docs/Samba-Guide/glossary.xml index 54e72f681b..3968e24c31 100644 --- a/docs/Samba-Guide/glossary.xml +++ b/docs/Samba-Guide/glossary.xml @@ -1,5 +1,5 @@ - + Glossary diff --git a/docs/Samba-Guide/gpl.xml b/docs/Samba-Guide/gpl.xml index 2084034c7b..8f3b8b40e4 100644 --- a/docs/Samba-Guide/gpl.xml +++ b/docs/Samba-Guide/gpl.xml @@ -1,4 +1,5 @@ - + + GNU General Public License diff --git a/docs/Samba-Guide/inside-cover.xml b/docs/Samba-Guide/inside-cover.xml index 877d01a334..b55a333f9e 100644 --- a/docs/Samba-Guide/inside-cover.xml +++ b/docs/Samba-Guide/inside-cover.xml @@ -1,5 +1,5 @@ - + About the Cover Artwork diff --git a/docs/Samba-Guide/preface.xml b/docs/Samba-Guide/preface.xml index 04bc17bd72..49b2e5c377 100644 --- a/docs/Samba-Guide/preface.xml +++ b/docs/Samba-Guide/preface.xml @@ -1,5 +1,5 @@ - + Preface -- cgit