<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE book PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
+<!DOCTYPE chapter PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
<chapter id="primer">
<title>Networking Primer</title>
<para>
Click the following:
<orderedlist>
- <listitem>Update list of packets in real time</listitem>
- <listitem>Automatic scrolling in live capture</listitem>
- <listitem>Enable MAC name resolution </listitem>
- <listitem>Enable network name resolution </listitem>
- <listitem>Enable transport name resolution</listitem>
+ <listitem><para>Update list of packets in real time</para></listitem>
+ <listitem><para>Automatic scrolling in live capture</para></listitem>
+ <listitem><para>Enable MAC name resolution</para></listitem>
+ <listitem><para>Enable network name resolution</para></listitem>
+ <listitem><para>Enable transport name resolution</para></listitem>
</orderedlist>
Click <guibutton>OK</guibutton>.
</para></step>
</para>
<image id="pktcap01">
- <imagefile scale="40">WINREPRESSME-Capture</imagefile>
<imagedescription>Windows Me &smbmdash; Broadcasts &smbmdash; The First 10 Minutes</imagedescription>
+ <imagefile scale="40">WINREPRESSME-Capture</imagefile>
</image>
<image id="pktcap02">
<para>
Click:
<orderedlist>
- <listitem>Update list of packets in real time</listitem>
- <listitem>Automatic scrolling in live capture</listitem>
- <listitem>Enable MAC name resolution </listitem>
- <listitem>Enable network name resolution </listitem>
- <listitem>Enable transport name resolution</listitem>
+ <listitem><para>Update list of packets in real time</para></listitem>
+ <listitem><para>Automatic scrolling in live capture</para></listitem>
+ <listitem><para>Enable MAC name resolution</para></listitem>
+ <listitem><para>Enable network name resolution</para></listitem>
+ <listitem><para>Enable transport name resolution</para></listitem>
</orderedlist>
Click <guibutton>OK</guibutton>.
</para></step>
dissection of a Host Announcement is given in <link linkend="hostannounce"/>.
</para>
- </sect3>
<image id="hostannounce">
<imagedescription>Typical Windows 9x/Me Host Announcement</imagedescription>
<imagefile scale="41">HostAnnouncment</imagefile>
</image>
+ </sect3>
</sect2>
<para>
<indexterm><primary>IPC$</primary></indexterm>
- The <constant>IPC$</constant> share serves a vital purpose<footnote>TOSHARG, Sect 4.5.1</footnote>
+ The <constant>IPC$</constant> share serves a vital purpose<footnote><para>TOSHARG, Sect 4.5.1</para></footnote>
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 <constant>NULL</constant>
<para>
Click:
<orderedlist>
- <listitem>Update list of packets in real time</listitem>
- <listitem>Automatic scrolling in live capture</listitem>
- <listitem>Enable MAC name resolution </listitem>
- <listitem>Enable network name resolution </listitem>
- <listitem>Enable transport name resolution</listitem>
+ <listitem><para>Update list of packets in real time</para></listitem>
+ <listitem><para>Automatic scrolling in live capture</para></listitem>
+ <listitem><para>Enable MAC name resolution</para></listitem>
+ <listitem><para>Enable network name resolution</para></listitem>
+ <listitem><para>Enable transport name resolution</para></listitem>
</orderedlist>
Click <guibutton>OK</guibutton>.
</para></step>
Windows networking.
</para>
- <qandaset defaultlabel="chap01qa" type="number">
+ <qandaset defaultlabel="chap01qa">
<qandaentry>
<question>
The use of WINS reduces network broadcast traffic. The reduction is greatest when all network
clients are configured to operate in <parameter>Hybrid Mode</parameter>. 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 <smbconfoption><name>name resolve order</name><value>wins host
- bcast</value></smbconfoption>.
+ beneficial to configure Samba to use <smbconfoption name="name resolve order"/>wins host cast</smbconfoption>.
</para>
<note><para>
<para>
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 solution<footnote>The examples given mirror those documented
+ real-world scenario for which a working solution<footnote><para>The 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.
- </footnote> is fully described.
+ </para></footnote> is fully described.
</para>
<para>
Anyone should be able to access the plans at any time and without barriers or difficulty.
</para>
- <para><indexterm>
- <primary>Red Hat</primary>
- <primary>Fedora</primary>
- </indexterm>
+ <para><indexterm><primary>Red Hat</primary></indexterm>
+ <indexterm><primary>Fedora</primary></indexterm>
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
<para>
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<footnote>
+ all design files (plans). Each plan is stored in a directory that is named YYYYWW<footnote><para>
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.</footnote>, where
+ certainly want to determine for yourself.</para></footnote>, 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
On each Windows Me workstation, configure a network drive mapping to drive <filename>G:</filename>
that redirects to the uniform naming convention (UNC) resource
<filename>\\server\office</filename>. Make this a permanent drive connection as follows:
+ </para>
<procedure>
<step><para>
<menuchoice>
</para></step>
</procedure>
- </para></step>
+ </step>
<step><para>
On each workstation, install the Funds Tracking and Management software following the
manufacturer's instructions.
+ </para>
<procedure>
<step><para>
During installation, you are prompted for the name of the Windows 98
continue. The software now completes the installation.
</para></step>
</procedure>
- </para></step>
+ </step>
<step><para>
Install an office automation software package of the customer's choice. Either Microsoft
<step><para>
Install a printer on each using the following steps:
+ </para>
<procedure>
<step><para>
dialog panel. Right-click <menuchoice>
<guiicon>HP LaserJet 5/5M Postscript</guiicon>
<guimenuitem>Properties</guimenuitem>
- <guimenusub>Details (Tab)</guimenusub>
- <guimenubutton>Add Port</guimenubutton>
+ <guisubmenu>Details (Tab)</guisubmenu>
+ <guimenuitem>Add Port</guimenuitem>
</menuchoice>.
</para></step>
</procedure>
- </para></step>
+ </step>
</procedure>
</para></step>
<step><para>
- Install the &smb.conf; file shown<footnote>This example makes use of the
+ Install the &smb.conf; file shown<footnote><para>This example makes use of the
<parameter>smbpasswd</parameter> file. It does so in an obtuse way since the use of
the <parameter>passdb backend</parameter> has not been specified in the &smb.conf;
- file. This means that you are depending on correct default behavior.</footnote>
+ file. This means that you are depending on correct default behavior.</para></footnote>
in <link linkend="acctconf"/>.
</para></step>
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 <guimenu>Network Neighborhood</guimenu>
with the name of the old server (<constant>CASHPOOL</constant>).
+ </para>
<procedure>
</para></step>
</procedure>
- </para></step>
+ </step>
<step><para>
Verify that the files are being copied correctly from the Windows NT4 machine to the Samba-3 server.
is to expose some of the hidden implications.
</para>
- <qandaset defaultlabel="chap02qa" type="number">
+ <qandaset defaultlabel="chap02qa">
<qandaentry>
<question>
<smbconfcomment>Global parameters</smbconfcomment>
<smbconfsection name="[global]"/>
<smbconfoption name="workgroup">BILLMORE</smbconfoption>
-<smbconfoption name="passwd chat">*New*Password* \</smbconfoption>
-<member><parameter>%n\n*Re-enter*new*password* %n\n *Password*changed*</parameter></member>
+<smbconfoption name="passwd chat">*New*Password* %n\n*Re-enter*new*password* %n\n *Password*changed*</smbconfoption>
<smbconfoption name="username map">/etc/samba/smbusers</smbconfoption>
<smbconfoption name="syslog">0</smbconfoption>
<smbconfoption name="name resolve order">wins bcast hosts</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 /var/lib/nobody '%u'</parameter></member>
+<smbconfoption name="add machine script">/usr/sbin/useradd -s /bin/false -d /var/lib/nobody '%u'</smbconfoption>
<smbconfoption name="logon script">scripts\login.bat</smbconfoption>
<smbconfoption name="logon path"> </smbconfoption>
<smbconfoption name="logon drive">X:</smbconfoption>
<step><para>
Install a printer on each using the following steps:
+ </para>
<procedure>
<step><para>
dialog panel. Right-click <menuchoice>
<guiicon>HP LaserJet 4</guiicon>
<guimenuitem>Properties</guimenuitem>
- <guimenusub>Details (Tab)</guimenusub>
- <guimenubutton>Add Port</guimenubutton>
+ <guisubmenu>Details (Tab)</guisubmenu>
+ <guimenuitem>Add Port</guimenuitem>
</menuchoice>.
</para></step>
as well as for the QMS Magicolor XXXX laser printer.
</para></step>
</procedure>
- </para></step>
+ </step>
</procedure>
<sect2>
may help.
</para>
- <qandaset defaultlabel="chap03qa" type="number">
+ <qandaset>
<qandaentry>
<question>
<primary>name resolve order</primary>
</indexterm>
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.
+ and name resolution is set to use it by means of the <smbconfoption name="name resolve order">wins bcast hosts</smbconfoption> entry.
</para></listitem>
<listitem><para><indexterm>
<primary>User Mode</primary>
</indexterm>
The &smb.conf; file specifies that the Samba server will operate in (default) <parameter>
- security = user</parameter> mode<footnote>See <emphasis>TOSHARG</emphasis>, Chapter 3. This is necessary
+ security = user</parameter> mode<footnote><para>See <emphasis>TOSHARG</emphasis>, Chapter 3. This is necessary
so that Samba can act as a Domain Controller (PDC); see <emphasis>TOSHARG</emphasis>, Chapter 4 for
- additional information.</footnote> (User Mode).
+ additional information.</para></footnote> (User Mode).
</para></listitem>
<listitem><para><indexterm>
</indexterm><indexterm>
<primary>profile share</primary>
</indexterm>
- Roaming profiles are enabled through the specification of the parameter, <smbconfoption><name>logon path</name>
- <value>\\%L\profiles\%U</value></smbconfoption>. The value of this parameter translates the
+ Roaming profiles are enabled through the specification of the parameter, <smbconfoption name="logon path">\\%L\profiles\%U</smbconfoption>. The value of this parameter translates the
<constant>%L</constant> to the name by which the Samba server is called by the client (for this
configuration, it translates to the name <constant>DIAMOND</constant>), and the <constant>%U</constant>
will translate to the name of the user within the context of the connection made to the profile share.
</screen>
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.<footnote>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.</footnote>
+ act as a router.<footnote><para>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.</para></footnote>
</para></step>
<step><para><indexterm>
<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="passwd chat">*New*Password* %n\n *Re-enter*new*password*%n\n *Password*changed*</smbconfoption>
<smbconfoption name="username map">/etc/samba/smbusers</smbconfoption>
<smbconfoption name="unix password sync">Yes</smbconfoption>
<smbconfoption name="log level">1</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="add machine script">/usr/sbin/useradd -s /bin/false -d /tmp '%u'</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>
<step><para>
Create the files shown in their directories as follows:
- <table if="namedrscfiles">
+ <table id="namedrscfiles">
<title>DNS (named) Resource Files</title>
<tgroup cols="2">
<colspec align="left"/>
14295 ? S 0:00 /usr/sbin/winbindd -B
</screen>
The <command>winbindd</command> daemon is running in split mode (normal), so there are also
- two instances<footnote>For more information regarding winbindd, see <emphasis>TOSHARG</emphasis>,
+ two instances<footnote><para>For more information regarding winbindd, see <emphasis>TOSHARG</emphasis>,
Chapter 22, Section 22.3. The single instance of <command>smbd</command> is normal. One additional
<command>smbd</command> slave process is spawned for each SMB/CIFS client
- connection.</footnote> of it.
+ connection.</para></footnote> of it.
</para></step>
<step><para>
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:
+ </para>
<procedure>
<step><para>
dialog panel. Right-click <menuchoice>
<guiicon>HP LaserJet 6</guiicon>
<guimenuitem>Properties</guimenuitem>
- <guimenusub>Details (Tab)</guimenusub>
- <guimenubutton>Add Port</guimenubutton>
+ <guisubmenu>Details (Tab)</guisubmenu>
+ <guimenuitem>Add Port</guimenuitem>
</menuchoice>.
</para></step>
as well as for both QMS Magicolor laser printers.
</para></step>
</procedure>
- </para></step>
+ </step>
<step><para><indexterm>
<primary>defragmentation</primary>
<para>
</para>
- <qandaset defaultlabel="chap04qa" type="number">
+ <qandaset>
<qandaentry>
<question>
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 limits<footnote>Bench tests have shown that tdbsam is a very effective database technology.
- There is surprisingly little performance loss even with over 4000 users.</footnote> of the tdbsam backend itself.
+ not on the limits<footnote><para>Bench tests have shown that tdbsam is a very effective database technology.
+ There is surprisingly little performance loss even with over 4000 users.</para></footnote> of the tdbsam backend itself.
</para>
</answer>
means <constant>top level domain</constant>. 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 16<superscript>th</superscript> character
- is a name type indicator. A specific name type is registered<footnote>
- See <emphasis>TOSHARG</emphasis>, Chapter 9 for more information.</footnote> for each
+ is a name type indicator. A specific name type is registered<footnote><para>
+ See <emphasis>TOSHARG</emphasis>, Chapter 9 for more information.</para></footnote> 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.
</para>
<para>
Windows 200x Active Directory requires the registration in the DNS zone for the domain it
- controls of service locator<footnote>See TOSHARG, Chapter 9, Section 9.3.3</footnote> records
+ controls of service locator<footnote><para>See TOSHARG, Chapter 9, Section 9.3.3</para></footnote> 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.
<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE book PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
+<!DOCTYPE chapter PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
<chapter id="migration">
<title>Migrating NT4 Domain to Samba-3</title>
<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE book PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
+<!DOCTYPE chapter PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
<chapter id="HA">
<title>Performance, Reliability, and Availability</title>
<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE book PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
+<!DOCTYPE appendix PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
<appendix id="appendix">
<title>Appendix: A Collection of Useful Tid-bits</title>
<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE book PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
+<!DOCTYPE preface PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
<preface lang="en-US">
<title>Acknowledgments</title>
<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE book PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
+<!DOCTYPE sect1 PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
<sect1>
<title>Conventions Used</title>
<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE book PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
+<!DOCTYPE preface PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
<preface lang="en-US">
<title>Foreword</title>
<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE book PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
+<!DOCTYPE preface PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
<preface lang="en-US">
<title>Front Matter</title>
<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE book PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
+<!DOCTYPE glossary PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
<glossary>
<title>Glossary</title>
-<!DOCTYPE book PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
+<?xml version="1.0"?>
+<!DOCTYPE appendix PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
<appendix>
<appendixinfo>
<title>GNU General Public License</title>
<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE book PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
+<!DOCTYPE preface PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
<preface lang="en-US">
<title>About the Cover Artwork</title>
<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE book PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
+<!DOCTYPE preface PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
<preface id="preface">
<title>Preface</title>