Ignore:
Timestamp:
Jan 15, 2010, 8:21:06 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3 to 3.3.10 (docs)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/docs/htmldocs/Samba3-ByExample/secure.html

    r218 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 3. Secure Office Networking</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"><link rel="home" href="index.html" title="Samba-3 by Example"><link rel="up" href="ExNetworks.html" title="Part I. Example Network Configurations"><link rel="prev" href="small.html" title="Chapter 2. Small Office Networking"><link rel="next" href="Big500users.html" title="Chapter 4. The 500-User Office"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 3. Secure Office Networking</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="small.html">Prev</a> </td><th width="60%" align="center">Part I. Example Network Configurations</th><td width="20%" align="right"> <a accesskey="n" href="Big500users.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="secure"></a>Chapter 3. Secure Office Networking</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="secure.html#id2558582">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="secure.html#id2558634">Assignment Tasks</a></span></dt></dl></dd><dt><span class="sect1"><a href="secure.html#id2558867">Dissection and Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="secure.html#id2558882">Technical Issues</a></span></dt><dt><span class="sect2"><a href="secure.html#id2559309">Political Issues</a></span></dt></dl></dd><dt><span class="sect1"><a href="secure.html#id2559348">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="secure.html#ch4bsc">Basic System Configuration</a></span></dt><dt><span class="sect2"><a href="secure.html#id2560202">Samba Configuration</a></span></dt><dt><span class="sect2"><a href="secure.html#ch4dhcpdns">Configuration of DHCP and DNS Servers</a></span></dt><dt><span class="sect2"><a href="secure.html#ch4ptrcfg">Printer Configuration</a></span></dt><dt><span class="sect2"><a href="secure.html#procstart">Process Startup Configuration</a></span></dt><dt><span class="sect2"><a href="secure.html#ch4valid">Validation</a></span></dt><dt><span class="sect2"><a href="secure.html#ch4appscfg">Application Share Configuration</a></span></dt><dt><span class="sect2"><a href="secure.html#ch4wincfg">Windows Client Configuration</a></span></dt><dt><span class="sect2"><a href="secure.html#id2564663">Key Points Learned</a></span></dt></dl></dd><dt><span class="sect1"><a href="secure.html#id2564725">Questions and Answers</a></span></dt></dl></div><p>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 3. Secure Office Networking</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Samba-3 by Example"><link rel="up" href="ExNetworks.html" title="Part I. Example Network Configurations"><link rel="prev" href="small.html" title="Chapter 2. Small Office Networking"><link rel="next" href="Big500users.html" title="Chapter 4. The 500-User Office"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 3. Secure Office Networking</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="small.html">Prev</a> </td><th width="60%" align="center">Part I. Example Network Configurations</th><td width="20%" align="right"> <a accesskey="n" href="Big500users.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 3. Secure Office Networking"><div class="titlepage"><div><div><h2 class="title"><a name="secure"></a>Chapter 3. Secure Office Networking</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="secure.html#id2564639">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="secure.html#id2564691">Assignment Tasks</a></span></dt></dl></dd><dt><span class="sect1"><a href="secure.html#id2564924">Dissection and Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="secure.html#id2564939">Technical Issues</a></span></dt><dt><span class="sect2"><a href="secure.html#id2565367">Political Issues</a></span></dt></dl></dd><dt><span class="sect1"><a href="secure.html#id2565406">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="secure.html#ch4bsc">Basic System Configuration</a></span></dt><dt><span class="sect2"><a href="secure.html#id2566260">Samba Configuration</a></span></dt><dt><span class="sect2"><a href="secure.html#ch4dhcpdns">Configuration of DHCP and DNS Servers</a></span></dt><dt><span class="sect2"><a href="secure.html#ch4ptrcfg">Printer Configuration</a></span></dt><dt><span class="sect2"><a href="secure.html#procstart">Process Startup Configuration</a></span></dt><dt><span class="sect2"><a href="secure.html#ch4valid">Validation</a></span></dt><dt><span class="sect2"><a href="secure.html#ch4appscfg">Application Share Configuration</a></span></dt><dt><span class="sect2"><a href="secure.html#ch4wincfg">Windows Client Configuration</a></span></dt><dt><span class="sect2"><a href="secure.html#id2570721">Key Points Learned</a></span></dt></dl></dd><dt><span class="sect1"><a href="secure.html#id2570783">Questions and Answers</a></span></dt></dl></div><p>
    22        Congratulations, your Samba networking skills are developing nicely. You started out
    33        with three simple networks in <a class="link" href="simple.html" title="Chapter 1. No-Frills Samba Servers">&#8220;No-Frills Samba Servers&#8221;</a>, and then in <a class="link" href="small.html" title="Chapter 2. Small Office Networking">&#8220;Small Office Networking&#8221;</a>
     
    1212        To avoid confusion, this book is all about Samba-3. Let's get the exercises in this
    1313        chapter underway.
    14         </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2558582"></a>Introduction</h2></div></div></div><p>
     14        </p><div class="sect1" title="Introduction"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2564639"></a>Introduction</h2></div></div></div><p>
    1515        You have made Mr. Meany a very happy man. Recently he paid you a fat bonus for work
    1616        well done. It is one year since the last network upgrade. You have been quite busy.
     
    4141        about your move, she almost resigned, although she was reassured that a new manager would
    4242        be hired to run Information Technology, and she would be responsible only for operations.
    43         </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2558634"></a>Assignment Tasks</h3></div></div></div><p>
     43        </p><div class="sect2" title="Assignment Tasks"><div class="titlepage"><div><div><h3 class="title"><a name="id2564691"></a>Assignment Tasks</h3></div></div></div><p>
    4444                You promised the staff Internet services including Web browsing, electronic mail, virus
    4545                protection, and a company Web site.  Christine is eager to help turn the vision into
     
    8484                some problems with desktop computers and software installation into the new users'
    8585                desktop profiles.
    86                 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2558867"></a>Dissection and Discussion</h2></div></div></div><p>
     86                </p></div></div><div class="sect1" title="Dissection and Discussion"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2564924"></a>Dissection and Discussion</h2></div></div></div><p>
    8787        Many of the conclusions you draw here are obvious. Some requirements are not very clear
    8888        or may simply be your means of drawing the most out of Samba-3. Much can be done more simply
     
    9090        users. This means that some functionality will be overdesigned for the current 130-user
    9191        environment.
    92         </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2558882"></a>Technical Issues</h3></div></div></div><p>
     92        </p><div class="sect2" title="Technical Issues"><div class="titlepage"><div><div><h3 class="title"><a name="id2564939"></a>Technical Issues</h3></div></div></div><p>
    9393                In this exercise we use a 24-bit subnet mask for the two local networks. This,
    9494                of course, limits our network to a maximum of 253 usable IP addresses. The network
     
    9898                in the 172.16.0.0/16 range. This is done in subsequent chapters.
    9999                </p><p>
    100                 <a class="indexterm" name="id2558901"></a>
    101                 <a class="indexterm" name="id2558907"></a>
     100                <a class="indexterm" name="id2564958"></a>
     101                <a class="indexterm" name="id2564964"></a>
    102102                The high growth rates projected are a good reason to use the <code class="constant">tdbsam</code>
    103103                passdb backend. The use of <code class="constant">smbpasswd</code> for the backend may result in
     
    105105                are not available with the older, flat ASCII-based <code class="constant">smbpasswd</code> database.
    106106                </p><p>
    107                 <a class="indexterm" name="id2558933"></a>
     107                <a class="indexterm" name="id2564991"></a>
    108108                The proposed network design uses a single server to act as an Internet services host for
    109109                electronic mail, Web serving, remote administrative access via SSH,
     
    118118                directly connected to the Internet.
    119119                </p><p>
    120                 <a class="indexterm" name="id2558959"></a>
    121                 <a class="indexterm" name="id2558965"></a>
    122                 <a class="indexterm" name="id2558971"></a>
    123                 <a class="indexterm" name="id2558980"></a>
     120                <a class="indexterm" name="id2565016"></a>
     121                <a class="indexterm" name="id2565023"></a>
     122                <a class="indexterm" name="id2565029"></a>
     123                <a class="indexterm" name="id2565037"></a>
    124124                You know that your ISP is providing full firewall services, but you cannot rely on that.
    125125                Always assume that human error will occur, so be prepared by using Linux firewall facilities
     
    132132                covered except insofar as this affects Samba-3.
    133133                </p><p>
    134                 <a class="indexterm" name="id2559009"></a>
     134                <a class="indexterm" name="id2565066"></a>
    135135                Notebook computers are configured to use a network login when in the office and a
    136136                local account to log in while away from the office. Users store all work done in
     
    142142                records.
    143143                </p><p>
    144                 <a class="indexterm" name="id2559039"></a>
     144                <a class="indexterm" name="id2565097"></a>
    145145                All applications are served from the central server from a share called <code class="constant">apps</code>.
    146146                Microsoft Office XP Professional and OpenOffice 1.1.0 will be installed using a network
     
    149149                locally installed applications on a need-to-have basis only.
    150150                </p><p>
    151                 <a class="indexterm" name="id2559059"></a>
     151                <a class="indexterm" name="id2565117"></a>
    152152                The introduction of roaming profiles support means that users can move between
    153153                desktop computer systems without constraint while retaining full access to their data.
    154154                The desktop travels with them as they move.
    155155                </p><p>
    156                 <a class="indexterm" name="id2559072"></a>
     156                <a class="indexterm" name="id2565130"></a>
    157157                The DNS server implementation must now address both internal and external
    158158                needs. You forward DNS lookups to your ISP-provided server as well as the
    159159                <code class="constant">abmas.us</code> external secondary DNS server.
    160160                </p><p>
    161                 <a class="indexterm" name="id2559088"></a>
    162                 <a class="indexterm" name="id2559094"></a>
    163                 <a class="indexterm" name="id2559103"></a>
     161                <a class="indexterm" name="id2565146"></a>
     162                <a class="indexterm" name="id2565152"></a>
     163                <a class="indexterm" name="id2565161"></a>
    164164                Compared with the DHCP server configuration in <a class="link" href="small.html" title="Chapter 2. Small Office Networking">&#8220;Small Office Networking&#8221;</a>, <a class="link" href="small.html#dhcp01" title="Example 2.2. Abmas Accounting DHCP Server Configuration File /etc/dhcpd.conf">&#8220;Abmas Accounting DHCP Server Configuration File  /etc/dhcpd.conf&#8221;</a>, the
    165165                configuration used in this example has to deal with the presence of an Internet connection.
     
    185185                then clone that configuration, using Norton Ghost, to all workstations. Each machine is
    186186                identical, so this should pose no problem.
    187                 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2559155"></a>Hardware Requirements</h4></div></div></div><p>
    188                 <a class="indexterm" name="id2559162"></a>
     187                </p><div class="sect3" title="Hardware Requirements"><div class="titlepage"><div><div><h4 class="title"><a name="id2565213"></a>Hardware Requirements</h4></div></div></div><p>
     188                <a class="indexterm" name="id2565220"></a>
    189189                This server runs a considerable number of services. From similarly configured Linux
    190190                installations, the approximate calculated memory requirements are as shown in
     
    214214                compromise in this area.
    215215                </p><p>
    216                 <a class="indexterm" name="id2559214"></a>
     216                <a class="indexterm" name="id2565272"></a>
    217217                Aggregate input/output loads should be considered for sizing network configuration as
    218218                well as disk subsystems. For network bandwidth calculations, one would typically use an
     
    223223                switched ports.
    224224                </p><p>
    225                 <a class="indexterm" name="id2559233"></a>
    226                 <a class="indexterm" name="id2559239"></a>
     225                <a class="indexterm" name="id2565290"></a>
     226                <a class="indexterm" name="id2565297"></a>
    227227                Considering the choice of 1 Gb Ethernet interfaces for the two local network segments,
    228228                the aggregate network I/O capacity will be 2100 Mb/sec (about 230 MB/sec), an I/O
     
    256256                       Recommended Storage:              908 GBytes
    257257</pre></div></div><p><br class="example-break">
    258                 <a class="indexterm" name="id2559296"></a>
     258                <a class="indexterm" name="id2565354"></a>
    259259                The preferred storage capacity should be approximately 1 Terabyte. Use of RAID level 5
    260260                with two hot spare drives would require an 8-drive by 200 GB capacity per drive array.
    261                 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2559309"></a>Political Issues</h3></div></div></div><p>
     261                </p></div></div><div class="sect2" title="Political Issues"><div class="titlepage"><div><div><h3 class="title"><a name="id2565367"></a>Political Issues</h3></div></div></div><p>
    262262                Your industry is coming under increasing accountability pressures. Increased paranoia
    263263                is necessary so you can demonstrate that you have acted with due diligence. You must
     
    268268                gives you greater control over software licensing.
    269269                </p><p>
    270                 <a class="indexterm" name="id2559331"></a>
     270                <a class="indexterm" name="id2565388"></a>
    271271                You are well aware that the current configuration results in some performance issues
    272272                as the size of the desktop profile grows. Given that users use Microsoft Outlook
    273273                Express, you know that the storage implications of the <code class="constant">.PST</code> file
    274274                is something that needs to be addressed later.
    275                 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2559348"></a>Implementation</h2></div></div></div><p>
     275                </p></div></div><div class="sect1" title="Implementation"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2565406"></a>Implementation</h2></div></div></div><p>
    276276        <a class="link" href="secure.html#ch04net" title="Figure 3.1. Abmas Network Topology 130 Users">&#8220;Abmas Network Topology  130 Users&#8221;</a> demonstrates the overall design of the network that you will implement.
    277277        </p><p>
     
    284284        </p><p>
    285285        The <code class="filename">smb.conf</code> file has the following noteworthy features:
    286         </p><div class="itemizedlist"><ul type="disc"><li><p>
     286        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    287287                The NetBIOS name of the Samba server is set to <code class="constant">DIAMOND</code>.
    288                 </p></li><li><p>
     288                </p></li><li class="listitem"><p>
    289289                The Domain name is set to <code class="constant">PROMISES</code>.
    290                 </p></li><li><p>
    291                 <a class="indexterm" name="id2559406"></a>
    292                 <a class="indexterm" name="id2559412"></a>
    293                 <a class="indexterm" name="id2559418"></a>
     290                </p></li><li class="listitem"><p>
     291                <a class="indexterm" name="id2565463"></a>
     292                <a class="indexterm" name="id2565470"></a>
     293                <a class="indexterm" name="id2565476"></a>
    294294                Ethernet interface <code class="constant">eth0</code> is attached to the Internet connection
    295295                and is externally exposed. This interface is explicitly not available for Samba to use.
     
    298298                This is achieved by way of the <em class="parameter"><code>interfaces</code></em> parameter and the
    299299                <em class="parameter"><code>bind interfaces only</code></em> entry.
    300                 </p></li><li><p>
    301                 <a class="indexterm" name="id2559451"></a>
    302                 <a class="indexterm" name="id2559457"></a>
    303                 <a class="indexterm" name="id2559463"></a>
     300                </p></li><li class="listitem"><p>
     301                <a class="indexterm" name="id2565509"></a>
     302                <a class="indexterm" name="id2565515"></a>
     303                <a class="indexterm" name="id2565521"></a>
    304304                The <em class="parameter"><code>passdb backend</code></em> parameter specifies the creation and use
    305305                of the <code class="constant">tdbsam</code> password backend. This is a binary database that
    306306                has excellent scalability for a large number of user account entries.
    307                 </p></li><li><p>
    308                 <a class="indexterm" name="id2559486"></a>
    309                 <a class="indexterm" name="id2559492"></a>
    310                 <a class="indexterm" name="id2559498"></a>
     307                </p></li><li class="listitem"><p>
     308                <a class="indexterm" name="id2565543"></a>
     309                <a class="indexterm" name="id2565550"></a>
     310                <a class="indexterm" name="id2565556"></a>
    311311                WINS serving is enabled by the <a class="link" href="smb.conf.5.html#WINSSUPPORT" target="_top">wins support = Yes</a>,
    312312                and name resolution is set to use it by means of the
    313313                <a class="link" href="smb.conf.5.html#NAMERESOLVEORDER" target="_top">name resolve order = wins bcast hosts</a> entry.
    314                 </p></li><li><p>
    315                 <a class="indexterm" name="id2559528"></a>
     314                </p></li><li class="listitem"><p>
     315                <a class="indexterm" name="id2565585"></a>
    316316                The Samba server is configured for use by Windows clients as a time server.
    317                 </p></li><li><p>
    318                 <a class="indexterm" name="id2559540"></a>
    319                 <a class="indexterm" name="id2559546"></a>
    320                 <a class="indexterm" name="id2559552"></a>
     317                </p></li><li class="listitem"><p>
     318                <a class="indexterm" name="id2565597"></a>
     319                <a class="indexterm" name="id2565604"></a>
     320                <a class="indexterm" name="id2565610"></a>
    321321                Samba is configured to directly interface with CUPS via the direct internal interface
    322322                that is provided by CUPS libraries. This is achieved with the
    323323                <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = CUPS</a> as well as the
    324324                <a class="link" href="smb.conf.5.html#PRINTCAPNAME" target="_top">printcap name = CUPS</a> entries.
    325                 </p></li><li><p>
    326                 <a class="indexterm" name="id2559583"></a>
    327                 <a class="indexterm" name="id2559589"></a>
    328                 <a class="indexterm" name="id2559595"></a>
     325                </p></li><li class="listitem"><p>
     326                <a class="indexterm" name="id2565640"></a>
     327                <a class="indexterm" name="id2565647"></a>
     328                <a class="indexterm" name="id2565653"></a>
    329329                External interface scripts are provided to enable Samba to interface smoothly to
    330330                essential operating system functions for user and group management. This is important
     
    334334                downloaded from the Microsoft FTP
    335335                <a class="ulink" href="ftp://ftp.microsoft.com/Softlib/MSLFILES/SRVTOOLS.EXE" target="_top">site</a>.
    336                 </p></li><li><p>
    337                 <a class="indexterm" name="id2559625"></a>
     336                </p></li><li class="listitem"><p>
     337                <a class="indexterm" name="id2565682"></a>
    338338                The <code class="filename">smb.conf</code> file specifies that the Samba server will operate in (default) <em class="parameter"><code>
    339                 security = user</code></em> mode<sup>[<a name="id2559643" href="#ftn.id2559643" class="footnote">5</a>]</sup>
     339                security = user</code></em> mode<sup>[<a name="id2565700" href="#ftn.id2565700" class="footnote">5</a>]</sup>
    340340                (User Mode).
    341                 </p></li><li><p>
    342                 <a class="indexterm" name="id2559659"></a>
    343                 <a class="indexterm" name="id2559665"></a>
     341                </p></li><li class="listitem"><p>
     342                <a class="indexterm" name="id2565717"></a>
     343                <a class="indexterm" name="id2565723"></a>
    344344                Domain logon services as well as a Domain logon script are specified. The logon script
    345345                will be used to add robustness to the overall network configuration.
    346                 </p></li><li><p>
    347                 <a class="indexterm" name="id2559679"></a>
    348                 <a class="indexterm" name="id2559685"></a>
    349                 <a class="indexterm" name="id2559691"></a>
     346                </p></li><li class="listitem"><p>
     347                <a class="indexterm" name="id2565736"></a>
     348                <a class="indexterm" name="id2565743"></a>
     349                <a class="indexterm" name="id2565749"></a>
    350350                Roaming profiles are enabled through the specification of the parameter,
    351351                <a class="link" href="smb.conf.5.html#LOGONPATH" target="_top">logon path = \\%L\profiles\%U</a>. The value of this parameter translates the
     
    356356                profile share for each user. This directory must be owned by the user also. An exception to this
    357357                requirement is when a profile is created for group use.
    358                 </p></li><li><p>
    359                 <a class="indexterm" name="id2559731"></a>
    360                 <a class="indexterm" name="id2559738"></a>
     358                </p></li><li class="listitem"><p>
     359                <a class="indexterm" name="id2565789"></a>
     360                <a class="indexterm" name="id2565795"></a>
    361361                Precautionary veto is effected for particular Windows file names that have been targeted by
    362362                virus-related activity. Additionally, Microsoft Office files are vetoed from opportunistic locking
    363363                controls. This should help to prevent lock contention-related file access problems.
    364                 </p></li><li><p>
     364                </p></li><li class="listitem"><p>
    365365                Every user has a private home directory on the UNIX/Linux host. This is mapped to
    366366                a network drive that is the same for all users.
    367367                </p></li></ul></div><p>
    368368        The configuration of the server is the most complex so far. The following steps are used:
    369         </p><div class="orderedlist"><ol type="1"><li><p>
     369        </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
    370370                Basic System Configuration
    371                 </p></li><li><p>
     371                </p></li><li class="listitem"><p>
    372372                Samba Configuration
    373                 </p></li><li><p>
     373                </p></li><li class="listitem"><p>
    374374                DHCP and DNS Server Configuration
    375                 </p></li><li><p>
     375                </p></li><li class="listitem"><p>
    376376                Printer Configuration
    377                 </p></li><li><p>
     377                </p></li><li class="listitem"><p>
    378378                Process Start-up Configuration
    379                 </p></li><li><p>
     379                </p></li><li class="listitem"><p>
    380380                Validation
    381                 </p></li><li><p>
     381                </p></li><li class="listitem"><p>
    382382                Application Share Configuration
    383                 </p></li><li><p>
     383                </p></li><li class="listitem"><p>
    384384                Windows Client Configuration
    385385                </p></li></ol></div><p>
    386386        The following sections cover each step in logical and defined detail.
    387         </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="ch4bsc"></a>Basic System Configuration</h3></div></div></div><p>
    388         <a class="indexterm" name="id2559823"></a>
     387        </p><div class="sect2" title="Basic System Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="ch4bsc"></a>Basic System Configuration</h3></div></div></div><p>
     388        <a class="indexterm" name="id2565881"></a>
    389389        The preparation in this section assumes that your SUSE Enterprise Linux Server 8.0 system has been
    390390        freshly installed. It prepares basic files so that the system is ready for comprehensive
    391391        operation in line with the network diagram shown in <a class="link" href="secure.html#ch04net" title="Figure 3.1. Abmas Network Topology 130 Users">&#8220;Abmas Network Topology  130 Users&#8221;</a>.
    392         </p><div class="procedure"><a name="id2559839"></a><p class="title"><b>Procedure 3.1. Server Configuration Steps</b></p><ol type="1"><li><p>
    393                 <a class="indexterm" name="id2559850"></a>
     392        </p><div class="procedure" title="Procedure 3.1. Server Configuration Steps"><a name="id2565897"></a><p class="title"><b>Procedure 3.1. Server Configuration Steps</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
     393                <a class="indexterm" name="id2565908"></a>
    394394                Using the UNIX/Linux system tools, name the server <code class="constant">server.abmas.us</code>.
    395395                Verify that your hostname is correctly set by running:
     
    403403server.abmas.us
    404404</pre><p>
    405                 </p></li><li><p>
    406                 <a class="indexterm" name="id2559890"></a>
    407                 <a class="indexterm" name="id2559896"></a>
     405                </p></li><li class="step" title="Step 2"><p>
     406                <a class="indexterm" name="id2565948"></a>
     407                <a class="indexterm" name="id2565954"></a>
    408408                Edit your <code class="filename">/etc/hosts</code> file to include the primary names and addresses
    409409                of all network interfaces that are on the host server. This is necessary so that during
     
    426426192.168.2.30    hplj6f.abmas.biz hplj6f
    427427</pre><p>
    428                 <a class="indexterm" name="id2559948"></a>
    429                 <a class="indexterm" name="id2559954"></a>
    430                 <a class="indexterm" name="id2559960"></a>
     428                <a class="indexterm" name="id2566005"></a>
     429                <a class="indexterm" name="id2566012"></a>
     430                <a class="indexterm" name="id2566018"></a>
    431431                The printer entries are not necessary if <code class="literal">named</code> is started prior to
    432432                startup of <code class="literal">cupsd</code>, the CUPS daemon.
    433                 </p></li><li><p>
    434                 <a class="indexterm" name="id2559985"></a>
    435                 <a class="indexterm" name="id2559991"></a>
    436                 <a class="indexterm" name="id2559997"></a>
     433                </p></li><li class="step" title="Step 3"><p>
     434                <a class="indexterm" name="id2566042"></a>
     435                <a class="indexterm" name="id2566049"></a>
     436                <a class="indexterm" name="id2566055"></a>
    437437                The host server is acting as a router between the two internal network segments as well
    438438                as for all Internet access. This necessitates that IP forwarding be enabled. This can be
     
    443443                To ensure that your kernel is capable of IP forwarding during configuration, you may
    444444                wish to execute that command manually also. This setting permits the Linux system to
    445                 act as a router.<sup>[<a name="id2560023" href="#ftn.id2560023" class="footnote">6</a>]</sup>
    446                 </p></li><li><p>
    447                 <a class="indexterm" name="id2560036"></a>
    448                 <a class="indexterm" name="id2560042"></a>
     445                act as a router.<sup>[<a name="id2566081" href="#ftn.id2566081" class="footnote">6</a>]</sup>
     446                </p></li><li class="step" title="Step 4"><p>
     447                <a class="indexterm" name="id2566094"></a>
     448                <a class="indexterm" name="id2566100"></a>
    449449                Installation of a basic firewall and NAT facility is necessary.
    450450                The following script can be installed in the <code class="filename">/usr/local/sbin</code>
     
    498498echo -e "\nNAT firewall done.\n"
    499499</pre></div></div><p><br class="example-break">
    500                 </p></li><li><p>
     500                </p></li><li class="step" title="Step 5"><p>
    501501                Execute the following to make the script executable:
    502502</p><pre class="screen">
     
    525525</pre><p>
    526526                </p></li></ol></div><p>
    527         <a class="indexterm" name="id2560182"></a>
     527        <a class="indexterm" name="id2566239"></a>
    528528        The server is now ready for Samba configuration. During the validation step, you remove
    529529        the entry for the Samba server <code class="constant">diamond</code> from the <code class="filename">/etc/hosts</code>
    530530        file. This is done after you are satisfied that DNS-based name resolution is functioning correctly.
    531         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2560202"></a>Samba Configuration</h3></div></div></div><p>
     531        </p></div><div class="sect2" title="Samba Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="id2566260"></a>Samba Configuration</h3></div></div></div><p>
    532532        When you have completed this section, the Samba server is ready for testing and validation;
    533533        however, testing and validation have to wait until DHCP, DNS, and printing (CUPS) services have
    534534        been configured.
    535         </p><div class="procedure"><a name="id2560215"></a><p class="title"><b>Procedure 3.2. Samba Configuration Steps</b></p><ol type="1"><li><p>
     535        </p><div class="procedure" title="Procedure 3.2. Samba Configuration Steps"><a name="id2566272"></a><p class="title"><b>Procedure 3.2. Samba Configuration Steps</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    536536                Install the Samba-3 binary RPM from the Samba-Team FTP site. Assuming that the binary
    537537                RPM file is called <code class="filename">samba-3.0.20-1.i386.rpm</code>, one way to install this
     
    543543                Successful operation is clearly indicated. If this installation should fail for any reason,
    544544                refer to the operating system manufacturer's documentation for guidance.
    545                 </p></li><li><p>
     545                </p></li><li class="step" title="Step 2"><p>
    546546                Install the <code class="filename">smb.conf</code> file shown in <a class="link" href="secure.html#promisnet" title="Example 3.4. 130 User Network with tdbsam [globals] Section">&#8220;130 User Network with tdbsam  [globals] Section&#8221;</a>, <a class="link" href="secure.html#promisnetsvca" title="Example 3.5. 130 User Network with tdbsam Services Section Part A">&#8220;130 User Network with tdbsam  Services Section Part A&#8221;</a>,
    547547                and <a class="link" href="secure.html#promisnetsvcb" title="Example 3.6. 130 User Network with tdbsam Services Section Part B">&#8220;130 User Network with tdbsam  Services Section Part B&#8221;</a>. Concatenate (join) all three files to make a single <code class="filename">smb.conf</code>
    548548                file. The final, fully qualified path for this file should be <code class="filename">/etc/samba/smb.conf</code>.
    549549
    550 </p><div class="example"><a name="promisnet"></a><p class="title"><b>Example 3.4. 130 User Network with <span class="emphasis"><em>tdbsam</em></span>  [globals] Section</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2560320"></a><em class="parameter"><code>workgroup = PROMISES</code></em></td></tr><tr><td><a class="indexterm" name="id2560331"></a><em class="parameter"><code>netbios name = DIAMOND</code></em></td></tr><tr><td><a class="indexterm" name="id2560341"></a><em class="parameter"><code>interfaces = eth1, eth2, lo</code></em></td></tr><tr><td><a class="indexterm" name="id2560352"></a><em class="parameter"><code>bind interfaces only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2560362"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2560372"></a><em class="parameter"><code>pam password change = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2560383"></a><em class="parameter"><code>passwd program = /usr/bin/passwd %u</code></em></td></tr><tr><td><a class="indexterm" name="id2560393"></a><em class="parameter"><code>passwd chat = *New*Password* %n\n *Re-enter*new*password*%n\n *Password*changed*</code></em></td></tr><tr><td><a class="indexterm" name="id2560405"></a><em class="parameter"><code>username map = /etc/samba/smbusers</code></em></td></tr><tr><td><a class="indexterm" name="id2560416"></a><em class="parameter"><code>unix password sync = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2560426"></a><em class="parameter"><code>log level = 1</code></em></td></tr><tr><td><a class="indexterm" name="id2560437"></a><em class="parameter"><code>syslog = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2560447"></a><em class="parameter"><code>log file = /var/log/samba/%m</code></em></td></tr><tr><td><a class="indexterm" name="id2560458"></a><em class="parameter"><code>max log size = 50</code></em></td></tr><tr><td><a class="indexterm" name="id2560469"></a><em class="parameter"><code>smb ports = 139</code></em></td></tr><tr><td><a class="indexterm" name="id2560479"></a><em class="parameter"><code>name resolve order = wins bcast hosts</code></em></td></tr><tr><td><a class="indexterm" name="id2560490"></a><em class="parameter"><code>time server = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2560501"></a><em class="parameter"><code>printcap name = CUPS</code></em></td></tr><tr><td><a class="indexterm" name="id2560511"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2560522"></a><em class="parameter"><code>add user script = /usr/sbin/useradd -m '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2560533"></a><em class="parameter"><code>delete user script = /usr/sbin/userdel -r '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2560545"></a><em class="parameter"><code>add group script = /usr/sbin/groupadd '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2560556"></a><em class="parameter"><code>delete group script = /usr/sbin/groupdel '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2560567"></a><em class="parameter"><code>add user to group script = /usr/sbin/usermod -G '%g' '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2560579"></a><em class="parameter"><code>add machine script = /usr/sbin/useradd -s /bin/false -d /tmp '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2560590"></a><em class="parameter"><code>shutdown script = /var/lib/samba/scripts/shutdown.sh</code></em></td></tr><tr><td><a class="indexterm" name="id2560602"></a><em class="parameter"><code>abort shutdown script = /sbin/shutdown -c</code></em></td></tr><tr><td><a class="indexterm" name="id2560613"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2560624"></a><em class="parameter"><code>logon path = \\%L\profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2560635"></a><em class="parameter"><code>logon drive = X:</code></em></td></tr><tr><td><a class="indexterm" name="id2560646"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2560656"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2560666"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2560677"></a><em class="parameter"><code>wins support = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2560687"></a><em class="parameter"><code>utmp = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2560698"></a><em class="parameter"><code>map acl inherit = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2560708"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2560718"></a><em class="parameter"><code>cups options = Raw</code></em></td></tr><tr><td><a class="indexterm" name="id2560729"></a><em class="parameter"><code>veto files = /*.eml/*.nws/*.{*}/</code></em></td></tr><tr><td><a class="indexterm" name="id2560740"></a><em class="parameter"><code>veto oplock files = /*.doc/*.xls/*.mdb/</code></em></td></tr></table></div></div><p><br class="example-break">
    551 
    552 </p><div class="example"><a name="promisnetsvca"></a><p class="title"><b>Example 3.5. 130 User Network with <span class="emphasis"><em>tdbsam</em></span>  Services Section Part A</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2560779"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2560789"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2560800"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2560810"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2560829"></a><em class="parameter"><code>comment = SMB Print Spool</code></em></td></tr><tr><td><a class="indexterm" name="id2560839"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2560850"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2560860"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2560871"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2560881"></a><em class="parameter"><code>default devmode = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2560891"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[netlogon]</code></em></td></tr><tr><td><a class="indexterm" name="id2560910"></a><em class="parameter"><code>comment = Network Logon Service</code></em></td></tr><tr><td><a class="indexterm" name="id2560921"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2560932"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2560942"></a><em class="parameter"><code>locking = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[profiles]</code></em></td></tr><tr><td><a class="indexterm" name="id2560961"></a><em class="parameter"><code>comment = Profile Share</code></em></td></tr><tr><td><a class="indexterm" name="id2560971"></a><em class="parameter"><code>path = /var/lib/samba/profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2560982"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2560993"></a><em class="parameter"><code>profile acls = Yes</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[accounts]</code></em></td></tr><tr><td><a class="indexterm" name="id2561012"></a><em class="parameter"><code>comment = Accounting Files</code></em></td></tr><tr><td><a class="indexterm" name="id2561022"></a><em class="parameter"><code>path = /data/accounts</code></em></td></tr><tr><td><a class="indexterm" name="id2561032"></a><em class="parameter"><code>read only = No</code></em></td></tr></table></div></div><p><br class="example-break">
    553 
    554 </p><div class="example"><a name="promisnetsvcb"></a><p class="title"><b>Example 3.6. 130 User Network with <span class="emphasis"><em>tdbsam</em></span>  Services Section Part B</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[service]</code></em></td></tr><tr><td><a class="indexterm" name="id2561071"></a><em class="parameter"><code>comment = Financial Services Files</code></em></td></tr><tr><td><a class="indexterm" name="id2561081"></a><em class="parameter"><code>path = /data/service</code></em></td></tr><tr><td><a class="indexterm" name="id2561092"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[pidata]</code></em></td></tr><tr><td><a class="indexterm" name="id2561110"></a><em class="parameter"><code>comment = Property Insurance Files</code></em></td></tr><tr><td><a class="indexterm" name="id2561121"></a><em class="parameter"><code>path = /data/pidata</code></em></td></tr><tr><td><a class="indexterm" name="id2561132"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[apps]</code></em></td></tr><tr><td><a class="indexterm" name="id2561151"></a><em class="parameter"><code>comment = Application Files</code></em></td></tr><tr><td><a class="indexterm" name="id2561161"></a><em class="parameter"><code>path = /apps</code></em></td></tr><tr><td><a class="indexterm" name="id2561171"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2561182"></a><em class="parameter"><code>admin users = bjordan</code></em></td></tr></table></div></div><p><br class="example-break">
    555                 </p></li><li><p>
    556               <a class="indexterm" name="id2561200"></a><a class="indexterm" name="id2561205"></a>
     550</p><div class="example"><a name="promisnet"></a><p class="title"><b>Example 3.4. 130 User Network with <span class="emphasis"><em>tdbsam</em></span>  [globals] Section</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2566378"></a><em class="parameter"><code>workgroup = PROMISES</code></em></td></tr><tr><td><a class="indexterm" name="id2566388"></a><em class="parameter"><code>netbios name = DIAMOND</code></em></td></tr><tr><td><a class="indexterm" name="id2566399"></a><em class="parameter"><code>interfaces = eth1, eth2, lo</code></em></td></tr><tr><td><a class="indexterm" name="id2566409"></a><em class="parameter"><code>bind interfaces only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2566420"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2566430"></a><em class="parameter"><code>pam password change = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2566440"></a><em class="parameter"><code>passwd program = /usr/bin/passwd %u</code></em></td></tr><tr><td><a class="indexterm" name="id2566451"></a><em class="parameter"><code>passwd chat = *New*Password* %n\n *Re-enter*new*password*%n\n *Password*changed*</code></em></td></tr><tr><td><a class="indexterm" name="id2566463"></a><em class="parameter"><code>username map = /etc/samba/smbusers</code></em></td></tr><tr><td><a class="indexterm" name="id2566474"></a><em class="parameter"><code>unix password sync = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2566484"></a><em class="parameter"><code>log level = 1</code></em></td></tr><tr><td><a class="indexterm" name="id2566495"></a><em class="parameter"><code>syslog = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2566505"></a><em class="parameter"><code>log file = /var/log/samba/%m</code></em></td></tr><tr><td><a class="indexterm" name="id2566516"></a><em class="parameter"><code>max log size = 50</code></em></td></tr><tr><td><a class="indexterm" name="id2566526"></a><em class="parameter"><code>smb ports = 139</code></em></td></tr><tr><td><a class="indexterm" name="id2566537"></a><em class="parameter"><code>name resolve order = wins bcast hosts</code></em></td></tr><tr><td><a class="indexterm" name="id2566548"></a><em class="parameter"><code>time server = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2566558"></a><em class="parameter"><code>printcap name = CUPS</code></em></td></tr><tr><td><a class="indexterm" name="id2566569"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2566580"></a><em class="parameter"><code>add user script = /usr/sbin/useradd -m '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2566591"></a><em class="parameter"><code>delete user script = /usr/sbin/userdel -r '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2566602"></a><em class="parameter"><code>add group script = /usr/sbin/groupadd '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2566614"></a><em class="parameter"><code>delete group script = /usr/sbin/groupdel '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2566625"></a><em class="parameter"><code>add user to group script = /usr/sbin/usermod -G '%g' '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2566636"></a><em class="parameter"><code>add machine script = /usr/sbin/useradd -s /bin/false -d /tmp '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2566648"></a><em class="parameter"><code>shutdown script = /var/lib/samba/scripts/shutdown.sh</code></em></td></tr><tr><td><a class="indexterm" name="id2566660"></a><em class="parameter"><code>abort shutdown script = /sbin/shutdown -c</code></em></td></tr><tr><td><a class="indexterm" name="id2566671"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2566682"></a><em class="parameter"><code>logon path = \\%L\profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2566693"></a><em class="parameter"><code>logon drive = X:</code></em></td></tr><tr><td><a class="indexterm" name="id2566703"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2566714"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2566724"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2566734"></a><em class="parameter"><code>wins support = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2566745"></a><em class="parameter"><code>utmp = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2566755"></a><em class="parameter"><code>map acl inherit = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2566766"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2566776"></a><em class="parameter"><code>cups options = Raw</code></em></td></tr><tr><td><a class="indexterm" name="id2566786"></a><em class="parameter"><code>veto files = /*.eml/*.nws/*.{*}/</code></em></td></tr><tr><td><a class="indexterm" name="id2566798"></a><em class="parameter"><code>veto oplock files = /*.doc/*.xls/*.mdb/</code></em></td></tr></table></div></div><p><br class="example-break">
     551
     552</p><div class="example"><a name="promisnetsvca"></a><p class="title"><b>Example 3.5. 130 User Network with <span class="emphasis"><em>tdbsam</em></span>  Services Section Part A</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2566837"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2566847"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2566858"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2566868"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2566887"></a><em class="parameter"><code>comment = SMB Print Spool</code></em></td></tr><tr><td><a class="indexterm" name="id2566897"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2566908"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2566918"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2566928"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2566939"></a><em class="parameter"><code>default devmode = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2566949"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[netlogon]</code></em></td></tr><tr><td><a class="indexterm" name="id2566968"></a><em class="parameter"><code>comment = Network Logon Service</code></em></td></tr><tr><td><a class="indexterm" name="id2566978"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2566989"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2567000"></a><em class="parameter"><code>locking = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[profiles]</code></em></td></tr><tr><td><a class="indexterm" name="id2567019"></a><em class="parameter"><code>comment = Profile Share</code></em></td></tr><tr><td><a class="indexterm" name="id2567029"></a><em class="parameter"><code>path = /var/lib/samba/profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2567040"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2567050"></a><em class="parameter"><code>profile acls = Yes</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[accounts]</code></em></td></tr><tr><td><a class="indexterm" name="id2567069"></a><em class="parameter"><code>comment = Accounting Files</code></em></td></tr><tr><td><a class="indexterm" name="id2567080"></a><em class="parameter"><code>path = /data/accounts</code></em></td></tr><tr><td><a class="indexterm" name="id2567090"></a><em class="parameter"><code>read only = No</code></em></td></tr></table></div></div><p><br class="example-break">
     553
     554</p><div class="example"><a name="promisnetsvcb"></a><p class="title"><b>Example 3.6. 130 User Network with <span class="emphasis"><em>tdbsam</em></span>  Services Section Part B</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[service]</code></em></td></tr><tr><td><a class="indexterm" name="id2567128"></a><em class="parameter"><code>comment = Financial Services Files</code></em></td></tr><tr><td><a class="indexterm" name="id2567139"></a><em class="parameter"><code>path = /data/service</code></em></td></tr><tr><td><a class="indexterm" name="id2567149"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[pidata]</code></em></td></tr><tr><td><a class="indexterm" name="id2567168"></a><em class="parameter"><code>comment = Property Insurance Files</code></em></td></tr><tr><td><a class="indexterm" name="id2567179"></a><em class="parameter"><code>path = /data/pidata</code></em></td></tr><tr><td><a class="indexterm" name="id2567190"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[apps]</code></em></td></tr><tr><td><a class="indexterm" name="id2567208"></a><em class="parameter"><code>comment = Application Files</code></em></td></tr><tr><td><a class="indexterm" name="id2567219"></a><em class="parameter"><code>path = /apps</code></em></td></tr><tr><td><a class="indexterm" name="id2567229"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2567240"></a><em class="parameter"><code>admin users = bjordan</code></em></td></tr></table></div></div><p><br class="example-break">
     555                </p></li><li class="step" title="Step 3"><p>
     556              <a class="indexterm" name="id2567257"></a><a class="indexterm" name="id2567262"></a>
    557557                Add the <code class="constant">root</code> user to the password backend as follows:
    558558</p><pre class="screen">
     
    566566                deleted. If for any reason the account is deleted, you may not be able to recreate this account
    567567                without considerable trouble.
    568                 </p></li><li><p>
    569                 <a class="indexterm" name="id2561249"></a>
     568                </p></li><li class="step" title="Step 4"><p>
     569                <a class="indexterm" name="id2567306"></a>
    570570                Create the username map file to permit the <code class="constant">root</code> account to be called
    571571                <code class="constant">Administrator</code> from the Windows network environment. To do this, create
     
    593593####
    594594</pre><p>
    595                 </p></li><li><p>
    596                 <a class="indexterm" name="id2561290"></a>
    597                 <a class="indexterm" name="id2561297"></a>
    598                 <a class="indexterm" name="id2561307"></a>
    599                 <a class="indexterm" name="id2561318"></a>
     595                </p></li><li class="step" title="Step 5"><p>
     596                <a class="indexterm" name="id2567348"></a>
     597                <a class="indexterm" name="id2567354"></a>
     598                <a class="indexterm" name="id2567365"></a>
     599                <a class="indexterm" name="id2567376"></a>
    600600                Create and map Windows Domain Groups to UNIX groups. A sample script is provided in <a class="link" href="small.html" title="Chapter 2. Small Office Networking">&#8220;Small Office Networking&#8221;</a>,
    601601                <a class="link" href="small.html#initGrps" title="Example 2.1. Script to Map Windows NT Groups to UNIX Groups">&#8220;Script to Map Windows NT Groups to UNIX Groups&#8221;</a>. Create a file containing this script. We called ours
     
    603603                and then execute the script. Sample output should be as follows:
    604604
    605 </p><div class="example"><a name="ch4initGrps"></a><p class="title"><b>Example 3.7. Script to Map Windows NT Groups to UNIX Groups</b></p><div class="example-contents"><a class="indexterm" name="id2561355"></a><pre class="screen">
     605</p><div class="example"><a name="ch4initGrps"></a><p class="title"><b>Example 3.7. Script to Map Windows NT Groups to UNIX Groups</b></p><div class="example-contents"><a class="indexterm" name="id2567413"></a><pre class="screen">
    606606#!/bin/bash
    607607#
     
    655655Users (S-1-5-32-545) -&gt; -1
    656656</pre><p>
    657                 </p></li><li><p>
    658                 <a class="indexterm" name="id2561428"></a>
    659                 <a class="indexterm" name="id2561434"></a>
    660                 <a class="indexterm" name="id2561441"></a>
    661                 <a class="indexterm" name="id2561447"></a>
    662                 <a class="indexterm" name="id2561453"></a>
    663                 <a class="indexterm" name="id2561460"></a>
    664                 <a class="indexterm" name="id2561468"></a>
     657                </p></li><li class="step" title="Step 6"><p>
     658                <a class="indexterm" name="id2567486"></a>
     659                <a class="indexterm" name="id2567492"></a>
     660                <a class="indexterm" name="id2567498"></a>
     661                <a class="indexterm" name="id2567505"></a>
     662                <a class="indexterm" name="id2567511"></a>
     663                <a class="indexterm" name="id2567517"></a>
     664                <a class="indexterm" name="id2567526"></a>
    665665                There is one preparatory step without which you will not have a working Samba
    666666                network environment. You must add an account for each network user.
     
    686686</pre><p>
    687687                You do of course use a valid user login ID in place of <em class="parameter"><code>username</code></em>.
    688                 </p></li><li><p>
    689                 <a class="indexterm" name="id2561572"></a>
    690                 <a class="indexterm" name="id2561581"></a>
    691                 <a class="indexterm" name="id2561589"></a>
     688                </p></li><li class="step" title="Step 7"><p>
     689                <a class="indexterm" name="id2567630"></a>
     690                <a class="indexterm" name="id2567638"></a>
     691                <a class="indexterm" name="id2567647"></a>
    692692                Using the preferred tool for your UNIX system, add each user to the UNIX groups created
    693693                previously as necessary. File system access control will be based on UNIX group membership.
    694                 </p></li><li><p>
     694                </p></li><li class="step" title="Step 8"><p>
    695695                Create the directory mount point for the disk subsystem that can be mounted to provide
    696696                data storage for company files. In this case the mount point is indicated in the <code class="filename">smb.conf</code>
    697697                file is <code class="filename">/data</code>. Format the file system as required, and mount the formatted
    698698                file system partition using appropriate system tools.
    699                 </p></li><li><p>
    700                 <a class="indexterm" name="id2561628"></a>
     699                </p></li><li class="step" title="Step 9"><p>
     700                <a class="indexterm" name="id2567686"></a>
    701701                Create the top-level file storage directories for data and applications as follows:
    702702</p><pre class="screen">
     
    715715                The <code class="filename">/apps</code> directory is the root of the <code class="constant">apps</code> share
    716716                that provides the application server infrastructure.
    717                 </p></li><li><p>
     717                </p></li><li class="step" title="Step 10"><p>
    718718                The <code class="filename">smb.conf</code> file specifies an infrastructure to support roaming profiles and network
    719719                logon services. You can now create the file system infrastructure to provide the
     
    738738<code class="prompt">root# </code> chmod ug+wrx,o+rx,-w /var/lib/samba/profiles/'username'
    739739</pre><p>
    740                 </p></li><li><p>
    741                 <a class="indexterm" name="id2561822"></a>
    742                 <a class="indexterm" name="id2561828"></a>
    743                 <a class="indexterm" name="id2561835"></a>
     740                </p></li><li class="step" title="Step 11"><p>
     741                <a class="indexterm" name="id2567880"></a>
     742                <a class="indexterm" name="id2567886"></a>
     743                <a class="indexterm" name="id2567892"></a>
    744744                Create a logon script. It is important that each line is correctly terminated with
    745745                a carriage return and line-feed combination (i.e., DOS encoding). The following procedure
     
    757757        &gt; /var/lib/samba/netlogon/scripts/logon.bat
    758758</pre><p>
    759                 </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="ch4dhcpdns"></a>Configuration of DHCP and DNS Servers</h3></div></div></div><p>
     759                </p></li></ol></div></div><div class="sect2" title="Configuration of DHCP and DNS Servers"><div class="titlepage"><div><div><h3 class="title"><a name="ch4dhcpdns"></a>Configuration of DHCP and DNS Servers</h3></div></div></div><p>
    760760        DHCP services are a basic component of the entire network client installation. DNS operation is
    761761        foundational to Internet access as well as to trouble-free operation of local networking. When
    762762        you have completed this section, the server should be ready for solid duty operation.
    763         </p><div class="procedure"><a name="id2561905"></a><p class="title"><b>Procedure 3.3. DHCP and DNS Server Configuration Steps</b></p><ol type="1"><li><p>
    764                 <a class="indexterm" name="id2561916"></a>
     763        </p><div class="procedure" title="Procedure 3.3. DHCP and DNS Server Configuration Steps"><a name="id2567964"></a><p class="title"><b>Procedure 3.3. DHCP and DNS Server Configuration Steps</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
     764                <a class="indexterm" name="id2567975"></a>
    765765                Create a file called <code class="filename">/etc/dhcpd.conf</code> with the contents as
    766766                shown in <a class="link" href="secure.html#prom-dhcp" title="Example 3.8. DHCP Server Configuration File /etc/dhcpd.conf">&#8220;DHCP Server Configuration File  /etc/dhcpd.conf&#8221;</a>.
     
    812812        }
    813813</pre></div></div><p><br class="example-break">
    814                 </p></li><li><p>
    815                 <a class="indexterm" name="id2561991"></a>
     814                </p></li><li class="step" title="Step 2"><p>
     815                <a class="indexterm" name="id2568050"></a>
    816816                Create a file called <code class="filename">/etc/named.conf</code> that has the combined contents
    817817                of the <a class="link" href="secure.html#ch4namedcfg" title="Example 3.9. DNS Master Configuration File /etc/named.conf Master Section">&#8220;DNS Master Configuration File  /etc/named.conf Master Section&#8221;</a>, <a class="link" href="secure.html#ch4namedvarfwd" title="Example 3.10. DNS Master Configuration File /etc/named.conf Forward Lookup Definition Section">&#8220;DNS Master Configuration File  /etc/named.conf Forward Lookup Definition Section&#8221;</a>, and
    818818                <a class="link" href="secure.html#ch4namedvarrev" title="Example 3.11. DNS Master Configuration File /etc/named.conf Reverse Lookup Definition Section">&#8220;DNS Master Configuration File  /etc/named.conf Reverse Lookup Definition Section&#8221;</a> files that are concatenated (merged) in this
    819819                specific order.
    820                 </p></li><li><p>
     820                </p></li><li class="step" title="Step 3"><p>
    821821                Create the files shown in their respective directories as shown in <a class="link" href="secure.html#namedrscfiles" title="Table 3.2. DNS (named) Resource Files">DNS
    822822                (named) Resource Files</a>.
     
    824824                        </p><div class="table"><a name="namedrscfiles"></a><p class="title"><b>Table 3.2. DNS (named) Resource Files</b></p><div class="table-contents"><table summary="DNS (named) Resource Files" border="1"><colgroup><col align="left"><col align="left"></colgroup><thead><tr><th align="left">Reference</th><th align="left">File Location</th></tr></thead><tbody><tr><td align="left"><a class="link" href="appendix.html#loopback" title="Example 15.3. DNS Localhost Forward Zone File: /var/lib/named/localhost.zone">&#8220;DNS Localhost Forward Zone File: /var/lib/named/localhost.zone&#8221;</a></td><td align="left">/var/lib/named/localhost.zone</td></tr><tr><td align="left"><a class="link" href="appendix.html#dnsloopy" title="Example 15.4. DNS Localhost Reverse Zone File: /var/lib/named/127.0.0.zone">&#8220;DNS Localhost Reverse Zone File: /var/lib/named/127.0.0.zone&#8221;</a></td><td align="left">/var/lib/named/127.0.0.zone</td></tr><tr><td align="left"><a class="link" href="appendix.html#roothint" title="Example 15.5. DNS Root Name Server Hint File: /var/lib/named/root.hint">&#8220;DNS Root Name Server Hint File: /var/lib/named/root.hint&#8221;</a></td><td align="left">/var/lib/named/root.hint</td></tr><tr><td align="left"><a class="link" href="secure.html#abmasbiz" title="Example 3.14. DNS Abmas.biz Forward Zone File">&#8220;DNS Abmas.biz Forward Zone File&#8221;</a></td><td align="left">/var/lib/named/master/abmas.biz.hosts</td></tr><tr><td align="left"><a class="link" href="secure.html#abmasus" title="Example 3.15. DNS Abmas.us Forward Zone File">&#8220;DNS Abmas.us Forward Zone File&#8221;</a></td><td align="left">/var/lib/named/abmas.us.hosts</td></tr><tr><td align="left"><a class="link" href="secure.html#eth1zone" title="Example 3.12. DNS 192.168.1 Reverse Zone File">&#8220;DNS 192.168.1 Reverse Zone File&#8221;</a></td><td align="left">/var/lib/named/192.168.1.0.rev</td></tr><tr><td align="left"><a class="link" href="secure.html#eth2zone" title="Example 3.13. DNS 192.168.2 Reverse Zone File">&#8220;DNS 192.168.2 Reverse Zone File&#8221;</a></td><td align="left">/var/lib/named/192.168.2.0.rev</td></tr></tbody></table></div></div><p><br class="table-break">
    825825
    826 </p><div class="example"><a name="ch4namedcfg"></a><p class="title"><b>Example 3.9. DNS Master Configuration File  <code class="filename">/etc/named.conf</code> Master Section</b></p><div class="example-contents"><a class="indexterm" name="id2562202"></a><pre class="screen">
     826</p><div class="example"><a name="ch4namedcfg"></a><p class="title"><b>Example 3.9. DNS Master Configuration File  <code class="filename">/etc/named.conf</code> Master Section</b></p><div class="example-contents"><a class="indexterm" name="id2568260"></a><pre class="screen">
    827827###
    828828# Abmas Biz DNS Control File
     
    10081008</pre></div></div><p><br class="example-break">
    10091009
    1010                 </p></li><li><p>
    1011               <a class="indexterm" name="id2562415"></a><a class="indexterm" name="id2562421"></a>
     1010                </p></li><li class="step" title="Step 4"><p>
     1011              <a class="indexterm" name="id2568474"></a><a class="indexterm" name="id2568479"></a>
    10121012                All DNS name resolution should be handled locally. To ensure that the server is configured
    10131013                correctly to handle this, edit <code class="filename">/etc/resolv.conf</code> to have the following
     
    10181018nameserver 123.45.54.23
    10191019</pre><p>
    1020               <a class="indexterm" name="id2562446"></a>
     1020              <a class="indexterm" name="id2568504"></a>
    10211021                This instructs the name resolver function (when configured correctly) to ask the DNS server
    10221022                that is running locally to resolve names to addresses. In the event that the local name server
    10231023                is not available, ask the name server provided by the ISP. The latter, of course, does not resolve
    10241024                purely local names to IP addresses.
    1025                 </p></li><li><p>
    1026                 <a class="indexterm" name="id2562467"></a>
     1025                </p></li><li class="step" title="Step 5"><p>
     1026                <a class="indexterm" name="id2568525"></a>
    10271027                The final step is to edit the <code class="filename">/etc/nsswitch.conf</code> file.
    10281028                This file controls the operation of the various resolver libraries that are part of the Linux
     
    10361036        processing system.  Then you can configure the server so that all services
    10371037        start automatically on reboot. You must also manually start all services prior to validation testing.
    1038         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="ch4ptrcfg"></a>Printer Configuration</h3></div></div></div><p>
     1038        </p></div><div class="sect2" title="Printer Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="ch4ptrcfg"></a>Printer Configuration</h3></div></div></div><p>
    10391039        Network administrators who are new to CUPS based-printing typically experience some difficulty mastering
    10401040        its powerful features. The steps outlined in this section are designed to navigate around the distractions
     
    10431043        submitted to it. In other words, our configuration turns CUPS into a raw-mode print queue. This means that
    10441044        the correct printer driver must be installed on all clients.
    1045         </p><div class="procedure"><a name="id2562525"></a><p class="title"><b>Procedure 3.4. Printer Configuration Steps</b></p><ol type="1"><li><p>
     1045        </p><div class="procedure" title="Procedure 3.4. Printer Configuration Steps"><a name="id2568584"></a><p class="title"><b>Procedure 3.4. Printer Configuration Steps</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    10461046                Configure each printer to be a DHCP client, carefully following the manufacturer's guidelines.
    1047                 </p></li><li><p>
     1047                </p></li><li class="step" title="Step 2"><p>
    10481048                Follow the instructions in the printer manufacturer's manuals to permit printing to port 9100.
    10491049                Use any other port the manufacturer specifies for direct-mode raw printing, and adjust the
    10501050                port as necessary in the following example commands.
    10511051                This allows the CUPS spooler to print using raw mode protocols.
    1052                 <a class="indexterm" name="id2562551"></a>
    1053                 <a class="indexterm" name="id2562558"></a>
    1054                 </p></li><li><p>
    1055               <a class="indexterm" name="id2562571"></a><a class="indexterm" name="id2562579"></a>
     1052                <a class="indexterm" name="id2568610"></a>
     1053                <a class="indexterm" name="id2568616"></a>
     1054                </p></li><li class="step" title="Step 3"><p>
     1055              <a class="indexterm" name="id2568630"></a><a class="indexterm" name="id2568638"></a>
    10561056                Configure the CUPS Print Queues as follows:
    10571057</p><pre class="screen">
     
    10611061<code class="prompt">root# </code> lpadmin -p hplj6f -v socket://hplj6f.abmas.biz:9100 -E
    10621062</pre><p>
    1063                 <a class="indexterm" name="id2562622"></a>
     1063                <a class="indexterm" name="id2568681"></a>
    10641064                This creates the necessary print queues with no assigned print filter.
    1065                 </p></li><li><p><a class="indexterm" name="id2562637"></a>
     1065                </p></li><li class="step" title="Step 4"><p><a class="indexterm" name="id2568696"></a>
    10661066                Print queues may not be enabled at creation. Use <code class="literal">lpc stat</code> to check
    10671067                the status of the print queues and, if necessary, make certain that the queues you have
     
    10731073<code class="prompt">root# </code> /usr/bin/enable hplj6f
    10741074</pre><p>
    1075                 </p></li><li><p><a class="indexterm" name="id2562692"></a>
     1075                </p></li><li class="step" title="Step 5"><p><a class="indexterm" name="id2568750"></a>
    10761076                Even though your print queues may be enabled, it is still possible that they
    10771077                are not accepting print jobs. A print queue services incoming printing
     
    10841084<code class="prompt">root# </code> /usr/sbin/accept hplj6f
    10851085</pre><p>
    1086                 </p></li><li><p>
    1087                 <a class="indexterm" name="id2562743"></a>
    1088                 <a class="indexterm" name="id2562750"></a>
    1089                 <a class="indexterm" name="id2562757"></a>
     1086                </p></li><li class="step" title="Step 6"><p>
     1087                <a class="indexterm" name="id2568801"></a>
     1088                <a class="indexterm" name="id2568808"></a>
     1089                <a class="indexterm" name="id2568815"></a>
    10901090                Edit the file <code class="filename">/etc/cups/mime.convs</code> to uncomment the line:
    10911091</p><pre class="screen">
    10921092application/octet-stream     application/vnd.cups-raw      0     -
    10931093</pre><p>
    1094                 </p></li><li><p>
    1095                 <a class="indexterm" name="id2562784"></a>
     1094                </p></li><li class="step" title="Step 7"><p>
     1095                <a class="indexterm" name="id2568843"></a>
    10961096                Edit the file <code class="filename">/etc/cups/mime.types</code> to uncomment the line:
    10971097</p><pre class="screen">
    10981098application/octet-stream
    10991099</pre><p>
    1100                 </p></li><li><p>
     1100                </p></li><li class="step" title="Step 8"><p>
    11011101                Printing drivers are installed on each network client workstation.
    11021102                </p></li></ol></div><p>
     
    11051105        </p><p>
    11061106        The UNIX system print queues have been configured and are ready for validation testing.
    1107         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="procstart"></a>Process Startup Configuration</h3></div></div></div><p>
    1108         <a class="indexterm" name="id2562850"></a>
     1107        </p></div><div class="sect2" title="Process Startup Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="procstart"></a>Process Startup Configuration</h3></div></div></div><p>
     1108        <a class="indexterm" name="id2568908"></a>
    11091109        There are two essential steps to process startup configuration. First, the process
    11101110        must be configured so that it automatically restarts each time the server
     
    11151115        necessary start or kill script is run.
    11161116        </p><p>
    1117         <a class="indexterm" name="id2562885"></a>
    1118         <a class="indexterm" name="id2562892"></a>
    1119         <a class="indexterm" name="id2562899"></a>
    1120         <a class="indexterm" name="id2562906"></a>
    1121         <a class="indexterm" name="id2562912"></a>
     1117        <a class="indexterm" name="id2568944"></a>
     1118        <a class="indexterm" name="id2568950"></a>
     1119        <a class="indexterm" name="id2568957"></a>
     1120        <a class="indexterm" name="id2568964"></a>
     1121        <a class="indexterm" name="id2568971"></a>
    11221122        In the event that a service is not run as a daemon, but via the internetworking
    11231123        super daemon (<code class="literal">inetd</code> or <code class="literal">xinetd</code>), then the <code class="literal">chkconfig</code>
     
    11271127        </p><p>
    11281128        Last, each service must be started to permit system validation to proceed.
    1129         </p><div class="procedure"><ol type="1"><li><p>
     1129        </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    11301130                Use the standard system tool to configure each service to restart
    11311131                automatically at every system reboot. For example,
    1132                 <a class="indexterm" name="id2562964"></a>
     1132                <a class="indexterm" name="id2569022"></a>
    11331133</p><pre class="screen">
    11341134<code class="prompt">root# </code> chkconfig dhpcd on
     
    11371137<code class="prompt">root# </code> chkconfig smb on
    11381138</pre><p>
    1139                 </p></li><li><p>
    1140                 <a class="indexterm" name="id2563008"></a>
    1141                 <a class="indexterm" name="id2563015"></a>
    1142                 <a class="indexterm" name="id2563022"></a>
     1139                </p></li><li class="step" title="Step 2"><p>
     1140                <a class="indexterm" name="id2569066"></a>
     1141                <a class="indexterm" name="id2569073"></a>
     1142                <a class="indexterm" name="id2569080"></a>
    11431143                Now start each service to permit the system to be validated.
    11441144                Execute each of the following in the sequence shown:
     
    11501150<code class="prompt">root# </code> /etc/rc.d/init.d/smb restart
    11511151</pre><p>
    1152                 </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="ch4valid"></a>Validation</h3></div></div></div><p>
    1153         <a class="indexterm" name="id2563076"></a>
     1152                </p></li></ol></div></div><div class="sect2" title="Validation"><div class="titlepage"><div><div><h3 class="title"><a name="ch4valid"></a>Validation</h3></div></div></div><p>
     1153        <a class="indexterm" name="id2569134"></a>
    11541154        Complex networking problems are most often caused by simple things that are poorly or incorrectly
    11551155        configured. The validation process adopted here should be followed carefully; it is the result of the
     
    11611161        Later in this book you learn how to make users happier. For now, it is enough to learn to
    11621162        validate. Let's get on with it.
    1163         </p><div class="procedure"><a name="id2563098"></a><p class="title"><b>Procedure 3.5. Server Validation Steps</b></p><ol type="1"><li><p>
    1164                         <a class="indexterm" name="id2563110"></a>
     1163        </p><div class="procedure" title="Procedure 3.5. Server Validation Steps"><a name="id2569157"></a><p class="title"><b>Procedure 3.5. Server Validation Steps</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
     1164                        <a class="indexterm" name="id2569168"></a>
    11651165                        One of the most important facets of Samba configuration is to ensure that
    11661166                        name resolution functions correctly. You can check name resolution
     
    11871187                        This proves that name resolution via the <code class="filename">/etc/hosts</code> file
    11881188                        is working.
    1189                         </p></li><li><p>
    1190                         <a class="indexterm" name="id2563179"></a>
     1189                        </p></li><li class="step" title="Step 2"><p>
     1190                        <a class="indexterm" name="id2569237"></a>
    11911191                        So far, your installation is going particularly well. In this step we validate
    11921192                        DNS server and name resolution operation. Using your favorite UNIX system editor,
     
    11961196hosts:        dns
    11971197</pre><p>
    1198                         </p></li><li><p>
    1199                         <a class="indexterm" name="id2563212"></a>
     1198                        </p></li><li class="step" title="Step 3"><p>
     1199                        <a class="indexterm" name="id2569270"></a>
    12001200                        Before you test DNS operation, it is a good idea to verify that the DNS server
    12011201                        is running by executing the following:
     
    12111211</pre><p>
    12121212                        This means that we are ready to check DNS operation. Do so by executing:
    1213                         <a class="indexterm" name="id2563242"></a>
     1213                        <a class="indexterm" name="id2569300"></a>
    12141214</p><pre class="screen">
    12151215<code class="prompt">root# </code> ping diamond
     
    12271227sleeth1.abmas.biz has address 192.168.1.1
    12281228</pre><p>
    1229                         <a class="indexterm" name="id2563280"></a>
     1229                        <a class="indexterm" name="id2569339"></a>
    12301230                        You may now remove the entry called <code class="constant">diamond</code> from the
    12311231                        <code class="filename">/etc/hosts</code> file. It does not hurt to leave it there,
    12321232                        but its removal reduces the number of administrative steps for this name.
    1233                         </p></li><li><p>
    1234                         <a class="indexterm" name="id2563306"></a>
     1233                        </p></li><li class="step" title="Step 4"><p>
     1234                        <a class="indexterm" name="id2569365"></a>
    12351235                        WINS is a great way to resolve NetBIOS names to their IP address. You can test
    12361236                        the operation of WINS by starting <code class="literal">nmbd</code> (manually or by way
     
    1251125164 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.479 ms
    12521252</pre><p>
    1253                         <a class="indexterm" name="id2563398"></a>
     1253                        <a class="indexterm" name="id2569456"></a>
    12541254                        Now that you can relax with the knowledge that all three major forms of name
    12551255                        resolution to IP address resolution are working, edit the <code class="filename">/etc/nsswitch.conf</code>
     
    12601260</pre><p>
    12611261                        The system is looking good. Let's move on.
    1262                         </p></li><li><p>
     1262                        </p></li><li class="step" title="Step 5"><p>
    12631263                        It would give you peace of mind to know that the DHCP server is running
    12641264                        and available for service. You can validate DHCP services by running:
     
    12711271                        This shows that the server is running. The proof of whether or not it is working
    12721272                        comes when you try to add the first DHCP client to the network.
    1273                         </p></li><li><p>
    1274                         <a class="indexterm" name="id2563458"></a>
     1273                        </p></li><li class="step" title="Step 6"><p>
     1274                        <a class="indexterm" name="id2569516"></a>
    12751275                        This is a good point at which to start validating Samba operation. You are
    12761276                        content that name resolution is working for basic TCP/IP needs. Let's move on.
     
    13431343</pre><p>
    13441344                        Clear away all errors before proceeding.
    1345                         </p></li><li><p>
    1346                         <a class="indexterm" name="id2563559"></a>
    1347                         <a class="indexterm" name="id2563565"></a>
    1348                         <a class="indexterm" name="id2563572"></a>
    1349                         <a class="indexterm" name="id2563579"></a>
     1345                        </p></li><li class="step" title="Step 7"><p>
     1346                        <a class="indexterm" name="id2569617"></a>
     1347                        <a class="indexterm" name="id2569624"></a>
     1348                        <a class="indexterm" name="id2569630"></a>
     1349                        <a class="indexterm" name="id2569637"></a>
    13501350                        Check that the Samba server is running:
    13511351</p><pre class="screen">
     
    13601360</pre><p>
    13611361                        The <code class="literal">winbindd</code> daemon is running in split mode (normal), so there are also
    1362                         two instances<sup>[<a name="id2563610" href="#ftn.id2563610" class="footnote">7</a>]</sup> of it.
    1363                         </p></li><li><p>
    1364                         <a class="indexterm" name="id2563640"></a>
    1365               <a class="indexterm" name="id2563648"></a>
     1362                        two instances<sup>[<a name="id2569669" href="#ftn.id2569669" class="footnote">7</a>]</sup> of it.
     1363                        </p></li><li class="step" title="Step 8"><p>
     1364                        <a class="indexterm" name="id2569699"></a>
     1365              <a class="indexterm" name="id2569706"></a>
    13661366                        Check that an anonymous connection can be made to the Samba server:
    13671367</p><pre class="screen">
     
    13941394                        The <code class="constant">-U%</code> argument means to send a <code class="constant">NULL</code> username and
    13951395                        a <code class="constant">NULL</code> password.
    1396                         </p></li><li><p>
    1397                         <a class="indexterm" name="id2563705"></a>
    1398                         <a class="indexterm" name="id2563712"></a>
    1399                         <a class="indexterm" name="id2563719"></a>
     1396                        </p></li><li class="step" title="Step 9"><p>
     1397                        <a class="indexterm" name="id2569764"></a>
     1398                        <a class="indexterm" name="id2569771"></a>
     1399                        <a class="indexterm" name="id2569778"></a>
    14001400                        Verify that each printer has the IP address assigned in the DHCP server configuration file.
    14011401                        The easiest way to do this is to ping the printer name. Immediately after the ping response
     
    14121412hplj6a (192.168.1.30) at 00:03:47:CB:81:E0 [ether] on eth0
    14131413</pre><p>
    1414               <a class="indexterm" name="id2563766"></a>
     1414              <a class="indexterm" name="id2569824"></a>
    14151415                        The MAC address <code class="constant">00:03:47:CB:81:E0</code> matches that specified for the
    14161416                        IP address from which the printer has responded and with the entry for it in the
    14171417                        <code class="filename">/etc/dhcpd.conf</code> file. Repeat this for each printer configured.
    1418                         </p></li><li><p>
    1419                         <a class="indexterm" name="id2563795"></a>
     1418                        </p></li><li class="step" title="Step 10"><p>
     1419                        <a class="indexterm" name="id2569853"></a>
    14201420                        Make an authenticated connection to the server using the <code class="literal">smbclient</code> tool:
    14211421</p><pre class="screen">
     
    14351435smb: \&gt; q
    14361436</pre><p>
    1437                         </p></li><li><p>
    1438                         <a class="indexterm" name="id2563852"></a>
     1437                        </p></li><li class="step" title="Step 11"><p>
     1438                        <a class="indexterm" name="id2569910"></a>
    14391439                        Your new server is connected to an Internet-accessible connection. Before you start
    14401440                        your firewall, you should run a port scanner against your system. You should repeat that
     
    15101510Nmap run completed -- 1 IP address (1 host up) scanned in 168 seconds
    15111511</pre><p>
    1512                         </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="ch4appscfg"></a>Application Share Configuration</h3></div></div></div><p>
    1513         <a class="indexterm" name="id2563955"></a>
    1514         <a class="indexterm" name="id2563962"></a>
     1512                        </p></li></ol></div></div><div class="sect2" title="Application Share Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="ch4appscfg"></a>Application Share Configuration</h3></div></div></div><p>
     1513        <a class="indexterm" name="id2570013"></a>
     1514        <a class="indexterm" name="id2570020"></a>
    15151515        The use of an application server is a key mechanism by which desktop administration overheads
    15161516        can be reduced. Check the application manual for your software to identify how best to
     
    15201520        is typically not suited for administrative installation. Administratively installed software
    15211521        permits one or more of the following installation choices:
    1522         </p><div class="itemizedlist"><ul type="disc"><li><p>
     1522        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    15231523                Install software fully onto a workstation, storing data files on the same workstation.
    1524                 </p></li><li><p>
     1524                </p></li><li class="listitem"><p>
    15251525                Install software fully onto a workstation with central network data file storage.
    1526                 </p></li><li><p>
     1526                </p></li><li class="listitem"><p>
    15271527                Install software to run off a central application server with data files stored
    15281528                on the local workstation. This is often called a minimum installation, or a
    15291529                network client installation.
    1530                 </p></li><li><p>
     1530                </p></li><li class="listitem"><p>
    15311531                Install software to run off a central application server with data files stored
    15321532                on a central network share. This type of installation often prevents storage
    15331533                of work files on the local workstation.
    15341534                </p></li></ul></div><p>
    1535         <a class="indexterm" name="id2564014"></a>
     1535        <a class="indexterm" name="id2570072"></a>
    15361536        A common application deployed in this environment is an office suite.
    15371537        Enterprise editions of Microsoft Office XP Professional can be administratively installed
     
    15501550        local disk space. In the latter case, when the applications are used, they load over the network.
    15511551        </p><p>
    1552         <a class="indexterm" name="id2564051"></a>
    1553         <a class="indexterm" name="id2564058"></a>
     1552        <a class="indexterm" name="id2570109"></a>
     1553        <a class="indexterm" name="id2570116"></a>
    15541554        Microsoft Office Service Packs can be unpacked to update an administrative share. This makes
    15551555        it possible to update MS Office XP Professional for all users from a single installation
     
    15601560        editing or by way of configuration options inside each Office XP Professional application.
    15611561        </p><p>
    1562         <a class="indexterm" name="id2564080"></a>
     1562        <a class="indexterm" name="id2570138"></a>
    15631563        OpenOffice.Org OpenOffice Version 1.1.0 can be installed locally. It can also
    15641564        be installed to run off a network share. The latter is a most desirable solution for office-bound
     
    15731573        share point. The full administrative OpenOffice share takes approximately 150 MB of disk
    15741574        space.
    1575         </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2564111"></a>Comments Regarding Software Terms of Use</h4></div></div></div><p>
     1575        </p><div class="sect3" title="Comments Regarding Software Terms of Use"><div class="titlepage"><div><div><h4 class="title"><a name="id2570170"></a>Comments Regarding Software Terms of Use</h4></div></div></div><p>
    15761576                        Many single-user products can be installed into an administrative share, but
    15771577                        personal versions of products such as Microsoft Office XP Professional do not permit this.
     
    15971597                        please do not use the software.
    15981598                        </p><p>
    1599                         <a class="indexterm" name="id2564159"></a>
     1599                        <a class="indexterm" name="id2570218"></a>
    16001600                        Samba is provided under the terms of the GNU GPL Version 2, a copy of which is provided
    16011601                        with the source code.
    1602                         </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="ch4wincfg"></a>Windows Client Configuration</h3></div></div></div><p>
     1602                        </p></div></div><div class="sect2" title="Windows Client Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="ch4wincfg"></a>Windows Client Configuration</h3></div></div></div><p>
    16031603        Christine needs to roll out 130 new desktop systems. There is no doubt that she also needs
    16041604        to reinstall many of the notebook computers that will be recycled for use with the new network
     
    16071607        Ghost (enterprise edition) to replicate the staged machine to its target desktops. The same can
    16081608        be done with notebook computers as long as they are identical or sufficiently similar.
    1609         </p><div class="procedure"><a name="sbewinclntprep"></a><p class="title"><b>Procedure 3.6. Windows Client Configuration Procedure</b></p><ol type="1"><li><p>
    1610                 <a class="indexterm" name="id2564210"></a>
    1611                 <a class="indexterm" name="id2564217"></a>
     1609        </p><div class="procedure" title="Procedure 3.6. Windows Client Configuration Procedure"><a name="sbewinclntprep"></a><p class="title"><b>Procedure 3.6. Windows Client Configuration Procedure</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
     1610                <a class="indexterm" name="id2570268"></a>
     1611                <a class="indexterm" name="id2570275"></a>
    16121612                Install MS Windows XP Professional. During installation, configure the client to use DHCP for
    16131613                TCP/IP protocol configuration. DHCP configures all Windows clients to use the WINS Server
    16141614                address that has been defined for the local subnet.
    1615                 </p></li><li><p>
     1615                </p></li><li class="step" title="Step 2"><p>
    16161616                Join the Windows Domain <code class="constant">PROMISES</code>. Use the Domain Administrator
    16171617                username <code class="constant">root</code> and the SMB password you assigned to this account.
     
    16201620                Reboot the machine as prompted and then log on using the Domain Administrator account
    16211621                (<code class="constant">root</code>).
    1622                 </p></li><li><p>
     1622                </p></li><li class="step" title="Step 3"><p>
    16231623                Verify <code class="constant">DIAMOND</code> is visible in <span class="guimenu">My Network Places</span>,
    16241624                that it is possible to connect to it and see the shares <span class="guimenuitem">accounts</span>,
    16251625                <span class="guimenuitem">apps</span>, and <span class="guimenuitem">finsvcs</span>, and that it is
    16261626                possible to open each share to reveal its contents.
    1627                 </p></li><li><p>
     1627                </p></li><li class="step" title="Step 4"><p>
    16281628                Create a drive mapping to the <code class="constant">apps</code> share on the server <code class="constant">DIAMOND</code>.
    1629                 </p></li><li><p>
     1629                </p></li><li class="step" title="Step 5"><p>
    16301630                Perform an administrative installation of each application to be used. Select the options
    16311631                that you wish to use. Of course, you can choose to run applications over the network, correct?
    1632                 </p></li><li><p>
     1632                </p></li><li class="step" title="Step 6"><p>
    16331633                Now install all applications to be installed locally. Typical tools include Adobe Acrobat,
    16341634                NTP-based time synchronization software, drivers for specific local devices such as fingerprint
    16351635                scanners, and the like. Probably the most significant application for local installation
    16361636                is antivirus software.
    1637                 </p></li><li><p>
     1637                </p></li><li class="step" title="Step 7"><p>
    16381638                Now install all four printers onto the staging system. The printers you install
    16391639                include the accounting department HP LaserJet 6 and Minolta QMS Magicolor printers. You will
     
    16411641                Install printers on each machine following the steps shown in the Windows client printer
    16421642                preparation procedure below.
    1643                 </p></li><li><p>
    1644                 <a class="indexterm" name="id2564354"></a>
     1643                </p></li><li class="step" title="Step 8"><p>
     1644                <a class="indexterm" name="id2570413"></a>
    16451645                When you are satisfied that the staging systems are complete, use the appropriate procedure to
    16461646                remove the client from the domain. Reboot the system and then log on as the local administrator
    16471647                and clean out all temporary files stored on the system. Before shutting down, use the disk
    16481648                defragmentation tool so that the file system is in optimal condition before replication.
    1649                 </p></li><li><p>
     1649                </p></li><li class="step" title="Step 9"><p>
    16501650                Boot the workstation using the Norton (Symantec) Ghosting diskette (or CD-ROM) and image the
    16511651                machine to a network share on the server.
    1652                 </p></li><li><p>
    1653                 <a class="indexterm" name="id2564384"></a>
    1654                 <a class="indexterm" name="id2564393"></a>
     1652                </p></li><li class="step" title="Step 10"><p>
     1653                <a class="indexterm" name="id2570442"></a>
     1654                <a class="indexterm" name="id2570452"></a>
    16551655                You may now replicate the image to the target machines using the appropriate Norton Ghost
    16561656                procedure. Make sure to use the procedure that ensures each machine has a unique
    16571657                Windows security identifier (SID). When the installation of the disk image has completed, boot the PC.
    1658                 </p></li><li><p>
     1658                </p></li><li class="step" title="Step 11"><p>
    16591659                Log on to the machine as the local Administrator (the only option), and join the machine to
    16601660                the Domain, following the procedure set out in <a class="link" href="appendix.html" title="Chapter 15. A Collection of Useful Tidbits">&#8220;A Collection of Useful Tidbits&#8221;</a>, <a class="link" href="appendix.html#domjoin" title="Joining a Domain: Windows 200x/XP Professional">&#8220;Joining a Domain: Windows 200x/XP Professional&#8221;</a>. The system is now
    16611661                ready for the user to log on, provided you have created a network logon account for that
    16621662                user, of course.
    1663                 </p></li><li><p>
     1663                </p></li><li class="step" title="Step 12"><p>
    16641664                Instruct all users to log on to the workstation using their assigned username and password.
    1665                 </p></li></ol></div><div class="procedure"><a name="sbewinclntptrprep"></a><p class="title"><b>Procedure 3.7. Windows Client Printer Preparation Procedure</b></p><ol type="1"><li><p>
     1665                </p></li></ol></div><div class="procedure" title="Procedure 3.7. Windows Client Printer Preparation Procedure"><a name="sbewinclntptrprep"></a><p class="title"><b>Procedure 3.7. Windows Client Printer Preparation Procedure</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    16661666                Click <span class="guimenu">Start</span> &#8594; <span class="guimenuitem">Settings</span> &#8594; <span class="guimenuitem">Printers</span>+<span class="guiicon">Add Printer</span>+<span class="guibutton">Next</span>. Do not click <span class="guimenuitem">Network printer</span>.
    16671667                        Ensure that <span class="guimenuitem">Local printer</span> is selected.
    1668                 </p></li><li><p>
     1668                </p></li><li class="step" title="Step 2"><p>
    16691669                Click <span class="guibutton">Next</span>. In the
    16701670                <span class="guimenuitem">Manufacturer:</span> panel, select <code class="constant">HP</code>.
    16711671                In the <span class="guimenuitem">Printers:</span> panel, select the printer called
    16721672                <code class="constant">HP LaserJet 6</code>. Click <span class="guibutton">Next</span>.
    1673                 </p></li><li><p>
     1673                </p></li><li class="step" title="Step 3"><p>
    16741674                In the <span class="guimenuitem">Available ports:</span> panel, select
    16751675                <code class="constant">FILE:</code>. Accept the default printer name by clicking
    1676                 <span class="guibutton">Next</span>. When asked, &#8220;<span class="quote">Would you like to print a
    1677                 test page?,</span>&#8221; click <span class="guimenuitem">No</span>. Click
     1676                <span class="guibutton">Next</span>. When asked, <span class="quote">&#8220;<span class="quote">Would you like to print a
     1677                test page?,</span>&#8221;</span> click <span class="guimenuitem">No</span>. Click
    16781678                <span class="guibutton">Finish</span>.
    1679                 </p></li><li><p>
     1679                </p></li><li class="step" title="Step 4"><p>
    16801680                You may be prompted for the name of a file to print to. If so, close the
    16811681                dialog panel. Right-click <span class="guiicon">HP LaserJet 6</span> &#8594; <span class="guimenuitem">Properties</span> &#8594; <span class="guisubmenu">Details (Tab)</span> &#8594; <span class="guimenuitem">Add Port</span>.
    1682                 </p></li><li><p>
     1682                </p></li><li class="step" title="Step 5"><p>
    16831683                In the <span class="guimenuitem">Network</span> panel, enter the name of
    16841684                the print queue on the Samba server as follows: <code class="constant">\\DIAMOND\hplj6a</code>.
    16851685                Click <span class="guibutton">OK</span>+<span class="guibutton">OK</span> to complete the installation.
    1686                 </p></li><li><p>
     1686                </p></li><li class="step" title="Step 6"><p>
    16871687                Repeat the printer installation steps above for both HP LaserJet 6 printers
    16881688                as well as for both QMS Magicolor laser printers.
    1689                 </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2564663"></a>Key Points Learned</h3></div></div></div><p>
     1689                </p></li></ol></div></div><div class="sect2" title="Key Points Learned"><div class="titlepage"><div><div><h3 class="title"><a name="id2570721"></a>Key Points Learned</h3></div></div></div><p>
    16901690                How do you feel? You have built a capable network, a truly ambitious project.
    16911691                Future network updates can be handled by
    16921692                your staff. You must be a satisfied manager. Let's review the achievements.
    1693                 </p><div class="itemizedlist"><ul type="disc"><li><p>
     1693                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    16941694                        A simple firewall has been configured to protect the server in the event that
    16951695                        the ISP firewall service should fail.
    1696                         </p></li><li><p>
     1696                        </p></li><li class="listitem"><p>
    16971697                        The Samba configuration uses measures to ensure that only local network users
    16981698                        can connect to SMB/CIFS services.
    1699                         </p></li><li><p>
     1699                        </p></li><li class="listitem"><p>
    17001700                        Samba uses the new <code class="constant">tdbsam</code> passdb backend facility.
    17011701                        Considerable complexity was added to Samba functionality.
    1702                         </p></li><li><p>
     1702                        </p></li><li class="listitem"><p>
    17031703                        A DHCP server was configured to implement dynamic DNS (DDNS) updates to the DNS
    17041704                        server.
    1705                         </p></li><li><p>
     1705                        </p></li><li class="listitem"><p>
    17061706                        The DNS server was configured to permit DDNS only for local network clients. This
    17071707                        server also provides primary DNS services for the company Internet presence.
    1708                         </p></li><li><p>
     1708                        </p></li><li class="listitem"><p>
    17091709                        You introduced an application server as well as the concept of cloning a Windows
    17101710                        client in order to effect improved standardization of desktops and to reduce
    17111711                        the costs of network management.
    1712                         </p></li></ul></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2564725"></a>Questions and Answers</h2></div></div></div><p>
    1713         </p><div class="qandaset"><dl><dt>1. <a href="secure.html#id2564741">
     1712                        </p></li></ul></div></div></div><div class="sect1" title="Questions and Answers"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2570783"></a>Questions and Answers</h2></div></div></div><p>
     1713        </p><div class="qandaset" title="Frequently Asked Questions"><a name="id2570793"></a><dl><dt>1. <a href="secure.html#id2570799">
    17141714                What is the maximum number of account entries that the tdbsam
    17151715                passdb backend can handle?
    1716                 </a></dt><dt>2. <a href="secure.html#id2564809">
     1716                </a></dt><dt>2. <a href="secure.html#id2570868">
    17171717                Would Samba operate any better if the OS level is set to a value higher than 35?
    1718                 </a></dt><dt>3. <a href="secure.html#id2564831">
     1718                </a></dt><dt>3. <a href="secure.html#id2570890">
    17191719                Why in this example have you provided UNIX group to Windows Group mappings for only Domain Groups?
    1720                 </a></dt><dt>4. <a href="secure.html#id2564854">
     1720                </a></dt><dt>4. <a href="secure.html#id2570913">
    17211721                Why has a path been specified in the IPC$ share?
    1722                 </a></dt><dt>5. <a href="secure.html#id2564882">
     1722                </a></dt><dt>5. <a href="secure.html#id2570941">
    17231723                Why does the smb.conf file in this exercise include an entry for smb ports?
    1724                 </a></dt><dt>6. <a href="secure.html#id2564929">
     1724                </a></dt><dt>6. <a href="secure.html#id2570988">
    17251725                What is the difference between a print queue and a printer?
    1726                 </a></dt><dt>7. <a href="secure.html#id2564965">
     1726                </a></dt><dt>7. <a href="secure.html#id2571024">
    17271727                Can all MS Windows application software be installed onto an application server share?
    1728                 </a></dt><dt>8. <a href="secure.html#id2564990">
     1728                </a></dt><dt>8. <a href="secure.html#id2571048">
    17291729                Why use dynamic DNS (DDNS)?
    1730                 </a></dt><dt>9. <a href="secure.html#id2565009">
     1730                </a></dt><dt>9. <a href="secure.html#id2571068">
    17311731                Why would you use WINS as well as DNS-based name resolution?
    1732                 </a></dt><dt>10. <a href="secure.html#id2565094">
     1732                </a></dt><dt>10. <a href="secure.html#id2571153">
    17331733                What are the major benefits of using an application server?
    1734                 </a></dt></dl><table border="0" summary="Q and A Set"><col align="left" width="1%"><tbody><tr class="question"><td align="left" valign="top"><a name="id2564741"></a><a name="id2564743"></a><p><b>1.</b></p></td><td align="left" valign="top"><p>
     1734                </a></dt></dl><table border="0" width="100%" summary="Q and A Set"><col align="left" width="1%"><col><tbody><tr class="question" title="1."><td align="left" valign="top"><a name="id2570799"></a><a name="id2570801"></a><p><b>1.</b></p></td><td align="left" valign="top"><p>
    17351735                What is the maximum number of account entries that the <em class="parameter"><code>tdbsam</code></em>
    17361736                passdb backend can handle?
     
    17581758                not provide a mechanism for replicating tdbsam data so it can be used by a BDC. The
    17591759                limitation of 250 users per tdbsam is predicated only on the need for replication,
    1760                 not on the limits<sup>[<a name="id2564799" href="#ftn.id2564799" class="footnote">8</a>]</sup> of the tdbsam backend itself.
    1761                 </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2564809"></a><a name="id2564812"></a><p><b>2.</b></p></td><td align="left" valign="top"><p>
     1760                not on the limits<sup>[<a name="id2570857" href="#ftn.id2570857" class="footnote">8</a>]</sup> of the tdbsam backend itself.
     1761                </p></td></tr><tr class="question" title="2."><td align="left" valign="top"><a name="id2570868"></a><a name="id2570870"></a><p><b>2.</b></p></td><td align="left" valign="top"><p>
    17621762                Would Samba operate any better if the OS level is set to a value higher than 35?
    17631763                </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>
     
    17651765                of 35 already assures Samba of precedence over MS Windows products in browser elections. There is
    17661766                no gain to be had from setting this higher.
    1767                 </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2564831"></a><a name="id2564833"></a><p><b>3.</b></p></td><td align="left" valign="top"><p>
     1767                </p></td></tr><tr class="question" title="3."><td align="left" valign="top"><a name="id2570890"></a><a name="id2570892"></a><p><b>3.</b></p></td><td align="left" valign="top"><p>
    17681768                Why in this example have you provided UNIX group to Windows Group mappings for only Domain Groups?
    17691769                </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>
     
    17711771                a later date Samba may make use of Windows Local Groups, as well as of the Active Directory special
    17721772                Groups. Proper operation requires Domain Groups to be mapped to valid UNIX groups.
    1773                 </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2564854"></a><a name="id2564856"></a><p><b>4.</b></p></td><td align="left" valign="top"><p>
     1773                </p></td></tr><tr class="question" title="4."><td align="left" valign="top"><a name="id2570913"></a><a name="id2570915"></a><p><b>4.</b></p></td><td align="left" valign="top"><p>
    17741774                Why has a path been specified in the <em class="parameter"><code>IPC$</code></em> share?
    17751775                </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>
     
    17771777                obtain access to the file system, it does so at a location that presents least risk. Under normal operation
    17781778                this type of paranoid step should not be necessary. The use of this parameter should not be necessary.
    1779                 </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2564882"></a><a name="id2564885"></a><p><b>5.</b></p></td><td align="left" valign="top"><p>
     1779                </p></td></tr><tr class="question" title="5."><td align="left" valign="top"><a name="id2570941"></a><a name="id2570943"></a><p><b>5.</b></p></td><td align="left" valign="top"><p>
    17801780                Why does the <code class="filename">smb.conf</code> file in this exercise include an entry for <a class="link" href="smb.conf.5.html#SMBPORTS" target="_top">smb ports</a>?
    17811781                </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>
     
    17861786                The result of this is improved network performance. Where Samba-3 is installed as an Active Directory Domain
    17871787                member, the default behavior is highly beneficial and should not be changed.
    1788                 </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2564929"></a><a name="id2564931"></a><p><b>6.</b></p></td><td align="left" valign="top"><p>
     1788                </p></td></tr><tr class="question" title="6."><td align="left" valign="top"><a name="id2570988"></a><a name="id2570990"></a><p><b>6.</b></p></td><td align="left" valign="top"><p>
    17891789                What is the difference between a print queue and a printer?
    17901790                </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>
     
    18001800                and the job is then submitted to a sequential print queue where the job is stored until
    18011801                the printer is ready to receive the job.
    1802                 </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2564965"></a><a name="id2564967"></a><p><b>7.</b></p></td><td align="left" valign="top"><p>
     1802                </p></td></tr><tr class="question" title="7."><td align="left" valign="top"><a name="id2571024"></a><a name="id2571026"></a><p><b>7.</b></p></td><td align="left" valign="top"><p>
    18031803                Can all MS Windows application software be installed onto an application server share?
    18041804                </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>
     
    18081808                Professional do not permit installation to an application server share and can be installed
    18091809                and used only to/from a local workstation hard disk.
    1810                 </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2564990"></a><a name="id2564992"></a><p><b>8.</b></p></td><td align="left" valign="top"><p>
     1810                </p></td></tr><tr class="question" title="8."><td align="left" valign="top"><a name="id2571048"></a><a name="id2571050"></a><p><b>8.</b></p></td><td align="left" valign="top"><p>
    18111811                Why use dynamic DNS (DDNS)?
    18121812                </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>
     
    18141814                network clients that are not NetBIOS-enabled, and thus cannot use WINS, to locate
    18151815                Windows clients via DNS.
    1816                 </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2565009"></a><a name="id2565011"></a><p><b>9.</b></p></td><td align="left" valign="top"><p>
     1816                </p></td></tr><tr class="question" title="9."><td align="left" valign="top"><a name="id2571068"></a><a name="id2571070"></a><p><b>9.</b></p></td><td align="left" valign="top"><p>
    18171817                Why would you use WINS as well as DNS-based name resolution?
    18181818                </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>
    18191819                WINS is to NetBIOS names as DNS is to fully qualified domain names (FQDN). The FQDN is
    1820                 a name like &#8220;<span class="quote">myhost.mydomain.tld</span>&#8221; where <em class="parameter"><code>tld</code></em>
     1820                a name like <span class="quote">&#8220;<span class="quote">myhost.mydomain.tld</span>&#8221;</span> where <em class="parameter"><code>tld</code></em>
    18211821                means <code class="constant">top-level domain</code>. A FQDN is a longhand but easy-to-remember
    18221822                expression that may be up to 1024 characters in length and that represents an IP address.
    18231823                A NetBIOS name is always 16 characters long. The 16<sup>th</sup> character
    1824                 is a name type indicator. A specific name type is registered<sup>[<a name="id2565047" href="#ftn.id2565047" class="footnote">9</a>]</sup> for each
     1824                is a name type indicator. A specific name type is registered<sup>[<a name="id2571106" href="#ftn.id2571106" class="footnote">9</a>]</sup> for each
    18251825                type of service that is provided by the Windows server or client and that may be registered
    18261826                where a WINS server is in use.
     
    18371837                </p><p>
    18381838                Windows 200x Active Directory requires the registration in the DNS zone for the domain it
    1839                 controls of service locator<sup>[<a name="id2565081" href="#ftn.id2565081" class="footnote">10</a>]</sup> records
     1839                controls of service locator<sup>[<a name="id2571140" href="#ftn.id2571140" class="footnote">10</a>]</sup> records
    18401840                that Windows clients and servers will use to locate Kerberos and LDAP services. ADS also
    18411841                requires the registration of special records that are called global catalog (GC) entries
    18421842                and site entries by which domain controllers and other essential ADS servers may be located.
    1843                 </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2565094"></a><a name="id2565096"></a><p><b>10.</b></p></td><td align="left" valign="top"><p>
     1843                </p></td></tr><tr class="question" title="10."><td align="left" valign="top"><a name="id2571153"></a><a name="id2571155"></a><p><b>10.</b></p></td><td align="left" valign="top"><p>
    18441844                What are the major benefits of using an application server?
    18451845                </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>
     
    18481848                one location for all major applications used. This results in faster update roll-outs and
    18491849                significantly better application usage control.
    1850                 </p></td></tr></tbody></table></div></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id2559643" href="#id2559643" class="para">5</a>] </sup>See <span class="emphasis"><em>TOSHARG2</em></span>, Chapter 3.
     1850                </p></td></tr></tbody></table></div></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id2565700" href="#id2565700" class="para">5</a>] </sup>See <span class="emphasis"><em>TOSHARG2</em></span>, Chapter 3.
    18511851                This is necessary so that Samba can act as a Domain Controller (PDC); see
    1852                 <span class="emphasis"><em>TOSHARG2</em></span>, Chapter 4, for additional information.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2560023" href="#id2560023" class="para">6</a>] </sup>You may want to do the echo command last and include
    1853                                 "0" in the init scripts, since it opens up your network for a short time.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2563610" href="#id2563610" class="para">7</a>] </sup>For more information regarding winbindd, see <span class="emphasis"><em>TOSHARG2</em></span>,
     1852                <span class="emphasis"><em>TOSHARG2</em></span>, Chapter 4, for additional information.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2566081" href="#id2566081" class="para">6</a>] </sup>You may want to do the echo command last and include
     1853                                "0" in the init scripts, since it opens up your network for a short time.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2569669" href="#id2569669" class="para">7</a>] </sup>For more information regarding winbindd, see <span class="emphasis"><em>TOSHARG2</em></span>,
    18541854                        Chapter 23, Section 23.3. The single instance of <code class="literal">smbd</code> is normal. One additional
    18551855                        <code class="literal">smbd</code> slave process is spawned for each SMB/CIFS client
    1856                         connection.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2564799" href="#id2564799" class="para">8</a>] </sup>Bench tests have shown that tdbsam is a very
     1856                        connection.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2570857" href="#id2570857" class="para">8</a>] </sup>Bench tests have shown that tdbsam is a very
    18571857                effective database technology.  There is surprisingly little performance loss even
    1858                 with over 4000 users.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2565047" href="#id2565047" class="para">9</a>] </sup>
    1859                 See <span class="emphasis"><em>TOSHARG2</em></span>, Chapter 9, for more information.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2565081" href="#id2565081" class="para">10</a>] </sup>See TOSHARG2, Chapter 9, Section 9.3.3.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="small.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ExNetworks.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="Big500users.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 2. Small Office Networking </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 4. The 500-User Office</td></tr></table></div></body></html>
     1858                with over 4000 users.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2571106" href="#id2571106" class="para">9</a>] </sup>
     1859                See <span class="emphasis"><em>TOSHARG2</em></span>, Chapter 9, for more information.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2571140" href="#id2571140" class="para">10</a>] </sup>See TOSHARG2, Chapter 9, Section 9.3.3.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="small.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ExNetworks.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="Big500users.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 2. Small Office Networking </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 4. The 500-User Office</td></tr></table></div></body></html>
Note: See TracChangeset for help on using the changeset viewer.