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)

Location:
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO
Files:
63 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/AccessControls.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 16. File, Directory, and Share Access Controls</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="rights.html" title="Chapter 15. User Rights and Privileges"><link rel="next" href="locking.html" title="Chapter 17. File and Record Locking"></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 16. File, Directory, and Share Access Controls</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rights.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="locking.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="AccessControls"></a>Chapter 16. File, Directory, and Share Access Controls</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jeremy</span> <span class="orgname">Samba Team</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><span class="contrib">drawing</span> <div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">May 10, 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="AccessControls.html#id2610573">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2610760">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2611116">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2611240">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2611906">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2611939">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2612307">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2612644">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2612982">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2613130">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2613477">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2613483">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613530">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613601">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613745">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613960">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614117">Interaction with the Standard Samba create mask Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614486">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614559">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2614978">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2614990">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2615312">File Operations Done as root with force user Set</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2615358">MS Word with Samba Changes Owner of File</a></span></dt></dl></dd></dl></div><p>
    2 <a class="indexterm" name="id2610404"></a>
    3 <a class="indexterm" name="id2610410"></a>
    4 <a class="indexterm" name="id2610417"></a>
    5 <a class="indexterm" name="id2610424"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 16. File, Directory, and Share Access Controls</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="rights.html" title="Chapter 15. User Rights and Privileges"><link rel="next" href="locking.html" title="Chapter 17. File and Record Locking"></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 16. File, Directory, and Share Access Controls</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rights.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="locking.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 16. File, Directory, and Share Access Controls"><div class="titlepage"><div><div><h2 class="title"><a name="AccessControls"></a>Chapter 16. File, Directory, and Share Access Controls</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jeremy</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><span class="contrib">drawing</span> <div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">May 10, 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="AccessControls.html#id2616650">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2616837">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2617188">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2617311">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2617982">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2618015">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2618383">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2618720">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2619058">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2619206">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2619552">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2619559">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2619606">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2619677">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2619821">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620036">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620193">Interaction with the Standard Samba <span class="quote">&#8220;<span class="quote">create mask</span>&#8221;</span> Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620562">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620635">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2621054">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2621066">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2621388">File Operations Done as <span class="emphasis"><em>root</em></span> with <span class="emphasis"><em>force user</em></span> Set</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2621434">MS Word with Samba Changes Owner of File</a></span></dt></dl></dd></dl></div><p>
     2<a class="indexterm" name="id2616481"></a>
     3<a class="indexterm" name="id2616487"></a>
     4<a class="indexterm" name="id2616494"></a>
     5<a class="indexterm" name="id2616501"></a>
    66Advanced MS Windows users are frequently perplexed when file, directory, and share manipulation of
    77resources shared via Samba do not behave in the manner they might expect. MS Windows network
     
    99provide users with the access they need while protecting resources from unauthorized access.
    1010</p><p>
    11 <a class="indexterm" name="id2610441"></a>
    12 <a class="indexterm" name="id2610448"></a>
     11<a class="indexterm" name="id2616518"></a>
     12<a class="indexterm" name="id2616525"></a>
    1313Many UNIX administrators are unfamiliar with the MS Windows environment and in particular
    1414have difficulty in visualizing what the MS Windows user wishes to achieve in attempts to set file
    1515and directory access permissions.
    1616</p><p>
    17 <a class="indexterm" name="id2610462"></a>
    18 <a class="indexterm" name="id2610469"></a>
    19 <a class="indexterm" name="id2610476"></a>
    20 <a class="indexterm" name="id2610483"></a>
     17<a class="indexterm" name="id2616539"></a>
     18<a class="indexterm" name="id2616546"></a>
     19<a class="indexterm" name="id2616553"></a>
     20<a class="indexterm" name="id2616560"></a>
    2121The problem lies in the differences in how file and directory permissions and controls work
    2222between the two environments. This difference is one that Samba cannot completely hide, even
    2323though it does try to bridge the chasm to a degree.
    2424</p><p>
    25 <a class="indexterm" name="id2610496"></a>
    26 <a class="indexterm" name="id2610502"></a>
    27 <a class="indexterm" name="id2610512"></a>
    28 <a class="indexterm" name="id2610519"></a>
     25<a class="indexterm" name="id2616573"></a>
     26<a class="indexterm" name="id2616580"></a>
     27<a class="indexterm" name="id2616589"></a>
     28<a class="indexterm" name="id2616596"></a>
    2929POSIX Access Control List technology has been available (along with extended attributes)
    3030for UNIX for many years, yet there is little evidence today of any significant use. This
     
    3333decade-old MS Windows NT operating system.
    3434</p><p>
    35 <a class="indexterm" name="id2610536"></a>
     35<a class="indexterm" name="id2616613"></a>
    3636The purpose of this chapter is to present each of the points of control that are possible with
    3737Samba-3 in the hope that this will help the network administrator to find the optimum method
    3838for delivering the best environment for MS Windows desktop users.
    3939</p><p>
    40 <a class="indexterm" name="id2610550"></a>
    41 <a class="indexterm" name="id2610557"></a>
     40<a class="indexterm" name="id2616628"></a>
     41<a class="indexterm" name="id2616634"></a>
    4242This is an opportune point to mention that Samba was created to provide a means of interoperability
    4343and interchange of data between differing operating environments. Samba has no intent to change
     
    4545level of exchange of data between the two environments. What is available today extends well
    4646beyond early plans and expectations, yet the gap continues to shrink.
    47 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2610573"></a>Features and Benefits</h2></div></div></div><p>
     47</p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2616650"></a>Features and Benefits</h2></div></div></div><p>
    4848        Samba offers much flexibility in file system access management. These are the key access control
    4949        facilities present in Samba today:
    50         </p><div class="itemizedlist"><p class="title"><b>Samba Access Control Facilities</b></p><ul type="disc"><li><p>
    51                 <a class="indexterm" name="id2610594"></a>
     50        </p><div class="itemizedlist" title="Samba Access Control Facilities"><p class="title"><b>Samba Access Control Facilities</b></p><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     51                <a class="indexterm" name="id2616671"></a>
    5252                <span class="emphasis"><em>UNIX File and Directory Permissions</em></span>
    5353                </p><p>
    54 <a class="indexterm" name="id2610610"></a>
    55 <a class="indexterm" name="id2610618"></a>
    56 <a class="indexterm" name="id2610624"></a>
     54<a class="indexterm" name="id2616687"></a>
     55<a class="indexterm" name="id2616695"></a>
     56<a class="indexterm" name="id2616702"></a>
    5757                        Samba honors and implements UNIX file system access controls. Users
    5858                        who access a Samba server will do so as a particular MS Windows user.
     
    6262                        (files and directories). This chapter provides an overview for those
    6363                        to whom the UNIX permissions and controls are a little strange or unknown.
    64                         </p></li><li><p>
     64                        </p></li><li class="listitem"><p>
    6565                <span class="emphasis"><em>Samba Share Definitions</em></span>
    6666                </p><p>
    67 <a class="indexterm" name="id2610653"></a>
     67<a class="indexterm" name="id2616730"></a>
    6868                        In configuring share settings and controls in the <code class="filename">smb.conf</code> file,
    6969                        the network administrator can exercise overrides to native file
     
    7272                        but it is seldom the <span class="emphasis"><em>best</em></span> way to achieve this.
    7373                        The basic options and techniques are described herein.
    74                         </p></li><li><p>
     74                        </p></li><li class="listitem"><p>
    7575                <span class="emphasis"><em>Samba Share ACLs</em></span>
    76                 <a class="indexterm" name="id2610684"></a>
    77                 </p><p>
    78 <a class="indexterm" name="id2610697"></a>
     76                <a class="indexterm" name="id2616761"></a>
     77                </p><p>
     78<a class="indexterm" name="id2616774"></a>
    7979                        Just as it is possible in MS Windows NT to set ACLs on shares
    8080                        themselves, so it is possible to do in Samba.
     
    8282                        easiest ways to affect access controls (restrictions) and can often
    8383                        do so with minimum invasiveness compared with other methods.
    84                         </p></li><li><p>
    85                                 <a class="indexterm" name="id2610714"></a>
    86                                 <a class="indexterm" name="id2610724"></a>
     84                        </p></li><li class="listitem"><p>
     85                                <a class="indexterm" name="id2616792"></a>
     86                                <a class="indexterm" name="id2616801"></a>
    8787                <span class="emphasis"><em>MS Windows ACLs through UNIX POSIX ACLs</em></span>
    8888                </p><p>
    89 <a class="indexterm" name="id2610740"></a>
     89<a class="indexterm" name="id2616817"></a>
    9090                        The use of POSIX ACLs on UNIX/Linux is possible only if the underlying
    9191                        operating system supports them. If not, then this option will not be
     
    9595                        extended attributes enabled. This chapter has pertinent information
    9696                        for users of platforms that support them.
    97                         </p></li></ul></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2610760"></a>File System Access Controls</h2></div></div></div><p>
     97                        </p></li></ul></div></div><div class="sect1" title="File System Access Controls"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2616837"></a>File System Access Controls</h2></div></div></div><p>
    9898Perhaps the most important recognition to be made is the simple fact that MS Windows NT4/200x/XP
    9999implement a totally divergent file system technology from what is provided in the UNIX operating system
    100100environment. First we consider what the most significant differences are, then we look
    101101at how Samba helps to bridge the differences.
    102 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2610774"></a>MS Windows NTFS Comparison with UNIX File Systems</h3></div></div></div><p>
    103         <a class="indexterm" name="id2610783"></a>
    104         <a class="indexterm" name="id2610790"></a>
    105         <a class="indexterm" name="id2610796"></a>
    106         <a class="indexterm" name="id2610806"></a>
     102</p><div class="sect2" title="MS Windows NTFS Comparison with UNIX File Systems"><div class="titlepage"><div><div><h3 class="title"><a name="id2616851"></a>MS Windows NTFS Comparison with UNIX File Systems</h3></div></div></div><p>
     103        <a class="indexterm" name="id2616860"></a>
     104        <a class="indexterm" name="id2616867"></a>
     105        <a class="indexterm" name="id2616873"></a>
     106        <a class="indexterm" name="id2616883"></a>
    107107        Samba operates on top of the UNIX file system. This means it is subject to UNIX file system conventions
    108108        and permissions. It also means that if the MS Windows networking environment requires file system
     
    115115        the depths of control ability should review the <code class="filename">smb.conf</code> man page.
    116116        </p><p>The following compares file system features for UNIX with those of MS Windows NT/200x:
    117         <a class="indexterm" name="id2610846"></a>
     117        <a class="indexterm" name="id2616918"></a>
    118118       
    119119        </p><div class="variablelist"><dl><dt><span class="term">Name Space</span></dt><dd><p>
     
    124124                What MS Windows calls a folder, UNIX calls a directory.
    125125                </p></dd><dt><span class="term">Case Sensitivity</span></dt><dd><p>
    126                 <a class="indexterm" name="id2610891"></a>
    127                 <a class="indexterm" name="id2610898"></a>
     126                <a class="indexterm" name="id2616963"></a>
     127                <a class="indexterm" name="id2616970"></a>
    128128                MS Windows file names are generally uppercase if made up of 8.3 (8-character file name
    129129                and 3 character extension. File names that are longer than 8.3 are case preserving and case
     
    152152                file listing.
    153153                </p></dd><dt><span class="term">Directory Separators</span></dt><dd><p>
    154                 <a class="indexterm" name="id2610962"></a>
     154                <a class="indexterm" name="id2617034"></a>
    155155                MS Windows and DOS use the backslash <code class="constant">\</code> as a directory delimiter, and UNIX uses
    156156                the forward-slash <code class="constant">/</code> as its directory delimiter. This is handled transparently by Samba.
    157157                </p></dd><dt><span class="term">Drive Identification</span></dt><dd><p>
    158                 <a class="indexterm" name="id2610990"></a>
     158                <a class="indexterm" name="id2617062"></a>
    159159                MS Windows products support a notion of drive letters, like <code class="literal">C:</code>, to represent
    160160                disk partitions. UNIX has no concept of separate identifiers for file partitions; each
     
    163163                <code class="constant">C:\</code>.
    164164                </p></dd><dt><span class="term">File Naming Conventions</span></dt><dd><p>
    165                 <a class="indexterm" name="id2611027"></a>
     165                <a class="indexterm" name="id2617099"></a>
    166166                MS Windows generally never experiences file names that begin with a dot (<code class="constant">.</code>), while in UNIX these
    167167                are commonly found in a user's home directory. Files that begin with a dot (<code class="constant">.</code>) are typically
     
    169169                startup configuration data.
    170170                </p></dd><dt><span class="term">Links and Short-Cuts</span></dt><dd><p>
    171                 <a class="indexterm" name="id2611058"></a>
    172                 <a class="indexterm" name="id2611067"></a>
    173                 <a class="indexterm" name="id2611076"></a>
     171                <a class="indexterm" name="id2617129"></a>
     172                <a class="indexterm" name="id2617138"></a>
     173                <a class="indexterm" name="id2617147"></a>
    174174                MS Windows make use of <span class="emphasis"><em>links and shortcuts</em></span> that are actually special types of files that will
    175175                redirect an attempt to execute the file to the real location of the file. UNIX knows of file and directory
     
    178178                Symbolic links are files in UNIX that contain the actual location of the data (file or directory). An
    179179                operation (like read or write) will operate directly on the file referenced. Symbolic links are also
    180                 referred to as &#8220;<span class="quote">soft links.</span>&#8221; A hard link is something that MS Windows is not familiar with. It allows
     180                referred to as <span class="quote">&#8220;<span class="quote">soft links.</span>&#8221;</span> A hard link is something that MS Windows is not familiar with. It allows
    181181                one physical file to be known simultaneously by more than one file name.
    182182                </p></dd></dl></div><p>
     
    184184        in the process of becoming familiar with UNIX/Linux. These are best left for a text that is dedicated to the
    185185        purpose of UNIX/Linux training and education.
    186         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2611116"></a>Managing Directories</h3></div></div></div><p>
    187 <a class="indexterm" name="id2611124"></a>
    188 <a class="indexterm" name="id2611131"></a>
    189 <a class="indexterm" name="id2611138"></a>
     186        </p></div><div class="sect2" title="Managing Directories"><div class="titlepage"><div><div><h3 class="title"><a name="id2617188"></a>Managing Directories</h3></div></div></div><p>
     187<a class="indexterm" name="id2617196"></a>
     188<a class="indexterm" name="id2617203"></a>
     189<a class="indexterm" name="id2617209"></a>
    190190        There are three basic operations for managing directories: <code class="literal">create</code>, <code class="literal">delete</code>,
    191191        <code class="literal">rename</code>. <a class="link" href="AccessControls.html#TOSH-Accesstbl" title="Table 16.1. Managing Directories with UNIX and Windows">Managing Directories with UNIX and
    192192        Windows</a> compares the commands in Windows and UNIX that implement these operations.
    193         </p><div class="table"><a name="TOSH-Accesstbl"></a><p class="title"><b>Table 16.1. Managing Directories with UNIX and Windows</b></p><div class="table-contents"><table summary="Managing Directories with UNIX and Windows" border="1"><colgroup><col><col><col></colgroup><thead><tr><th align="center">Action</th><th align="center">MS Windows Command</th><th align="center">UNIX Command</th></tr></thead><tbody><tr><td align="center">create</td><td align="center">md folder</td><td align="center">mkdir folder</td></tr><tr><td align="center">delete</td><td align="center">rd folder</td><td align="center">rmdir folder</td></tr><tr><td align="center">rename</td><td align="center">rename oldname newname</td><td align="center">mv oldname newname</td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2611240"></a>File and Directory Access Control</h3></div></div></div><p>
    194         <a class="indexterm" name="id2611248"></a>
    195 <a class="indexterm" name="id2611257"></a>
    196 <a class="indexterm" name="id2611264"></a>
     193        </p><div class="table"><a name="TOSH-Accesstbl"></a><p class="title"><b>Table 16.1. Managing Directories with UNIX and Windows</b></p><div class="table-contents"><table summary="Managing Directories with UNIX and Windows" border="1"><colgroup><col><col><col></colgroup><thead><tr><th align="center">Action</th><th align="center">MS Windows Command</th><th align="center">UNIX Command</th></tr></thead><tbody><tr><td align="center">create</td><td align="center">md folder</td><td align="center">mkdir folder</td></tr><tr><td align="center">delete</td><td align="center">rd folder</td><td align="center">rmdir folder</td></tr><tr><td align="center">rename</td><td align="center">rename oldname newname</td><td align="center">mv oldname newname</td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect2" title="File and Directory Access Control"><div class="titlepage"><div><div><h3 class="title"><a name="id2617311"></a>File and Directory Access Control</h3></div></div></div><p>
     194        <a class="indexterm" name="id2617319"></a>
     195<a class="indexterm" name="id2617329"></a>
     196<a class="indexterm" name="id2617335"></a>
    197197        The network administrator is strongly advised to read basic UNIX training manuals and reference materials
    198198        regarding file and directory permissions maintenance. Much can be achieved with the basic UNIX permissions
     
    226226        </p><div class="figure"><a name="access1"></a><p class="title"><b>Figure 16.1. Overview of UNIX permissions field.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/access1.png" width="216" alt="Overview of UNIX permissions field."></div></div></div><br class="figure-break"><p>
    227227                Any bit flag may be unset. An unset bit flag is the equivalent of "cannot" and is represented
    228                 as a &#8220;<span class="quote">-</span>&#8221; character (see <a class="link" href="AccessControls.html#access2" title="Example 16.1. Example File">&#8220;Example File&#8221;</a>)
    229 <a class="indexterm" name="id2611406"></a>
    230 <a class="indexterm" name="id2611412"></a>
    231 <a class="indexterm" name="id2611419"></a>
    232 <a class="indexterm" name="id2611426"></a>
    233 <a class="indexterm" name="id2611433"></a>
    234 <a class="indexterm" name="id2611440"></a>
     228                as a <span class="quote">&#8220;<span class="quote">-</span>&#8221;</span> character (see <a class="link" href="AccessControls.html#access2" title="Example 16.1. Example File">&#8220;Example File&#8221;</a>)
     229<a class="indexterm" name="id2617477"></a>
     230<a class="indexterm" name="id2617484"></a>
     231<a class="indexterm" name="id2617491"></a>
     232<a class="indexterm" name="id2617497"></a>
     233<a class="indexterm" name="id2617504"></a>
     234<a class="indexterm" name="id2617511"></a>
    235235        </p><div class="example"><a name="access2"></a><p class="title"><b>Example 16.1. Example File</b></p><div class="example-contents"><pre class="programlisting">
    236236-rwxr-x---   Means:
     
    239239       ^^^          everyone else cannot do anything with it.
    240240</pre></div></div><br class="example-break"><p>
    241 <a class="indexterm" name="id2611469"></a>
    242 <a class="indexterm" name="id2611476"></a>
    243 <a class="indexterm" name="id2611483"></a>
    244 <a class="indexterm" name="id2611490"></a>
     241<a class="indexterm" name="id2617541"></a>
     242<a class="indexterm" name="id2617547"></a>
     243<a class="indexterm" name="id2617554"></a>
     244<a class="indexterm" name="id2617561"></a>
    245245        Additional possibilities in the [type] field are c = character device, b = block device, p = pipe device,
    246246        s = UNIX Domain Socket.
    247247        </p><p>
    248 <a class="indexterm" name="id2611502"></a>
    249 <a class="indexterm" name="id2611509"></a>
    250 <a class="indexterm" name="id2611516"></a>
    251 <a class="indexterm" name="id2611523"></a>
    252 <a class="indexterm" name="id2611530"></a>
     248<a class="indexterm" name="id2617574"></a>
     249<a class="indexterm" name="id2617580"></a>
     250<a class="indexterm" name="id2617587"></a>
     251<a class="indexterm" name="id2617594"></a>
     252<a class="indexterm" name="id2617601"></a>
    253253        The letters <code class="constant">rwxXst</code> set permissions for the user, group, and others as read (r), write (w),
    254254        execute (or access for directories) (x), execute  only  if  the  file  is a directory or already has execute
    255255        permission for some user (X), set user (SUID) or group ID (SGID) on execution (s), sticky (t).
    256256        </p><p>
    257 <a class="indexterm" name="id2611548"></a>
    258 <a class="indexterm" name="id2611555"></a>
    259 <a class="indexterm" name="id2611562"></a>
    260 <a class="indexterm" name="id2611569"></a>
     257<a class="indexterm" name="id2617620"></a>
     258<a class="indexterm" name="id2617626"></a>
     259<a class="indexterm" name="id2617633"></a>
     260<a class="indexterm" name="id2617640"></a>
    261261        When the sticky bit is set on a directory, files in that directory may be unlinked (deleted) or renamed only by root or their owner.
    262262        Without the sticky  bit, anyone able to write to the directory can delete or rename files. The sticky bit is commonly found on
    263263        directories, such as <code class="filename">/tmp</code>, that are world-writable.
    264264        </p><p>
    265 <a class="indexterm" name="id2611590"></a>
    266 <a class="indexterm" name="id2611597"></a>
    267 <a class="indexterm" name="id2611604"></a>
    268 <a class="indexterm" name="id2611611"></a>
    269 <a class="indexterm" name="id2611620"></a>
     265<a class="indexterm" name="id2617666"></a>
     266<a class="indexterm" name="id2617673"></a>
     267<a class="indexterm" name="id2617680"></a>
     268<a class="indexterm" name="id2617687"></a>
     269<a class="indexterm" name="id2617696"></a>
    270270        When the set user or group ID bit (s) is set on a directory, then all files created within it will be owned by the user and/or
    271271        group whose `set user or group' bit is set. This can be helpful in setting up directories for which it is desired that
     
    277277        directory but cannot create new files. If files in the directory are set to be readable and writable for the group, then
    278278        group members will be able to write to (or delete) them.
    279         </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2611652"></a>Protecting Directories and Files from Deletion</h4></div></div></div><p>
    280 <a class="indexterm" name="id2611660"></a>
    281 <a class="indexterm" name="id2611667"></a>
    282 <a class="indexterm" name="id2611674"></a>
    283 <a class="indexterm" name="id2611681"></a>
     279        </p><div class="sect3" title="Protecting Directories and Files from Deletion"><div class="titlepage"><div><div><h4 class="title"><a name="id2617728"></a>Protecting Directories and Files from Deletion</h4></div></div></div><p>
     280<a class="indexterm" name="id2617736"></a>
     281<a class="indexterm" name="id2617743"></a>
     282<a class="indexterm" name="id2617750"></a>
     283<a class="indexterm" name="id2617757"></a>
    284284        People have asked on the Samba mailing list how is it possible to protect files or directories from deletion by users.
    285285        For example, Windows NT/2K/XP provides the capacity to set access controls on a directory into which people can
     
    289289        directory that contains a file and has write permission for it has the capability to delete it.
    290290        </p><p>
    291 <a class="indexterm" name="id2611703"></a>
    292 <a class="indexterm" name="id2611710"></a>
    293 <a class="indexterm" name="id2611717"></a>
     291<a class="indexterm" name="id2617779"></a>
     292<a class="indexterm" name="id2617786"></a>
     293<a class="indexterm" name="id2617793"></a>
    294294        For the record, in the UNIX environment the ability to delete a file is controlled by the permissions on
    295295        the directory that the file is in. In other words, a user can delete a file in a directory to which that
    296296        user has write access, even if that user does not own the file.
    297297        </p><p>
    298 <a class="indexterm" name="id2611732"></a>
    299 <a class="indexterm" name="id2611739"></a>
    300 <a class="indexterm" name="id2611745"></a>
    301 <a class="indexterm" name="id2611752"></a>
     298<a class="indexterm" name="id2617808"></a>
     299<a class="indexterm" name="id2617815"></a>
     300<a class="indexterm" name="id2617822"></a>
     301<a class="indexterm" name="id2617828"></a>
    302302        Of necessity, Samba is subject to the file system semantics of the host operating system. Samba is therefore
    303303        limited in the file system capabilities that can be made available through Windows ACLs, and therefore performs
     
    306306        the appropriate extended attribute.
    307307        </p><p>
    308 <a class="indexterm" name="id2611774"></a>
    309 <a class="indexterm" name="id2611781"></a>
    310 <a class="indexterm" name="id2611788"></a>
    311 <a class="indexterm" name="id2611794"></a>
     308<a class="indexterm" name="id2617850"></a>
     309<a class="indexterm" name="id2617857"></a>
     310<a class="indexterm" name="id2617864"></a>
     311<a class="indexterm" name="id2617871"></a>
    312312        The specific semantics of the extended attributes are not consistent across UNIX and UNIX-like systems such as Linux.
    313313        For example, it is possible on some implementations of the extended attributes to set a flag that prevents the directory
     
    323323        A simple test can be done to check if the immutible flag is supported on files in the file system of the Samba host
    324324        server.
    325         </p><div class="procedure"><a name="id2611833"></a><p class="title"><b>Procedure 16.1. Test for File Immutibility Support</b></p><ol type="1"><li><p>
     325        </p><div class="procedure" title="Procedure 16.1. Test for File Immutibility Support"><a name="id2617909"></a><p class="title"><b>Procedure 16.1. Test for File Immutibility Support</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    326326        Create a file called <code class="filename">filename</code>.
    327         </p></li><li><p>
     327        </p></li><li class="step" title="Step 2"><p>
    328328        Login as the <code class="constant">root</code> user, then set the immutibile flag on a test file as follows:
    329329</p><pre class="screen">
    330330<code class="prompt">root# </code> chattr +i `filename'
    331331</pre><p>
    332         </p></li><li><p>
     332        </p></li><li class="step" title="Step 3"><p>
    333333        Login as the user who owns the file (not root) and attempt to remove the file as follows:
    334334</p><pre class="screen">
     
    341341        immutable directories are writable. If they are not, then the entire directory and its contents will effectively
    342342        be protected from writing (file creation also) and deletion.
    343         </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2611906"></a>Share Definition Access Controls</h2></div></div></div><p>
    344         <a class="indexterm" name="id2611914"></a>
     343        </p></div></div></div><div class="sect1" title="Share Definition Access Controls"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2617982"></a>Share Definition Access Controls</h2></div></div></div><p>
     344        <a class="indexterm" name="id2617990"></a>
    345345        The following parameters in the <code class="filename">smb.conf</code> file sections define a share control or affect access controls.
    346346        Before using any of the following options, please refer to the man page for <code class="filename">smb.conf</code>.
    347         </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2611939"></a>User- and Group-Based Controls</h3></div></div></div><p>
     347        </p><div class="sect2" title="User- and Group-Based Controls"><div class="titlepage"><div><div><h3 class="title"><a name="id2618015"></a>User- and Group-Based Controls</h3></div></div></div><p>
    348348        User- and group-based controls can prove quite useful. In some situations it is distinctly desirable to
    349349        force all file system operations as if a single user were doing so. The use of the
     
    386386                        </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#WRITELIST" target="_top">write list</a></td><td align="justify"><p>
    387387                        List of users that are given read-write access to a service.
    388                         </p></td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2612307"></a>File and Directory Permissions-Based Controls</h3></div></div></div><p>
     388                        </p></td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect2" title="File and Directory Permissions-Based Controls"><div class="titlepage"><div><div><h3 class="title"><a name="id2618383"></a>File and Directory Permissions-Based Controls</h3></div></div></div><p>
    389389        Directory permission-based controls, if misused, can result in considerable difficulty in diagnosing the causes of
    390390        misconfiguration. Use them sparingly and carefully. By gradually introducing each, one at a time, undesirable side
     
    417417                        </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#SECURITYMASK" target="_top">security mask</a></td><td align="justify"><p>
    418418                        Controls UNIX permission bits modified when a Windows NT client is manipulating the UNIX permissions on a file.
    419                         </p></td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2612644"></a>Miscellaneous Controls</h3></div></div></div><p>
     419                        </p></td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect2" title="Miscellaneous Controls"><div class="titlepage"><div><div><h3 class="title"><a name="id2618720"></a>Miscellaneous Controls</h3></div></div></div><p>
    420420        The parameters documented in <a class="link" href="AccessControls.html#mcoc" title="Table 16.4. Other Controls">Other Controls</a> are often used by administrators
    421421        in ways that create inadvertent barriers to file access. Such are the consequences of not understanding the
     
    450450                        </p></td></tr><tr><td align="justify"><a class="link" href="smb.conf.5.html#VETOFILES" target="_top">veto files</a></td><td align="justify"><p>
    451451                        List of files and directories that are neither visible nor accessible.
    452                         </p></td></tr></tbody></table></div></div><br class="table-break"></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2612982"></a>Access Controls on Shares</h2></div></div></div><p>
    453 <a class="indexterm" name="id2612990"></a>
    454 <a class="indexterm" name="id2612997"></a>
    455 <a class="indexterm" name="id2613004"></a>
    456 <a class="indexterm" name="id2613011"></a>
    457         <a class="indexterm" name="id2613018"></a>
     452                        </p></td></tr></tbody></table></div></div><br class="table-break"></div></div><div class="sect1" title="Access Controls on Shares"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2619058"></a>Access Controls on Shares</h2></div></div></div><p>
     453<a class="indexterm" name="id2619066"></a>
     454<a class="indexterm" name="id2619073"></a>
     455<a class="indexterm" name="id2619080"></a>
     456<a class="indexterm" name="id2619087"></a>
     457        <a class="indexterm" name="id2619094"></a>
    458458        This section deals with how to configure Samba per-share access control restrictions.
    459459        By default, Samba sets no restrictions on the share itself. Restrictions on the share itself
     
    462462        the global user <code class="constant">Everyone - Full Control</code> (full control, change and read).
    463463        </p><p>
    464 <a class="indexterm" name="id2613041"></a>
    465 <a class="indexterm" name="id2613048"></a>
    466 <a class="indexterm" name="id2613054"></a>
     464<a class="indexterm" name="id2619117"></a>
     465<a class="indexterm" name="id2619124"></a>
     466<a class="indexterm" name="id2619131"></a>
    467467        At this time Samba does not provide a tool for configuring access control settings on the share
    468468        itself the only way to create those settings is to use either the NT4 Server Manager or the Windows 200x
     
    470470        this capability in the Samba command-line tool set.
    471471        </p><p>
    472 <a class="indexterm" name="id2613071"></a>
    473 <a class="indexterm" name="id2613078"></a>
    474 <a class="indexterm" name="id2613085"></a>
    475 <a class="indexterm" name="id2613092"></a>
     472<a class="indexterm" name="id2619147"></a>
     473<a class="indexterm" name="id2619154"></a>
     474<a class="indexterm" name="id2619161"></a>
     475<a class="indexterm" name="id2619168"></a>
    476476        Samba stores the per-share access control settings in a file called <code class="filename">share_info.tdb</code>.
    477477        The location of this file on your system will depend on how Samba was compiled. The default location
     
    479479        utility has been compiled and installed on your system, then you can examine the contents of this file
    480480        by executing <code class="literal">tdbdump share_info.tdb</code> in the directory containing the tdb files.
    481         </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2613130"></a>Share Permissions Management</h3></div></div></div><p>
     481        </p><div class="sect2" title="Share Permissions Management"><div class="titlepage"><div><div><h3 class="title"><a name="id2619206"></a>Share Permissions Management</h3></div></div></div><p>
    482482                The best tool for share permissions management is platform-dependent. Choose the best tool for your environment.
    483                 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2613141"></a>Windows NT4 Workstation/Server</h4></div></div></div><p>
    484 <a class="indexterm" name="id2613150"></a>
    485 <a class="indexterm" name="id2613157"></a>
    486 <a class="indexterm" name="id2613164"></a>
    487 <a class="indexterm" name="id2613170"></a>
     483                </p><div class="sect3" title="Windows NT4 Workstation/Server"><div class="titlepage"><div><div><h4 class="title"><a name="id2619218"></a>Windows NT4 Workstation/Server</h4></div></div></div><p>
     484<a class="indexterm" name="id2619226"></a>
     485<a class="indexterm" name="id2619233"></a>
     486<a class="indexterm" name="id2619240"></a>
     487<a class="indexterm" name="id2619247"></a>
    488488                        The tool you need to manage share permissions on a Samba server from a Windows NT4 Workstation or Server
    489489                        is the NT Server Manager.  Server Manager is shipped with Windows NT4 Server products but not with Windows
    490490                        NT4 Workstation.  You can obtain the NT Server Manager for MS Windows NT4 Workstation from the Microsoft
    491491                        web site <a class="ulink" href="http://support.microsoft.com/default.aspx?scid=kb;en-us;173673" target="_top">support</a> section.
    492                         </p><div class="procedure"><a name="id2613191"></a><p class="title"><b>Procedure 16.2. Instructions</b></p><ol type="1"><li><p>
     492                        </p><div class="procedure" title="Procedure 16.2. Instructions"><a name="id2619267"></a><p class="title"><b>Procedure 16.2. Instructions</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    493493                        Launch the <span class="application">NT4 Server Manager</span> and click on the Samba server you want to
    494494                        administer. From the menu select <span class="guimenu">Computer</span>, then click on
    495495                        <span class="guimenuitem">Shared Directories</span>.
    496                         </p></li><li><p>
     496                        </p></li><li class="step" title="Step 2"><p>
    497497                        Click on the share that you wish to manage and click the <span class="guilabel">Properties</span> tab, then click
    498498                        the <span class="guilabel">Permissions</span> tab. Now you can add or change access control settings as you wish.
    499                         </p></li></ol></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2613247"></a>Windows 200x/XP</h4></div></div></div><p>
    500 <a class="indexterm" name="id2613254"></a>
    501 <a class="indexterm" name="id2613261"></a>
    502 <a class="indexterm" name="id2613268"></a>
    503 <a class="indexterm" name="id2613275"></a>
     499                        </p></li></ol></div></div><div class="sect3" title="Windows 200x/XP"><div class="titlepage"><div><div><h4 class="title"><a name="id2619323"></a>Windows 200x/XP</h4></div></div></div><p>
     500<a class="indexterm" name="id2619331"></a>
     501<a class="indexterm" name="id2619338"></a>
     502<a class="indexterm" name="id2619344"></a>
     503<a class="indexterm" name="id2619351"></a>
    504504                        On <span class="application">MS Windows NT4/200x/XP</span> systems, ACLs on the share itself are set using
    505505                        tools like the MS Explorer. For example, in Windows 200x, right-click on the shared folder,
     
    507507                        Windows NT4/200x permissions allow the group "Everyone" full control on the share.
    508508                        </p><p>
    509 <a class="indexterm" name="id2613308"></a>
    510 <a class="indexterm" name="id2613315"></a>
    511 <a class="indexterm" name="id2613321"></a>
     509<a class="indexterm" name="id2619384"></a>
     510<a class="indexterm" name="id2619391"></a>
     511<a class="indexterm" name="id2619398"></a>
    512512                        MS Windows 200x and later versions come with a tool called the <span class="application">Computer Management</span>
    513513                        snap-in for the MMC. This tool can be accessed via <span class="guimenu">Control Panel -&gt;
    514514                        Administrative Tools -&gt; Computer Management</span>.
    515                         </p><div class="procedure"><a name="id2613345"></a><p class="title"><b>Procedure 16.3. Instructions</b></p><ol type="1"><li><p>
     515                        </p><div class="procedure" title="Procedure 16.3. Instructions"><a name="id2619421"></a><p class="title"><b>Procedure 16.3. Instructions</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    516516                        After launching the MMC with the Computer Management snap-in, click the menu item <span class="guimenuitem">Action</span>
    517517                        and select <span class="guilabel">Connect to another computer</span>. If you are not logged onto a domain you will be prompted
    518518                        to enter a domain login user identifier and a password. This will authenticate you to the domain.
    519519                        If you are already logged in with administrative privilege, this step is not offered.
    520                         </p></li><li><p>
     520                        </p></li><li class="step" title="Step 2"><p>
    521521                        If the Samba server is not shown in the <span class="guilabel">Select Computer</span> box, type in the name of the target
    522522                        Samba server in the field <span class="guilabel">Name:</span>. Now click the on <span class="guibutton">[+]</span> next to
    523523                        <span class="guilabel">System Tools</span>, then on the <span class="guibutton">[+]</span> next to
    524524                        <span class="guilabel">Shared Folders</span> in the left panel.
    525                         </p></li><li><p>
    526 <a class="indexterm" name="id2613427"></a>
     525                        </p></li><li class="step" title="Step 3"><p>
     526<a class="indexterm" name="id2619503"></a>
    527527                        In the right panel, double-click on the share on which you wish to set access control permissions.
    528528                        Then click the tab <span class="guilabel">Share Permissions</span>. It is now possible to add access control entities
    529529                        to the shared folder. Remember to set what type of access (full control, change, read) you
    530530                        wish to assign for each entry.
    531                         </p></li></ol></div><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
     531                        </p></li></ol></div><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
    532532                        Be careful. If you take away all permissions from the <code class="constant">Everyone</code> user without removing
    533533                        this user, effectively no user will be able to access the share. This is a result of what is known as
     
    535535                        part of the group <code class="constant">Everyone</code> will have no access even if she is given explicit full
    536536                        control access.
    537                         </p></div></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2613477"></a>MS Windows Access Control Lists and UNIX Interoperability</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2613483"></a>Managing UNIX Permissions Using NT Security Dialogs</h3></div></div></div><p>
    538                 <a class="indexterm" name="id2613492"></a>
     537                        </p></div></div></div></div><div class="sect1" title="MS Windows Access Control Lists and UNIX Interoperability"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2619552"></a>MS Windows Access Control Lists and UNIX Interoperability</h2></div></div></div><div class="sect2" title="Managing UNIX Permissions Using NT Security Dialogs"><div class="titlepage"><div><div><h3 class="title"><a name="id2619559"></a>Managing UNIX Permissions Using NT Security Dialogs</h3></div></div></div><p>
     538                <a class="indexterm" name="id2619567"></a>
    539539                Windows NT clients can use their native security settings dialog box to view and modify the
    540540                underlying UNIX permissions.
     
    545545                Samba does not attempt to go beyond POSIX ACLs, so the various finer-grained access control
    546546                options provided in Windows are actually ignored.
    547                 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     547                </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    548548                All access to UNIX/Linux system files via Samba is controlled by the operating system file access controls.
    549549                When trying to figure out file access problems, it is vitally important to find the identity of the Windows
    550550                user as it is presented by Samba at the point of file access. This can best be determined from the
    551551                Samba log files.
    552                 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2613530"></a>Viewing File Security on a Samba Share</h3></div></div></div><p>
     552                </p></div></div><div class="sect2" title="Viewing File Security on a Samba Share"><div class="titlepage"><div><div><h3 class="title"><a name="id2619606"></a>Viewing File Security on a Samba Share</h3></div></div></div><p>
    553553                From an NT4/2000/XP client, right-click on any file or directory in a Samba-mounted drive letter
    554554                or UNC path. When the menu pops up, click on the <span class="guilabel">Properties</span> entry at the bottom
     
    561561                nonfunctional with a Samba share at this time, because the only useful button, the <span class="guibutton">Add</span>
    562562                button, will not currently allow a list of users to be seen.
    563                 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2613601"></a>Viewing File Ownership</h3></div></div></div><p>
     563                </p></div><div class="sect2" title="Viewing File Ownership"><div class="titlepage"><div><div><h3 class="title"><a name="id2619677"></a>Viewing File Ownership</h3></div></div></div><p>
    564564                Clicking on the <span class="guibutton">Ownership</span> button brings up a dialog box telling you who owns
    565565                the given file. The owner name will be displayed like this:
     
    575575                the file owner will be shown as the NT user <span class="emphasis"><em>Everyone</em></span>.
    576576                </p><p>
    577 <a class="indexterm" name="id2613675"></a>
     577<a class="indexterm" name="id2619751"></a>
    578578                The <span class="guibutton">Take Ownership</span> button will not allow you to change the ownership of this file to
    579579                yourself (clicking it will display a dialog box complaining that the user as whom you are currently logged onto
     
    583583                not work with Samba at this time.
    584584                </p><p>
    585 <a class="indexterm" name="id2613704"></a>
    586 <a class="indexterm" name="id2613710"></a>
    587 <a class="indexterm" name="id2613717"></a>
     585<a class="indexterm" name="id2619780"></a>
     586<a class="indexterm" name="id2619787"></a>
     587<a class="indexterm" name="id2619793"></a>
    588588                There is an NT <code class="literal">chown</code> command that will work with Samba and allow a user with administrator
    589589                privilege connected to a Samba server as root to change the ownership of files on both a local NTFS file system
    590590                or remote mounted NTFS or Samba drive. This is available as part of the <span class="application">Seclib</span> NT
    591591                security library written by Jeremy Allison of the Samba Team and is downloadable from the main Samba FTP site.
    592                 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2613745"></a>Viewing File or Directory Permissions</h3></div></div></div><p>
     592                </p></div><div class="sect2" title="Viewing File or Directory Permissions"><div class="titlepage"><div><div><h3 class="title"><a name="id2619821"></a>Viewing File or Directory Permissions</h3></div></div></div><p>
    593593                The third button is the <span class="guibutton">Permissions</span> button. Clicking on it brings up a dialog box
    594594                that shows both the permissions and the UNIX owner of the file or directory. The owner is displayed like this:
     
    604604                </p><p>
    605605                The permissions field is displayed differently for files and directories. Both are discussed next.
    606                 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2613828"></a>File Permissions</h4></div></div></div><p>
     606                </p><div class="sect3" title="File Permissions"><div class="titlepage"><div><div><h4 class="title"><a name="id2619904"></a>File Permissions</h4></div></div></div><p>
    607607                The standard UNIX user/group/world triplet and the corresponding <code class="constant">read, write,
    608608                execute</code> permissions triplets are mapped by Samba into a three-element NT ACL with the
    609                 &#8220;<span class="quote">r</span>&#8221;, &#8220;<span class="quote">w</span>&#8221;, and &#8220;<span class="quote">x</span>&#8221; bits mapped into the corresponding NT
     609                <span class="quote">&#8220;<span class="quote">r</span>&#8221;</span>, <span class="quote">&#8220;<span class="quote">w</span>&#8221;</span>, and <span class="quote">&#8220;<span class="quote">x</span>&#8221;</span> bits mapped into the corresponding NT
    610610                permissions. The UNIX world permissions are mapped into the global NT group <code class="constant">Everyone</code>, followed
    611611                by the list of permissions allowed for the UNIX world. The UNIX owner and group permissions are displayed as an NT
     
    622622                no permissions as having the NT <code class="literal">O</code> bit set.  This was chosen, of course, to make it look
    623623                like a zero, meaning zero permissions. More details on the decision behind this action are given below.
    624                 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2613922"></a>Directory Permissions</h4></div></div></div><p>
     624                </p></div><div class="sect3" title="Directory Permissions"><div class="titlepage"><div><div><h4 class="title"><a name="id2619998"></a>Directory Permissions</h4></div></div></div><p>
    625625                Directories on an NT NTFS file system have two different sets of permissions. The first set is the ACL set on the
    626626                directory itself, which is usually displayed in the first set of parentheses in the normal <code class="constant">RW</code>
     
    633633                Samba synthesizes these inherited permissions for NT by returning as an NT ACL the UNIX permission mode that a new file
    634634                created by Samba on this share would receive.
    635                 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2613960"></a>Modifying File or Directory Permissions</h3></div></div></div><p>
     635                </p></div></div><div class="sect2" title="Modifying File or Directory Permissions"><div class="titlepage"><div><div><h3 class="title"><a name="id2620036"></a>Modifying File or Directory Permissions</h3></div></div></div><p>
    636636        Modifying file and directory permissions is as simple as changing the displayed permissions in the dialog box
    637637        and clicking on <span class="guibutton">OK</span>. However, there are limitations that a user needs to be aware of,
     
    654654        you to add permissions back to a file or directory once you have removed them from a triplet component.
    655655        </p><p>
    656         Because UNIX supports only the &#8220;<span class="quote">r</span>&#8221;, &#8220;<span class="quote">w</span>&#8221;, and &#8220;<span class="quote">x</span>&#8221; bits of an NT ACL, if
     656        Because UNIX supports only the <span class="quote">&#8220;<span class="quote">r</span>&#8221;</span>, <span class="quote">&#8220;<span class="quote">w</span>&#8221;</span>, and <span class="quote">&#8220;<span class="quote">x</span>&#8221;</span> bits of an NT ACL, if
    657657        other NT security attributes such as <code class="constant">Delete Access</code> are selected, they will be ignored
    658658        when applied on the Samba server.
     
    666666        component and click on the <span class="guibutton">Remove</span> button or set the component to only have the special
    667667        <code class="constant">Take Ownership</code> permission (displayed as <code class="literal">O</code>) highlighted.
    668         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2614117"></a>Interaction with the Standard Samba &#8220;<span class="quote">create mask</span>&#8221; Parameters</h3></div></div></div><p>There are four parameters that control interaction with the standard Samba <em class="parameter"><code>create mask</code></em> parameters:
     668        </p></div><div class="sect2" title="Interaction with the Standard Samba &#8220;create mask&#8221; Parameters"><div class="titlepage"><div><div><h3 class="title"><a name="id2620193"></a>Interaction with the Standard Samba <span class="quote">&#8220;<span class="quote">create mask</span>&#8221;</span> Parameters</h3></div></div></div><p>There are four parameters that control interaction with the standard Samba <em class="parameter"><code>create mask</code></em> parameters:
    669669       
    670670
    671         </p><div class="itemizedlist"><ul type="disc"><li><p><a class="link" href="smb.conf.5.html#SECURITYMASK" target="_top">security mask</a></p></li><li><p><a class="link" href="smb.conf.5.html#FORCESECURITYMODE" target="_top">force security mode</a></p></li><li><p><a class="link" href="smb.conf.5.html#DIRECTORYSECURITYMASK" target="_top">directory security mask</a></p></li><li><p><a class="link" href="smb.conf.5.html#FORCEDIRECTORYSECURITYMODE" target="_top">force directory security mode</a></p></li></ul></div><p>
     671        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><a class="link" href="smb.conf.5.html#SECURITYMASK" target="_top">security mask</a></p></li><li class="listitem"><p><a class="link" href="smb.conf.5.html#FORCESECURITYMODE" target="_top">force security mode</a></p></li><li class="listitem"><p><a class="link" href="smb.conf.5.html#DIRECTORYSECURITYMASK" target="_top">directory security mask</a></p></li><li class="listitem"><p><a class="link" href="smb.conf.5.html#FORCEDIRECTORYSECURITYMODE" target="_top">force directory security mode</a></p></li></ul></div><p>
    672672
    673673        </p><p>
     
    720720        then set the following parameters in the <code class="filename">smb.conf</code> file in that
    721721        share-specific section:
    722         </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2614438"></a><em class="parameter"><code>security mask = 0777</code></em></td></tr><tr><td><a class="indexterm" name="id2614449"></a><em class="parameter"><code>force security mode = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2614461"></a><em class="parameter"><code>directory security mask = 0777</code></em></td></tr><tr><td><a class="indexterm" name="id2614473"></a><em class="parameter"><code>force directory security mode = 0</code></em></td></tr></table></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2614486"></a>Interaction with the Standard Samba File Attribute Mapping</h3></div></div></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    723         Samba maps some of the DOS attribute bits (such as &#8220;<span class="quote">read-only</span>&#8221;)
     722        </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2620514"></a><em class="parameter"><code>security mask = 0777</code></em></td></tr><tr><td><a class="indexterm" name="id2620525"></a><em class="parameter"><code>force security mode = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2620537"></a><em class="parameter"><code>directory security mask = 0777</code></em></td></tr><tr><td><a class="indexterm" name="id2620549"></a><em class="parameter"><code>force directory security mode = 0</code></em></td></tr></table></div><div class="sect2" title="Interaction with the Standard Samba File Attribute Mapping"><div class="titlepage"><div><div><h3 class="title"><a name="id2620562"></a>Interaction with the Standard Samba File Attribute Mapping</h3></div></div></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     723        Samba maps some of the DOS attribute bits (such as <span class="quote">&#8220;<span class="quote">read-only</span>&#8221;</span>)
    724724        into the UNIX permissions of a file. This means there can
    725725        be a conflict between the permission bits set via the security
     
    727727        </p></div><p>
    728728        If a file has no UNIX read access for the owner, it will show up
    729         as &#8220;<span class="quote">read-only</span>&#8221; in the standard file attributes tabbed dialog.
     729        as <span class="quote">&#8220;<span class="quote">read-only</span>&#8221;</span> in the standard file attributes tabbed dialog.
    730730        Unfortunately, this dialog is the same one that contains the security information
    731731        in another tab.
     
    741741        rather than <span class="guibutton">OK</span> to ensure that your changes
    742742        are not overridden.
    743         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2614559"></a>Windows NT/200X ACLs and POSIX ACLs Limitations</h3></div></div></div><p>
     743        </p></div><div class="sect2" title="Windows NT/200X ACLs and POSIX ACLs Limitations"><div class="titlepage"><div><div><h3 class="title"><a name="id2620635"></a>Windows NT/200X ACLs and POSIX ACLs Limitations</h3></div></div></div><p>
    744744        Windows administrators are familiar with simple ACL controls, and they typically
    745745        consider that UNIX user/group/other (ugo) permissions are inadequate and not
     
    769769        that permit normal ugo and ACLs functionality to be overrided. This further complicates
    770770        the way in which Windows ACLs must be implemented.
    771         </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2614623"></a>UNIX POSIX ACL Overview</h4></div></div></div><p>
     771        </p><div class="sect3" title="UNIX POSIX ACL Overview"><div class="titlepage"><div><div><h4 class="title"><a name="id2620699"></a>UNIX POSIX ACL Overview</h4></div></div></div><p>
    772772        In examining POSIX ACLs we must consider the manner in which they operate for
    773773        both files and directories. File ACLs have the following significance:
     
    798798default:other:---     &lt;-- inherited permissions for everyone (other)
    799799</pre><p>
    800         </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2614684"></a>Mapping of Windows File ACLs to UNIX POSIX ACLs</h4></div></div></div><p>
     800        </p></div><div class="sect3" title="Mapping of Windows File ACLs to UNIX POSIX ACLs"><div class="titlepage"><div><div><h4 class="title"><a name="id2620760"></a>Mapping of Windows File ACLs to UNIX POSIX ACLs</h4></div></div></div><p>
    801801        Microsoft Windows NT4/200X ACLs must of necessity be mapped to POSIX ACLs.
    802802        The mappings for file permissions are shown in <a class="link" href="AccessControls.html#fdsacls" title="Table 16.5. How Windows File ACLs Map to UNIX POSIX File ACLs">How
     
    817817        The Windows administrator is more restricted in that it is not possible from within
    818818        Windows Explorer to remove read permission for the file owner.
    819         </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2614954"></a>Mapping of Windows Directory ACLs to UNIX POSIX ACLs</h4></div></div></div><p>
     819        </p></div><div class="sect3" title="Mapping of Windows Directory ACLs to UNIX POSIX ACLs"><div class="titlepage"><div><div><h4 class="title"><a name="id2621030"></a>Mapping of Windows Directory ACLs to UNIX POSIX ACLs</h4></div></div></div><p>
    820820        Interesting things happen in the mapping of UNIX POSIX directory permissions and
    821821        UNIX POSIX ACLs to Windows ACEs (Access Control Entries, the discrete components of
     
    825825        there are some notable exceptions and a few peculiarities that the astute administrator
    826826        will want to take into account in the setting up of directory permissions.
    827         </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2614978"></a>Common Errors</h2></div></div></div><p>
     827        </p></div></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2621054"></a>Common Errors</h2></div></div></div><p>
    828828File, directory, and share access problems are common topics on the mailing list. The following
    829829are examples recently taken from the mailing list.
    830 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2614990"></a>Users Cannot Write to a Public Share</h3></div></div></div><p>
     830</p><div class="sect2" title="Users Cannot Write to a Public Share"><div class="titlepage"><div><div><h3 class="title"><a name="id2621066"></a>Users Cannot Write to a Public Share</h3></div></div></div><p>
    831831        The following complaint has frequently been voiced on the Samba mailing list:
    832         &#8220;<span class="quote">
     832        <span class="quote">&#8220;<span class="quote">
    833833        We are facing some troubles with file/directory permissions. I can log on the domain as admin user (root),
    834834        and there's a public share on which everyone needs to have permission to create/modify files, but only
     
    836836        <strong class="userinput"><code>chgrp -R users *</code></strong> and <strong class="userinput"><code>chown -R nobody *</code></strong> to allow
    837837        other users to change the file.
    838         </span>&#8221;
     838        </span>&#8221;</span>
    839839        </p><p>
    840840        Here is one way the problem can be solved:
    841         </p><div class="procedure"><ol type="1"><li><p>
     841        </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    842842                        Go to the top of the directory that is shared.
    843                         </p></li><li><p>
     843                        </p></li><li class="step" title="Step 2"><p>
    844844                        Set the ownership to whatever public user and group you want
    845845</p><pre class="screen">
     
    849849<code class="prompt">$ </code>find `directory_name' -type f -exec chown user:group {}\;
    850850</pre><p>
    851                         </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     851                        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    852852                        The above will set the <code class="constant">SGID bit</code> on all directories. Read your
    853853                        UNIX/Linux man page on what that does. This ensures that all files and directories
    854854                        that are created in the directory tree will be owned by the current user and will
    855855                        be owned by the group that owns the directory in which it is created.
    856                         </p></div></li><li><p>
     856                        </p></div></li><li class="step" title="Step 3"><p>
    857857                        Directory is <em class="replaceable"><code>/foodbar</code></em>:
    858858</p><pre class="screen">
    859859<code class="prompt">$ </code><strong class="userinput"><code>chown jack:engr /foodbar</code></strong>
    860860</pre><p>
    861                         </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This is the same as doing:</p><pre class="screen">
     861                        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This is the same as doing:</p><pre class="screen">
    862862<code class="prompt">$ </code><strong class="userinput"><code>chown jack /foodbar</code></strong>
    863863<code class="prompt">$ </code><strong class="userinput"><code>chgrp engr /foodbar</code></strong>
    864 </pre></div></li><li><p>Now type:
     864</pre></div></li><li class="step" title="Step 4"><p>Now type:
    865865
    866866</p><pre class="screen">
     
    872872drwxrwsr-x  2 jack  engr    48 2003-02-04 09:55 foodbar
    873873</pre><p>
    874                         </p></li><li><p>Now type:
     874                        </p></li><li class="step" title="Step 5"><p>Now type:
    875875</p><pre class="screen">
    876876<code class="prompt">$ </code><strong class="userinput"><code>su - jill</code></strong>
     
    885885-rw-r--r--  1 jill  engr     0 2007-01-18 19:41 Afile
    886886</pre><p>
    887                 </p></li><li><p>
     887                </p></li><li class="step" title="Step 6"><p>
    888888                If the user that must have write permission in the directory is not a member of the group
    889889                <span class="emphasis"><em>engr</em></span> set in the <code class="filename">smb.conf</code> entry for the share:
    890                 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2615296"></a><em class="parameter"><code>force group = engr</code></em></td></tr></table><p>
    891                 </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2615312"></a>File Operations Done as <span class="emphasis"><em>root</em></span> with <span class="emphasis"><em>force user</em></span> Set</h3></div></div></div><p>
     890                </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2621373"></a><em class="parameter"><code>force group = engr</code></em></td></tr></table><p>
     891                </p></li></ol></div></div><div class="sect2" title="File Operations Done as root with force user Set"><div class="titlepage"><div><div><h3 class="title"><a name="id2621388"></a>File Operations Done as <span class="emphasis"><em>root</em></span> with <span class="emphasis"><em>force user</em></span> Set</h3></div></div></div><p>
    892892                When you have a user in <a class="link" href="smb.conf.5.html#ADMINUSERS" target="_top">admin users</a>, Samba will always do file operations for
    893893                this user as <span class="emphasis"><em>root</em></span>, even if <a class="link" href="smb.conf.5.html#FORCEUSER" target="_top">force user</a> has been set.
    894                 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2615358"></a>MS Word with Samba Changes Owner of File</h3></div></div></div><p>
    895                 <span class="emphasis"><em>Question:</em></span> &#8220;<span class="quote">When user B saves a word document that is owned by user A,
    896                 the updated file is now owned by user B.  Why is Samba doing this? How do I fix this?</span>&#8221;
     894                </p></div><div class="sect2" title="MS Word with Samba Changes Owner of File"><div class="titlepage"><div><div><h3 class="title"><a name="id2621434"></a>MS Word with Samba Changes Owner of File</h3></div></div></div><p>
     895                <span class="emphasis"><em>Question:</em></span> <span class="quote">&#8220;<span class="quote">When user B saves a word document that is owned by user A,
     896                the updated file is now owned by user B.  Why is Samba doing this? How do I fix this?</span>&#8221;</span>
    897897                </p><p>
    898898                <span class="emphasis"><em>Answer:</em></span> Word does the following when you modify/change a Word document: MS Word creates a new document with
     
    907907                be created with the group that owns the directory. In <code class="filename">smb.conf</code> share declaration section set:
    908908                </p><p>
    909                 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2615427"></a><em class="parameter"><code>force create mode = 0660</code></em></td></tr><tr><td><a class="indexterm" name="id2615439"></a><em class="parameter"><code>force directory mode = 0770</code></em></td></tr></table><p>
     909                </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2621513"></a><em class="parameter"><code>force create mode = 0660</code></em></td></tr><tr><td><a class="indexterm" name="id2621525"></a><em class="parameter"><code>force directory mode = 0770</code></em></td></tr></table><p>
    910910                </p><p>
    911911                These two settings will ensure that all directories and files that get created in the share will be readable/writable by the
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/AdvancedNetworkManagement.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 25. Advanced Network Management</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="winbind.html" title="Chapter 24. Winbind: Use of Domain Accounts"><link rel="next" href="PolicyMgmt.html" title="Chapter 26. System and Account Policies"></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 25. Advanced Network Management</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="winbind.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="PolicyMgmt.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="AdvancedNetworkManagement"></a>Chapter 25. Advanced Network Management</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">June 15 2005</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657633">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657660">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657803">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2658393">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658618">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658661">Limiting Logon Connections</a></span></dt></dl></dd></dl></div><p>
    2 <a class="indexterm" name="id2657621"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 25. Advanced Network Management</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="winbind.html" title="Chapter 24. Winbind: Use of Domain Accounts"><link rel="next" href="PolicyMgmt.html" title="Chapter 26. System and Account Policies"></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 25. Advanced Network Management</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="winbind.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="PolicyMgmt.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 25. Advanced Network Management"><div class="titlepage"><div><div><h2 class="title"><a name="AdvancedNetworkManagement"></a>Chapter 25. Advanced Network Management</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">June 15 2005</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2663685">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2663712">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2663855">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2664445">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2664670">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2664713">Limiting Logon Connections</a></span></dt></dl></dd></dl></div><p>
     2<a class="indexterm" name="id2663673"></a>
    33This section documents peripheral issues that are of great importance to network
    44administrators who want to improve network resource access control, to automate the user
    55environment, and to make their lives a little easier.
    6 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2657633"></a>Features and Benefits</h2></div></div></div><p>
     6</p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2663685"></a>Features and Benefits</h2></div></div></div><p>
    77Often the difference between a working network environment and a well-appreciated one can
    88best be measured by the <span class="emphasis"><em>little things</em></span> that make everything work more
     
    1414This chapter presents information on each of these areas. They are placed here, and not in
    1515other chapters, for ease of reference.
    16 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2657660"></a>Remote Server Administration</h2></div></div></div><p>&#8220;<span class="quote">How do I get User Manager and Server Manager?</span>&#8221;</p><p>
    17 <a class="indexterm" name="id2657673"></a>
    18 <a class="indexterm" name="id2657680"></a>
    19 <a class="indexterm" name="id2657687"></a>
     16</p></div><div class="sect1" title="Remote Server Administration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2663712"></a>Remote Server Administration</h2></div></div></div><p><span class="quote">&#8220;<span class="quote">How do I get User Manager and Server Manager?</span>&#8221;</span></p><p>
     17<a class="indexterm" name="id2663725"></a>
     18<a class="indexterm" name="id2663732"></a>
     19<a class="indexterm" name="id2663739"></a>
    2020Since I do not need to buy an <span class="application">NT4 server</span>, how do I get the User Manager for Domains
    2121and the Server Manager?
    2222</p><p>
    23 <a class="indexterm" name="id2657705"></a>
    24 <a class="indexterm" name="id2657712"></a>
     23<a class="indexterm" name="id2663757"></a>
     24<a class="indexterm" name="id2663764"></a>
    2525Microsoft distributes a version of these tools called <code class="filename">Nexus.exe</code> for installation
    2626on <span class="application">Windows 9x/Me</span> systems. The tools set includes:
    27 </p><div class="itemizedlist"><ul type="disc"><li><p>Server Manager</p></li><li><p>User Manager for Domains</p></li><li><p>Event Viewer</p></li></ul></div><p>
     27</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Server Manager</p></li><li class="listitem"><p>User Manager for Domains</p></li><li class="listitem"><p>Event Viewer</p></li></ul></div><p>
    2828Download the archived file at the Microsoft <a class="ulink" href="ftp://ftp.microsoft.com/Softlib/MSLFILES/NEXUS.EXE" target="_top">Nexus</a> link.
    2929</p><p>
    30 <a class="indexterm" name="id2657766"></a>
    31 <a class="indexterm" name="id2657773"></a>
    32 <a class="indexterm" name="id2657780"></a>
     30<a class="indexterm" name="id2663818"></a>
     31<a class="indexterm" name="id2663825"></a>
     32<a class="indexterm" name="id2663832"></a>
    3333The <span class="application">Windows NT 4.0</span> version of the User Manager for
    3434Domains and Server Manager are available from Microsoft
    3535<a class="ulink" href="ftp://ftp.microsoft.com/Softlib/MSLFILES/SRVTOOLS.EXE" target="_top">via ftp</a>.
    36 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2657803"></a>Remote Desktop Management</h2></div></div></div><p>
    37 <a class="indexterm" name="id2657811"></a>
    38 <a class="indexterm" name="id2657818"></a>
     36</p></div><div class="sect1" title="Remote Desktop Management"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2663855"></a>Remote Desktop Management</h2></div></div></div><p>
     37<a class="indexterm" name="id2663863"></a>
     38<a class="indexterm" name="id2663870"></a>
    3939There are a number of possible remote desktop management solutions that range from free
    4040through costly. Do not let that put you off. Sometimes the most costly solution is the
    4141most cost effective. In any case, you will need to draw your own conclusions as to which
    4242is the best tool in your network environment.
    43 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2657832"></a>Remote Management from NoMachine.Com</h3></div></div></div><p>
    44         <a class="indexterm" name="id2657840"></a>
     43</p><div class="sect2" title="Remote Management from NoMachine.Com"><div class="titlepage"><div><div><h3 class="title"><a name="id2663884"></a>Remote Management from NoMachine.Com</h3></div></div></div><p>
     44        <a class="indexterm" name="id2663892"></a>
    4545        The following information was posted to the Samba mailing list at Apr 3 23:33:50 GMT 2003.
    4646        It is presented in slightly edited form (with author details omitted for privacy reasons).
    4747        The entire answer is reproduced below with some comments removed.
    48         </p><p>&#8220;<span class="quote">
    49 <a class="indexterm" name="id2657855"></a>
     48        </p><p><span class="quote">&#8220;<span class="quote">
     49<a class="indexterm" name="id2663908"></a>
    5050                I have a wonderful Linux/Samba server running as PDC for a network. Now I would like to add remote
    5151                desktop capabilities so users outside could login to the system and get their desktop up from home or
    5252                another country.
    53                 </span>&#8221;</p><p>&#8220;<span class="quote">
    54 <a class="indexterm" name="id2657871"></a>
    55 <a class="indexterm" name="id2657878"></a>
    56 <a class="indexterm" name="id2657884"></a>
    57 <a class="indexterm" name="id2657891"></a>
     53                </span>&#8221;</span></p><p><span class="quote">&#8220;<span class="quote">
     54<a class="indexterm" name="id2663923"></a>
     55<a class="indexterm" name="id2663930"></a>
     56<a class="indexterm" name="id2663936"></a>
     57<a class="indexterm" name="id2663943"></a>
    5858                Is there a way to accomplish this? Do I need a Windows Terminal server?  Do I need to configure it so
    5959                it is a member of the domain or a BDC or PDC? Are there any hacks for MS Windows XP to enable remote login
    6060                even if the computer is in a domain?
    61                 </span>&#8221;</p><p>
    62                 Answer provided: Check out the new offer of &#8220;<span class="quote">NX</span>&#8221; software from
     61                </span>&#8221;</span></p><p>
     62                Answer provided: Check out the new offer of <span class="quote">&#8220;<span class="quote">NX</span>&#8221;</span> software from
    6363                <a class="ulink" href="http://www.nomachine.com/" target="_top">NoMachine</a>.
    6464                </p><p>
    65 <a class="indexterm" name="id2657922"></a>
    66 <a class="indexterm" name="id2657929"></a>
    67 <a class="indexterm" name="id2657935"></a>
     65<a class="indexterm" name="id2663974"></a>
     66<a class="indexterm" name="id2663981"></a>
     67<a class="indexterm" name="id2663988"></a>
    6868        It implements an easy-to-use interface to the Remote X protocol as
    6969        well as incorporating VNC/RFB and rdesktop/RDP into it, but at a speed
    7070        performance much better than anything you may have ever seen.
    7171        </p><p>
    72 <a class="indexterm" name="id2657949"></a>
     72<a class="indexterm" name="id2664001"></a>
    7373        Remote X is not new at all, but what they did achieve successfully is
    7474        a new way of compression and caching technologies that makes the thing
    7575        fast enough to run even over slow modem/ISDN connections.
    7676        </p><p>
    77 <a class="indexterm" name="id2657963"></a>
    78 <a class="indexterm" name="id2657970"></a>
    79 <a class="indexterm" name="id2657976"></a>
    80 <a class="indexterm" name="id2657983"></a>
     77<a class="indexterm" name="id2664015"></a>
     78<a class="indexterm" name="id2664022"></a>
     79<a class="indexterm" name="id2664029"></a>
     80<a class="indexterm" name="id2664035"></a>
    8181        I test drove their (public) Red Hat machine in Italy, over a loaded
    8282        Internet connection, with enabled thumbnail previews in KDE konqueror,
    83         which popped up immediately on &#8220;<span class="quote">mouse-over</span>&#8221;. From inside that (remote X)
     83        which popped up immediately on <span class="quote">&#8220;<span class="quote">mouse-over</span>&#8221;</span>. From inside that (remote X)
    8484        session I started a rdesktop session on another, a Windows XP machine.
    8585        To test the performance, I played Pinball. I am proud to announce
    8686        that my score was 631,750 points at first try.
    8787        </p><p>
    88 <a class="indexterm" name="id2658002"></a>
    89 <a class="indexterm" name="id2658009"></a>
    90 <a class="indexterm" name="id2658016"></a>
    91 <a class="indexterm" name="id2658022"></a>
    92         NX performs better on my local LAN than any of the other &#8220;<span class="quote">pure</span>&#8221;
     88<a class="indexterm" name="id2664054"></a>
     89<a class="indexterm" name="id2664061"></a>
     90<a class="indexterm" name="id2664068"></a>
     91<a class="indexterm" name="id2664074"></a>
     92        NX performs better on my local LAN than any of the other <span class="quote">&#8220;<span class="quote">pure</span>&#8221;</span>
    9393        connection methods I use from time to time: TightVNC, rdesktop or
    9494        Remote X. It is even faster than a direct crosslink connection between
    9595        two nodes.
    9696        </p><p>
    97 <a class="indexterm" name="id2658040"></a>
    98 <a class="indexterm" name="id2658046"></a>
    99 <a class="indexterm" name="id2658053"></a>
     97<a class="indexterm" name="id2664092"></a>
     98<a class="indexterm" name="id2664098"></a>
     99<a class="indexterm" name="id2664105"></a>
    100100        I even got sound playing from the Remote X app to my local boxes, and
    101         had a working &#8220;<span class="quote">copy'n'paste</span>&#8221; from an NX  window (running a KDE session
     101        had a working <span class="quote">&#8220;<span class="quote">copy'n'paste</span>&#8221;</span> from an NX  window (running a KDE session
    102102        in Italy) to my Mozilla mailing agent. These guys are certainly doing
    103103        something right!
     
    119119        at all).
    120120        </p><p>
    121 <a class="indexterm" name="id2658103"></a>
     121<a class="indexterm" name="id2664155"></a>
    122122        Now the best thing for last: All the core compression and caching
    123123        technologies are released under the GPL and available as source code
     
    127127        </p><p>
    128128        To answer your questions:
    129         </p><div class="itemizedlist"><ul type="disc"><li><p>
     129        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    130130                You do not need to install a terminal server; XP has RDP support built in.
    131                 </p></li><li><p>
     131                </p></li><li class="listitem"><p>
    132132                NX is much cheaper than Citrix  and comparable in performance, probably faster.
    133                 </p></li><li><p>
     133                </p></li><li class="listitem"><p>
    134134                You do not need to hack XP  it just works.
    135                 </p></li><li><p>
     135                </p></li><li class="listitem"><p>
    136136                You log into the XP box from remote transparently (and I think there is no
    137137                need to change anything to get a connection, even if authentication is against a domain).
    138                 </p></li><li><p>
     138                </p></li><li class="listitem"><p>
    139139                The NX core technologies are all Open Source and released under the GPL
    140140                you can now use a (very inconvenient) command line at no cost,
    141141                but you can buy a comfortable (proprietary) NX GUI front end for money.
    142                 </p></li><li><p>
    143 <a class="indexterm" name="id2658166"></a>
    144 <a class="indexterm" name="id2658173"></a>
    145 <a class="indexterm" name="id2658179"></a>
    146 <a class="indexterm" name="id2658186"></a>
    147 <a class="indexterm" name="id2658193"></a>
     142                </p></li><li class="listitem"><p>
     143<a class="indexterm" name="id2664218"></a>
     144<a class="indexterm" name="id2664225"></a>
     145<a class="indexterm" name="id2664232"></a>
     146<a class="indexterm" name="id2664238"></a>
     147<a class="indexterm" name="id2664245"></a>
    148148                NoMachine is encouraging and offering help to OSS/Free Software implementations
    149149                for such a front-end too, even if it means competition to them (they have written
    150150                to this effect even to the LTSP, KDE, and GNOME developer mailing lists).
    151                 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2658207"></a>Remote Management with ThinLinc</h3></div></div></div><p>
     151                </p></li></ul></div></div><div class="sect2" title="Remote Management with ThinLinc"><div class="titlepage"><div><div><h3 class="title"><a name="id2664260"></a>Remote Management with ThinLinc</h3></div></div></div><p>
    152152        Another alternative for remote access is <span class="emphasis"><em>ThinLinc</em></span> from Cendio.
    153153        </p><p>
    154 <a class="indexterm" name="id2658223"></a>
    155 <a class="indexterm" name="id2658230"></a>
    156 <a class="indexterm" name="id2658237"></a>
    157 <a class="indexterm" name="id2658244"></a>
    158 <a class="indexterm" name="id2658251"></a>
    159 <a class="indexterm" name="id2658258"></a>
    160 <a class="indexterm" name="id2658264"></a>
    161 <a class="indexterm" name="id2658271"></a>
     154<a class="indexterm" name="id2664276"></a>
     155<a class="indexterm" name="id2664282"></a>
     156<a class="indexterm" name="id2664289"></a>
     157<a class="indexterm" name="id2664296"></a>
     158<a class="indexterm" name="id2664303"></a>
     159<a class="indexterm" name="id2664310"></a>
     160<a class="indexterm" name="id2664316"></a>
     161<a class="indexterm" name="id2664323"></a>
    162162        ThinLinc is a terminal server solution that is available for Linux and Solaris based on standard
    163163        protocols such as SSH, TightVNC, NFS and PulseAudio.
    164164        </p><p>
    165 <a class="indexterm" name="id2658283"></a>
    166 <a class="indexterm" name="id2658290"></a>
     165<a class="indexterm" name="id2664335"></a>
     166<a class="indexterm" name="id2664342"></a>
    167167        ThinLinc an be used both in the LAN environment to implement a Thin Client strategy for an organization, and as
    168168        secure remote access solution for people working from remote locations, even over smallband connections.
    169169        ThinLinc is free to use for a single concurrent user.
    170170        </p><p>
    171 <a class="indexterm" name="id2658305"></a>
    172 <a class="indexterm" name="id2658311"></a>
    173 <a class="indexterm" name="id2658318"></a>
     171<a class="indexterm" name="id2664357"></a>
     172<a class="indexterm" name="id2664364"></a>
     173<a class="indexterm" name="id2664371"></a>
    174174        The product can also be used as a frontend to access Windows Terminal Server or Citrix farms, or even Windows
    175175        XP machines, securing the connection via the ssh protocol. The client is available both for Linux (supporting
     
    186186        <a class="ulink" href="http://www.python.org" target="_top">Python</a> and
    187187        <a class="ulink" href="http://www.rdesktop.org" target="_top">rdesktop</a>.
    188         </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2658393"></a>Network Logon Script Magic</h2></div></div></div><p>
     188        </p></div></div><div class="sect1" title="Network Logon Script Magic"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2664445"></a>Network Logon Script Magic</h2></div></div></div><p>
    189189There are several opportunities for creating a custom network startup configuration environment.
    190 </p><div class="itemizedlist"><ul type="disc"><li><p>No Logon Script.</p></li><li><p>Simple universal Logon Script that applies to all users.</p></li><li><p>Use of a conditional Logon Script that applies per-user or per-group attributes.</p></li><li><p>Use of Samba's preexec and postexec functions on access to the NETLOGON share to create
    191                 a custom logon script and then execute it.</p></li><li><p>User of a tool such as KixStart.</p></li></ul></div><p>
     190</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>No Logon Script.</p></li><li class="listitem"><p>Simple universal Logon Script that applies to all users.</p></li><li class="listitem"><p>Use of a conditional Logon Script that applies per-user or per-group attributes.</p></li><li class="listitem"><p>Use of Samba's preexec and postexec functions on access to the NETLOGON share to create
     191                a custom logon script and then execute it.</p></li><li class="listitem"><p>User of a tool such as KixStart.</p></li></ul></div><p>
    192192The Samba source code tree includes two logon script generation/execution tools.
    193193See <code class="filename">examples</code> directory <code class="filename">genlogon</code> and
     
    196196The following listings are from the genlogon directory.
    197197</p><p>
    198 <a class="indexterm" name="id2658463"></a>
     198<a class="indexterm" name="id2664515"></a>
    199199This is the <code class="filename">genlogon.pl</code> file:
    200200
     
    275275</p><p>
    276276Those wishing to use a more elaborate or capable logon processing system should check out these sites:
    277 </p><div class="itemizedlist"><ul type="disc"><li><p><a class="ulink" href="http://www.craigelachie.org/rhacer/ntlogon" target="_top">http://www.craigelachie.org/rhacer/ntlogon</a></p></li><li><p><a class="ulink" href="http://www.kixtart.org" target="_top">http://www.kixtart.org</a></p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2658618"></a>Adding Printers without User Intervention</h3></div></div></div><p>
    278 <a class="indexterm" name="id2658626"></a>
     277</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><a class="ulink" href="http://www.craigelachie.org/rhacer/ntlogon" target="_top">http://www.craigelachie.org/rhacer/ntlogon</a></p></li><li class="listitem"><p><a class="ulink" href="http://www.kixtart.org" target="_top">http://www.kixtart.org</a></p></li></ul></div><div class="sect2" title="Adding Printers without User Intervention"><div class="titlepage"><div><div><h3 class="title"><a name="id2664670"></a>Adding Printers without User Intervention</h3></div></div></div><p>
     278<a class="indexterm" name="id2664678"></a>
    279279Printers may be added automatically during logon script processing through the use of:
    280280</p><pre class="screen">
     
    283283
    284284See the documentation in the <a class="ulink" href="http://support.microsoft.com/default.asp?scid=kb;en-us;189105" target="_top">Microsoft Knowledge Base article 189105</a>.
    285 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2658661"></a>Limiting Logon Connections</h3></div></div></div><p>
     285</p></div><div class="sect2" title="Limiting Logon Connections"><div class="titlepage"><div><div><h3 class="title"><a name="id2664713"></a>Limiting Logon Connections</h3></div></div></div><p>
    286286                Sometimes it is necessary to limit the number of concurrent connections to a
    287287                Samba shared resource. For example, a site may wish to permit only one network
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/Appendix.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part VI. Reference Section</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="tdb.html" title="Chapter 41. Managing TDB Files"><link rel="next" href="compiling.html" title="Chapter 42. How to Compile Samba"></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">Part VI. Reference Section</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="tdb.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="compiling.html">Next</a></td></tr></table><hr></div><div class="part" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="Appendix"></a>Part VI. Reference Section</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="compiling.html">42. How to Compile Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="compiling.html#id2687571">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2687577">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2687618">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2687810">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2687884">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2688022">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2688260">Compiling Samba with Active Directory Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#startingSamba">Starting the smbd nmbd and winbindd</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2688531">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2688751">Alternative: Starting smbd as a Daemon</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Portability.html">43. Portability</a></span></dt><dd><dl><dt><span class="sect1"><a href="Portability.html#id2689135">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689239">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689278">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689420">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689463">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689525">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2689530">Locking Improvements</a></span></dt><dt><span class="sect2"><a href="Portability.html#winbind-solaris9">Winbind on Solaris 9</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Other-Clients.html">44. Samba and Other CIFS Clients</a></span></dt><dd><dl><dt><span class="sect1"><a href="Other-Clients.html#id2689706">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2689790">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2689796">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2689915">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2689972">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690065">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2690071">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690154">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690180">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690238">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690270">Use TCP/IP as Default Protocol</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#speedimpr">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690327">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2690396">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690417">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2690613">Windows NT 3.1</a></span></dt></dl></dd><dt><span class="chapter"><a href="speed.html">45. Samba Performance Tuning</a></span></dt><dd><dl><dt><span class="sect1"><a href="speed.html#id2690721">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690759">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690856">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690900">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690948">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690972">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691039">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691091">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691115">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691136">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691227">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691323">Samba Performance is Very Slow</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-ldap-tls.html">46. LDAP and Transport Layer Security</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></span></dt><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-config-ldap-tls">Configuring</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-certs">Generating the Certificate Authority</a></span></dt><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-server">Generating the Server Certificate</a></span></dt><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-install">Installing the Certificates</a></span></dt></dl></dd><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-test-ldap-tls">Testing</a></span></dt><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-int-ldap-tls">Troubleshooting</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch47.html">47. Samba Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch47.html#id2692514">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2692732">Commercial Support</a></span></dt></dl></dd><dt><span class="chapter"><a href="DNSDHCP.html">48. DNS and DHCP Configuration Guide</a></span></dt><dd><dl><dt><span class="sect1"><a href="DNSDHCP.html#id2692891">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2693070">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2693161">Dynamic DNS</a></span></dt><dt><span class="sect2"><a href="DNSDHCP.html#DHCP">DHCP Server</a></span></dt></dl></dd></dl></dd></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="tdb.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="compiling.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 41. Managing TDB Files </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 42. How to Compile Samba</td></tr></table></div></body></html>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part VI. Reference Section</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="tdb.html" title="Chapter 41. Managing TDB Files"><link rel="next" href="compiling.html" title="Chapter 42. How to Compile Samba"></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">Part VI. Reference Section</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="tdb.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="compiling.html">Next</a></td></tr></table><hr></div><div class="part" title="Part VI. Reference Section"><div class="titlepage"><div><div><h1 class="title"><a name="Appendix"></a>Part VI. Reference Section</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="compiling.html">42. How to Compile Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="compiling.html#id2693628">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2693634">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2693675">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2693866">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2693941">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2694079">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2694316">Compiling Samba with Active Directory Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#startingSamba">Starting the <span class="application">smbd</span> <span class="application">nmbd</span> and <span class="application">winbindd</span></a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2694587">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2694807">Alternative: Starting <span class="application">smbd</span> as a Daemon</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Portability.html">43. Portability</a></span></dt><dd><dl><dt><span class="sect1"><a href="Portability.html#id2695192">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695296">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695335">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695476">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695520">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695581">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2695587">Locking Improvements</a></span></dt><dt><span class="sect2"><a href="Portability.html#winbind-solaris9">Winbind on Solaris 9</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Other-Clients.html">44. Samba and Other CIFS Clients</a></span></dt><dd><dl><dt><span class="sect1"><a href="Other-Clients.html#id2695763">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2695847">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2695852">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2695972">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696028">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2696122">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2696128">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696211">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696237">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696295">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696326">Use TCP/IP as Default Protocol</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#speedimpr">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2696384">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2696453">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2696474">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2696670">Windows NT 3.1</a></span></dt></dl></dd><dt><span class="chapter"><a href="speed.html">45. Samba Performance Tuning</a></span></dt><dd><dl><dt><span class="sect1"><a href="speed.html#id2696777">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2696815">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2696912">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2696957">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697004">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697029">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697096">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697148">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697172">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697192">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697284">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697380">Samba Performance is Very Slow</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-ldap-tls.html">46. LDAP and Transport Layer Security</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></span></dt><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-config-ldap-tls">Configuring</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-certs">Generating the Certificate Authority</a></span></dt><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-server">Generating the Server Certificate</a></span></dt><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-install">Installing the Certificates</a></span></dt></dl></dd><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-test-ldap-tls">Testing</a></span></dt><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-int-ldap-tls">Troubleshooting</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch47.html">47. Samba Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch47.html#id2698571">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2698789">Commercial Support</a></span></dt></dl></dd><dt><span class="chapter"><a href="DNSDHCP.html">48. DNS and DHCP Configuration Guide</a></span></dt><dd><dl><dt><span class="sect1"><a href="DNSDHCP.html#id2698948">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2699127">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2699218">Dynamic DNS</a></span></dt><dt><span class="sect2"><a href="DNSDHCP.html#DHCP">DHCP Server</a></span></dt></dl></dd></dl></dd></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="tdb.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="compiling.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 41. Managing TDB Files </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 42. How to Compile Samba</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/Backup.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 31. Backup Techniques</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="unicode.html" title="Chapter 30. Unicode/Charsets"><link rel="next" href="SambaHA.html" title="Chapter 32. High Availability"></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 31. Backup Techniques</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="unicode.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="SambaHA.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="Backup"></a>Chapter 31. Backup Techniques</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="Backup.html#id2671410">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2671454">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2671551">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671723">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671892">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671940">BOBS: Browseable Online Backup System</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2671410"></a>Features and Benefits</h2></div></div></div><p>
    2 <a class="indexterm" name="id2671418"></a>
    3 <a class="indexterm" name="id2671424"></a>
    4 <a class="indexterm" name="id2671431"></a>
    5 <a class="indexterm" name="id2671438"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 31. Backup Techniques</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="unicode.html" title="Chapter 30. Unicode/Charsets"><link rel="next" href="SambaHA.html" title="Chapter 32. High Availability"></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 31. Backup Techniques</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="unicode.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="SambaHA.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 31. Backup Techniques"><div class="titlepage"><div><div><h2 class="title"><a name="Backup"></a>Chapter 31. Backup Techniques</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="Backup.html#id2677464">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2677509">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2677606">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2677778">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2677947">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2677995">BOBS: Browseable Online Backup System</a></span></dt></dl></dd></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2677464"></a>Features and Benefits</h2></div></div></div><p>
     2<a class="indexterm" name="id2677472"></a>
     3<a class="indexterm" name="id2677479"></a>
     4<a class="indexterm" name="id2677486"></a>
     5<a class="indexterm" name="id2677493"></a>
    66The Samba project is over 10 years old. During the early history
    77of Samba, UNIX administrators were its key implementors. UNIX administrators
     
    1010taken an interest in Samba. This is reflected in the questions about backup
    1111in general on the Samba mailing lists.
    12 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2671454"></a>Discussion of Backup Solutions</h2></div></div></div><p>
    13 <a class="indexterm" name="id2671462"></a>
    14 <a class="indexterm" name="id2671469"></a>
     12</p></div><div class="sect1" title="Discussion of Backup Solutions"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2677509"></a>Discussion of Backup Solutions</h2></div></div></div><p>
     13<a class="indexterm" name="id2677517"></a>
     14<a class="indexterm" name="id2677524"></a>
    1515During discussions at a Microsoft Windows training course, one of
    1616the pro-UNIX delegates stunned the class when he pointed out that Windows
     
    1919and, in combination, capable of achieving any desired outcome.
    2020</p><p>
    21 <a class="indexterm" name="id2671485"></a>
    22 <a class="indexterm" name="id2671492"></a>
     21<a class="indexterm" name="id2677540"></a>
     22<a class="indexterm" name="id2677547"></a>
    2323One of the Windows networking advocates retorted that if she wanted a
    2424Meccano set, she would buy one. She made it clear that a complex single
     
    2626intent is preferred by some like her.
    2727</p><p>
    28 <a class="indexterm" name="id2671506"></a>
    29 <a class="indexterm" name="id2671513"></a>
    30 <a class="indexterm" name="id2671520"></a>
     28<a class="indexterm" name="id2677561"></a>
     29<a class="indexterm" name="id2677568"></a>
     30<a class="indexterm" name="id2677575"></a>
    3131Please note that all information here is provided as is and without recommendation
    3232of fitness or suitability. The network administrator is strongly encouraged to
     
    3939</p><p>
    4040The following three free software projects might also merit consideration.
    41 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2671551"></a>BackupPC</h3></div></div></div><p>
    42         <a class="indexterm" name="id2671559"></a>
    43 <a class="indexterm" name="id2671566"></a>
    44 <a class="indexterm" name="id2671573"></a>
     41</p><div class="sect2" title="BackupPC"><div class="titlepage"><div><div><h3 class="title"><a name="id2677606"></a>BackupPC</h3></div></div></div><p>
     42        <a class="indexterm" name="id2677614"></a>
     43<a class="indexterm" name="id2677621"></a>
     44<a class="indexterm" name="id2677628"></a>
    4545        BackupPC version 2.0.0 has been released on <a class="ulink" href="http://backuppc.sourceforge.net" target="_top">SourceForge</a>.
    4646         New features include support for <code class="literal">rsync/rsyncd</code> and internationalization of the CGI interface
    4747        (including English, French, Spanish, and German).
    4848        </p><p>
    49 <a class="indexterm" name="id2671597"></a>
    50 <a class="indexterm" name="id2671604"></a>
    51 <a class="indexterm" name="id2671611"></a>
    52 <a class="indexterm" name="id2671617"></a>
    53 <a class="indexterm" name="id2671624"></a>
    54 <a class="indexterm" name="id2671631"></a>
    55 <a class="indexterm" name="id2671637"></a>
    56 <a class="indexterm" name="id2671644"></a>
     49<a class="indexterm" name="id2677652"></a>
     50<a class="indexterm" name="id2677659"></a>
     51<a class="indexterm" name="id2677666"></a>
     52<a class="indexterm" name="id2677672"></a>
     53<a class="indexterm" name="id2677679"></a>
     54<a class="indexterm" name="id2677686"></a>
     55<a class="indexterm" name="id2677692"></a>
     56<a class="indexterm" name="id2677699"></a>
    5757        BackupPC is a high-performance Perl-based package for backing up Linux,
    5858        UNIX, and Windows PCs and laptops to a server's disk. BackupPC is highly
     
    6161         are used to extract client data.
    6262        </p><p>
    63 <a class="indexterm" name="id2671676"></a>
    64 <a class="indexterm" name="id2671683"></a>
    65 <a class="indexterm" name="id2671690"></a>
     63<a class="indexterm" name="id2677731"></a>
     64<a class="indexterm" name="id2677738"></a>
     65<a class="indexterm" name="id2677744"></a>
    6666        Given the ever-decreasing cost of disks and RAID systems, it is now
    6767        practical and cost effective to backup a large number of machines onto
     
    7272        to browse backups and restore files.
    7373        </p><p>
    74 <a class="indexterm" name="id2671710"></a>
     74<a class="indexterm" name="id2677765"></a>
    7575        BackupPC is free software distributed under a GNU GPL license.
    7676        BackupPC runs on Linux/UNIX/freenix servers and has been tested
    7777        on Linux, UNIX, Windows 9x/Me, Windows 98, Windows 200x, Windows XP, and Mac OSX clients.
    78         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2671723"></a>Rsync</h3></div></div></div><p>
    79 <a class="indexterm" name="id2671730"></a>
    80 <a class="indexterm" name="id2671737"></a>
    81 <a class="indexterm" name="id2671744"></a>
    82 <a class="indexterm" name="id2671750"></a>
    83 <a class="indexterm" name="id2671757"></a>
    84 <a class="indexterm" name="id2671764"></a>
     78        </p></div><div class="sect2" title="Rsync"><div class="titlepage"><div><div><h3 class="title"><a name="id2677778"></a>Rsync</h3></div></div></div><p>
     79<a class="indexterm" name="id2677785"></a>
     80<a class="indexterm" name="id2677792"></a>
     81<a class="indexterm" name="id2677799"></a>
     82<a class="indexterm" name="id2677805"></a>
     83<a class="indexterm" name="id2677812"></a>
     84<a class="indexterm" name="id2677819"></a>
    8585        <code class="literal">rsync</code> is a flexible program for efficiently copying files or
    8686                directory trees.</p><p><code class="literal">rsync</code> has many options to select which files will be copied
    8787          and how they are to be transferred. It may be used as an
    8888          alternative to <code class="literal">ftp, http, scp</code>, or <code class="literal">rcp</code>.</p><p>
    89 <a class="indexterm" name="id2671803"></a>
    90 <a class="indexterm" name="id2671810"></a>
    91 <a class="indexterm" name="id2671817"></a>
     89<a class="indexterm" name="id2677858"></a>
     90<a class="indexterm" name="id2677865"></a>
     91<a class="indexterm" name="id2677872"></a>
    9292        The rsync remote-update protocol allows rsync to transfer just
    9393          the differences between two sets of files across the network link,
    9494          using an efficient checksum-search algorithm described in the
    95           technical report that accompanies the rsync package.</p><p>Some of the additional features of rsync are:</p><div class="itemizedlist"><ul type="disc"><li><p>
     95          technical report that accompanies the rsync package.</p><p>Some of the additional features of rsync are:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    9696                    Support for copying links, devices, owners, groups, and permissions.
    97                   </p></li><li><p>
     97                  </p></li><li class="listitem"><p>
    9898                    Exclude and exclude-from options are similar to GNU tar.
    99                   </p></li><li><p>
     99                  </p></li><li class="listitem"><p>
    100100                    A CVS exclude mode for ignoring the same files that CVS would ignore.
    101                   </p></li><li><p>
     101                  </p></li><li class="listitem"><p>
    102102                    Can use any transparent remote shell, including rsh or ssh.
    103                   </p></li><li><p>
     103                  </p></li><li class="listitem"><p>
    104104                    Does not require root privileges.
    105                   </p></li><li><p>
     105                  </p></li><li class="listitem"><p>
    106106                    Pipelining of file transfers to minimize latency costs.
    107                   </p></li><li><p>
     107                  </p></li><li class="listitem"><p>
    108108                    Support for anonymous or authenticated rsync servers (ideal for
    109109                    mirroring).
    110                   </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2671892"></a>Amanda</h3></div></div></div><p>
    111         <a class="indexterm" name="id2671900"></a>
    112 <a class="indexterm" name="id2671907"></a>
    113 <a class="indexterm" name="id2671913"></a>
     110                  </p></li></ul></div></div><div class="sect2" title="Amanda"><div class="titlepage"><div><div><h3 class="title"><a name="id2677947"></a>Amanda</h3></div></div></div><p>
     111        <a class="indexterm" name="id2677955"></a>
     112<a class="indexterm" name="id2677962"></a>
     113<a class="indexterm" name="id2677968"></a>
    114114        Amanda, the Advanced Maryland Automatic Network Disk Archiver, is a backup system that
    115115        allows the administrator of a LAN to set up a single master backup server to back up
     
    120120        For more information regarding Amanda, please check the <a class="ulink" href="http://www.amanda.org/" target="_top">
    121121        www.amanda.org/ site</a>.
    122         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2671940"></a>BOBS: Browseable Online Backup System</h3></div></div></div><p>
    123         <a class="indexterm" name="id2671949"></a>
     122        </p></div><div class="sect2" title="BOBS: Browseable Online Backup System"><div class="titlepage"><div><div><h3 class="title"><a name="id2677995"></a>BOBS: Browseable Online Backup System</h3></div></div></div><p>
     123        <a class="indexterm" name="id2678004"></a>
    124124        Browseable Online Backup System (BOBS) is a complete online backup system. Uses large
    125125        disks for storing backups and lets users browse the files using a Web browser. Handles
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/CUPS-printing.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 22. CUPS Printing Support</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="classicalprinting.html" title="Chapter 21. Classical Printing Support"><link rel="next" href="VFS.html" title="Chapter 23. Stackable VFS modules"></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 22. CUPS Printing Support</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="classicalprinting.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="VFS.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="CUPS-printing"></a>Chapter 22. CUPS Printing Support</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Kurt</span> <span class="orgname">Danka Deutschland GmbH </span> <span class="surname">Pfeifle</span></h3><div class="affiliation"><span class="orgname">Danka Deutschland GmbH <br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:kpfeifle@danka.de">kpfeifle@danka.de</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Ciprian</span> <span class="surname">Vizitiu</span></h3><span class="contrib">drawings</span> <div class="affiliation"><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:CVizitiu@gbif.org">CVizitiu@gbif.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><span class="contrib">drawings</span> <div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate"> (27 Jan 2004) </p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="CUPS-printing.html#id2632968">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2632974">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633034">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633153">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633268">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633517">Simple smb.conf Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633762">More Complex CUPS smb.conf Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2634138">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2634156">Central Spooling vs. Peer-to-Peer Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634206">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634441">Installation of Windows Client Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634728">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2634850">Advanced Intelligent Printing with PostScript Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635579">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635733">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635816">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635936">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636848">Filtering  Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637005">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637193">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637361">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637630">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637715">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637934">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638508">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638521">mime.convs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638590">Raw Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638698">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638977">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640025">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640148">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640243">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640259">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640321">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640393">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640498">Network Printing (Windows Clients and UNIX/Samba Print
    2 Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640516">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640706">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640785">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640876">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640920">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640988">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641003">Printer Drivers Running in Kernel Mode Cause Many
    3 Problems</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641041">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641059">CUPS: A Magical Stone?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641102">PostScript Drivers with No Major Problems, Even in Kernel
    4 Mode</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2641189">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641212">cupsaddsmb: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641310">Prepare Your smb.conf for cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641591">CUPS PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641830">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641949">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641974">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642037">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642336">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642554">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642694">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642886">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643030">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643152">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643233">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643314">Installing the PostScript Driver on a Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-avoidps1">Avoiding Critical PostScript Driver Settings on the Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2643549">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2643723">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643895">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644000">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644132">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645315">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2645661">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645729">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645795">Losing *.tdb Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645846">Using tdbbackup</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2645965">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646141">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646962">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647435">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2647471">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647525">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647565">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647706">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647851">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647917">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647957">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647971">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648188">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2648264">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648349">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648488">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2648535">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648832">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648943">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2648949">Windows 9x/Me Client Can't Install Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#root-ask-loop">cupsaddsmb Keeps Asking for Root Password in Never-ending Loop</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649025">cupsaddsmb or rpcclient addriver Emit Error</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649063">cupsaddsmb Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649137">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649162">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649253">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649304">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649342">Can't Use cupsaddsmb on Samba Server, Which Is a PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649378">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649412">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649445">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649486">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649512">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649558">Print Options for All Users Can't Be Set on Windows 200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649842">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649897">cupsaddsmb Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649947">Permissions on /var/spool/samba/ Get Reset After Each Reboot</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650045">Print Queue Called lp Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650114">Location of Adobe PostScript Driver Files for cupsaddsmb</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2650168">Overview of the CUPS Printing Processes</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2632968"></a>Introduction</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2632974"></a>Features and Benefits</h3></div></div></div><p>
    5 <a class="indexterm" name="id2632982"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 22. CUPS Printing Support</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="classicalprinting.html" title="Chapter 21. Classical Printing Support"><link rel="next" href="VFS.html" title="Chapter 23. Stackable VFS modules"></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 22. CUPS Printing Support</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="classicalprinting.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="VFS.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 22. CUPS Printing Support"><div class="titlepage"><div><div><h2 class="title"><a name="CUPS-printing"></a>Chapter 22. CUPS Printing Support</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Kurt</span> <span class="surname">Pfeifle</span></h3><div class="affiliation"><span class="orgname">Danka Deutschland GmbH <br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:kpfeifle@danka.de">kpfeifle@danka.de</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Ciprian</span> <span class="surname">Vizitiu</span></h3><span class="contrib">drawings</span> <div class="affiliation"><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:CVizitiu@gbif.org">CVizitiu@gbif.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><span class="contrib">drawings</span> <div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate"> (27 Jan 2004) </p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="CUPS-printing.html#id2639060">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2639066">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639126">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2639245">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2639361">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639609">Simple <code class="filename">smb.conf</code> Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639853">More Complex CUPS <code class="filename">smb.conf</code> Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640231">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640248">Central Spooling vs. <span class="quote">&#8220;<span class="quote">Peer-to-Peer</span>&#8221;</span> Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640299">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640534">Installation of Windows Client Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-raw">Explicitly Enable <span class="quote">&#8220;<span class="quote">raw</span>&#8221;</span> Printing for <span class="emphasis"><em>application/octet-stream</em></span></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640821">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640942">Advanced Intelligent Printing with PostScript Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641672">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641826">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641909">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642028">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642940">Filtering  Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643098">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643286">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643453">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643723">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643807">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644027">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644365">The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644600">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644613"><code class="filename">mime.convs</code></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644682"><span class="quote">&#8220;<span class="quote">Raw</span>&#8221;</span> Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644790">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645069">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645352"><span class="emphasis"><em>cupsomatic/foomatic-rip</em></span> Versus <span class="emphasis"><em>Native CUPS</em></span> Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646117">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646240">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2646335">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646352">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646414">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646485">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2646590">Network Printing (Windows Clients and UNIX/Samba Print
     2Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646608">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646799">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2646878">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646968">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647013">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647081">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2647095">Printer Drivers Running in <span class="quote">&#8220;<span class="quote">Kernel Mode</span>&#8221;</span> Cause Many
     3Problems</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647134">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647151">CUPS: A <span class="quote">&#8220;<span class="quote">Magical Stone</span>&#8221;</span>?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647194">PostScript Drivers with No Major Problems, Even in Kernel
     4Mode</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647282">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2647304"><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647402">Prepare Your <code class="filename">smb.conf</code> for <code class="literal">cupsaddsmb</code></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647683">CUPS <span class="quote">&#8220;<span class="quote">PostScript Driver for Windows NT/200x/XP</span>&#8221;</span></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647923">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648041">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648067">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648129">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648429">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648647">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648787">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648978">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649123">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649245">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649326">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649407">Installing the PostScript Driver on a Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-avoidps1">Avoiding Critical PostScript Driver Settings on the Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2649642">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2649816">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649987">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650092">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650224">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651408">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2651551">The Printing <code class="filename">*.tdb</code> Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2651754">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651821">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651887">Losing <code class="filename">*.tdb</code> Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651938">Using <code class="literal">tdbbackup</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2652058">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2652233">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653055">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2653528">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2653563">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653617">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653658">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653798">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653943">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654009">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654049">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2654063">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2654280">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2654356">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654441">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654580">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2654628">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2654924">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2655035">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2655041">Windows 9x/Me Client Can't Install Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#root-ask-loop"><span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span> Keeps Asking for Root Password in Never-ending Loop</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655118"><span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span> or <span class="quote">&#8220;<span class="quote">rpcclient addriver</span>&#8221;</span> Emit Error</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655156"><span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span> Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655230">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655254">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655345">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655397">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655434">Can't Use <span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span> on Samba Server, Which Is a PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655470">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655505">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655538">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655579">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655604">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655651">Print Options for All Users Can't Be Set on Windows 200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655934">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655990"><code class="literal">cupsaddsmb</code> Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2656039">Permissions on <code class="filename">/var/spool/samba/</code> Get Reset After Each Reboot</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2656138">Print Queue Called <span class="quote">&#8220;<span class="quote">lp</span>&#8221;</span> Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2656207">Location of Adobe PostScript Driver Files for <span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span></a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2656260">Overview of the CUPS Printing Processes</a></span></dt></dl></div><div class="sect1" title="Introduction"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2639060"></a>Introduction</h2></div></div></div><div class="sect2" title="Features and Benefits"><div class="titlepage"><div><div><h3 class="title"><a name="id2639066"></a>Features and Benefits</h3></div></div></div><p>
     5<a class="indexterm" name="id2639074"></a>
    66                The Common UNIX Print System (<a class="ulink" href="http://www.cups.org/" target="_top">CUPS</a>)
    77                has become quite popular. All major Linux distributions now ship it as their default printing
    88                system. To many, it is still a mystical tool. Mostly, it just works.  People tend to regard
    9                 it as a &#8220;<span class="quote">black box</span>&#8221; that they do not want to look into as long as it works. But once
     9                it as a <span class="quote">&#8220;<span class="quote">black box</span>&#8221;</span> that they do not want to look into as long as it works. But once
    1010                there is a little problem, they have trouble finding out where to start debugging it. Refer to
    1111                <a class="link" href="classicalprinting.html" title="Chapter 21. Classical Printing Support">Classical Printing</a>, which contains much information
    1212                that is also relevant to CUPS.
    1313                </p><p>
    14 <a class="indexterm" name="id2633017"></a>
     14<a class="indexterm" name="id2639109"></a>
    1515                CUPS sports quite a few unique and powerful features. While its basic functions may be grasped quite
    1616                easily, they are also new. Because it is different from other, more traditional printing systems, it is best
     
    1818                the beginning. This documentation will lead you to a complete understanding of CUPS. Let's start with the most
    1919                basic things first.
    20                 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2633034"></a>Overview</h3></div></div></div><p>
    21 <a class="indexterm" name="id2633042"></a>
    22 <a class="indexterm" name="id2633049"></a>
    23 <a class="indexterm" name="id2633055"></a>
    24 <a class="indexterm" name="id2633062"></a>
    25 <a class="indexterm" name="id2633069"></a>
    26 <a class="indexterm" name="id2633079"></a>
    27 <a class="indexterm" name="id2633088"></a>
    28 <a class="indexterm" name="id2633095"></a>
     20                </p></div><div class="sect2" title="Overview"><div class="titlepage"><div><div><h3 class="title"><a name="id2639126"></a>Overview</h3></div></div></div><p>
     21<a class="indexterm" name="id2639134"></a>
     22<a class="indexterm" name="id2639141"></a>
     23<a class="indexterm" name="id2639148"></a>
     24<a class="indexterm" name="id2639155"></a>
     25<a class="indexterm" name="id2639162"></a>
     26<a class="indexterm" name="id2639171"></a>
     27<a class="indexterm" name="id2639181"></a>
     28<a class="indexterm" name="id2639188"></a>
    2929        CUPS is more than just a print spooling system. It is a complete printer management system that
    3030        complies with the new Internet Printing Protocol (IPP). IPP is an industry and Internet Engineering Task Force
     
    3434        like KDE's overwhelming <a class="ulink" href="http://printing.kde.org/" target="_top">KDEPrint</a>).
    3535        </p><p>
    36 <a class="indexterm" name="id2633121"></a>
    37 <a class="indexterm" name="id2633128"></a>
     36<a class="indexterm" name="id2639213"></a>
     37<a class="indexterm" name="id2639220"></a>
    3838        CUPS allows creation of <span class="emphasis"><em>raw</em></span> printers (i.e., no print file format translation) as
    3939        well as <span class="emphasis"><em>smart</em></span> printers (i.e., CUPS does file format conversion as required for the
     
    4141        course, if you are a CUPS advocate, you would argue that CUPS is better! In any case, let us now explore how
    4242        to configure CUPS for interfacing with MS Windows print clients via Samba.
    43         </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2633153"></a>Basic CUPS Support Configuration</h2></div></div></div><p>
    44 <a class="indexterm" name="id2633161"></a>
    45 <a class="indexterm" name="id2633168"></a>
    46 <a class="indexterm" name="id2633174"></a>
    47 <a class="indexterm" name="id2633181"></a>
    48 <a class="indexterm" name="id2633188"></a>
     43        </p></div></div><div class="sect1" title="Basic CUPS Support Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2639245"></a>Basic CUPS Support Configuration</h2></div></div></div><p>
     44<a class="indexterm" name="id2639253"></a>
     45<a class="indexterm" name="id2639260"></a>
     46<a class="indexterm" name="id2639267"></a>
     47<a class="indexterm" name="id2639274"></a>
     48<a class="indexterm" name="id2639280"></a>
    4949Printing with CUPS in the most basic <code class="filename">smb.conf</code> setup in Samba-3.0 (as was true for 2.2.x) requires just two
    5050parameters: <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = cups</a> and <a class="link" href="smb.conf.5.html#PRINTCAP" target="_top">printcap = cups</a>. CUPS does not need a printcap file.  However, the
     
    5656cupsd.conf</code> and other CUPS-related documentation, like the wealth of documents regarding the CUPS
    5757server itself available from the <a class="ulink" href="http://localhost:631/documentation.html" target="_top">CUPS</a> web site.
    58         </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2633268"></a>Linking smbd with libcups.so</h3></div></div></div><p>
    59 <a class="indexterm" name="id2633276"></a>
     58        </p><div class="sect2" title="Linking smbd with libcups.so"><div class="titlepage"><div><div><h3 class="title"><a name="id2639361"></a>Linking smbd with libcups.so</h3></div></div></div><p>
     59<a class="indexterm" name="id2639369"></a>
    6060        Samba has a special relationship to CUPS. Samba can be compiled with CUPS library support.
    6161        Most recent installations have this support enabled. By default, CUPS linking is compiled
     
    6464        there are some differences in required or supported configuration.
    6565        </p><p>
    66 <a class="indexterm" name="id2633302"></a>
    67 <a class="indexterm" name="id2633308"></a>
     66<a class="indexterm" name="id2639394"></a>
     67<a class="indexterm" name="id2639400"></a>
    6868        When Samba is compiled and linked with <code class="filename">libcups</code>, <a class="link" href="smb.conf.5.html#PRINTCAP" target="_top">printcap = cups</a>
    6969        uses the CUPS API to list printers, submit jobs, query queues, and so on. Otherwise it maps to the System V
     
    8080</pre><p>
    8181        </p><p>
    82 <a class="indexterm" name="id2633379"></a>
     82<a class="indexterm" name="id2639471"></a>
    8383        The line <code class="computeroutput">libcups.so.2 =&gt; /usr/lib/libcups.so.2 (0x40123000)</code> shows
    8484        there is CUPS support compiled into this version of Samba. If this is the case, and printing = cups
    8585        is set, then <span class="emphasis"><em>any otherwise manually set print command in <code class="filename">smb.conf</code> is ignored</em></span>.
    8686        This is an important point to remember!
    87         </p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p> Should it be necessary, for any reason, to set your own print commands, you can do this by setting
     87        </p><div class="tip" title="Tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p> Should it be necessary, for any reason, to set your own print commands, you can do this by setting
    8888        <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = sysv</a>. However, you will lose all the benefits
    8989        of tight CUPS-Samba integration. When you do this, you must manually configure the printing system commands
     
    9696        <a class="link" href="smb.conf.5.html#QUEUEPAUSECOMMAND" target="_top">queuepause command</a> and
    9797        <a class="link" href="smb.conf.5.html#QUEUERESUMECOMMAND" target="_top">queue resume command</a>).
    98         </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2633517"></a>Simple <code class="filename">smb.conf</code> Settings for CUPS</h3></div></div></div><p>
     98        </p></div></div><div class="sect2" title="Simple smb.conf Settings for CUPS"><div class="titlepage"><div><div><h3 class="title"><a name="id2639609"></a>Simple <code class="filename">smb.conf</code> Settings for CUPS</h3></div></div></div><p>
    9999        To summarize, <a class="link" href="CUPS-printing.html#cups-exam-simple" title="Example 22.1. Simplest Printing-Related smb.conf">the Simplest Printing-Related
    100100        <code class="filename">smb.conf</code> file</a> shows the simplest printing-related setup for <code class="filename">smb.conf</code> to
    101101        enable basic CUPS support:
    102         </p><div class="example"><a name="cups-exam-simple"></a><p class="title"><b>Example 22.1. Simplest Printing-Related smb.conf</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2633577"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633589"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2633600"></a><em class="parameter"><code>printcap name = cups</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="id2633621"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2633633"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2633644"></a><em class="parameter"><code>browseable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2633656"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633668"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2633679"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633691"></a><em class="parameter"><code>printer admin = root, @ntadmins, @smbprintadm</code></em></td></tr></table></div></div><br class="example-break"><p>
    103 <a class="indexterm" name="id2633706"></a>
    104 <a class="indexterm" name="id2633713"></a>
    105 <a class="indexterm" name="id2633720"></a>
     102        </p><div class="example"><a name="cups-exam-simple"></a><p class="title"><b>Example 22.1. Simplest Printing-Related smb.conf</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2639670"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2639681"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2639692"></a><em class="parameter"><code>printcap name = cups</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="id2639713"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2639725"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2639737"></a><em class="parameter"><code>browseable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2639748"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2639760"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2639772"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2639783"></a><em class="parameter"><code>printer admin = root, @ntadmins, @smbprintadm</code></em></td></tr></table></div></div><br class="example-break"><p>
     103<a class="indexterm" name="id2639799"></a>
     104<a class="indexterm" name="id2639805"></a>
     105<a class="indexterm" name="id2639812"></a>
    106106        This is all you need for basic printing setup for CUPS. It will print all graphic, text, PDF, and PostScript
    107107        files submitted from Windows clients. However, most of your Windows users would not know how to send these
     
    109109        installed, and the GUI application's print buttons start a printer driver. Your users also rarely send files
    110110        from the command line. Unlike UNIX clients, they rarely submit graphic, text, or PDF formatted files directly
    111         to the spooler. They nearly exclusively print from GUI applications with a &#8220;<span class="quote">printer driver</span>&#8221;
     111        to the spooler. They nearly exclusively print from GUI applications with a <span class="quote">&#8220;<span class="quote">printer driver</span>&#8221;</span>
    112112        hooked between the application's native format and the print data stream. If the backend printer is not a
    113         PostScript device, the print data stream is &#8220;<span class="quote">binary,</span>&#8221; sensible only for the target printer. Read
     113        PostScript device, the print data stream is <span class="quote">&#8220;<span class="quote">binary,</span>&#8221;</span> sensible only for the target printer. Read
    114114        on to learn what problem this may cause and how to avoid it.
    115         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2633762"></a>More Complex CUPS <code class="filename">smb.conf</code> Settings</h3></div></div></div><p>
     115        </p></div><div class="sect2" title="More Complex CUPS smb.conf Settings"><div class="titlepage"><div><div><h3 class="title"><a name="id2639853"></a>More Complex CUPS <code class="filename">smb.conf</code> Settings</h3></div></div></div><p>
    116116        <a class="link" href="CUPS-printing.html#overridesettings" title="Example 22.2. Overriding Global CUPS Settings for One Printer">The Overriding Global CUPS Settings for One Printer example</a>
    117117        is a slightly more complex printing-related setup for <code class="filename">smb.conf</code>. It enables general CUPS printing
    118118        support for all printers, but defines one printer share, which is set up differently.
    119         </p><div class="example"><a name="overridesettings"></a><p class="title"><b>Example 22.2. Overriding Global CUPS Settings for One Printer</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2633819"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2633830"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2633842"></a><em class="parameter"><code>load printers = yes</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="id2633863"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2633874"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2633885"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633897"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2633908"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633920"></a><em class="parameter"><code>printer admin = root, @ntadmins, @smbprintadm</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[special_printer]</code></em></td></tr><tr><td><a class="indexterm" name="id2633941"></a><em class="parameter"><code>comment = A special printer with his own settings</code></em></td></tr><tr><td><a class="indexterm" name="id2633954"></a><em class="parameter"><code>path = /var/spool/samba-special</code></em></td></tr><tr><td><a class="indexterm" name="id2633965"></a><em class="parameter"><code>printing = sysv</code></em></td></tr><tr><td><a class="indexterm" name="id2633977"></a><em class="parameter"><code>printcap = lpstat</code></em></td></tr><tr><td><a class="indexterm" name="id2633989"></a><em class="parameter"><code>print command = echo "NEW: `date`: printfile %f" &gt;&gt; /tmp/smbprn.log ; echo "     `date`: p-%p s-%s f-%f" &gt;&gt; /tmp/smbprn.log ; echo "     `date`: j-%j J-%J z-%z c-%c" &gt;&gt; /tmp/smbprn.log ; rm %f </code></em></td></tr><tr><td><a class="indexterm" name="id2634005"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2634017"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2634028"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2634040"></a><em class="parameter"><code>printer admin = kurt</code></em></td></tr><tr><td><a class="indexterm" name="id2634052"></a><em class="parameter"><code>hosts deny = 0.0.0.0</code></em></td></tr><tr><td><a class="indexterm" name="id2634064"></a><em class="parameter"><code>hosts allow = turbo_xp, 10.160.50.23, 10.160.51.60</code></em></td></tr></table></div></div><br class="example-break"><p>
     119        </p><div class="example"><a name="overridesettings"></a><p class="title"><b>Example 22.2. Overriding Global CUPS Settings for One Printer</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2639910"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2639922"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2639934"></a><em class="parameter"><code>load printers = yes</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="id2639954"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2639966"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2639978"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2639989"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2640001"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2640012"></a><em class="parameter"><code>printer admin = root, @ntadmins, @smbprintadm</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[special_printer]</code></em></td></tr><tr><td><a class="indexterm" name="id2640034"></a><em class="parameter"><code>comment = A special printer with his own settings</code></em></td></tr><tr><td><a class="indexterm" name="id2640046"></a><em class="parameter"><code>path = /var/spool/samba-special</code></em></td></tr><tr><td><a class="indexterm" name="id2640058"></a><em class="parameter"><code>printing = sysv</code></em></td></tr><tr><td><a class="indexterm" name="id2640069"></a><em class="parameter"><code>printcap = lpstat</code></em></td></tr><tr><td><a class="indexterm" name="id2640081"></a><em class="parameter"><code>print command = echo "NEW: `date`: printfile %f" &gt;&gt; /tmp/smbprn.log ; echo "     `date`: p-%p s-%s f-%f" &gt;&gt; /tmp/smbprn.log ; echo "     `date`: j-%j J-%J z-%z c-%c" &gt;&gt; /tmp/smbprn.log ; rm %f </code></em></td></tr><tr><td><a class="indexterm" name="id2640098"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2640109"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2640121"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2640132"></a><em class="parameter"><code>printer admin = kurt</code></em></td></tr><tr><td><a class="indexterm" name="id2640144"></a><em class="parameter"><code>hosts deny = 0.0.0.0</code></em></td></tr><tr><td><a class="indexterm" name="id2640156"></a><em class="parameter"><code>hosts allow = turbo_xp, 10.160.50.23, 10.160.51.60</code></em></td></tr></table></div></div><br class="example-break"><p>
    120120        This special share is only for testing purposes. It does not write the print job to a file. It just logs the job parameters
    121121        known to Samba into the <code class="filename">/tmp/smbprn.log</code> file and deletes the job-file. Moreover, the
    122         <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a> of this share is &#8220;<span class="quote">kurt</span>&#8221; (not the &#8220;<span class="quote">@ntadmins</span>&#8221; group),
     122        <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a> of this share is <span class="quote">&#8220;<span class="quote">kurt</span>&#8221;</span> (not the <span class="quote">&#8220;<span class="quote">@ntadmins</span>&#8221;</span> group),
    123123        guest access is not allowed, the share isn't published to the Network Neighborhood (so you need to know it is there), and it
    124124        allows access from only three hosts. To prevent CUPS from kicking in and taking over the print jobs for that share, we need to set
    125125        <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = sysv</a> and <a class="link" href="smb.conf.5.html#PRINTCAP" target="_top">printcap = lpstat</a>.
    126         </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2634138"></a>Advanced Configuration</h2></div></div></div><p>
     126        </p></div></div><div class="sect1" title="Advanced Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2640231"></a>Advanced Configuration</h2></div></div></div><p>
    127127        Before we delve into all the configuration options, let us clarify a few points. <span class="emphasis"><em>Network printing
    128128        needs to be organized and set up correctly</em></span>. This frequently doesn't happen. Legacy systems or small
    129129        business LAN environments often lack design and good housekeeping.
    130         </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2634156"></a>Central Spooling vs. &#8220;<span class="quote">Peer-to-Peer</span>&#8221; Printing</h3></div></div></div><p>
    131 <a class="indexterm" name="id2634167"></a>
    132         <a class="indexterm" name="id2634174"></a>
    133         <a class="indexterm" name="id2634183"></a>
     130        </p><div class="sect2" title="Central Spooling vs. &#8220;Peer-to-Peer&#8221; Printing"><div class="titlepage"><div><div><h3 class="title"><a name="id2640248"></a>Central Spooling vs. <span class="quote">&#8220;<span class="quote">Peer-to-Peer</span>&#8221;</span> Printing</h3></div></div></div><p>
     131<a class="indexterm" name="id2640260"></a>
     132        <a class="indexterm" name="id2640266"></a>
     133        <a class="indexterm" name="id2640275"></a>
    134134        Many small office or home networks, as well as badly organized larger environments, allow each client a direct
    135135        access to available network printers. This is generally a bad idea. It often blocks one client's access to the
     
    139139        central system, which responds immediately, takes jobs from multiple concurrent clients, and transfers them to
    140140        the printer(s) in the correct order.
    141         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2634206"></a>Raw Print Serving: Vendor Drivers on Windows Clients</h3></div></div></div><p>
    142         <a class="indexterm" name="id2634215"></a>
    143         <a class="indexterm" name="id2634221"></a>
     141        </p></div><div class="sect2" title="Raw Print Serving: Vendor Drivers on Windows Clients"><div class="titlepage"><div><div><h3 class="title"><a name="id2640299"></a>Raw Print Serving: Vendor Drivers on Windows Clients</h3></div></div></div><p>
     142        <a class="indexterm" name="id2640307"></a>
     143        <a class="indexterm" name="id2640313"></a>
    144144        Most traditionally configured UNIX print servers acting on behalf of
    145145        Samba's Windows clients represented a really simple setup. Their only
    146         task was to manage the &#8220;<span class="quote">raw</span>&#8221; spooling of all jobs handed to them by
     146        task was to manage the <span class="quote">&#8220;<span class="quote">raw</span>&#8221;</span> spooling of all jobs handed to them by
    147147        Samba. This approach meant that the Windows clients were expected to
    148148        prepare the print job file that is ready to be sent to the printing
     
    150150        be installed on each and every client for the target device.
    151151        </p><p>
    152 <a class="indexterm" name="id2634243"></a>
    153 <a class="indexterm" name="id2634250"></a>
     152<a class="indexterm" name="id2640335"></a>
     153<a class="indexterm" name="id2640342"></a>
    154154        It is possible to configure CUPS, Samba, and your Windows clients in the
    155155        same traditional and simple way. When CUPS printers are configured
     
    165165        attached to the Windows client. You then redirect output to a raw network
    166166        print queue. This procedure may be followed to achieve this:
    167         </p><div class="procedure"><a name="id2634274"></a><p class="title"><b>Procedure 22.1. Configuration Steps for Raw CUPS Printing Support</b></p><ol type="1"><li><p>
    168 <a class="indexterm" name="id2634286"></a>
     167        </p><div class="procedure" title="Procedure 22.1. Configuration Steps for Raw CUPS Printing Support"><a name="id2640366"></a><p class="title"><b>Procedure 22.1. Configuration Steps for Raw CUPS Printing Support</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
     168<a class="indexterm" name="id2640378"></a>
    169169                Edit <code class="filename">/etc/cups/mime.types</code> to uncomment the line
    170170                near the end of the file that has:
     
    172172#application/octet-...
    173173</pre><p>
    174                 </p></li><li><p>
    175 <a class="indexterm" name="id2634313"></a>
     174                </p></li><li class="step" title="Step 2"><p>
     175<a class="indexterm" name="id2640405"></a>
    176176                Do the same for the file <code class="filename">/etc/cups/mime.convs</code>.
    177                 </p></li><li><p>
     177                </p></li><li class="step" title="Step 3"><p>
    178178                Add a raw printer using the Web interface. Point your browser at
    179179                <code class="constant">http://localhost:631</code>. Enter Administration, and add
    180180                the printer following the prompts. Do not install any drivers for it.
    181181                Choose Raw. Choose queue name <code class="constant">Raw Queue</code>.
    182                 </p></li><li><p>
     182                </p></li><li class="step" title="Step 4"><p>
    183183                In the <code class="filename">smb.conf</code> file <code class="constant">[printers]</code> section add
    184184                <a class="link" href="smb.conf.5.html#USECLIENTDRIVER" target="_top">use client driver = Yes</a>,
     
    186186                <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = CUPS</a>, plus
    187187                <a class="link" href="smb.conf.5.html#PRINTCAP" target="_top">printcap = CUPS</a>.
    188                 </p></li><li><p>
     188                </p></li><li class="step" title="Step 5"><p>
    189189                Install the printer as if it is a local printer, that is, Printing to <code class="constant">LPT1:</code>.
    190                 </p></li><li><p>
     190                </p></li><li class="step" title="Step 6"><p>
    191191                Edit the configuration under the <span class="guimenu">Detail</span> tab and create a
    192192                <code class="constant">local port</code> that points to the raw printer queue that
     
    194194                Here, the name <code class="constant">raw_q</code> is the name you gave the print
    195195                queue in the CUPS environment.
    196                 </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2634441"></a>Installation of Windows Client Drivers</h3></div></div></div><p>
     196                </p></li></ol></div></div><div class="sect2" title="Installation of Windows Client Drivers"><div class="titlepage"><div><div><h3 class="title"><a name="id2640534"></a>Installation of Windows Client Drivers</h3></div></div></div><p>
    197197        The printer drivers on the Windows clients may be installed
    198198        in two functionally different ways:
    199         </p><div class="itemizedlist"><ul type="disc"><li><p>Manually install the drivers locally on each client,
     199        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Manually install the drivers locally on each client,
    200200        one by one; this yields the old LanMan style
    201201        printing and uses a <code class="filename">\\sambaserver\printershare</code>
    202         type of connection.</p></li><li><p>
    203         <a class="indexterm" name="id2634471"></a>
     202        type of connection.</p></li><li class="listitem"><p>
     203        <a class="indexterm" name="id2640563"></a>
    204204                        Deposit and prepare the drivers (for later download) on
    205205                        the print server (Samba); this enables the clients to use
    206         &#8220;<span class="quote">Point'n'Print</span>&#8221; to get drivers semi-automatically installed the
     206        <span class="quote">&#8220;<span class="quote">Point'n'Print</span>&#8221;</span> to get drivers semi-automatically installed the
    207207        first time they access the printer; with this method NT/200x/XP
    208208        clients use the <span class="emphasis"><em>SPOOLSS/MS-RPC</em></span>
     
    211211        administrative efforts and prevents that different versions of the drivers
    212212        are used accidentally.
    213         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="cups-raw"></a>Explicitly Enable &#8220;<span class="quote">raw</span>&#8221; Printing for <span class="emphasis"><em>application/octet-stream</em></span></h3></div></div></div><p>
    214         <a class="indexterm" name="id2634517"></a>
    215         <a class="indexterm" name="id2634524"></a>
    216         <a class="indexterm" name="id2634531"></a>
     213        </p></div><div class="sect2" title="Explicitly Enable &#8220;raw&#8221; Printing for application/octet-stream"><div class="titlepage"><div><div><h3 class="title"><a name="cups-raw"></a>Explicitly Enable <span class="quote">&#8220;<span class="quote">raw</span>&#8221;</span> Printing for <span class="emphasis"><em>application/octet-stream</em></span></h3></div></div></div><p>
     214        <a class="indexterm" name="id2640610"></a>
     215        <a class="indexterm" name="id2640616"></a>
     216        <a class="indexterm" name="id2640623"></a>
    217217        If you use the first option (drivers are installed on the client
    218218        side), there is one setting to take care of: CUPS needs to be told
    219         that it should allow &#8220;<span class="quote">raw</span>&#8221; printing of deliberate (binary) file
     219        that it should allow <span class="quote">&#8220;<span class="quote">raw</span>&#8221;</span> printing of deliberate (binary) file
    220220        formats. The CUPS files that need to be correctly set for raw mode
    221221        printers to work are:
    222         </p><div class="itemizedlist"><ul type="disc"><li><p><code class="filename">/etc/cups/mime.types</code></p></li><li><p><code class="filename">/etc/cups/mime.convs</code></p></li></ul></div><p>
     222        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><code class="filename">/etc/cups/mime.types</code></p></li><li class="listitem"><p><code class="filename">/etc/cups/mime.convs</code></p></li></ul></div><p>
    223223        Both contain entries (at the end of the respective files) that must be uncommented to allow RAW mode
    224224        operation.  In <code class="filename">/etc/cups/mime.types</code>, make sure this line is present:
     
    226226application/octet-stream
    227227</pre><p>
    228         <a class="indexterm" name="id2634586"></a>
    229         <a class="indexterm" name="id2634593"></a>
     228        <a class="indexterm" name="id2640678"></a>
     229        <a class="indexterm" name="id2640685"></a>
    230230        In <code class="filename">/etc/cups/mime.convs</code>, have this line:
    231         <a class="indexterm" name="id2634606"></a>
     231        <a class="indexterm" name="id2640699"></a>
    232232</p><pre class="programlisting">
    233233application/octet-stream   application/vnd.cups-raw   0   -
     
    236236        printing, you may encounter the dreaded <code class="computeroutput">Unable to
    237237        convert file 0</code> in your CUPS <code class="filename">error_log</code> file.
    238         </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     238        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    239239        Editing the <code class="filename">mime.convs</code> and the <code class="filename">mime.types</code> file does
    240         not <span class="emphasis"><em>enforce</em></span> &#8220;<span class="quote">raw</span>&#8221; printing, it only <span class="emphasis"><em>allows</em></span> it.
    241         </p></div><p><b>Background. </b>
    242         <a class="indexterm" name="id2634670"></a>
    243 <a class="indexterm" name="id2634677"></a>
     240        not <span class="emphasis"><em>enforce</em></span> <span class="quote">&#8220;<span class="quote">raw</span>&#8221;</span> printing, it only <span class="emphasis"><em>allows</em></span> it.
     241        </p></div><p title="Background"><b>Background. </b>
     242        <a class="indexterm" name="id2640762"></a>
     243<a class="indexterm" name="id2640770"></a>
    244244        That CUPS is a more security-aware printing system than traditional ones does not by default allow a user to
    245245        send deliberate (possibly binary) data to printing devices. This could be easily abused to launch a
    246         &#8220;<span class="quote">Denial of Service</span>&#8221; attack on your printer(s), causing at least the loss of a lot of paper and
    247         ink. &#8220;<span class="quote">Unknown</span>&#8221; data are tagged by CUPS as <em class="parameter"><code>MIME type: application/octet-stream</code></em>
    248         and not allowed to go to the printer. By default, you can only send other (known) MIME types &#8220;<span class="quote">raw.</span>&#8221;
    249         Sending data &#8220;<span class="quote">raw</span>&#8221; means that CUPS does not try to convert them and passes them to the printer
     246        <span class="quote">&#8220;<span class="quote">Denial of Service</span>&#8221;</span> attack on your printer(s), causing at least the loss of a lot of paper and
     247        ink. <span class="quote">&#8220;<span class="quote">Unknown</span>&#8221;</span> data are tagged by CUPS as <em class="parameter"><code>MIME type: application/octet-stream</code></em>
     248        and not allowed to go to the printer. By default, you can only send other (known) MIME types <span class="quote">&#8220;<span class="quote">raw.</span>&#8221;</span>
     249        Sending data <span class="quote">&#8220;<span class="quote">raw</span>&#8221;</span> means that CUPS does not try to convert them and passes them to the printer
    250250        untouched.
    251251        </p><p>
    252252        This is all you need to know to get the CUPS/Samba combo printing
    253         &#8220;<span class="quote">raw</span>&#8221; files prepared by Windows clients, which have vendor drivers
     253        <span class="quote">&#8220;<span class="quote">raw</span>&#8221;</span> files prepared by Windows clients, which have vendor drivers
    254254        locally installed. If you are not interested in background information about
    255255        more advanced CUPS/Samba printing, simply skip the remaining sections
    256256        of this chapter.
    257         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2634728"></a>Driver Upload Methods</h3></div></div></div><p>
     257        </p></div><div class="sect2" title="Driver Upload Methods"><div class="titlepage"><div><div><h3 class="title"><a name="id2640821"></a>Driver Upload Methods</h3></div></div></div><p>
    258258        This section describes three familiar methods, plus one new one, by which
    259259        printer drivers may be uploaded.
    260260        </p><p>
    261         <a class="indexterm" name="id2634742"></a>
     261        <a class="indexterm" name="id2640834"></a>
    262262        If you want to use the MS-RPC-type printing, you must upload the
    263263        drivers onto the Samba server first (<em class="parameter"><code>[print$]</code></em>
    264264        share). For a discussion on how to deposit printer drivers on the
    265265        Samba host (so the Windows clients can download and use them via
    266         &#8220;<span class="quote">Point'n'Print</span>&#8221;), please refer to the <a class="link" href="classicalprinting.html" title="Chapter 21. Classical Printing Support">Classical Printing
     266        <span class="quote">&#8220;<span class="quote">Point'n'Print</span>&#8221;</span>), please refer to the <a class="link" href="classicalprinting.html" title="Chapter 21. Classical Printing Support">Classical Printing
    267267        chapter</a> of this book. There you will find a description or reference to
    268268        three methods of preparing the client drivers on the Samba server:
    269         </p><div class="itemizedlist"><ul type="disc"><li><p>
    270                 <a class="indexterm" name="id2634779"></a>
    271                 The GUI, &#8220;<span class="quote">Add Printer Wizard</span>&#8221; <span class="emphasis"><em>upload-from-a-Windows-client</em></span> method.
    272                 </p></li><li><p>
    273                 The command line, &#8220;<span class="quote">smbclient/rpcclient</span>&#8221; upload-from-a-UNIX-workstation method.
    274                 </p></li><li><p>
    275                 <a class="indexterm" name="id2634807"></a>
     269        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     270                <a class="indexterm" name="id2640871"></a>
     271                The GUI, <span class="quote">&#8220;<span class="quote">Add Printer Wizard</span>&#8221;</span> <span class="emphasis"><em>upload-from-a-Windows-client</em></span> method.
     272                </p></li><li class="listitem"><p>
     273                The command line, <span class="quote">&#8220;<span class="quote">smbclient/rpcclient</span>&#8221;</span> upload-from-a-UNIX-workstation method.
     274                </p></li><li class="listitem"><p>
     275                <a class="indexterm" name="id2640900"></a>
    276276                The Imprints tool set method.
    277277                </p></li></ul></div><p>
    278 <a class="indexterm" name="id2634819"></a>
     278<a class="indexterm" name="id2640911"></a>
    279279        These three methods apply to CUPS all the same. The <code class="literal">cupsaddsmb</code> utility is a new and more
    280280        convenient way to load the Windows drivers into Samba and is provided if you use CUPS.
     
    282282        <code class="literal">cupsaddsmb</code> is discussed in much detail later in this chapter. But we first
    283283        explore the CUPS filtering system and compare the Windows and UNIX printing architectures.
    284         </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2634850"></a>Advanced Intelligent Printing with PostScript Driver Download</h2></div></div></div><p>
    285         <a class="indexterm" name="id2634858"></a>
    286         We now know how to set up a &#8220;<span class="quote">dump</span>&#8221; print server, that is, a server that spools
    287         print jobs &#8220;<span class="quote">raw</span>&#8221;, leaving the print data untouched.
     284        </p></div></div><div class="sect1" title="Advanced Intelligent Printing with PostScript Driver Download"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2640942"></a>Advanced Intelligent Printing with PostScript Driver Download</h2></div></div></div><p>
     285        <a class="indexterm" name="id2640951"></a>
     286        We now know how to set up a <span class="quote">&#8220;<span class="quote">dump</span>&#8221;</span> print server, that is, a server that spools
     287        print jobs <span class="quote">&#8220;<span class="quote">raw</span>&#8221;</span>, leaving the print data untouched.
    288288        </p><p>
    289289        You might need to set up CUPS in a smarter way. The reasons could be manifold:
    290         </p><a class="indexterm" name="id2634882"></a><a class="indexterm" name="id2634889"></a><a class="indexterm" name="id2634896"></a><div class="itemizedlist"><ul type="disc"><li><p>Maybe your boss wants to get monthly statistics: Which
     290        </p><a class="indexterm" name="id2640975"></a><a class="indexterm" name="id2640982"></a><a class="indexterm" name="id2640989"></a><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Maybe your boss wants to get monthly statistics: Which
    291291        printer did how many pages? What was the average data size of a job?
    292292        What was the average print run per day? What are the typical hourly
    293         peaks in printing? Which department prints how much?</p></li><li><p>Maybe you are asked to set up a print quota system:
     293        peaks in printing? Which department prints how much?</p></li><li class="listitem"><p>Maybe you are asked to set up a print quota system:
    294294        Users should not be able to print more jobs once they have surpassed
    295         a given limit per period.</p></li><li><p>Maybe your previous network printing setup is a mess
    296         and must be re-organized from a clean beginning.</p></li><li><p>Maybe you are experiencing too many &#8220;<span class="quote">blue screens</span>&#8221;
    297         originating from poorly debugged printer drivers running in NT &#8220;<span class="quote">kernel mode</span>&#8221;?</p></li></ul></div><p>
     295        a given limit per period.</p></li><li class="listitem"><p>Maybe your previous network printing setup is a mess
     296        and must be re-organized from a clean beginning.</p></li><li class="listitem"><p>Maybe you are experiencing too many <span class="quote">&#8220;<span class="quote">blue screens</span>&#8221;</span>
     297        originating from poorly debugged printer drivers running in NT <span class="quote">&#8220;<span class="quote">kernel mode</span>&#8221;</span>?</p></li></ul></div><p>
    298298        These goals cannot be achieved by a raw print server. To build a
    299299        server meeting these requirements, you'll first need to learn
     
    303303        Windows and UNIX printing, then a description of the
    304304        CUPS filtering system, how it works, and how you can tweak it.
    305         </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="gdipost"></a>GDI on Windows, PostScript on UNIX</h3></div></div></div><p>
    306         <a class="indexterm" name="id2634965"></a>
    307         <a class="indexterm" name="id2634972"></a>
     305        </p><div class="sect2" title="GDI on Windows, PostScript on UNIX"><div class="titlepage"><div><div><h3 class="title"><a name="gdipost"></a>GDI on Windows, PostScript on UNIX</h3></div></div></div><p>
     306        <a class="indexterm" name="id2641058"></a>
     307        <a class="indexterm" name="id2641064"></a>
    308308        Network printing is one of the most complicated and error-prone
    309309        day-to-day tasks any user or administrator may encounter. This is
    310310        true for all OS platforms, and there are reasons it is so.
    311311        </p><p>
    312         <a class="indexterm" name="id2634985"></a>
    313         <a class="indexterm" name="id2634992"></a>
    314 <a class="indexterm" name="id2634999"></a>
    315 <a class="indexterm" name="id2635006"></a>
    316 <a class="indexterm" name="id2635013"></a>
     312        <a class="indexterm" name="id2641078"></a>
     313        <a class="indexterm" name="id2641085"></a>
     314<a class="indexterm" name="id2641092"></a>
     315<a class="indexterm" name="id2641098"></a>
     316<a class="indexterm" name="id2641105"></a>
    317317        You can't expect to throw just any file format at a printer and have it get printed. A file format conversion
    318318        must take place. The problem is that there is no common standard for print file formats across all
    319319        manufacturers and printer types. While PostScript (trademark held by Adobe) and, to an extent, PCL (trademark
    320         held by Hewlett-Packard) have developed into semi-official &#8220;<span class="quote">standards</span>&#8221; by being the most widely
    321         used page description languages (PDLs), there are still many manufacturers who &#8220;<span class="quote">roll their own</span>&#8221;
     320        held by Hewlett-Packard) have developed into semi-official <span class="quote">&#8220;<span class="quote">standards</span>&#8221;</span> by being the most widely
     321        used page description languages (PDLs), there are still many manufacturers who <span class="quote">&#8220;<span class="quote">roll their own</span>&#8221;</span>
    322322        (their reasons may be unacceptable license fees for using printer-embedded PostScript interpreters, and so on).
    323         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2635042"></a>Windows Drivers, GDI, and EMF</h3></div></div></div><p>
    324         <a class="indexterm" name="id2635050"></a>
    325         <a class="indexterm" name="id2635056"></a>
    326         <a class="indexterm" name="id2635063"></a>
    327 <a class="indexterm" name="id2635070"></a>
     323        </p></div><div class="sect2" title="Windows Drivers, GDI, and EMF"><div class="titlepage"><div><div><h3 class="title"><a name="id2641134"></a>Windows Drivers, GDI, and EMF</h3></div></div></div><p>
     324        <a class="indexterm" name="id2641142"></a>
     325        <a class="indexterm" name="id2641149"></a>
     326        <a class="indexterm" name="id2641156"></a>
     327<a class="indexterm" name="id2641162"></a>
    328328        In Windows OS, the format conversion job is done by the printer drivers. On MS Windows OS platforms all
    329329        application programmers have at their disposal a built-in API, the graphical device interface (GDI), as part
     
    335335        the GDI, often produces a file format called Enhanced MetaFile (EMF). The EMF is processed by the printer
    336336        driver and converted to the printer-specific file format.
    337         </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    338         <a class="indexterm" name="id2635105"></a>
    339 <a class="indexterm" name="id2635112"></a>
    340 <a class="indexterm" name="id2635119"></a>
     337        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     338        <a class="indexterm" name="id2641198"></a>
     339<a class="indexterm" name="id2641204"></a>
     340<a class="indexterm" name="id2641211"></a>
    341341        To the GDI foundation in MS Windows, Apple has chosen to put paper and screen output on a common foundation
    342         for its (BSD-UNIX-based, did you know?) Mac OS X and Darwin operating <a class="indexterm" name="id2635129"></a> <a class="indexterm" name="id2635136"></a>
    343         <a class="indexterm" name="id2635143"></a> <a class="indexterm" name="id2635149"></a> systems.
     342        for its (BSD-UNIX-based, did you know?) Mac OS X and Darwin operating <a class="indexterm" name="id2641221"></a> <a class="indexterm" name="id2641228"></a>
     343        <a class="indexterm" name="id2641235"></a> <a class="indexterm" name="id2641242"></a> systems.
    344344        Apple's <span class="emphasis"><em>core graphic engine</em></span> uses a <span class="emphasis"><em>PDF</em></span> derivative for all display work.
    345345        </p></div><p>
    346346        The example in <a class="link" href="CUPS-printing.html#1small" title="Figure 22.1. Windows Printing to a Local Printer.">Windows Printing to a Local Printer</a> illustrates local Windows
    347347        printing.
    348         </p><div class="figure"><a name="1small"></a><p class="title"><b>Figure 22.1. Windows Printing to a Local Printer.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/1small.png" alt="Windows Printing to a Local Printer."></div></div></div><br class="figure-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2635220"></a>UNIX Printfile Conversion and GUI Basics</h3></div></div></div><p>
    349         <a class="indexterm" name="id2635229"></a>
    350         <a class="indexterm" name="id2635236"></a>
    351         <a class="indexterm" name="id2635242"></a>
    352         <a class="indexterm" name="id2635249"></a>
     348        </p><div class="figure"><a name="1small"></a><p class="title"><b>Figure 22.1. Windows Printing to a Local Printer.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/1small.png" alt="Windows Printing to a Local Printer."></div></div></div><br class="figure-break"></div><div class="sect2" title="UNIX Printfile Conversion and GUI Basics"><div class="titlepage"><div><div><h3 class="title"><a name="id2641313"></a>UNIX Printfile Conversion and GUI Basics</h3></div></div></div><p>
     349        <a class="indexterm" name="id2641321"></a>
     350        <a class="indexterm" name="id2641328"></a>
     351        <a class="indexterm" name="id2641335"></a>
     352        <a class="indexterm" name="id2641341"></a>
    353353        In UNIX and Linux, there is no comparable layer built into the OS kernel(s) or the X (screen display) server.
    354354        Every application is responsible for itself to create its print output. Fortunately, most use PostScript and
     
    357357        displayed on screen and how it is presented on paper. WYSIWYG is more difficult to achieve. This goes back to
    358358        the time, decades ago, when the predecessors of X.org, designing the UNIX foundations and protocols for
    359         graphical user interfaces, refused to take responsibility for &#8220;<span class="quote">paper output</span>&#8221;, as some had
    360         demanded at the time, and restricted itself to &#8220;<span class="quote">on-screen only.</span>&#8221; (For some years now, the
    361         &#8220;<span class="quote">Xprint</span>&#8221; project has been under development, attempting to build printing support into the X
     359        graphical user interfaces, refused to take responsibility for <span class="quote">&#8220;<span class="quote">paper output</span>&#8221;</span>, as some had
     360        demanded at the time, and restricted itself to <span class="quote">&#8220;<span class="quote">on-screen only.</span>&#8221;</span> (For some years now, the
     361        <span class="quote">&#8220;<span class="quote">Xprint</span>&#8221;</span> project has been under development, attempting to build printing support into the X
    362362        framework, including a PostScript and a PCL driver, but it is not yet ready for prime time.) You can see this
    363         unfavorable inheritance up to the present day by looking into the various &#8220;<span class="quote">font</span>&#8221; directories on
     363        unfavorable inheritance up to the present day by looking into the various <span class="quote">&#8220;<span class="quote">font</span>&#8221;</span> directories on
    364364        your system; there are separate ones for fonts used for X display and fonts to be used on paper.
    365         </p><p><b>Background. </b>
    366         <a class="indexterm" name="id2635299"></a>
    367 <a class="indexterm" name="id2635306"></a>
    368 <a class="indexterm" name="id2635313"></a>
    369 <a class="indexterm" name="id2635319"></a>
    370 <a class="indexterm" name="id2635326"></a>
    371 <a class="indexterm" name="id2635333"></a>
    372 <a class="indexterm" name="id2635340"></a>
    373 <a class="indexterm" name="id2635347"></a>
    374 <a class="indexterm" name="id2635354"></a>
    375 <a class="indexterm" name="id2635360"></a>
    376         The PostScript programming language is an &#8220;<span class="quote">invention</span>&#8221; by Adobe, but its specifications have been
     365        </p><p title="Background"><b>Background. </b>
     366        <a class="indexterm" name="id2641391"></a>
     367<a class="indexterm" name="id2641398"></a>
     368<a class="indexterm" name="id2641405"></a>
     369<a class="indexterm" name="id2641412"></a>
     370<a class="indexterm" name="id2641419"></a>
     371<a class="indexterm" name="id2641425"></a>
     372<a class="indexterm" name="id2641432"></a>
     373<a class="indexterm" name="id2641439"></a>
     374<a class="indexterm" name="id2641446"></a>
     375<a class="indexterm" name="id2641453"></a>
     376        The PostScript programming language is an <span class="quote">&#8220;<span class="quote">invention</span>&#8221;</span> by Adobe, but its specifications have been
    377377        published extensively. Its strength lies in its powerful abilities to describe graphical objects (fonts,
    378378        shapes, patterns, lines, curves, and dots), their attributes (color, linewidth), and the way to manipulate
    379379        (scale, distort, rotate, shift) them. Because of its open specification, anybody with the skill can start
    380380        writing his or her own implementation of a PostScript interpreter and use it to display PostScript files on
    381         screen or on paper. Most graphical output devices are based on the concept of &#8220;<span class="quote">raster images</span>&#8221; or
    382         &#8220;<span class="quote">pixels</span>&#8221; (one notable exception is pen plotters). Of course, you can look at a PostScript file in
     381        screen or on paper. Most graphical output devices are based on the concept of <span class="quote">&#8220;<span class="quote">raster images</span>&#8221;</span> or
     382        <span class="quote">&#8220;<span class="quote">pixels</span>&#8221;</span> (one notable exception is pen plotters). Of course, you can look at a PostScript file in
    383383        its textual form and you will be reading its PostScript code, the language instructions that need to be
    384384        interpreted by a rasterizer. Rasterizers produce pixel images, which may be displayed on screen by a viewer
    385385        program or on paper by a printer.
    386         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="post-and-ghost"></a>PostScript and Ghostscript</h3></div></div></div><p>
    387         <a class="indexterm" name="id2635410"></a>
    388         <a class="indexterm" name="id2635417"></a>
    389         <a class="indexterm" name="id2635426"></a>
    390 <a class="indexterm" name="id2635435"></a>
    391 <a class="indexterm" name="id2635442"></a>
     386        </p></div><div class="sect2" title="PostScript and Ghostscript"><div class="titlepage"><div><div><h3 class="title"><a name="post-and-ghost"></a>PostScript and Ghostscript</h3></div></div></div><p>
     387        <a class="indexterm" name="id2641503"></a>
     388        <a class="indexterm" name="id2641509"></a>
     389        <a class="indexterm" name="id2641519"></a>
     390<a class="indexterm" name="id2641528"></a>
     391<a class="indexterm" name="id2641535"></a>
    392392        So UNIX is lacking a common ground for printing on paper and displaying on screen. Despite this unfavorable
    393393        legacy for UNIX, basic printing is fairly easy if you have PostScript printers at your disposal. The reason is
    394         that these devices have a built-in PostScript language &#8220;<span class="quote">interpreter,</span>&#8221; also called a raster image
     394        that these devices have a built-in PostScript language <span class="quote">&#8220;<span class="quote">interpreter,</span>&#8221;</span> also called a raster image
    395395        processor (RIP), (which makes them more expensive than other types of printers; throw PostScript toward them,
    396396        and they will spit out your printed pages. The RIP does all the hard work of converting the PostScript drawing
    397397        commands into a bitmap picture as you see it on paper, in a resolution as done by your printer. This is no
    398398        different than PostScript printing a file from a Windows origin.
    399         </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    400         <a class="indexterm" name="id2635471"></a>
    401 <a class="indexterm" name="id2635478"></a>
    402 <a class="indexterm" name="id2635485"></a>
     399        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     400        <a class="indexterm" name="id2641564"></a>
     401<a class="indexterm" name="id2641570"></a>
     402<a class="indexterm" name="id2641577"></a>
    403403        Traditional UNIX programs and printing systems  while using PostScript  are largely not
    404         PPD-aware. PPDs are &#8220;<span class="quote">PostScript Printer Description</span>&#8221; files. They enable you to specify and
     404        PPD-aware. PPDs are <span class="quote">&#8220;<span class="quote">PostScript Printer Description</span>&#8221;</span> files. They enable you to specify and
    405405        control all options a printer supports: duplexing, stapling, and punching. Therefore, UNIX users for a long
    406406        time couldn't choose many of the supported device and job options, unlike Windows or Apple users. But now
    407407        there is CUPS. as illustrated in <a class="link" href="CUPS-printing.html#2small" title="Figure 22.2. Printing to a PostScript Printer.">Printing to a PostScript Printer</a>.
    408408        </p></div><div class="figure"><a name="2small"></a><p class="title"><b>Figure 22.2. Printing to a PostScript Printer.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/2small.png" alt="Printing to a PostScript Printer."></div></div></div><br class="figure-break"><p>
    409         <a class="indexterm" name="id2635563"></a>
     409        <a class="indexterm" name="id2641656"></a>
    410410        However, there are other types of printers out there. These do not know how to print PostScript. They use
    411411        their own PDL, often proprietary. To print to them is much more demanding. Since your UNIX applications mostly
    412412        produce PostScript, and since these devices do not understand PostScript, you need to convert the print files
    413413        to a format suitable for your printer on the host before you can send it away.
    414         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2635579"></a>Ghostscript: The Software RIP for Non-PostScript Printers</h3></div></div></div><p>
    415         <a class="indexterm" name="id2635588"></a>
     414        </p></div><div class="sect2" title="Ghostscript: The Software RIP for Non-PostScript Printers"><div class="titlepage"><div><div><h3 class="title"><a name="id2641672"></a>Ghostscript: The Software RIP for Non-PostScript Printers</h3></div></div></div><p>
     415        <a class="indexterm" name="id2641680"></a>
    416416        Here is where Ghostscript kicks in. Ghostscript is the traditional (and quite powerful) PostScript interpreter
    417417        used on UNIX platforms. It is a RIP in software, capable of doing a <span class="emphasis"><em>lot</em></span> of file format
     
    419419        technology and drivers are what enable PostScript printing to non-PostScript hardware. This is shown in
    420420        <a class="link" href="CUPS-printing.html#3small" title="Figure 22.3. Ghostscript as a RIP for Non-PostScript Printers.">Ghostscript as a RIP for Non-PostScript Printers</a>.
    421         </p><div class="figure"><a name="3small"></a><p class="title"><b>Figure 22.3. Ghostscript as a RIP for Non-PostScript Printers.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/3small.png" alt="Ghostscript as a RIP for Non-PostScript Printers."></div></div></div><br class="figure-break"><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>
    422 <a class="indexterm" name="id2635659"></a>
    423 <a class="indexterm" name="id2635665"></a>
    424 <a class="indexterm" name="id2635672"></a>
    425         Use the &#8220;<span class="quote">gs -h</span>&#8221; command to check for all built-in &#8220;<span class="quote">devices</span>&#8221; on your Ghostscript
     421        </p><div class="figure"><a name="3small"></a><p class="title"><b>Figure 22.3. Ghostscript as a RIP for Non-PostScript Printers.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/3small.png" alt="Ghostscript as a RIP for Non-PostScript Printers."></div></div></div><br class="figure-break"><div class="tip" title="Tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>
     422<a class="indexterm" name="id2641751"></a>
     423<a class="indexterm" name="id2641758"></a>
     424<a class="indexterm" name="id2641764"></a>
     425        Use the <span class="quote">&#8220;<span class="quote">gs -h</span>&#8221;</span> command to check for all built-in <span class="quote">&#8220;<span class="quote">devices</span>&#8221;</span> on your Ghostscript
    426426        version. If you specify a parameter of <em class="parameter"><code>-sDEVICE=png256</code></em> on your Ghostscript command
    427         line, you are asking Ghostscript to convert the input into a PNG file. Naming a &#8220;<span class="quote">device</span>&#8221; on the
     427        line, you are asking Ghostscript to convert the input into a PNG file. Naming a <span class="quote">&#8220;<span class="quote">device</span>&#8221;</span> on the
    428428        command line is the most important single parameter to tell Ghostscript exactly how it should render the
    429429        input. New Ghostscript versions are released at fairly regular intervals, now by artofcode LLC. They are
    430         initially put under the &#8220;<span class="quote">AFPL</span>&#8221; license, but re-released under the GNU GPL as soon as the next
     430        initially put under the <span class="quote">&#8220;<span class="quote">AFPL</span>&#8221;</span> license, but re-released under the GNU GPL as soon as the next
    431431        AFPL version appears. GNU Ghostscript is probably the version installed on most Samba systems. But it has some
    432         deficiencies.  <a class="indexterm" name="id2635710"></a> Therefore, ESP Ghostscript was developed as an enhancement over GNU Ghostscript,
     432        deficiencies.  <a class="indexterm" name="id2641803"></a> Therefore, ESP Ghostscript was developed as an enhancement over GNU Ghostscript,
    433433        with lots of bug-fixes, additional devices, and improvements. It is jointly maintained by developers from
    434         CUPS, Gutenprint, MandrakeSoft, SuSE, Red Hat, and Debian. It includes the &#8220;<span class="quote">cups</span>&#8221; device
     434        CUPS, Gutenprint, MandrakeSoft, SuSE, Red Hat, and Debian. It includes the <span class="quote">&#8220;<span class="quote">cups</span>&#8221;</span> device
    435435        (essential to print to non-PS printers from CUPS).
    436         </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2635733"></a>PostScript Printer Description (PPD) Specification</h3></div></div></div><p>
    437         <a class="indexterm" name="id2635742"></a>
    438 <a class="indexterm" name="id2635748"></a>
    439 <a class="indexterm" name="id2635755"></a>
     436        </p></div></div><div class="sect2" title="PostScript Printer Description (PPD) Specification"><div class="titlepage"><div><div><h3 class="title"><a name="id2641826"></a>PostScript Printer Description (PPD) Specification</h3></div></div></div><p>
     437        <a class="indexterm" name="id2641834"></a>
     438<a class="indexterm" name="id2641841"></a>
     439<a class="indexterm" name="id2641847"></a>
    440440        While PostScript in essence is a PDL to represent the page layout in a device-independent way, real-world
    441441        print jobs are always ending up being output on hardware with device-specific features. To take care of all
     
    458458        PostScript, PJL, JCL, or vendor-dependent commands) into the PostScript
    459459        file created by the driver.
    460         </p><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
    461         <a class="indexterm" name="id2635795"></a>
    462 <a class="indexterm" name="id2635801"></a>
     460        </p><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
     461        <a class="indexterm" name="id2641887"></a>
     462<a class="indexterm" name="id2641894"></a>
    463463        A PostScript file that was created to contain device-specific commands
    464464        for achieving a certain print job output (e.g., duplexed, stapled, and
     
    466466        may not be printable at all on other models; it also may not be fit
    467467        for further processing by software (e.g., by a PDF distilling program).
    468         </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2635816"></a>Using Windows-Formatted Vendor PPDs</h3></div></div></div><p>
    469 <a class="indexterm" name="id2635824"></a>
    470 <a class="indexterm" name="id2635831"></a>
    471 <a class="indexterm" name="id2635838"></a>
     468        </p></div></div><div class="sect2" title="Using Windows-Formatted Vendor PPDs"><div class="titlepage"><div><div><h3 class="title"><a name="id2641909"></a>Using Windows-Formatted Vendor PPDs</h3></div></div></div><p>
     469<a class="indexterm" name="id2641917"></a>
     470<a class="indexterm" name="id2641924"></a>
     471<a class="indexterm" name="id2641930"></a>
    472472        CUPS can handle all spec-compliant PPDs as supplied by the manufacturers for their PostScript models. Even if
    473473        a vendor does not mention our favorite OS in his or her manuals and brochures, you can safely trust this:
    474474        <span class="emphasis"><em>If you get the Windows NT version of the PPD, you can use it unchanged in CUPS</em></span> and thus
    475475        access the full power of your printer just like a Windows NT user could!
    476         </p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>
     476        </p><div class="tip" title="Tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>
    477477        To check the spec compliance of any PPD online, go to <a class="ulink" href="http://www.cups.org/testppd.php" target="_top">http://www.cups.org/testppd.php</a> and upload your PPD. You will
    478478        see the results displayed immediately. CUPS in all versions after 1.1.19 has a much stricter internal PPD
    479479        parsing and checking code enabled; in case of printing trouble, this online resource should be one of your
    480480        first pit stops.
    481         </p></div><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
    482         <a class="indexterm" name="id2635878"></a>
    483         <a class="indexterm" name="id2635884"></a>
     481        </p></div><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
     482        <a class="indexterm" name="id2641970"></a>
     483        <a class="indexterm" name="id2641977"></a>
    484484        For real PostScript printers, <span class="emphasis"><em>do not</em></span> use the <span class="emphasis"><em>Foomatic</em></span> or
    485485        <span class="emphasis"><em>cupsomatic</em></span> PPDs from Linuxprinting.org. With these devices, the original vendor-provided
    486486        PPDs are always the first choice.
    487         </p></div><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>
    488 <a class="indexterm" name="id2635909"></a>
     487        </p></div><div class="tip" title="Tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>
     488<a class="indexterm" name="id2642002"></a>
    489489        If you are looking for an original vendor-provided PPD of a specific device, and you know that an NT4 box (or
    490490        any other Windows box) on your LAN has the PostScript driver installed, just use <code class="literal">smbclient
    491491        //NT4-box/print\$ -U username</code> to access the Windows directory where all printer driver files are
    492492        stored. First look in the <code class="filename">W32X86/2</code> subdirectory for the PPD you are seeking.
    493         </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2635936"></a>CUPS Also Uses PPDs for Non-PostScript Printers</h3></div></div></div><p>
    494 <a class="indexterm" name="id2635944"></a>
    495 <a class="indexterm" name="id2635951"></a>
    496 <a class="indexterm" name="id2635958"></a>
     493        </p></div></div><div class="sect2" title="CUPS Also Uses PPDs for Non-PostScript Printers"><div class="titlepage"><div><div><h3 class="title"><a name="id2642028"></a>CUPS Also Uses PPDs for Non-PostScript Printers</h3></div></div></div><p>
     494<a class="indexterm" name="id2642037"></a>
     495<a class="indexterm" name="id2642044"></a>
     496<a class="indexterm" name="id2642050"></a>
    497497        CUPS also uses specially crafted PPDs to handle non-PostScript printers. These PPDs are usually not available
    498498        from the vendors (and no, you can't just take the PPD of a PostScript printer with the same model name and
    499499        hope it works for the non-PostScript version too). To understand how these PPDs work for non-PS printers, we
    500500        first need to dive deeply into the CUPS filtering and file format conversion architecture. Stay tuned.
    501         </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2635975"></a>The CUPS Filtering Architecture</h2></div></div></div><p>
    502 <a class="indexterm" name="id2635984"></a>
    503 <a class="indexterm" name="id2635990"></a>
    504 <a class="indexterm" name="id2635997"></a>
    505 <a class="indexterm" name="id2636004"></a>
    506 <a class="indexterm" name="id2636011"></a>
     501        </p></div></div><div class="sect1" title="The CUPS Filtering Architecture"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2642068"></a>The CUPS Filtering Architecture</h2></div></div></div><p>
     502<a class="indexterm" name="id2642076"></a>
     503<a class="indexterm" name="id2642083"></a>
     504<a class="indexterm" name="id2642090"></a>
     505<a class="indexterm" name="id2642096"></a>
     506<a class="indexterm" name="id2642103"></a>
    507507The core of the CUPS filtering system is based on Ghostscript. In addition to Ghostscript, CUPS uses some
    508508other filters of its own. You (or your OS vendor) may have plugged in even more filters. CUPS handles all data
     
    514514</p><p>
    515515If CUPS rasterizes a PostScript file natively to a bitmap, this is done in two stages:
    516 </p><div class="itemizedlist"><ul type="disc"><li><p>
    517 <a class="indexterm" name="id2636041"></a>
    518 <a class="indexterm" name="id2636048"></a>
    519         The first stage uses a Ghostscript device named &#8220;<span class="quote">cups</span>&#8221;
     516</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     517<a class="indexterm" name="id2642133"></a>
     518<a class="indexterm" name="id2642140"></a>
     519        The first stage uses a Ghostscript device named <span class="quote">&#8220;<span class="quote">cups</span>&#8221;</span>
    520520        (this is since version 1.1.15) and produces a generic raster format
    521         called &#8220;<span class="quote">CUPS raster</span>&#8221;.
    522         </p></li><li><p>
    523 <a class="indexterm" name="id2636068"></a>
    524         The second stage uses a &#8220;<span class="quote">raster driver</span>&#8221; that converts
     521        called <span class="quote">&#8220;<span class="quote">CUPS raster</span>&#8221;</span>.
     522        </p></li><li class="listitem"><p>
     523<a class="indexterm" name="id2642160"></a>
     524        The second stage uses a <span class="quote">&#8220;<span class="quote">raster driver</span>&#8221;</span> that converts
    525525        the generic CUPS raster to a device-specific raster.
    526526        </p></li></ul></div><p>
    527 <a class="indexterm" name="id2636085"></a>
    528 <a class="indexterm" name="id2636092"></a>
    529 <a class="indexterm" name="id2636098"></a>
    530 Make sure your Ghostscript version has the &#8220;<span class="quote">cups</span>&#8221; device compiled in (check with <code class="literal">gs -h |
     527<a class="indexterm" name="id2642177"></a>
     528<a class="indexterm" name="id2642184"></a>
     529<a class="indexterm" name="id2642191"></a>
     530Make sure your Ghostscript version has the <span class="quote">&#8220;<span class="quote">cups</span>&#8221;</span> device compiled in (check with <code class="literal">gs -h |
    531531grep cups</code>). Otherwise you may encounter the dreaded <code class="computeroutput">Unable to convert file
    532 0</code> in your CUPS error_log file. To have &#8220;<span class="quote">cups</span>&#8221; as a device in your Ghostscript,
     5320</code> in your CUPS error_log file. To have <span class="quote">&#8220;<span class="quote">cups</span>&#8221;</span> as a device in your Ghostscript,
    533533you either need to patch GNU Ghostscript and recompile or use
    534 <a class="indexterm" name="id2636129"></a><a class="ulink" href="http://www.cups.org/ghostscript.php" target="_top">ESP Ghostscript</a>. The superior alternative is ESP
     534<a class="indexterm" name="id2642222"></a><a class="ulink" href="http://www.cups.org/ghostscript.php" target="_top">ESP Ghostscript</a>. The superior alternative is ESP
    535535Ghostscript. It supports not just CUPS, but 300 other devices (while GNU Ghostscript supports only about 180).
    536536Because of this broad output device support, ESP Ghostscript is the first choice for non-CUPS spoolers, too.
    537537It is now recommended by Linuxprinting.org for all spoolers.
    538538</p><p>
    539 <a class="indexterm" name="id2636152"></a>
    540 <a class="indexterm" name="id2636159"></a>
    541 <a class="indexterm" name="id2636165"></a>
    542 <a class="indexterm" name="id2636172"></a>
     539<a class="indexterm" name="id2642244"></a>
     540<a class="indexterm" name="id2642251"></a>
     541<a class="indexterm" name="id2642258"></a>
     542<a class="indexterm" name="id2642265"></a>
    543543CUPS printers may be set up to use external rendering paths. One of the most common is provided by the
    544544Foomatic/cupsomatic concept from <a class="ulink" href="http://www.linuxprinting.org/" target="_top">Linuxprinting.org</a>. This
    545545uses the classical Ghostscript approach, doing everything in one step.  It does not use the
    546 &#8220;<span class="quote">cups</span>&#8221; device, but one of the many others. However, even for Foomatic/cupsomatic usage, best
    547 results and <a class="indexterm" name="id2636195"></a> broadest printer
     546<span class="quote">&#8220;<span class="quote">cups</span>&#8221;</span> device, but one of the many others. However, even for Foomatic/cupsomatic usage, best
     547results and <a class="indexterm" name="id2642287"></a> broadest printer
    548548model support is provided by ESP Ghostscript (more about Foomatic/cupsomatic, particularly the new version
    549549called now <span class="emphasis"><em>foomatic-rip</em></span>, follows).
    550 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2636211"></a>MIME Types and CUPS Filters</h3></div></div></div><p>
    551         <a class="indexterm" name="id2636219"></a>
    552         <a class="indexterm" name="id2636228"></a>
    553 <a class="indexterm" name="id2636235"></a>
    554 <a class="indexterm" name="id2636242"></a>
    555 <a class="indexterm" name="id2636249"></a>
     550</p><div class="sect2" title="MIME Types and CUPS Filters"><div class="titlepage"><div><div><h3 class="title"><a name="id2642304"></a>MIME Types and CUPS Filters</h3></div></div></div><p>
     551        <a class="indexterm" name="id2642312"></a>
     552        <a class="indexterm" name="id2642321"></a>
     553<a class="indexterm" name="id2642328"></a>
     554<a class="indexterm" name="id2642334"></a>
     555<a class="indexterm" name="id2642341"></a>
    556556        CUPS reads the file <code class="filename">/etc/cups/mime.types</code> (and all other files carrying a
    557557        <code class="filename">*.types</code> suffix in the same directory) upon startup. These files contain the MIME type
     
    559559        man page for <code class="filename">mime.types</code> and in the comments section of the
    560560        <code class="filename">mime.types</code> file itself. A simple rule reads like this:
    561         <a class="indexterm" name="id2636286"></a>
     561        <a class="indexterm" name="id2642378"></a>
    562562</p><pre class="programlisting">
    563563application/pdf         pdf string(0,%PDF)
    564564</pre><p>
    565 <a class="indexterm" name="id2636299"></a>
    566 <a class="indexterm" name="id2636306"></a>
     565<a class="indexterm" name="id2642391"></a>
     566<a class="indexterm" name="id2642398"></a>
    567567        This means if a filename has a <code class="filename">.pdf</code> suffix or if the magic string
    568568        <span class="emphasis"><em>%PDF</em></span> is right at the beginning of the file itself (offset 0 from the start), then it is a
     
    571571application/postscript  ai eps ps string(0,%!) string(0,&lt;04&gt;%!)
    572572</pre><p>
    573 <a class="indexterm" name="id2636339"></a>
    574 <a class="indexterm" name="id2636346"></a>
    575 <a class="indexterm" name="id2636353"></a>
    576 <a class="indexterm" name="id2636360"></a>
    577 <a class="indexterm" name="id2636366"></a>
    578 <a class="indexterm" name="id2636373"></a>
     573<a class="indexterm" name="id2642431"></a>
     574<a class="indexterm" name="id2642438"></a>
     575<a class="indexterm" name="id2642445"></a>
     576<a class="indexterm" name="id2642452"></a>
     577<a class="indexterm" name="id2642459"></a>
     578<a class="indexterm" name="id2642466"></a>
    579579        If the filename has one of the suffixes <code class="filename">.ai</code>, <code class="filename">.eps</code>,
    580580        <code class="filename">.ps</code>, or if the file itself starts with one of the strings <span class="emphasis"><em>%!</em></span> or
    581581        <span class="emphasis"><em>&lt;04&gt;%!</em></span>, it is a generic PostScript file
    582582        (<em class="parameter"><code>application/postscript</code></em>).
    583         </p><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
    584 <a class="indexterm" name="id2636418"></a>
     583        </p><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
     584<a class="indexterm" name="id2642510"></a>
    585585        Don't confuse the other mime.types files your system might be using
    586586        with the one in the <code class="filename">/etc/cups/</code> directory.
    587         </p></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    588 <a class="indexterm" name="id2636436"></a>
    589 <a class="indexterm" name="id2636444"></a>
    590 <a class="indexterm" name="id2636450"></a>
    591 <a class="indexterm" name="id2636457"></a>
    592 <a class="indexterm" name="id2636464"></a>
     587        </p></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     588<a class="indexterm" name="id2642529"></a>
     589<a class="indexterm" name="id2642536"></a>
     590<a class="indexterm" name="id2642543"></a>
     591<a class="indexterm" name="id2642550"></a>
     592<a class="indexterm" name="id2642556"></a>
    593593        There is an important difference between two similar MIME types in CUPS: one is
    594594        <em class="parameter"><code>application/postscript</code></em>, the other is
     
    601601        <em class="parameter"><code>pstops</code></em> filter. pstops uses information contained in the PPD to do the transformation.
    602602        </p></div><p>
    603 <a class="indexterm" name="id2636526"></a>
    604 <a class="indexterm" name="id2636533"></a>
    605 <a class="indexterm" name="id2636540"></a>
    606 <a class="indexterm" name="id2636546"></a>
    607 <a class="indexterm" name="id2636553"></a>
    608 <a class="indexterm" name="id2636560"></a>
    609 <a class="indexterm" name="id2636566"></a>
    610 <a class="indexterm" name="id2636573"></a>
    611 <a class="indexterm" name="id2636580"></a>
    612 <a class="indexterm" name="id2636586"></a>
    613 <a class="indexterm" name="id2636593"></a>
    614 <a class="indexterm" name="id2636600"></a>
    615 <a class="indexterm" name="id2636607"></a>
    616 <a class="indexterm" name="id2636614"></a>
    617 <a class="indexterm" name="id2636621"></a>
    618 <a class="indexterm" name="id2636627"></a>
     603<a class="indexterm" name="id2642619"></a>
     604<a class="indexterm" name="id2642625"></a>
     605<a class="indexterm" name="id2642632"></a>
     606<a class="indexterm" name="id2642639"></a>
     607<a class="indexterm" name="id2642646"></a>
     608<a class="indexterm" name="id2642652"></a>
     609<a class="indexterm" name="id2642659"></a>
     610<a class="indexterm" name="id2642665"></a>
     611<a class="indexterm" name="id2642672"></a>
     612<a class="indexterm" name="id2642679"></a>
     613<a class="indexterm" name="id2642686"></a>
     614<a class="indexterm" name="id2642692"></a>
     615<a class="indexterm" name="id2642699"></a>
     616<a class="indexterm" name="id2642706"></a>
     617<a class="indexterm" name="id2642713"></a>
     618<a class="indexterm" name="id2642720"></a>
    619619        CUPS can handle ASCII text, HP-GL, PDF, PostScript, DVI, and
    620620        many image formats (GIF, PNG, TIFF, JPEG, Photo-CD, SUN-Raster,
    621621        PNM, PBM, SGI-RGB, and more) and their associated MIME types
    622622        with its filters.
    623         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2636640"></a>MIME Type Conversion Rules</h3></div></div></div><p>
    624         <a class="indexterm" name="id2636648"></a>
    625         <a class="indexterm" name="id2636655"></a>
    626 <a class="indexterm" name="id2636662"></a>
    627 <a class="indexterm" name="id2636669"></a>
    628 <a class="indexterm" name="id2636676"></a>
     623        </p></div><div class="sect2" title="MIME Type Conversion Rules"><div class="titlepage"><div><div><h3 class="title"><a name="id2642732"></a>MIME Type Conversion Rules</h3></div></div></div><p>
     624        <a class="indexterm" name="id2642740"></a>
     625        <a class="indexterm" name="id2642747"></a>
     626<a class="indexterm" name="id2642754"></a>
     627<a class="indexterm" name="id2642761"></a>
     628<a class="indexterm" name="id2642768"></a>
    629629        CUPS reads the file <code class="filename">/etc/cups/mime.convs</code>
    630630        (and all other files named with a <code class="filename">*.convs</code>
     
    637637application/pdf         application/postscript   33   pdftops
    638638</pre><p>
    639 <a class="indexterm" name="id2636708"></a>
     639<a class="indexterm" name="id2642800"></a>
    640640        This means that the <em class="parameter"><code>pdftops</code></em> filter will take
    641641        <em class="parameter"><code>application/pdf</code></em> as input and produce
     
    643643        cost of this operation is 33 CUPS-$. The next filter is more
    644644        expensive, costing 66 CUPS-$:
    645         <a class="indexterm" name="id2636736"></a>
     645        <a class="indexterm" name="id2642828"></a>
    646646</p><pre class="programlisting">
    647647application/vnd.hp-HPGL application/postscript   66   hpgltops
    648648</pre><p>
    649 <a class="indexterm" name="id2636749"></a>
     649<a class="indexterm" name="id2642842"></a>
    650650        This is the <em class="parameter"><code>hpgltops</code></em>, which processes HP-GL
    651651        plotter files to PostScript.
    652         <a class="indexterm" name="id2636763"></a>
     652        <a class="indexterm" name="id2642856"></a>
    653653</p><pre class="programlisting">
    654654application/octet-stream
    655655</pre><p>
    656656        Here are two more examples:
    657         <a class="indexterm" name="id2636777"></a>
    658 <a class="indexterm" name="id2636784"></a>
    659 <a class="indexterm" name="id2636791"></a>
    660 <a class="indexterm" name="id2636798"></a>
     657        <a class="indexterm" name="id2642870"></a>
     658<a class="indexterm" name="id2642876"></a>
     659<a class="indexterm" name="id2642883"></a>
     660<a class="indexterm" name="id2642890"></a>
    661661</p><pre class="programlisting">
    662662application/x-shell     application/postscript   33    texttops
    663663text/plain              application/postscript   33    texttops
    664664</pre><p>
    665 <a class="indexterm" name="id2636812"></a>
     665<a class="indexterm" name="id2642905"></a>
    666666        The last two examples name the <em class="parameter"><code>texttops</code></em> filter to work on
    667667        <em class="parameter"><code>text/plain</code></em> as well as on <em class="parameter"><code>application/x-shell</code></em>. (Hint: This
    668668        differentiation is needed for the syntax highlighting feature of <em class="parameter"><code>texttops</code></em>).
    669         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2636848"></a>Filtering  Overview</h3></div></div></div><p>
    670         <a class="indexterm" name="id2636856"></a>
     669        </p></div><div class="sect2" title="Filtering Overview"><div class="titlepage"><div><div><h3 class="title"><a name="id2642940"></a>Filtering  Overview</h3></div></div></div><p>
     670        <a class="indexterm" name="id2642948"></a>
    671671        There are many more combinations named in <code class="filename">mime.convs</code>. However, you are not limited to use
    672672        the ones predefined there. You can plug in any filter you like to the CUPS framework. It must meet, or must be
     
    674674        sure it complies with what CUPS needs and put in the right lines in <code class="filename">mime.types</code> and
    675675        <code class="filename">mime.convs</code>; then it will work seamlessly inside CUPS.
    676         </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2636888"></a>Filter Requirements</h4></div></div></div><p>
    677         The &#8220;<span class="quote">CUPS requirements</span>&#8221; for filters are simple. Take filenames or <code class="filename">stdin</code> as
     676        </p><div class="sect3" title="Filter Requirements"><div class="titlepage"><div><div><h4 class="title"><a name="id2642981"></a>Filter Requirements</h4></div></div></div><p>
     677        The <span class="quote">&#8220;<span class="quote">CUPS requirements</span>&#8221;</span> for filters are simple. Take filenames or <code class="filename">stdin</code> as
    678678        input and write to <code class="filename">stdout</code>. They should take these arguments:
    679679        </p><div class="variablelist"><dl><dt><span class="term">printer</span></dt><dd><p>
     
    693693                        fed through <code class="filename">stdin</code>). In most cases, it is easy to
    694694                        write a simple wrapper script around existing filters to make them work with CUPS.
    695                         </p></dd></dl></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2637005"></a>Prefilters</h3></div></div></div><p>
    696         <a class="indexterm" name="id2637013"></a>
    697 <a class="indexterm" name="id2637020"></a>
    698 <a class="indexterm" name="id2637027"></a>
     695                        </p></dd></dl></div></div></div><div class="sect2" title="Prefilters"><div class="titlepage"><div><div><h3 class="title"><a name="id2643098"></a>Prefilters</h3></div></div></div><p>
     696        <a class="indexterm" name="id2643105"></a>
     697<a class="indexterm" name="id2643112"></a>
     698<a class="indexterm" name="id2643119"></a>
    699699        As previously stated, PostScript is the central file format to any UNIX-based
    700700        printing system. From PostScript, CUPS generates raster data to feed
    701701        non-PostScript printers.
    702702        </p><p>
    703 <a class="indexterm" name="id2637040"></a>
    704 <a class="indexterm" name="id2637047"></a>
    705 <a class="indexterm" name="id2637054"></a>
    706 <a class="indexterm" name="id2637060"></a>
    707 <a class="indexterm" name="id2637067"></a>
    708 <a class="indexterm" name="id2637073"></a>
    709 <a class="indexterm" name="id2637080"></a>
    710 <a class="indexterm" name="id2637087"></a>
    711 <a class="indexterm" name="id2637094"></a>
    712 <a class="indexterm" name="id2637101"></a>
     703<a class="indexterm" name="id2643132"></a>
     704<a class="indexterm" name="id2643139"></a>
     705<a class="indexterm" name="id2643146"></a>
     706<a class="indexterm" name="id2643153"></a>
     707<a class="indexterm" name="id2643159"></a>
     708<a class="indexterm" name="id2643166"></a>
     709<a class="indexterm" name="id2643173"></a>
     710<a class="indexterm" name="id2643179"></a>
     711<a class="indexterm" name="id2643186"></a>
     712<a class="indexterm" name="id2643193"></a>
    713713        But what happens if you send one of the supported non-PS formats to print? Then CUPS runs
    714         &#8220;<span class="quote">prefilters</span>&#8221; on these input formats to generate PostScript first. There are prefilters to create
     714        <span class="quote">&#8220;<span class="quote">prefilters</span>&#8221;</span> on these input formats to generate PostScript first. There are prefilters to create
    715715        PostScript from ASCII text, PDF, DVI, or HP-GL. The outcome of these filters is always of MIME type
    716716        <em class="parameter"><code>application/postscript</code></em> (meaning that any device-specific print options are not yet
     
    720720        the print options already embedded into the file. This is shown in <a class="link" href="CUPS-printing.html#4small" title="Figure 22.4. Prefiltering in CUPS to Form PostScript.">Prefiltering in
    721721        CUPS to Form PostScript</a>.
    722         </p><div class="figure"><a name="4small"></a><p class="title"><b>Figure 22.4. Prefiltering in CUPS to Form PostScript.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/4small.png" width="135" alt="Prefiltering in CUPS to Form PostScript."></div></div></div><br class="figure-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2637193"></a>pstops</h3></div></div></div><p>
    723 <a class="indexterm" name="id2637201"></a>
    724 <a class="indexterm" name="id2637208"></a>
    725 <a class="indexterm" name="id2637215"></a>
    726 <a class="indexterm" name="id2637222"></a>
    727 <a class="indexterm" name="id2637229"></a>
    728 <a class="indexterm" name="id2637236"></a>
    729 <a class="indexterm" name="id2637243"></a>
     722        </p><div class="figure"><a name="4small"></a><p class="title"><b>Figure 22.4. Prefiltering in CUPS to Form PostScript.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/4small.png" width="135" alt="Prefiltering in CUPS to Form PostScript."></div></div></div><br class="figure-break"></div><div class="sect2" title="pstops"><div class="titlepage"><div><div><h3 class="title"><a name="id2643286"></a>pstops</h3></div></div></div><p>
     723<a class="indexterm" name="id2643294"></a>
     724<a class="indexterm" name="id2643300"></a>
     725<a class="indexterm" name="id2643307"></a>
     726<a class="indexterm" name="id2643315"></a>
     727<a class="indexterm" name="id2643322"></a>
     728<a class="indexterm" name="id2643328"></a>
     729<a class="indexterm" name="id2643335"></a>
    730730        <span class="emphasis"><em>pstops</em></span> is a filter that is used to convert <em class="parameter"><code>application/postscript</code></em> to
    731731        <em class="parameter"><code>application/vnd.cups-postscript</code></em>. As stated earlier, this filter inserts all
     
    734734        </p><div class="figure"><a name="5small"></a><p class="title"><b>Figure 22.5. Adding Device-Specific Print Options.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/5small.png" width="135" alt="Adding Device-Specific Print Options."></div></div></div><br class="figure-break"><p>
    735735        This is not all. Other tasks performed by it are:
    736         </p><div class="itemizedlist"><ul type="disc"><li><p>
     736        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    737737                Selecting the range of pages to be printed (e.g., you can choose to
    738                 print only pages &#8220;<span class="quote">3, 6, 8-11, 16, and 19-21</span>&#8221;, or only odd-numbered
     738                print only pages <span class="quote">&#8220;<span class="quote">3, 6, 8-11, 16, and 19-21</span>&#8221;</span>, or only odd-numbered
    739739                pages).
    740                 </p></li><li><p>
     740                </p></li><li class="listitem"><p>
    741741                Putting two or more logical pages on one sheet of paper (the
    742                 so-called &#8220;<span class="quote">number-up</span>&#8221; function).
    743                 </p></li><li><p>Counting the pages of the job to insert the accounting
     742                so-called <span class="quote">&#8220;<span class="quote">number-up</span>&#8221;</span> function).
     743                </p></li><li class="listitem"><p>Counting the pages of the job to insert the accounting
    744744                information into the <code class="filename">/var/log/cups/page_log</code>.
    745                 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2637361"></a>pstoraster</h3></div></div></div><p>
    746 <a class="indexterm" name="id2637369"></a>
    747 <a class="indexterm" name="id2637376"></a>
    748 <a class="indexterm" name="id2637382"></a>
     745                </p></li></ul></div></div><div class="sect2" title="pstoraster"><div class="titlepage"><div><div><h3 class="title"><a name="id2643453"></a>pstoraster</h3></div></div></div><p>
     746<a class="indexterm" name="id2643461"></a>
     747<a class="indexterm" name="id2643468"></a>
     748<a class="indexterm" name="id2643475"></a>
    749749        <em class="parameter"><code>pstoraster</code></em> is at the core of the CUPS filtering system. It is responsible for the first
    750750        stage of the rasterization process. Its input is of MIME type application/vnd.cups-postscript; its output is
     
    754754        Intermediate Raster Format diagram</a>.
    755755        </p><div class="figure"><a name="cups-raster"></a><p class="title"><b>Figure 22.6. PostScript to Intermediate Raster Format.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/6small.png" width="135" alt="PostScript to Intermediate Raster Format."></div></div></div><br class="figure-break"><p>
    756 <a class="indexterm" name="id2637458"></a>
    757 <a class="indexterm" name="id2637465"></a>
    758 <a class="indexterm" name="id2637472"></a>
    759 <a class="indexterm" name="id2637479"></a>
     756<a class="indexterm" name="id2643551"></a>
     757<a class="indexterm" name="id2643558"></a>
     758<a class="indexterm" name="id2643564"></a>
     759<a class="indexterm" name="id2643571"></a>
    760760        CUPS raster is a generic raster format with powerful features. It is able to include per-page information,
    761761        color profiles, and more, to be used by the downstream raster drivers. Its MIME type is registered with IANA
     
    767767        Ghostscript illustration</a>.
    768768        </p><div class="figure"><a name="cups-raster2"></a><p class="title"><b>Figure 22.7. CUPS-Raster Production Using Ghostscript.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/7small.png" alt="CUPS-Raster Production Using Ghostscript."></div></div></div><br class="figure-break"><p>
    769 <a class="indexterm" name="id2637551"></a>
    770 <a class="indexterm" name="id2637558"></a>
    771 <a class="indexterm" name="id2637565"></a>
    772 <a class="indexterm" name="id2637572"></a>
     769<a class="indexterm" name="id2643644"></a>
     770<a class="indexterm" name="id2643651"></a>
     771<a class="indexterm" name="id2643658"></a>
     772<a class="indexterm" name="id2643664"></a>
    773773        CUPS versions before version 1.1.15 shipped a binary (or source code) standalone filter, named
    774774        <em class="parameter"><code>pstoraster</code></em>. <em class="parameter"><code>pstoraster</code></em>, which was derived from GNU Ghostscript
     
    781781        If your Ghostscript fails when this command is executed: <code class="literal">gs -h |grep cups</code>, you might not
    782782        be able to print, update your Ghostscript.
    783         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2637630"></a>imagetops and imagetoraster</h3></div></div></div><p>
    784 <a class="indexterm" name="id2637638"></a>
    785 <a class="indexterm" name="id2637645"></a>
     783        </p></div><div class="sect2" title="imagetops and imagetoraster"><div class="titlepage"><div><div><h3 class="title"><a name="id2643723"></a>imagetops and imagetoraster</h3></div></div></div><p>
     784<a class="indexterm" name="id2643731"></a>
     785<a class="indexterm" name="id2643738"></a>
    786786        In the section about prefilters, we mentioned the prefilter
    787787        that generates PostScript from image formats. The <em class="parameter"><code>imagetoraster</code></em>
     
    790790        mentioned prefilters. We summarize in a flowchart the image file
    791791        filtering in <a class="link" href="CUPS-printing.html#small8" title="Figure 22.8. Image Format to CUPS-Raster Format Conversion.">the Image Format to CUPS-Raster Format Conversion illustration</a>.
    792         </p><div class="figure"><a name="small8"></a><p class="title"><b>Figure 22.8. Image Format to CUPS-Raster Format Conversion.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/8small.png" alt="Image Format to CUPS-Raster Format Conversion."></div></div></div><br class="figure-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2637715"></a>rasterto [printers specific]</h3></div></div></div><p>
    793 <a class="indexterm" name="id2637723"></a>
    794 <a class="indexterm" name="id2637730"></a>
    795 <a class="indexterm" name="id2637737"></a>
    796 <a class="indexterm" name="id2637744"></a>
    797 <a class="indexterm" name="id2637751"></a>
    798 <a class="indexterm" name="id2637758"></a>
    799 <a class="indexterm" name="id2637764"></a>
    800 <a class="indexterm" name="id2637771"></a>
    801 <a class="indexterm" name="id2637778"></a>
    802 <a class="indexterm" name="id2637785"></a>
    803 <a class="indexterm" name="id2637792"></a>
     792        </p><div class="figure"><a name="small8"></a><p class="title"><b>Figure 22.8. Image Format to CUPS-Raster Format Conversion.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/8small.png" alt="Image Format to CUPS-Raster Format Conversion."></div></div></div><br class="figure-break"></div><div class="sect2" title="rasterto [printers specific]"><div class="titlepage"><div><div><h3 class="title"><a name="id2643807"></a>rasterto [printers specific]</h3></div></div></div><p>
     793<a class="indexterm" name="id2643816"></a>
     794<a class="indexterm" name="id2643822"></a>
     795<a class="indexterm" name="id2643829"></a>
     796<a class="indexterm" name="id2643836"></a>
     797<a class="indexterm" name="id2643843"></a>
     798<a class="indexterm" name="id2643850"></a>
     799<a class="indexterm" name="id2643857"></a>
     800<a class="indexterm" name="id2643864"></a>
     801<a class="indexterm" name="id2643871"></a>
     802<a class="indexterm" name="id2643878"></a>
     803<a class="indexterm" name="id2643884"></a>
    804804        CUPS ships with quite a variety of raster drivers for processing CUPS raster. On my system, I find in
    805805        /usr/lib/cups/filter/ the following: <em class="parameter"><code>rastertoalps</code></em>, <em class="parameter"><code>rastertobj</code></em>,
     
    812812        wanting to cooperate as closely as possible with CUPS. See <a class="link" href="CUPS-printing.html#small9" title="Figure 22.9. Raster to Printer-Specific Formats.">the Raster to
    813813        Printer-Specific Formats illustration</a>.
    814         </p><div class="figure"><a name="small9"></a><p class="title"><b>Figure 22.9. Raster to Printer-Specific Formats.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/9small.png" alt="Raster to Printer-Specific Formats."></div></div></div><br class="figure-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2637934"></a>CUPS Backends</h3></div></div></div><p>
    815 <a class="indexterm" name="id2637942"></a>
    816 <a class="indexterm" name="id2637949"></a>
     814        </p><div class="figure"><a name="small9"></a><p class="title"><b>Figure 22.9. Raster to Printer-Specific Formats.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/9small.png" alt="Raster to Printer-Specific Formats."></div></div></div><br class="figure-break"></div><div class="sect2" title="CUPS Backends"><div class="titlepage"><div><div><h3 class="title"><a name="id2644027"></a>CUPS Backends</h3></div></div></div><p>
     815<a class="indexterm" name="id2644034"></a>
     816<a class="indexterm" name="id2644042"></a>
    817817        The last part of any CUPS filtering chain is a backend. Backends
    818818        are special programs that send the print-ready file to the final
    819819        device. There is a separate backend program for any transfer
    820820        protocol for sending print jobs over the network, and one for every local
    821         interface. Every CUPS print queue needs to have a CUPS &#8220;<span class="quote">device-URI</span>&#8221;
     821        interface. Every CUPS print queue needs to have a CUPS <span class="quote">&#8220;<span class="quote">device-URI</span>&#8221;</span>
    822822        associated with it. The device URI is the way to encode the backend
    823823        used to send the job to its destination. Network device-URIs use
     
    868868                host. Examples of CUPS device-URIs that may be used includes:
    869869                </p><p>
    870                 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><code class="filename">smb://workgroup/server/printersharename</code></td></tr><tr><td><code class="filename">smb://server/printersharename</code></td></tr><tr><td><code class="filename">smb://username:password@workgroup/server/printersharename</code></td></tr><tr><td><code class="filename">smb://username:password@server/printersharename</code></td></tr></table><p>
     870                </p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename">smb://workgroup/server/printersharename</code></td></tr><tr><td><code class="filename">smb://server/printersharename</code></td></tr><tr><td><code class="filename">smb://username:password@workgroup/server/printersharename</code></td></tr><tr><td><code class="filename">smb://username:password@server/printersharename</code></td></tr></table><p>
    871871                </p><p>
    872872                The smb:// backend is a symlink to the Samba utility
     
    878878        It is easy to write your own backends as shell or Perl scripts if you
    879879        need any modification or extension to the CUPS print system. One
    880         reason could be that you want to create &#8220;<span class="quote">special</span>&#8221; printers that send
    881         the print jobs as email (through a &#8220;<span class="quote">mailto:/</span>&#8221; backend), convert them to
    882         PDF (through a &#8220;<span class="quote">pdfgen:/</span>&#8221; backend) or dump them to &#8220;<span class="quote">/dev/null</span>&#8221;. (In
     880        reason could be that you want to create <span class="quote">&#8220;<span class="quote">special</span>&#8221;</span> printers that send
     881        the print jobs as email (through a <span class="quote">&#8220;<span class="quote">mailto:/</span>&#8221;</span> backend), convert them to
     882        PDF (through a <span class="quote">&#8220;<span class="quote">pdfgen:/</span>&#8221;</span> backend) or dump them to <span class="quote">&#8220;<span class="quote">/dev/null</span>&#8221;</span>. (In
    883883        fact, I have the systemwide default printer set up to be connected to
    884884        a devnull:/ backend: there are just too many people sending jobs
     
    888888        printer name.)
    889889        </p><p>
    890 <a class="indexterm" name="id2638229"></a>
    891 <a class="indexterm" name="id2638235"></a>
     890<a class="indexterm" name="id2644321"></a>
     891<a class="indexterm" name="id2644328"></a>
    892892        Not all of the mentioned backends may be present on your system or
    893893        usable (depending on your hardware configuration). One test for all
     
    897897        </p><pre class="screen">
    898898        <code class="prompt">$ </code><strong class="userinput"><code>lpinfo -v</code></strong>
    899         </pre></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2638273"></a>The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></h3></div></div></div><p>
    900         <a class="indexterm" name="id2638285"></a>
    901         <a class="indexterm" name="id2638292"></a>
    902 <a class="indexterm" name="id2638299"></a>
    903 <a class="indexterm" name="id2638306"></a>
    904 <a class="indexterm" name="id2638313"></a>
     899        </pre></div><div class="sect2" title="The Role of cupsomatic/foomatic"><div class="titlepage"><div><div><h3 class="title"><a name="id2644365"></a>The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></h3></div></div></div><p>
     900        <a class="indexterm" name="id2644378"></a>
     901        <a class="indexterm" name="id2644384"></a>
     902<a class="indexterm" name="id2644391"></a>
     903<a class="indexterm" name="id2644398"></a>
     904<a class="indexterm" name="id2644405"></a>
    905905        <em class="parameter"><code>cupsomatic</code></em> filters may be the most widely used on CUPS
    906906        installations. You must be clear that these were not
     
    926926        the print job.
    927927        </p><p>
    928         <a class="indexterm" name="id2638379"></a>
    929 <a class="indexterm" name="id2638386"></a>
    930 <a class="indexterm" name="id2638393"></a>
    931 <a class="indexterm" name="id2638400"></a>
    932 <a class="indexterm" name="id2638407"></a>
    933 <a class="indexterm" name="id2638414"></a>
    934 <a class="indexterm" name="id2638420"></a>
    935 <a class="indexterm" name="id2638427"></a>
    936 <a class="indexterm" name="id2638434"></a>
    937 <a class="indexterm" name="id2638441"></a>
    938 <a class="indexterm" name="id2638448"></a>
     928        <a class="indexterm" name="id2644471"></a>
     929<a class="indexterm" name="id2644478"></a>
     930<a class="indexterm" name="id2644485"></a>
     931<a class="indexterm" name="id2644492"></a>
     932<a class="indexterm" name="id2644499"></a>
     933<a class="indexterm" name="id2644506"></a>
     934<a class="indexterm" name="id2644513"></a>
     935<a class="indexterm" name="id2644520"></a>
     936<a class="indexterm" name="id2644526"></a>
     937<a class="indexterm" name="id2644533"></a>
     938<a class="indexterm" name="id2644540"></a>
    939939        However, <em class="parameter"><code>cupsomatic</code></em> is now deprecated. Its PPDs (especially the first
    940940        generation of them, still in heavy use out there) are not meeting the
    941941        Adobe specifications. You might also suffer difficulties when you try
    942         to download them with &#8220;<span class="quote">Point'n'Print</span>&#8221; to Windows clients. A better
     942        to download them with <span class="quote">&#8220;<span class="quote">Point'n'Print</span>&#8221;</span> to Windows clients. A better
    943943        and more powerful successor is now available: it is called <em class="parameter"><code>foomatic-rip</code></em>. To use
    944944        <em class="parameter"><code>foomatic-rip</code></em> as a filter with CUPS, you need the new type of PPDs, which
     
    958958        legacy spoolers too (like LPRng, BSD-LPD, PDQ, PPR, and so on), providing
    959959        for them access to use PPDs for their printing.
    960         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2638508"></a>The Complete Picture</h3></div></div></div><p>
     960        </p></div><div class="sect2" title="The Complete Picture"><div class="titlepage"><div><div><h3 class="title"><a name="id2644600"></a>The Complete Picture</h3></div></div></div><p>
    961961        If you want to see an overview of all the filters and how they
    962962        relate to each other, the complete picture of the puzzle is at the end
    963963        of this chapter.
    964         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2638521"></a><code class="filename">mime.convs</code></h3></div></div></div><p>
     964        </p></div><div class="sect2" title="mime.convs"><div class="titlepage"><div><div><h3 class="title"><a name="id2644613"></a><code class="filename">mime.convs</code></h3></div></div></div><p>
    965965        CUPS autoconstructs all possible filtering chain paths for any given
    966966        MIME type and every printer installed. But how does it decide in
     
    970970        the third column of the mime.convs file. They represent virtual costs
    971971        assigned to this filter. Every possible filtering chain will sum up to
    972         a total &#8220;<span class="quote">filter cost.</span>&#8221; CUPS decides for the most &#8220;<span class="quote">inexpensive</span>&#8221; route.
    973         </p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>
    974 <a class="indexterm" name="id2638552"></a>
    975 <a class="indexterm" name="id2638559"></a>
     972        a total <span class="quote">&#8220;<span class="quote">filter cost.</span>&#8221;</span> CUPS decides for the most <span class="quote">&#8220;<span class="quote">inexpensive</span>&#8221;</span> route.
     973        </p><div class="tip" title="Tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>
     974<a class="indexterm" name="id2644645"></a>
     975<a class="indexterm" name="id2644652"></a>
    976976        Setting <em class="parameter"><code>FilterLimit 1000</code></em> in
    977977        <code class="filename">cupsd.conf</code> will not allow more filters to
    978978        run concurrently than will consume a total of 1000 virtual filter
    979979        cost. This is an efficient way to limit the load of any CUPS
    980         server by setting an appropriate &#8220;<span class="quote">FilterLimit</span>&#8221; value. A FilterLimit of
     980        server by setting an appropriate <span class="quote">&#8220;<span class="quote">FilterLimit</span>&#8221;</span> value. A FilterLimit of
    981981        200 allows roughly one job at a time, while a FilterLimit of 1000 allows
    982982        approximately five jobs maximum at a time.
    983         </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2638590"></a>&#8220;<span class="quote">Raw</span>&#8221; Printing</h3></div></div></div><p>
    984 <a class="indexterm" name="id2638599"></a>
    985 <a class="indexterm" name="id2638606"></a>
    986 <a class="indexterm" name="id2638613"></a>
    987         You can tell CUPS to print (nearly) any file &#8220;<span class="quote">raw</span>&#8221;. &#8220;<span class="quote">Raw</span>&#8221; means it will not be
    988         filtered. CUPS will send the file to the printer &#8220;<span class="quote">as is</span>&#8221; without bothering if the printer is able
     983        </p></div></div><div class="sect2" title="&#8220;Raw&#8221; Printing"><div class="titlepage"><div><div><h3 class="title"><a name="id2644682"></a><span class="quote">&#8220;<span class="quote">Raw</span>&#8221;</span> Printing</h3></div></div></div><p>
     984<a class="indexterm" name="id2644692"></a>
     985<a class="indexterm" name="id2644698"></a>
     986<a class="indexterm" name="id2644705"></a>
     987        You can tell CUPS to print (nearly) any file <span class="quote">&#8220;<span class="quote">raw</span>&#8221;</span>. <span class="quote">&#8220;<span class="quote">Raw</span>&#8221;</span> means it will not be
     988        filtered. CUPS will send the file to the printer <span class="quote">&#8220;<span class="quote">as is</span>&#8221;</span> without bothering if the printer is able
    989989        to digest it. Users need to take care themselves that they send sensible data formats only. Raw printing can
    990         happen on any queue if the &#8220;<span class="quote"><em class="parameter"><code>-o raw</code></em></span>&#8221; option is specified on the command
     990        happen on any queue if the <span class="quote">&#8220;<span class="quote"><em class="parameter"><code>-o raw</code></em></span>&#8221;</span> option is specified on the command
    991991        line. You can also set up raw-only queues by simply not associating any PPD with it. This command:
    992992</p><pre class="screen">
    993993<code class="prompt">$ </code><strong class="userinput"><code>lpadmin -P rawprinter -v socket://11.12.13.14:9100 -E</code></strong>
    994994</pre><p>
    995         sets up a queue named &#8220;<span class="quote">rawprinter</span>&#8221;, connected via the &#8220;<span class="quote">socket</span>&#8221; protocol (a.k.a.
    996         &#8220;<span class="quote">HP JetDirect</span>&#8221;) to the device at IP address 11.12.1.3.14, using port 9100. (If you had added a
     995        sets up a queue named <span class="quote">&#8220;<span class="quote">rawprinter</span>&#8221;</span>, connected via the <span class="quote">&#8220;<span class="quote">socket</span>&#8221;</span> protocol (a.k.a.
     996        <span class="quote">&#8220;<span class="quote">HP JetDirect</span>&#8221;</span>) to the device at IP address 11.12.1.3.14, using port 9100. (If you had added a
    997997        PPD with <code class="literal">-P /path/to/PPD</code> to this command line, you would have installed a
    998         &#8220;<span class="quote">normal</span>&#8221; print queue.)
     998        <span class="quote">&#8220;<span class="quote">normal</span>&#8221;</span> print queue.)
    999999        </p><p>
    1000         CUPS will automatically treat each job sent to a queue as a &#8220;<span class="quote">raw</span>&#8221; one
     1000        CUPS will automatically treat each job sent to a queue as a <span class="quote">&#8220;<span class="quote">raw</span>&#8221;</span> one
    10011001        if it can't find a PPD associated with the queue. However, CUPS will
    10021002        only send known MIME types (as defined in its own mime.types file) and
    10031003        refuse others.
    1004         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2638698"></a>application/octet-stream Printing</h3></div></div></div><p>
    1005 <a class="indexterm" name="id2638706"></a>
    1006 <a class="indexterm" name="id2638713"></a>
     1004        </p></div><div class="sect2" title="application/octet-stream Printing"><div class="titlepage"><div><div><h3 class="title"><a name="id2644790"></a>application/octet-stream Printing</h3></div></div></div><p>
     1005<a class="indexterm" name="id2644798"></a>
     1006<a class="indexterm" name="id2644805"></a>
    10071007        Any MIME type with no rule in the <code class="filename">/etc/cups/mime.types</code> file is regarded as unknown
    10081008        or <em class="parameter"><code>application/octet-stream</code></em> and will not be
     
    10161016        To enable the printing of <em class="parameter"><code>application/octet-stream</code></em> files, edit
    10171017        these two files:
    1018         </p><div class="itemizedlist"><ul type="disc"><li><p><code class="filename">/etc/cups/mime.convs</code></p></li><li><p><code class="filename">/etc/cups/mime.types</code></p></li></ul></div><p>
    1019 <a class="indexterm" name="id2638778"></a>
     1018        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><code class="filename">/etc/cups/mime.convs</code></p></li><li class="listitem"><p><code class="filename">/etc/cups/mime.types</code></p></li></ul></div><p>
     1019<a class="indexterm" name="id2644871"></a>
    10201020        Both contain entries (at the end of the respective files) that must be uncommented to allow raw mode
    10211021        operation for <em class="parameter"><code>application/octet-stream</code></em>. In <code class="filename">/etc/cups/mime.types</code>
    10221022        make sure this line is present:
    1023         <a class="indexterm" name="id2638800"></a>
     1023        <a class="indexterm" name="id2644893"></a>
    10241024</p><pre class="programlisting">
    10251025application/octet-stream
     
    10321032application/octet-stream   application/vnd.cups-raw   0   -
    10331033</pre><p>
    1034         <a class="indexterm" name="id2638835"></a>
     1034        <a class="indexterm" name="id2644927"></a>
    10351035        This line tells CUPS to use the <span class="emphasis"><em>Null Filter</em></span>
    1036         (denoted as &#8220;<span class="quote">-</span>&#8221;, doing nothing at all) on
     1036        (denoted as <span class="quote">&#8220;<span class="quote">-</span>&#8221;</span>, doing nothing at all) on
    10371037        <em class="parameter"><code>application/octet-stream</code></em>, and tag the result as
    10381038        <em class="parameter"><code>application/vnd.cups-raw</code></em>. This last one is
    10391039        always a green light to the CUPS scheduler to now hand the file over
    10401040        to the backend connecting to the printer and sending it over.
    1041         </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     1041        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    10421042        Editing the <code class="filename">mime.convs</code> and the <code class="filename">mime.types</code> file does not
    1043         <span class="emphasis"><em>enforce</em></span> &#8220;<span class="quote">raw</span>&#8221; printing, it only <span class="emphasis"><em>allows</em></span> it.
    1044         </p></div><p><b>Background. </b>
    1045 <a class="indexterm" name="id2638902"></a>
    1046 <a class="indexterm" name="id2638909"></a>
    1047 <a class="indexterm" name="id2638915"></a>
    1048 <a class="indexterm" name="id2638922"></a>
     1043        <span class="emphasis"><em>enforce</em></span> <span class="quote">&#8220;<span class="quote">raw</span>&#8221;</span> printing, it only <span class="emphasis"><em>allows</em></span> it.
     1044        </p></div><p title="Background"><b>Background. </b>
     1045<a class="indexterm" name="id2644994"></a>
     1046<a class="indexterm" name="id2645001"></a>
     1047<a class="indexterm" name="id2645008"></a>
     1048<a class="indexterm" name="id2645015"></a>
    10491049        That CUPS is a more security-aware printing system than traditional ones
    10501050        does not by default allow one to send deliberate (possibly binary)
    10511051        data to printing devices. (This could be easily abused to launch a
    10521052        Denial of Service attack on your printer(s), causing at least the loss
    1053         of a lot of paper and ink.) &#8220;<span class="quote">Unknown</span>&#8221; data are regarded by CUPS
     1053        of a lot of paper and ink.) <span class="quote">&#8220;<span class="quote">Unknown</span>&#8221;</span> data are regarded by CUPS
    10541054        as <span class="emphasis"><em>MIME type</em></span> <span class="emphasis"><em>application/octet-stream</em></span>. While you
    1055         <span class="emphasis"><em>can</em></span> send data &#8220;<span class="quote">raw</span>&#8221;, the MIME type for these must
     1055        <span class="emphasis"><em>can</em></span> send data <span class="quote">&#8220;<span class="quote">raw</span>&#8221;</span>, the MIME type for these must
    10561056        be one that is known to CUPS and allowed by it. The file
    1057         <code class="filename">/etc/cups/mime.types</code> defines the &#8220;<span class="quote">rules</span>&#8221; of how CUPS
     1057        <code class="filename">/etc/cups/mime.types</code> defines the <span class="quote">&#8220;<span class="quote">rules</span>&#8221;</span> of how CUPS
    10581058        recognizes MIME types. The file <code class="filename">/etc/cups/mime.convs</code> decides which file
    10591059        conversion filter(s) may be applied to which MIME types.
    1060         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2638977"></a>PostScript Printer Descriptions for Non-PostScript Printers</h3></div></div></div><p>
    1061         <a class="indexterm" name="id2638985"></a>
    1062 <a class="indexterm" name="id2638992"></a>
    1063 <a class="indexterm" name="id2638999"></a>
    1064 <a class="indexterm" name="id2639006"></a>
    1065 <a class="indexterm" name="id2639012"></a>
    1066 <a class="indexterm" name="id2639019"></a>
     1060        </p></div><div class="sect2" title="PostScript Printer Descriptions for Non-PostScript Printers"><div class="titlepage"><div><div><h3 class="title"><a name="id2645069"></a>PostScript Printer Descriptions for Non-PostScript Printers</h3></div></div></div><p>
     1061        <a class="indexterm" name="id2645078"></a>
     1062<a class="indexterm" name="id2645084"></a>
     1063<a class="indexterm" name="id2645091"></a>
     1064<a class="indexterm" name="id2645098"></a>
     1065<a class="indexterm" name="id2645104"></a>
     1066<a class="indexterm" name="id2645111"></a>
    10671067        Originally PPDs were meant to be used for PostScript printers
    10681068        only. Here, they help to send device-specific commands and settings
     
    10771077        PPDs for a non-PostScript printer have a few lines that are unique to
    10781078        CUPS. The most important one looks similar to this:
    1079         <a class="indexterm" name="id2639041"></a>
     1079        <a class="indexterm" name="id2645134"></a>
    10801080</p><pre class="programlisting">
    10811081*cupsFilter: application/vnd.cups-raster  66   rastertoprinter
     
    10951095        different paper trays, or you may get larger margins than your
    10961096        specific model supports. See Table 21.1<a class="link" href="CUPS-printing.html#cups-ppds" title="Table 22.1. PPDs Shipped with CUPS">&#8220;PPDs Shipped with CUPS&#8221;</a> for summary information.
    1097         </p><div class="table"><a name="cups-ppds"></a><p class="title"><b>Table 22.1. PPDs Shipped with CUPS</b></p><div class="table-contents"><table summary="PPDs Shipped with CUPS" border="1"><colgroup><col align="left"><col align="justify"></colgroup><thead><tr><th align="left">PPD file</th><th align="justify">Printer type</th></tr></thead><tbody><tr><td align="left">deskjet.ppd</td><td align="justify">older HP inkjet printers and compatible</td></tr><tr><td align="left">deskjet2.ppd</td><td align="justify">newer HP inkjet printers and compatible </td></tr><tr><td align="left">dymo.ppd</td><td align="justify">label printers </td></tr><tr><td align="left">epson9.ppd</td><td align="justify">Epson 24-pin impact printers and compatible </td></tr><tr><td align="left">epson24.ppd</td><td align="justify">Epson 24-pin impact printers and compatible </td></tr><tr><td align="left">okidata9.ppd</td><td align="justify">Okidata 9-pin impact printers and compatible </td></tr><tr><td align="left">okidat24.ppd</td><td align="justify">Okidata 24-pin impact printers and compatible </td></tr><tr><td align="left">stcolor.ppd</td><td align="justify">older Epson Stylus Color printers </td></tr><tr><td align="left">stcolor2.ppd</td><td align="justify">newer Epson Stylus Color printers </td></tr><tr><td align="left">stphoto.ppd</td><td align="justify">older Epson Stylus Photo printers </td></tr><tr><td align="left">stphoto2.ppd</td><td align="justify">newer Epson Stylus Photo printers </td></tr><tr><td align="left">laserjet.ppd</td><td align="justify">all PCL printers </td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2639260"></a><span class="emphasis"><em>cupsomatic/foomatic-rip</em></span> Versus <span class="emphasis"><em>Native CUPS</em></span> Printing</h3></div></div></div><p>
    1098         <a class="indexterm" name="id2639274"></a>
    1099         <a class="indexterm" name="id2639281"></a>
     1097        </p><div class="table"><a name="cups-ppds"></a><p class="title"><b>Table 22.1. PPDs Shipped with CUPS</b></p><div class="table-contents"><table summary="PPDs Shipped with CUPS" border="1"><colgroup><col align="left"><col align="justify"></colgroup><thead><tr><th align="left">PPD file</th><th align="justify">Printer type</th></tr></thead><tbody><tr><td align="left">deskjet.ppd</td><td align="justify">older HP inkjet printers and compatible</td></tr><tr><td align="left">deskjet2.ppd</td><td align="justify">newer HP inkjet printers and compatible </td></tr><tr><td align="left">dymo.ppd</td><td align="justify">label printers </td></tr><tr><td align="left">epson9.ppd</td><td align="justify">Epson 24-pin impact printers and compatible </td></tr><tr><td align="left">epson24.ppd</td><td align="justify">Epson 24-pin impact printers and compatible </td></tr><tr><td align="left">okidata9.ppd</td><td align="justify">Okidata 9-pin impact printers and compatible </td></tr><tr><td align="left">okidat24.ppd</td><td align="justify">Okidata 24-pin impact printers and compatible </td></tr><tr><td align="left">stcolor.ppd</td><td align="justify">older Epson Stylus Color printers </td></tr><tr><td align="left">stcolor2.ppd</td><td align="justify">newer Epson Stylus Color printers </td></tr><tr><td align="left">stphoto.ppd</td><td align="justify">older Epson Stylus Photo printers </td></tr><tr><td align="left">stphoto2.ppd</td><td align="justify">newer Epson Stylus Photo printers </td></tr><tr><td align="left">laserjet.ppd</td><td align="justify">all PCL printers </td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect2" title="cupsomatic/foomatic-rip Versus Native CUPS Printing"><div class="titlepage"><div><div><h3 class="title"><a name="id2645352"></a><span class="emphasis"><em>cupsomatic/foomatic-rip</em></span> Versus <span class="emphasis"><em>Native CUPS</em></span> Printing</h3></div></div></div><p>
     1098        <a class="indexterm" name="id2645366"></a>
     1099        <a class="indexterm" name="id2645373"></a>
    11001100        Native CUPS rasterization works in two steps:
    1101         </p><div class="itemizedlist"><ul type="disc"><li><p>
    1102 <a class="indexterm" name="id2639295"></a>
     1101        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     1102<a class="indexterm" name="id2645387"></a>
    11031103                First is the <em class="parameter"><code>pstoraster</code></em> step. It uses the special CUPS
    1104                 <a class="indexterm" name="id2639309"></a>
     1104                <a class="indexterm" name="id2645401"></a>
    11051105                device from ESP Ghostscript 7.05.x as its tool.
    1106                 </p></li><li><p>
     1106                </p></li><li class="listitem"><p>
    11071107                Second is the <em class="parameter"><code>rasterdriver</code></em> step. It uses various
    11081108                device-specific filters; there are several vendors who provide good
     
    11171117        way. Note that <em class="parameter"><code>cupsomatic</code></em> is <span class="emphasis"><em>not</em></span> made by the CUPS
    11181118        developers. It is an independent contribution to printing development,
    1119         made by people from Linuxprinting.org.<sup>[<a name="id2639412" href="#ftn.id2639412" class="footnote">6</a>]</sup>
     1119        made by people from Linuxprinting.org.<sup>[<a name="id2645504" href="#ftn.id2645504" class="footnote">6</a>]</sup>
    11201120        <em class="parameter"><code>cupsomatic</code></em> is no longer developed, maintained, or supported. It now been
    11211121        replaced by <em class="parameter"><code>foomatic-rip</code></em>. <em class="parameter"><code>foomatic-rip</code></em> is a complete rewrite
     
    11251125        too.
    11261126        </p><p>
    1127         <a class="indexterm" name="id2639461"></a>
    1128         <a class="indexterm" name="id2639468"></a>
     1127        <a class="indexterm" name="id2645554"></a>
     1128        <a class="indexterm" name="id2645560"></a>
    11291129        Like the old <em class="parameter"><code>cupsomatic</code></em> method, the <em class="parameter"><code>foomatic-rip</code></em> (new) method
    11301130        from Linuxprinting.org uses the traditional Ghostscript print file processing, doing everything in a single
     
    11361136        different queues) and find out which works best for you.
    11371137        </p><p>
    1138 <a class="indexterm" name="id2639503"></a>
    1139 <a class="indexterm" name="id2639510"></a>
    1140 <a class="indexterm" name="id2639517"></a>
    1141 <a class="indexterm" name="id2639524"></a>
    1142 <a class="indexterm" name="id2639531"></a>
    1143 <a class="indexterm" name="id2639538"></a>
     1138<a class="indexterm" name="id2645596"></a>
     1139<a class="indexterm" name="id2645602"></a>
     1140<a class="indexterm" name="id2645609"></a>
     1141<a class="indexterm" name="id2645616"></a>
     1142<a class="indexterm" name="id2645623"></a>
     1143<a class="indexterm" name="id2645630"></a>
    11441144        <em class="parameter"><code>cupsomatic</code></em> kidnaps the print file after the
    11451145        <em class="parameter"><code>application/vnd.cups-postscript</code></em> stage and deviates it through the CUPS-external,
     
    11501150        CUPS</a>, illustrates the difference between native CUPS rendering and the
    11511151        <em class="parameter"><code>Foomatic/cupsomatic</code></em> method.
    1152         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2639597"></a>Examples for Filtering Chains</h3></div></div></div><p>
     1152        </p></div><div class="sect2" title="Examples for Filtering Chains"><div class="titlepage"><div><div><h3 class="title"><a name="id2645689"></a>Examples for Filtering Chains</h3></div></div></div><p>
    11531153        Here are a few examples of commonly occurring filtering chains to
    11541154        illustrate the workings of CUPS.
    11551155        </p><p>
    1156 <a class="indexterm" name="id2639610"></a>
    1157 <a class="indexterm" name="id2639617"></a>
    1158 <a class="indexterm" name="id2639624"></a>
    1159 <a class="indexterm" name="id2639631"></a>
     1156<a class="indexterm" name="id2645702"></a>
     1157<a class="indexterm" name="id2645709"></a>
     1158<a class="indexterm" name="id2645716"></a>
     1159<a class="indexterm" name="id2645723"></a>
    11601160        Assume you want to print a PDF file to an HP JetDirect-connected
    11611161        PostScript printer, but you want to print pages 3-5, 7, and 11-13
    1162         only, and you want to print them &#8220;<span class="quote">two-up</span>&#8221; and &#8220;<span class="quote">duplex</span>&#8221;:
    1163         </p><div class="itemizedlist"><ul type="disc"><li><p>Your print options (page selection as required, two-up,
    1164         duplex) are passed to CUPS on the command line.</p></li><li><p>The (complete) PDF file is sent to CUPS and autotyped as
    1165         <em class="parameter"><code>application/pdf</code></em>.</p></li><li><p>The file therefore must first pass the
     1162        only, and you want to print them <span class="quote">&#8220;<span class="quote">two-up</span>&#8221;</span> and <span class="quote">&#8220;<span class="quote">duplex</span>&#8221;</span>:
     1163        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Your print options (page selection as required, two-up,
     1164        duplex) are passed to CUPS on the command line.</p></li><li class="listitem"><p>The (complete) PDF file is sent to CUPS and autotyped as
     1165        <em class="parameter"><code>application/pdf</code></em>.</p></li><li class="listitem"><p>The file therefore must first pass the
    11661166        <em class="parameter"><code>pdftops</code></em> prefilter, which produces PostScript
    11671167        MIME type <em class="parameter"><code>application/postscript</code></em> (a preview here
    1168         would still show all pages of the original PDF).</p></li><li><p>The file then passes the <em class="parameter"><code>pstops</code></em>
     1168        would still show all pages of the original PDF).</p></li><li class="listitem"><p>The file then passes the <em class="parameter"><code>pstops</code></em>
    11691169        filter that applies the command line options: it selects pages
    1170         2-5, 7, and 11-13, creates the imposed layout &#8220;<span class="quote">two pages on one sheet</span>&#8221;, and
    1171         inserts the correct &#8220;<span class="quote">duplex</span>&#8221; command (as defined in the printer's
     1170        2-5, 7, and 11-13, creates the imposed layout <span class="quote">&#8220;<span class="quote">two pages on one sheet</span>&#8221;</span>, and
     1171        inserts the correct <span class="quote">&#8220;<span class="quote">duplex</span>&#8221;</span> command (as defined in the printer's
    11721172        PPD) into the new PostScript file; the file is now of PostScript MIME
    11731173        type
    1174         <em class="parameter"><code>application/vnd.cups-postscript</code></em>.</p></li><li><p>The file goes to the <em class="parameter"><code>socket</code></em>
     1174        <em class="parameter"><code>application/vnd.cups-postscript</code></em>.</p></li><li class="listitem"><p>The file goes to the <em class="parameter"><code>socket</code></em>
    11751175        backend, which transfers the job to the printers.</p></li></ul></div><p>
    11761176        The resulting filter chain, therefore, is as shown in <a class="link" href="CUPS-printing.html#pdftosocket" title="Figure 22.11. PDF to Socket Chain.">the PDF to socket chain
    11771177        illustration</a>.
    1178         </p><a class="indexterm" name="id2639742"></a><div class="figure"><a name="pdftosocket"></a><p class="title"><b>Figure 22.11. PDF to Socket Chain.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/pdftosocket.png" alt="PDF to Socket Chain."></div></div></div><br class="figure-break"><p>
    1179 <a class="indexterm" name="id2639792"></a>
    1180 <a class="indexterm" name="id2639799"></a>
    1181 <a class="indexterm" name="id2639806"></a>
     1178        </p><a class="indexterm" name="id2645834"></a><div class="figure"><a name="pdftosocket"></a><p class="title"><b>Figure 22.11. PDF to Socket Chain.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/pdftosocket.png" alt="PDF to Socket Chain."></div></div></div><br class="figure-break"><p>
     1179<a class="indexterm" name="id2645884"></a>
     1180<a class="indexterm" name="id2645891"></a>
     1181<a class="indexterm" name="id2645898"></a>
    11821182        Assume you want to print the same filter to an USB-connected Epson Stylus Photo Printer installed with the CUPS
    11831183        <code class="filename">stphoto2.ppd</code>. The first few filtering stages are nearly the same:
    1184         </p><div class="itemizedlist"><ul type="disc"><li><p>
     1184        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    11851185                Your print options (page selection as required, two-up,
    11861186                duplex) are passed to CUPS on the command line.
    1187                 </p></li><li><p>
     1187                </p></li><li class="listitem"><p>
    11881188                The (complete) PDF file is sent to CUPS and autotyped as
    11891189                <em class="parameter"><code>application/pdf</code></em>.
    1190                 </p></li><li><p>
    1191 <a class="indexterm" name="id2639846"></a>
    1192 <a class="indexterm" name="id2639852"></a>
     1190                </p></li><li class="listitem"><p>
     1191<a class="indexterm" name="id2645938"></a>
     1192<a class="indexterm" name="id2645945"></a>
    11931193                The file must first pass the <em class="parameter"><code>pdftops</code></em> prefilter, which produces PostScript
    11941194                MIME type <em class="parameter"><code>application/postscript</code></em> (a preview here would still show all
    11951195                pages of the original PDF).
    1196                 </p></li><li><p>
    1197 <a class="indexterm" name="id2639878"></a>
    1198 <a class="indexterm" name="id2639885"></a>
    1199                 The file then passes the &#8220;<span class="quote">pstops</span>&#8221; filter that applies
     1196                </p></li><li class="listitem"><p>
     1197<a class="indexterm" name="id2645970"></a>
     1198<a class="indexterm" name="id2645977"></a>
     1199                The file then passes the <span class="quote">&#8220;<span class="quote">pstops</span>&#8221;</span> filter that applies
    12001200                the command line options: it selects the pages 2-5, 7, and 11-13,
    1201                 creates the imposed layout &#8220;<span class="quote">two pages on one sheet,</span>&#8221; and inserts the
    1202                 correct &#8220;<span class="quote">duplex</span>&#8221; command (oops  this printer and PPD
     1201                creates the imposed layout <span class="quote">&#8220;<span class="quote">two pages on one sheet,</span>&#8221;</span> and inserts the
     1202                correct <span class="quote">&#8220;<span class="quote">duplex</span>&#8221;</span> command (oops  this printer and PPD
    12031203                do not support duplex printing at all, so this option will
    12041204                be ignored) into the new PostScript file; the file is now of PostScript
    12051205                MIME type <em class="parameter"><code>application/vnd.cups-postscript</code></em>.
    1206                 </p></li><li><p>
     1206                </p></li><li class="listitem"><p>
    12071207                The file then passes the <em class="parameter"><code>pstoraster</code></em> stage and becomes MIME type
    12081208                <em class="parameter"><code>application/cups-raster</code></em>.
    1209                 </p></li><li><p>
    1210 <a class="indexterm" name="id2639940"></a>
     1209                </p></li><li class="listitem"><p>
     1210<a class="indexterm" name="id2646032"></a>
    12111211                Finally, the <em class="parameter"><code>rastertoepson</code></em> filter
    12121212                does its work (as indicated in the printer's PPD), creating the
    12131213                printer-specific raster data and embedding any user-selected
    12141214                print options into the print data stream.
    1215                 </p></li><li><p>
     1215                </p></li><li class="listitem"><p>
    12161216                The file goes to the <em class="parameter"><code>usb</code></em> backend, which transfers the job to the printers.
    12171217                </p></li></ul></div><p>
    12181218        The resulting filter chain therefore is as shown in <a class="link" href="CUPS-printing.html#pdftoepsonusb" title="Figure 22.12. PDF to USB Chain.">the PDF to USB Chain
    12191219        illustration</a>.
    1220         </p><div class="figure"><a name="pdftoepsonusb"></a><p class="title"><b>Figure 22.12. PDF to USB Chain.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/pdftoepsonusb.png" alt="PDF to USB Chain."></div></div></div><br class="figure-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2640025"></a>Sources of CUPS Drivers/PPDs</h3></div></div></div><p>
     1220        </p><div class="figure"><a name="pdftoepsonusb"></a><p class="title"><b>Figure 22.12. PDF to USB Chain.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/pdftoepsonusb.png" alt="PDF to USB Chain."></div></div></div><br class="figure-break"></div><div class="sect2" title="Sources of CUPS Drivers/PPDs"><div class="titlepage"><div><div><h3 class="title"><a name="id2646117"></a>Sources of CUPS Drivers/PPDs</h3></div></div></div><p>
    12211221        On the Internet you can now find many thousands of CUPS-PPD files
    12221222        (with their companion filters), in many national languages
    12231223        supporting more than 1,000 non-PostScript models.
    1224         </p><div class="itemizedlist"><a class="indexterm" name="id2640039"></a><a class="indexterm" name="id2640048"></a><ul type="disc"><li><p>
     1224        </p><div class="itemizedlist"><a class="indexterm" name="id2646132"></a><a class="indexterm" name="id2646141"></a><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    12251225                <a class="ulink" href="http://www.easysw.com/printpro/" target="_top">ESP PrintPro</a>
    12261226                (commercial, non-free) is packaged with more than 3,000 PPDs, ready for
    1227                 successful use &#8220;<span class="quote">out of the box</span>&#8221; on Linux, Mac OS X, IBM-AIX,
     1227                successful use <span class="quote">&#8220;<span class="quote">out of the box</span>&#8221;</span> on Linux, Mac OS X, IBM-AIX,
    12281228                HP-UX, Sun-Solaris, SGI-IRIX, Compaq Tru64, Digital UNIX, and
    12291229                other commercial Unices (it is written by the CUPS developers
    12301230                themselves and its sales help finance the further development of
    12311231                CUPS, as they feed their creators).
    1232                 </p></li><li><p>
     1232                </p></li><li class="listitem"><p>
    12331233                The <a class="ulink" href="http://gimp-print.sourceforge.net/" target="_top">Gutenprint Project</a>
    12341234                (GPL, free software) provides around 140 PPDs (supporting nearly 400 printers, many driven
    12351235                to photo quality output), to be used alongside the Gutenprint CUPS filters.
    1236                 </p></li><li><p>
     1236                </p></li><li class="listitem"><p>
    12371237                <a class="ulink" href="http://www.turboprint.de/english.html/" target="_top">TurboPrint </a> (shareware, non-free) supports
    12381238                roughly the same number of printers in excellent quality.
    1239                 </p></li><li><p>
     1239                </p></li><li class="listitem"><p>
    12401240                <a class="ulink" href="http://www-124.ibm.com/developerworks/oss/linux/projects/omni/" target="_top">OMNI </a>
    12411241                (LPGL, free) is a package made by IBM, now containing support for more
    12421242                than 400 printers, stemming from the inheritance of IBM OS/2 know-how
    12431243                ported over to Linux (CUPS support is in a beta stage at present).
    1244                 </p></li><li><p>
     1244                </p></li><li class="listitem"><p>
    12451245                <a class="ulink" href="http://hpinkjet.sourceforge.net/" target="_top">HPIJS </a> (BSD-style licenses, free)
    12461246                supports approximately 150 of HP's own printers and also provides
    12471247                excellent print quality now (currently available only via the Foomatic path).
    1248                 </p></li><li><p>
     1248                </p></li><li class="listitem"><p>
    12491249                <a class="ulink" href="http://www.linuxprinting.org/" target="_top">Foomatic/cupsomatic </a>
    12501250                (LPGL, free) from Linuxprinting.org provide PPDs for practically every Ghostscript
    12511251                filter known to the world (including Omni, Gutenprint, and HPIJS).
    1252                 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2640148"></a>Printing with Interface Scripts</h3></div></div></div><p>
    1253 <a class="indexterm" name="id2640156"></a>
    1254 <a class="indexterm" name="id2640163"></a>
    1255         CUPS also supports the use of &#8220;<span class="quote">interface scripts</span>&#8221; as known from
     1252                </p></li></ul></div></div><div class="sect2" title="Printing with Interface Scripts"><div class="titlepage"><div><div><h3 class="title"><a name="id2646240"></a>Printing with Interface Scripts</h3></div></div></div><p>
     1253<a class="indexterm" name="id2646248"></a>
     1254<a class="indexterm" name="id2646255"></a>
     1255        CUPS also supports the use of <span class="quote">&#8220;<span class="quote">interface scripts</span>&#8221;</span> as known from
    12561256        System V AT&amp;T printing systems. These are often used for PCL
    12571257        printers, from applications that generate PCL print jobs. Interface
     
    12681268          -i /path/to/interface-script</code></strong>
    12691269</pre><p>
    1270         Interface scripts might be the &#8220;<span class="quote">unknown animal</span>&#8221; to many. However,
     1270        Interface scripts might be the <span class="quote">&#8220;<span class="quote">unknown animal</span>&#8221;</span> to many. However,
    12711271        with CUPS they provide the easiest way to plug in your own custom-written filtering
    12721272        script or program into one specific print queue (some information about the traditional
     
    12741274        <a class="ulink" href="http://playground.sun.com/printing/documentation/interface.html" target="_top">
    12751275        http://playground.sun.com/printing/documentation/interface.html</a>).
    1276         </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2640243"></a>Network Printing (Purely Windows)</h2></div></div></div><p>
     1276        </p></div></div><div class="sect1" title="Network Printing (Purely Windows)"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2646335"></a>Network Printing (Purely Windows)</h2></div></div></div><p>
    12771277Network printing covers a lot of ground. To understand what exactly
    12781278goes on with Samba when it is printing on behalf of its Windows
    1279 clients, let's first look at a &#8220;<span class="quote">purely Windows</span>&#8221; setup: Windows clients
     1279clients, let's first look at a <span class="quote">&#8220;<span class="quote">purely Windows</span>&#8221;</span> setup: Windows clients
    12801280with a Windows NT print server.
    1281 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2640259"></a>From Windows Clients to an NT Print Server</h3></div></div></div><p>
     1281</p><div class="sect2" title="From Windows Clients to an NT Print Server"><div class="titlepage"><div><div><h3 class="title"><a name="id2646352"></a>From Windows Clients to an NT Print Server</h3></div></div></div><p>
    12821282Windows clients printing to an NT-based print server have two
    12831283options. They may:
    1284 <a class="indexterm" name="id2640269"></a>
    1285 <a class="indexterm" name="id2640276"></a>
    1286 </p><div class="itemizedlist"><ul type="disc"><li><p>Execute the driver locally and render the GDI output
     1284<a class="indexterm" name="id2646362"></a>
     1285<a class="indexterm" name="id2646368"></a>
     1286</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Execute the driver locally and render the GDI output
    12871287                        (EMF) into the printer-specific format on their own.
    1288         </p></li><li><p>Send the GDI output (EMF) to the server, where the
     1288        </p></li><li class="listitem"><p>Send the GDI output (EMF) to the server, where the
    12891289        driver is executed to render the printer-specific output.
    12901290        </p></li></ul></div><p>
     
    12921292Print Driver Execution on the Client</a>, and
    12931293<a class="link" href="CUPS-printing.html#small12" title="Figure 22.14. Print Driver Execution on the Server.">Print Driver Execution on the Server</a>.
    1294 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2640321"></a>Driver Execution on the Client</h3></div></div></div><p>
     1294</p></div><div class="sect2" title="Driver Execution on the Client"><div class="titlepage"><div><div><h3 class="title"><a name="id2646414"></a>Driver Execution on the Client</h3></div></div></div><p>
    12951295In the first case, the print server must spool the file as raw, meaning it shouldn't touch the job file and try
    12961296to convert it in any way. This is what a traditional UNIX-based print server can do too, and at a better
    12971297performance and more reliably than an NT print server. This is what most Samba administrators probably are
    1298 familiar with. One advantage of this setup is that this &#8220;<span class="quote">spooling-only</span>&#8221; print server may be used
     1298familiar with. One advantage of this setup is that this <span class="quote">&#8220;<span class="quote">spooling-only</span>&#8221;</span> print server may be used
    12991299even if no driver(s) for UNIX is available. It is sufficient to have the Windows client drivers available and
    13001300installed on the clients. This is illustrated in <a class="link" href="CUPS-printing.html#small11" title="Figure 22.13. Print Driver Execution on the Client.">the Print Driver Execution on the
    13011301Client diagram</a>.
    1302 </p><div class="figure"><a name="small11"></a><p class="title"><b>Figure 22.13. Print Driver Execution on the Client.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/11small.png" alt="Print Driver Execution on the Client."></div></div></div><br class="figure-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2640393"></a>Driver Execution on the Server</h3></div></div></div><p>
    1303 <a class="indexterm" name="id2640401"></a>
    1304 <a class="indexterm" name="id2640408"></a>
    1305 <a class="indexterm" name="id2640414"></a>
    1306 <a class="indexterm" name="id2640421"></a>
    1307 <a class="indexterm" name="id2640427"></a>
     1302</p><div class="figure"><a name="small11"></a><p class="title"><b>Figure 22.13. Print Driver Execution on the Client.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/11small.png" alt="Print Driver Execution on the Client."></div></div></div><br class="figure-break"></div><div class="sect2" title="Driver Execution on the Server"><div class="titlepage"><div><div><h3 class="title"><a name="id2646485"></a>Driver Execution on the Server</h3></div></div></div><p>
     1303<a class="indexterm" name="id2646493"></a>
     1304<a class="indexterm" name="id2646500"></a>
     1305<a class="indexterm" name="id2646506"></a>
     1306<a class="indexterm" name="id2646513"></a>
     1307<a class="indexterm" name="id2646520"></a>
    13081308The other path executes the printer driver on the server. The client transfers print files in EMF format to
    13091309the server. The server uses the PostScript, PCL, ESC/P, or other driver to convert the EMF file into the
     
    13131313</p><div class="figure"><a name="small12"></a><p class="title"><b>Figure 22.14. Print Driver Execution on the Server.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/12small.png" alt="Print Driver Execution on the Server."></div></div></div><br class="figure-break"><p>
    13141314However, something similar is possible with CUPS, so read on.
    1315 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2640498"></a>Network Printing (Windows Clients and UNIX/Samba Print
     1315</p></div></div><div class="sect1" title="Network Printing (Windows Clients and UNIX/Samba Print Servers)"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2646590"></a>Network Printing (Windows Clients and UNIX/Samba Print
    13161316Servers)</h2></div></div></div><p>
    13171317Since UNIX print servers <span class="emphasis"><em>cannot</em></span> execute the Win32
     
    13201320much. On the contrary, you may have a way here to implement printing
    13211321features that are not possible otherwise.
    1322 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2640516"></a>From Windows Clients to a CUPS/Samba Print Server</h3></div></div></div><p>
     1322</p><div class="sect2" title="From Windows Clients to a CUPS/Samba Print Server"><div class="titlepage"><div><div><h3 class="title"><a name="id2646608"></a>From Windows Clients to a CUPS/Samba Print Server</h3></div></div></div><p>
    13231323Here is a simple recipe showing how you can take advantage of CUPS's
    13241324powerful features for the benefit of your Windows network printing
    13251325clients:
    1326 </p><div class="itemizedlist"><ul type="disc"><li><p>Let the Windows clients send PostScript to the CUPS
    1327         server.</p></li><li><p>Let the CUPS server render the PostScript into device-specific raster format.</p></li></ul></div><p>
     1326</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Let the Windows clients send PostScript to the CUPS
     1327        server.</p></li><li class="listitem"><p>Let the CUPS server render the PostScript into device-specific raster format.</p></li></ul></div><p>
    13281328This requires the clients to use a PostScript driver (even if the
    13291329printer is a non-PostScript model. It also requires that you have a
     
    13321332First, to enable CUPS-based printing through Samba, the following options should be set in your <code class="filename">smb.conf</code>
    13331333file <em class="parameter"><code>[global]</code></em> section:
    1334 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2640570"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2640582"></a><em class="parameter"><code>printcap = cups</code></em></td></tr></table><p>
     1334</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2646663"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2646674"></a><em class="parameter"><code>printcap = cups</code></em></td></tr></table><p>
    13351335When these parameters are specified, all manually set print directives (like <a class="link" href="smb.conf.5.html#PRINTCOMMAND" target="_top">print command</a> or <a class="link" href="smb.conf.5.html#LPPAUSECOMMAND" target="_top">lppause command</a>) in <code class="filename">smb.conf</code> (as well as in Samba itself) will be
    13361336ignored. Instead, Samba will directly interface with CUPS through its application program interface (API), as
     
    13401340commands to work with a Samba server that has CUPS support compiled in, simply use <a class="link" href="smb.conf.5.html#CLASSICALPRINTING" target="_top">classicalprinting = sysv</a>). This is illustrated in <a class="link" href="CUPS-printing.html#13small" title="Figure 22.15. Printing via CUPS/Samba Server.">the Printing via
    13411341CUPS/Samba Server diagram</a>.
    1342 </p><div class="figure"><a name="13small"></a><p class="title"><b>Figure 22.15. Printing via CUPS/Samba Server.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/13small.png" alt="Printing via CUPS/Samba Server."></div></div></div><br class="figure-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2640706"></a>Samba Receiving Job-Files and Passing Them to CUPS</h3></div></div></div><p>
     1342</p><div class="figure"><a name="13small"></a><p class="title"><b>Figure 22.15. Printing via CUPS/Samba Server.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/13small.png" alt="Printing via CUPS/Samba Server."></div></div></div><br class="figure-break"></div><div class="sect2" title="Samba Receiving Job-Files and Passing Them to CUPS"><div class="titlepage"><div><div><h3 class="title"><a name="id2646799"></a>Samba Receiving Job-Files and Passing Them to CUPS</h3></div></div></div><p>
    13431343Samba <span class="emphasis"><em>must</em></span> use its own spool directory (it is set by a line similar to <a class="link" href="smb.conf.5.html#PATH" target="_top">path = /var/spool/samba</a>, in the <em class="parameter"><code>[printers]</code></em> or <em class="parameter"><code>[printername]</code></em> section of <code class="filename">smb.conf</code>). Samba receives the job in its own spool space and passes it
    13441344into the spool directory of CUPS (the CUPS spool directory is set by the <em class="parameter"><code>RequestRoot</code></em>
     
    13461346access rights of its spool directory and resets it to healthy values with every restart. We have seen quite a
    13471347few people who used a common spooling space for Samba and CUPS, and struggled for weeks with this
    1348 &#8220;<span class="quote">problem.</span>&#8221;
     1348<span class="quote">&#8220;<span class="quote">problem.</span>&#8221;</span>
    13491349</p><p>
    13501350A Windows user authenticates only to Samba (by whatever means is
    13511351configured). If Samba runs on the same host as CUPS, you only need to
    1352 allow &#8220;<span class="quote">localhost</span>&#8221; to print. If it runs on different machines, you
     1352allow <span class="quote">&#8220;<span class="quote">localhost</span>&#8221;</span> to print. If it runs on different machines, you
    13531353need to make sure the Samba host gets access to printing on CUPS.
    1354 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2640785"></a>Network PostScript RIP</h2></div></div></div><p>
     1354</p></div></div><div class="sect1" title="Network PostScript RIP"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2646878"></a>Network PostScript RIP</h2></div></div></div><p>
    13551355This section discusses the use of CUPS filters on the server  configuration where
    13561356clients make use of a PostScript driver with CUPS-PPDs.
    13571357</p><p>
    1358 <a class="indexterm" name="id2640802"></a>
    1359 <a class="indexterm" name="id2640809"></a>
    1360 <a class="indexterm" name="id2640815"></a>
     1358<a class="indexterm" name="id2646895"></a>
     1359<a class="indexterm" name="id2646901"></a>
     1360<a class="indexterm" name="id2646908"></a>
    13611361PPDs can control all print device options. They are usually provided by the manufacturer  if you own
    13621362a PostScript printer, that is. PPD files are always a component of PostScript printer drivers on MS Windows or
    13631363Apple Mac OS systems. They are ASCII files containing user-selectable print options, mapped to appropriate
    13641364PostScript, PCL, or PJL commands for the target printer. Printer driver GUI dialogs translate these options
    1365 &#8220;<span class="quote">on the fly</span>&#8221; into buttons and drop-down lists for the user to select.
     1365<span class="quote">&#8220;<span class="quote">on the fly</span>&#8221;</span> into buttons and drop-down lists for the user to select.
    13661366</p><p>
    13671367CUPS can load, without any conversions, the PPD file from any Windows (NT is recommended) PostScript driver
     
    13711371different GUI front-ends on Linux/UNIX, which can present PPD options to users. PPD options are normally meant
    13721372to be evaluated by the PostScript RIP on the real PostScript printer.
    1373 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2640876"></a>PPDs for Non-PS Printers on UNIX</h3></div></div></div><p>
    1374 <a class="indexterm" name="id2640884"></a>
    1375 CUPS does not limit itself to &#8220;<span class="quote">real</span>&#8221; PostScript printers in its use of PPDs. The CUPS developers
     1373</p><div class="sect2" title="PPDs for Non-PS Printers on UNIX"><div class="titlepage"><div><div><h3 class="title"><a name="id2646968"></a>PPDs for Non-PS Printers on UNIX</h3></div></div></div><p>
     1374<a class="indexterm" name="id2646976"></a>
     1375CUPS does not limit itself to <span class="quote">&#8220;<span class="quote">real</span>&#8221;</span> PostScript printers in its use of PPDs. The CUPS developers
    13761376have extended the scope of the PPD concept to also describe available device and driver options for
    13771377non-PostScript printers through CUPS-PPDs.
     
    13841384devices to its clients, because it can act as a PostScript RIP for those printers, processing the received
    13851385PostScript code into a proper raster print format.
    1386 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2640920"></a>PPDs for Non-PS Printers on Windows</h3></div></div></div><p>
    1387 <a class="indexterm" name="id2640928"></a>
    1388 CUPS-PPDs can also be used on Windows clients, on top of a &#8220;<span class="quote">core</span>&#8221; PostScript driver (now
     1386</p></div><div class="sect2" title="PPDs for Non-PS Printers on Windows"><div class="titlepage"><div><div><h3 class="title"><a name="id2647013"></a>PPDs for Non-PS Printers on Windows</h3></div></div></div><p>
     1387<a class="indexterm" name="id2647021"></a>
     1388CUPS-PPDs can also be used on Windows clients, on top of a <span class="quote">&#8220;<span class="quote">core</span>&#8221;</span> PostScript driver (now
    13891389recommended is the CUPS PostScript Driver for Windows NT/200x/XP; you can also use the Adobe one, with
    13901390limitations). This feature enables CUPS to do a few tricks no other spooler can do:
    1391 </p><div class="itemizedlist"><ul type="disc"><li><p>
     1391</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    13921392        Act as a networked PostScript RIP handling print files from all client platforms in a uniform way.
    1393         </p></li><li><p>
     1393        </p></li><li class="listitem"><p>
    13941394        Act as a central accounting and billing server, since all files are passed through the pstops filter and are therefore
    13951395        logged in the CUPS <code class="filename">page_log</code> file.  <span class="emphasis"><em>Note:</em></span> this cannot happen with
    1396         &#8220;<span class="quote">raw</span>&#8221; print jobs, which always remain unfiltered per definition.
    1397         </p></li><li><p>
     1396        <span class="quote">&#8220;<span class="quote">raw</span>&#8221;</span> print jobs, which always remain unfiltered per definition.
     1397        </p></li><li class="listitem"><p>
    13981398        Enable clients to consolidate on a single PostScript driver, even for many different target printers.
    13991399        </p></li></ul></div><p>
    14001400Using CUPS PPDs on Windows clients enables them to control all print job settings just as a UNIX client can do.
    1401 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2640988"></a>Windows Terminal Servers (WTS) as CUPS Clients</h2></div></div></div><p>
     1401</p></div></div><div class="sect1" title="Windows Terminal Servers (WTS) as CUPS Clients"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2647081"></a>Windows Terminal Servers (WTS) as CUPS Clients</h2></div></div></div><p>
    14021402This setup may be of special interest to people experiencing major problems in WTS environments. WTS often
    14031403need a multitude of non-PostScript drivers installed to run their clients' variety of different printer
    14041404models. This often imposes the price of much increased instability.
    1405 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2641003"></a>Printer Drivers Running in &#8220;<span class="quote">Kernel Mode</span>&#8221; Cause Many
     1405</p><div class="sect2" title="Printer Drivers Running in &#8220;Kernel Mode&#8221; Cause Many Problems"><div class="titlepage"><div><div><h3 class="title"><a name="id2647095"></a>Printer Drivers Running in <span class="quote">&#8220;<span class="quote">Kernel Mode</span>&#8221;</span> Cause Many
    14061406Problems</h3></div></div></div><p>
    1407 Windows NT printer drivers, which run in &#8220;<span class="quote">kernel mode</span>&#8221;, introduce a high risk for the stability
     1407Windows NT printer drivers, which run in <span class="quote">&#8220;<span class="quote">kernel mode</span>&#8221;</span>, introduce a high risk for the stability
    14081408of the system if the driver is not really stable and well-tested. And there are a lot of bad drivers out
    14091409there! Especially notorious is the example of the PCL printer driver that had an additional sound module
    14101410running to notify users via soundcard of their finished jobs. Do I need to say that this one was also reliably
    1411 causing &#8220;<span class="quote">blue screens of death</span>&#8221; on a regular basis?
     1411causing <span class="quote">&#8220;<span class="quote">blue screens of death</span>&#8221;</span> on a regular basis?
    14121412</p><p>
    14131413PostScript drivers are generally well-tested. They are not known to cause any problems, even though they also
     
    14151415one from Adobe and the one from Microsoft. Both are well-tested and are as stable as you can imagine on
    14161416Windows. The CUPS driver is derived from the Microsoft one.
    1417 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2641041"></a>Workarounds Impose Heavy Limitations</h3></div></div></div><p>
     1417</p></div><div class="sect2" title="Workarounds Impose Heavy Limitations"><div class="titlepage"><div><div><h3 class="title"><a name="id2647134"></a>Workarounds Impose Heavy Limitations</h3></div></div></div><p>
    14181418In an attempt to work around problems, site administrators have resorted to restricting the
    14191419allowed drivers installed on their WTS to one generic PCL and one PostScript driver. This, however, restricts
    14201420the number of printer options available for clients to use. Often they can't get out more than simplex
    14211421prints from one standard paper tray, while their devices could do much better if driven by a different driver!
    1422 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2641059"></a>CUPS: A &#8220;<span class="quote">Magical Stone</span>&#8221;?</h3></div></div></div><p>
    1423 <a class="indexterm" name="id2641070"></a>
    1424 <a class="indexterm" name="id2641077"></a>
     1422</p></div><div class="sect2" title="CUPS: A &#8220;Magical Stone&#8221;?"><div class="titlepage"><div><div><h3 class="title"><a name="id2647151"></a>CUPS: A <span class="quote">&#8220;<span class="quote">Magical Stone</span>&#8221;</span>?</h3></div></div></div><p>
     1423<a class="indexterm" name="id2647162"></a>
     1424<a class="indexterm" name="id2647169"></a>
    14251425Using a PostScript driver, enabled with a CUPS-PPD, seems to be a very elegant way to overcome all these
    14261426shortcomings. There are, depending on the version of Windows OS you use, up to three different PostScript
     
    14291429paper trays, duplex printing, and other settings. However, there is a certain price for this too: a CUPS
    14301430server acting as a PostScript RIP for its clients requires more CPU and RAM than when just acting as a
    1431 &#8220;<span class="quote">raw spooling</span>&#8221; device. Plus, this setup is not yet widely tested, although the first feedbacks
     1431<span class="quote">&#8220;<span class="quote">raw spooling</span>&#8221;</span> device. Plus, this setup is not yet widely tested, although the first feedbacks
    14321432look very promising.
    1433 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2641102"></a>PostScript Drivers with No Major Problems, Even in Kernel
     1433</p></div><div class="sect2" title="PostScript Drivers with No Major Problems, Even in Kernel Mode"><div class="titlepage"><div><div><h3 class="title"><a name="id2647194"></a>PostScript Drivers with No Major Problems, Even in Kernel
    14341434Mode</h3></div></div></div><p>
    1435 <a class="indexterm" name="id2641110"></a>
    1436 <a class="indexterm" name="id2641117"></a>
    1437 <a class="indexterm" name="id2641124"></a>
    1438 <a class="indexterm" name="id2641131"></a>
    1439 <a class="indexterm" name="id2641138"></a>
    1440 <a class="indexterm" name="id2641145"></a>
     1435<a class="indexterm" name="id2647203"></a>
     1436<a class="indexterm" name="id2647210"></a>
     1437<a class="indexterm" name="id2647217"></a>
     1438<a class="indexterm" name="id2647223"></a>
     1439<a class="indexterm" name="id2647230"></a>
     1440<a class="indexterm" name="id2647237"></a>
    14411441More recent printer drivers on W200x and XP no longer run in kernel mode (unlike Windows NT). However, both
    14421442operating systems can still use the NT drivers, running in kernel mode (you can roughly tell which is which as
    1443 the drivers in subdirectory &#8220;<span class="quote">2</span>&#8221; of &#8220;<span class="quote">W32X86</span>&#8221; are &#8220;<span class="quote">old</span>&#8221; ones). As was
     1443the drivers in subdirectory <span class="quote">&#8220;<span class="quote">2</span>&#8221;</span> of <span class="quote">&#8220;<span class="quote">W32X86</span>&#8221;</span> are <span class="quote">&#8220;<span class="quote">old</span>&#8221;</span> ones). As was
    14441444said before, the Adobe as well as the Microsoft PostScript drivers are not known to cause any stability
    14451445problems. The CUPS driver is derived from the Microsoft one. There is a simple reason for this: the MS DDK
     
    14471447includes the source code of the Microsoft driver, and licensees of Visual Studio are allowed to use and modify
    14481448it for their own driver development efforts. This is what the CUPS people have done. The license does not
    1449 allow them to publish the whole of the source code.  However, they have released the &#8220;<span class="quote">diff</span>&#8221; under
    1450 the GPL, and if you are the owner of an &#8220;<span class="quote">MS DDK for Windows NT,</span>&#8221; you can check the driver
     1449allow them to publish the whole of the source code.  However, they have released the <span class="quote">&#8220;<span class="quote">diff</span>&#8221;</span> under
     1450the GPL, and if you are the owner of an <span class="quote">&#8220;<span class="quote">MS DDK for Windows NT,</span>&#8221;</span> you can check the driver
    14511451yourself.
    1452 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2641189"></a>Configuring CUPS for Driver Download</h2></div></div></div><p>
     1452</p></div></div><div class="sect1" title="Configuring CUPS for Driver Download"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2647282"></a>Configuring CUPS for Driver Download</h2></div></div></div><p>
    14531453As we have said before, all previously known methods to prepare client printer drivers on the Samba server for
    14541454download and Point'n'Print convenience of Windows workstations are working with CUPS, too. These methods were
    14551455described in <a class="link" href="classicalprinting.html" title="Chapter 21. Classical Printing Support">Classical Printing</a>. In reality, this is a pure Samba
    14561456business and relates only to the Samba-Windows client relationship.
    1457 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2641212"></a><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</h3></div></div></div><p>
    1458 <a class="indexterm" name="id2641222"></a>
     1457</p><div class="sect2" title="cupsaddsmb: The Unknown Utility"><div class="titlepage"><div><div><h3 class="title"><a name="id2647304"></a><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</h3></div></div></div><p>
     1458<a class="indexterm" name="id2647314"></a>
    14591459The <em class="parameter"><code>cupsaddsmb</code></em> utility (shipped with all current CUPS versions) is an alternative
    14601460method to transfer printer drivers into the Samba <em class="parameter"><code>[print$]</code></em> share. Remember, this
     
    14681468<code class="filename">cups-samba-[version].tar.gz</code>. It is preferred over the Adobe drivers because it has a
    14691469number of advantages:
    1470 </p><div class="itemizedlist"><ul type="disc"><li><p>It supports a much more accurate page accounting.</p></li><li><p>It supports banner pages and page labels on all printers.</p></li><li><p>It supports the setting of a number of job IPP attributes
     1470</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>It supports a much more accurate page accounting.</p></li><li class="listitem"><p>It supports banner pages and page labels on all printers.</p></li><li class="listitem"><p>It supports the setting of a number of job IPP attributes
    14711471        (such as job priority, page label, and job billing).</p></li></ul></div><p>
    14721472However, currently only Windows NT, 2000, and XP are supported by the
    14731473CUPS drivers. You will also need to get the respective part of the Adobe driver
    14741474if you need to support Windows 95, 98, and Me clients.
    1475 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2641310"></a>Prepare Your <code class="filename">smb.conf</code> for <code class="literal">cupsaddsmb</code></h3></div></div></div><p>
     1475</p></div><div class="sect2" title="Prepare Your smb.conf for cupsaddsmb"><div class="titlepage"><div><div><h3 class="title"><a name="id2647402"></a>Prepare Your <code class="filename">smb.conf</code> for <code class="literal">cupsaddsmb</code></h3></div></div></div><p>
    14761476Prior to running <code class="literal">cupsaddsmb</code>, you need the settings in
    14771477<code class="filename">smb.conf</code> as shown in <a class="link" href="CUPS-printing.html#cupsadd-ex" title="Example 22.3. smb.conf for cupsaddsmb Usage">the <code class="filename">smb.conf</code> for cupsaddsmb Usage</a>.
    1478 </p><div class="example"><a name="cupsadd-ex"></a><p class="title"><b>Example 22.3. smb.conf for cupsaddsmb Usage</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2641379"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2641391"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2641403"></a><em class="parameter"><code>printcap name = cups</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="id2641423"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2641435"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2641447"></a><em class="parameter"><code>browseable = no</code></em></td></tr><tr><td># setting depends on your requirements</td></tr><tr><td><a class="indexterm" name="id2641462"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2641474"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2641486"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2641497"></a><em class="parameter"><code>printer admin = root</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[print$]</code></em></td></tr><tr><td><a class="indexterm" name="id2641518"></a><em class="parameter"><code>comment = Printer Drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2641530"></a><em class="parameter"><code>path = /etc/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2641542"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2641554"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2641565"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2641577"></a><em class="parameter"><code>write list = root, @smbprintadm</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2641591"></a>CUPS &#8220;<span class="quote">PostScript Driver for Windows NT/200x/XP</span>&#8221;</h3></div></div></div><p>
    1479 <a class="indexterm" name="id2641601"></a>
     1478</p><div class="example"><a name="cupsadd-ex"></a><p class="title"><b>Example 22.3. smb.conf for cupsaddsmb Usage</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2647472"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2647483"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2647495"></a><em class="parameter"><code>printcap name = cups</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="id2647516"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2647528"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2647539"></a><em class="parameter"><code>browseable = no</code></em></td></tr><tr><td># setting depends on your requirements</td></tr><tr><td><a class="indexterm" name="id2647555"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2647566"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2647578"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2647590"></a><em class="parameter"><code>printer admin = root</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[print$]</code></em></td></tr><tr><td><a class="indexterm" name="id2647611"></a><em class="parameter"><code>comment = Printer Drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2647623"></a><em class="parameter"><code>path = /etc/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2647634"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2647646"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2647658"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2647669"></a><em class="parameter"><code>write list = root, @smbprintadm</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect2" title="CUPS &#8220;PostScript Driver for Windows NT/200x/XP&#8221;"><div class="titlepage"><div><div><h3 class="title"><a name="id2647683"></a>CUPS <span class="quote">&#8220;<span class="quote">PostScript Driver for Windows NT/200x/XP</span>&#8221;</span></h3></div></div></div><p>
     1479<a class="indexterm" name="id2647694"></a>
    14801480CUPS users may get the exact same package from <a class="ulink" href="http://www.cups.org/software.html" target="_top">http://www.cups.org/software.html</a>.  It is a separate package
    14811481from the CUPS-based software files, tagged as CUPS 1.1.x Windows NT/200x/XP Printer Driver for Samba (tar.gz,
     
    14901490cups-samba.ss
    14911491</pre><p>
    1492 <a class="indexterm" name="id2641648"></a>
    1493 <a class="indexterm" name="id2641657"></a>
     1492<a class="indexterm" name="id2647740"></a>
     1493<a class="indexterm" name="id2647749"></a>
    14941494These have been packaged with the ESP meta-packager software EPM. The <code class="filename">*.install</code> and
    14951495<code class="filename">*.remove</code> files are simple shell scripts, which untar the <code class="filename">*.ss</code> (the
    1496 <code class="filename">*.ss</code> is nothing else but a tar archive, which can be untarred by &#8220;<span class="quote">tar</span>&#8221; too).
     1496<code class="filename">*.ss</code> is nothing else but a tar archive, which can be untarred by <span class="quote">&#8220;<span class="quote">tar</span>&#8221;</span> too).
    14971497Then it puts the content into <code class="filename">/usr/share/cups/drivers/</code>. This content includes three
    14981498files:
     
    15171517</p><pre class="screen">
    15181518<code class="prompt">root# </code><strong class="userinput"><code>cp /usr/share/drivers/cups.hlp /usr/share/cups/drivers/</code></strong>
    1519 </pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
     1519</pre><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
    15201520Due to a bug, one recent CUPS release puts the <code class="filename">cups.hlp</code> driver file
    15211521into<code class="filename">/usr/share/drivers/</code> instead of <code class="filename">/usr/share/cups/drivers/</code>. To work
     
    15231523the correct place.
    15241524</p></div><p>
    1525 <a class="indexterm" name="id2641809"></a>
     1525<a class="indexterm" name="id2647902"></a>
    15261526This new CUPS PostScript driver is currently binary only, but free of charge. No complete source code is
    15271527provided (yet). The reason is that it has been developed with the help of the Microsoft DDK and compiled with
    15281528Microsoft Visual Studio 6. Driver developers are not allowed to distribute the whole of the source code as
    1529 free software. However, CUPS developers released the &#8220;<span class="quote">diff</span>&#8221; in source code under the GPL, so
     1529free software. However, CUPS developers released the <span class="quote">&#8220;<span class="quote">diff</span>&#8221;</span> in source code under the GPL, so
    15301530anybody with a license for Visual Studio and a DDK will be able to compile for himself or herself.
    1531 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2641830"></a>Recognizing Different Driver Files</h3></div></div></div><p>
     1531</p></div><div class="sect2" title="Recognizing Different Driver Files"><div class="titlepage"><div><div><h3 class="title"><a name="id2647923"></a>Recognizing Different Driver Files</h3></div></div></div><p>
    15321532The CUPS drivers do not support the older Windows 95/98/Me, but only the Windows NT/2000/XP client.
    1533 </p><p>Windows NT, 2000, and XP are supported by:</p><div class="itemizedlist"><ul type="disc"><li><p>cups.hlp</p></li><li><p>cupsdrvr.dll</p></li><li><p>cupsui.dll</p></li></ul></div><p>
     1533</p><p>Windows NT, 2000, and XP are supported by:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>cups.hlp</p></li><li class="listitem"><p>cupsdrvr.dll</p></li><li class="listitem"><p>cupsui.dll</p></li></ul></div><p>
    15341534Adobe drivers are available for the older Windows 95/98/Me as well as
    15351535for Windows NT/2000/XP clients. The set of files is different from the
    15361536different platforms.
    1537 </p><p>Windows 95, 98, and ME are supported by:</p><div class="itemizedlist"><ul type="disc"><li><p>ADFONTS.MFM</p></li><li><p>ADOBEPS4.DRV</p></li><li><p>ADOBEPS4.HLP</p></li><li><p>DEFPRTR2.PPD</p></li><li><p>ICONLIB.DLL</p></li><li><p>PSMON.DLL</p></li></ul></div><p>Windows NT, 2000, and XP are supported by:</p><div class="itemizedlist"><ul type="disc"><li><p>ADOBEPS5.DLL</p></li><li><p>ADOBEPSU.DLL</p></li><li><p>ADOBEPSU.HLP</p></li></ul></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    1538 <a class="indexterm" name="id2641928"></a>
     1537</p><p>Windows 95, 98, and ME are supported by:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>ADFONTS.MFM</p></li><li class="listitem"><p>ADOBEPS4.DRV</p></li><li class="listitem"><p>ADOBEPS4.HLP</p></li><li class="listitem"><p>DEFPRTR2.PPD</p></li><li class="listitem"><p>ICONLIB.DLL</p></li><li class="listitem"><p>PSMON.DLL</p></li></ul></div><p>Windows NT, 2000, and XP are supported by:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>ADOBEPS5.DLL</p></li><li class="listitem"><p>ADOBEPSU.DLL</p></li><li class="listitem"><p>ADOBEPSU.HLP</p></li></ul></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     1538<a class="indexterm" name="id2648020"></a>
    15391539If both the Adobe driver files and the CUPS driver files for the support of Windows NT/200x/XP are presently
    15401540installed on the server, the Adobe files will be ignored and the CUPS files will be used. If you prefer
    15411541 for whatever reason  to use Adobe-only drivers, move away the three CUPS driver files.
    15421542The Windows 9x/Me clients use the Adobe drivers in any case.
    1543 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2641949"></a>Acquiring the Adobe Driver Files</h3></div></div></div><p>
     1543</p></div></div><div class="sect2" title="Acquiring the Adobe Driver Files"><div class="titlepage"><div><div><h3 class="title"><a name="id2648041"></a>Acquiring the Adobe Driver Files</h3></div></div></div><p>
    15441544Acquiring the Adobe driver files seems to be unexpectedly difficult for many users. They are not available on
    15451545the Adobe Web site as single files, and the self-extracting and/or self-installing Windows-.exe is not easy to
     
    15471547client once. This will install the drivers (and one generic PostScript printer) locally on the client. When
    15481548they are installed, share the generic PostScript printer. After this, the client's <em class="parameter"><code>[print$]</code></em> share holds the Adobe files, which you can get with smbclient from the CUPS host.
    1549 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2641974"></a>ESP Print Pro PostScript Driver for Windows NT/200x/XP</h3></div></div></div><p>
    1550 <a class="indexterm" name="id2641983"></a>
     1549</p></div><div class="sect2" title="ESP Print Pro PostScript Driver for Windows NT/200x/XP"><div class="titlepage"><div><div><h3 class="title"><a name="id2648067"></a>ESP Print Pro PostScript Driver for Windows NT/200x/XP</h3></div></div></div><p>
     1550<a class="indexterm" name="id2648075"></a>
    15511551Users of the ESP Print Pro software are able to install the ESP print drivers package as an alternative to the
    15521552Adobe PostScript drivers.  To do so, retrieve the driver files from the normal download area of the ESP Print
    15531553Pro software at <a class="ulink" href="http://www.easysw.com/software.html" target="_top">Easy Software</a> web site.
    1554 You need to locate the link labeled &#8220;<span class="quote">SAMBA</span>&#8221; among the <span class="guilabel">Download Printer Drivers for ESP
     1554You need to locate the link labeled <span class="quote">&#8220;<span class="quote">SAMBA</span>&#8221;</span> among the <span class="guilabel">Download Printer Drivers for ESP
    15551555Print Pro 4.x</span> area and download the package. Once installed, you can prepare any driver by simply
    15561556highlighting the printer in the Printer Manager GUI and selecting <span class="guilabel">Export Driver...</span> from
     
    15581558the <em class="parameter"><code>[print$]</code></em> share, and so on. The ESP Print Pro package includes the CUPS driver
    15591559files as well as a (licensed) set of Adobe drivers for the Windows 95/98/Me client family.
    1560 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2642037"></a>Caveats to Be Considered</h3></div></div></div><p>
    1561 <a class="indexterm" name="id2642045"></a>
    1562 <a class="indexterm" name="id2642051"></a>
    1563 <a class="indexterm" name="id2642058"></a>
    1564 <a class="indexterm" name="id2642065"></a>
     1560</p></div><div class="sect2" title="Caveats to Be Considered"><div class="titlepage"><div><div><h3 class="title"><a name="id2648129"></a>Caveats to Be Considered</h3></div></div></div><p>
     1561<a class="indexterm" name="id2648137"></a>
     1562<a class="indexterm" name="id2648144"></a>
     1563<a class="indexterm" name="id2648151"></a>
     1564<a class="indexterm" name="id2648157"></a>
    15651565Once you have run the install script (and possibly manually moved the <code class="filename">cups.hlp</code> file to
    15661566<code class="filename">/usr/share/cups/drivers/</code>), the driver is ready to be put into Samba's <em class="parameter"><code>[print$]</code></em> share (which often maps to <code class="filename">/etc/samba/drivers/</code> and contains a
     
    15681568running <code class="literal">cupsaddsmb</code> (see also <code class="literal">man cupsaddsmb</code> for CUPS since release
    156915691.1.16).
    1570 </p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>
    1571 <a class="indexterm" name="id2642124"></a>
    1572 <a class="indexterm" name="id2642131"></a>
     1570</p><div class="tip" title="Tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>
     1571<a class="indexterm" name="id2648216"></a>
     1572<a class="indexterm" name="id2648223"></a>
    15731573You may need to put root into the smbpasswd file by running <code class="literal">smbpasswd</code>; this is especially
    15741574important if you should run this whole procedure for the first time and are not working in an environment
     
    15771577Once the driver files are in the <em class="parameter"><code>[print$]</code></em> share and are initialized, they are ready
    15781578to be downloaded and installed by the Windows NT/200x/XP clients.
    1579 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     1579</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    15801580Win 9x/Me clients will not work with the CUPS PostScript driver. For these you still need to use the
    15811581<code class="filename">ADOBE*.*</code> drivers, as previously stated.
    1582 </p></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     1582</p></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    15831583It is not harmful if you still have the <code class="filename">ADOBE*.*</code> driver files from previous installations
    15841584in the <code class="filename">/usr/share/cups/drivers/</code> directory. The new <code class="literal">cupsaddsmb</code> (from
    158515851.1.16) will automatically prefer its own drivers if it finds both.
    1586 </p></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    1587 <a class="indexterm" name="id2642206"></a>
    1588 <a class="indexterm" name="id2642213"></a>
     1586</p></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     1587<a class="indexterm" name="id2648299"></a>
     1588<a class="indexterm" name="id2648306"></a>
    15891589Should your Windows clients have had the old <code class="filename">ADOBE*.*</code> files for the Adobe PostScript
    15901590driver installed, the download and installation of the new CUPS PostScript driver for Windows NT/200x/XP will
    15911591fail at first. You need to wipe the old driver from the clients first. It is not enough to
    1592 &#8220;<span class="quote">delete</span>&#8221; the printer, because the driver files will still be kept by the clients and re-used if
     1592<span class="quote">&#8220;<span class="quote">delete</span>&#8221;</span> the printer, because the driver files will still be kept by the clients and re-used if
    15931593you try to re-install the printer. To really get rid of the Adobe driver files on the clients, open the
    15941594<span class="guilabel">Printers</span> folder (possibly via <span class="guilabel">Start -&gt; Settings -&gt; Control Panel -&gt;
     
    15961596Properties</span>. When the new dialog opens, select the <span class="guilabel">Drivers</span> tab. On the list
    15971597select the driver you want to delete and click the <span class="guilabel">Delete</span> button. This will only work if
    1598 there is not one single printer left that uses that particular driver. You need to &#8220;<span class="quote">delete</span>&#8221; all
     1598there is not one single printer left that uses that particular driver. You need to <span class="quote">&#8220;<span class="quote">delete</span>&#8221;</span> all
    15991599printers using this driver in the <span class="guilabel">Printers</span> folder first. You will need Administrator
    16001600privileges to do this.
    1601 </p></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    1602 <a class="indexterm" name="id2642289"></a>
    1603 <a class="indexterm" name="id2642298"></a>
     1601</p></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     1602<a class="indexterm" name="id2648381"></a>
     1603<a class="indexterm" name="id2648390"></a>
    16041604Once you have successfully downloaded the CUPS PostScript driver to a client, you can easily switch all
    16051605printers to this one by proceeding as described in <a class="link" href="classicalprinting.html" title="Chapter 21. Classical Printing Support">Classical Printing
     
    16071607Properties</span> dialog, or use <code class="literal">rpcclient</code> with the <code class="literal">setdriver</code>
    16081608subcommand.
    1609 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2642336"></a>Windows CUPS PostScript Driver Versus Adobe Driver</h3></div></div></div><p>
     1609</p></div></div><div class="sect2" title="Windows CUPS PostScript Driver Versus Adobe Driver"><div class="titlepage"><div><div><h3 class="title"><a name="id2648429"></a>Windows CUPS PostScript Driver Versus Adobe Driver</h3></div></div></div><p>
    16101610Are you interested in a comparison between the CUPS and the Adobe PostScript drivers? For our purposes, these
    16111611are the most important items that weigh in favor of CUPS:
    1612 </p><div class="itemizedlist"><ul type="disc"><li><p>No hassle with the Adobe EULA.</p></li><li><p>No hassle with the question, &#8220;<span class="quote">Where do I
    1613         get the ADOBE*.* driver files?</span>&#8221;</p></li><li><p>
    1614         <a class="indexterm" name="id2642367"></a>
     1612</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>No hassle with the Adobe EULA.</p></li><li class="listitem"><p>No hassle with the question, <span class="quote">&#8220;<span class="quote">Where do I
     1613        get the ADOBE*.* driver files?</span>&#8221;</span></p></li><li class="listitem"><p>
     1614        <a class="indexterm" name="id2648459"></a>
    16151615        The Adobe drivers (on request of the printer PPD associated with them) often put a PJL header in front of the
    16161616        main PostScript part of the print file. Thus, the print file starts with <em class="parameter"><code>&lt;1B
     
    16181618        <em class="parameter"><code>%!PS</code></em>. This leads to the CUPS daemon autotyping the incoming file as a print-ready file,
    16191619        not initiating a pass through the <em class="parameter"><code>pstops</code></em> filter (to speak more technically, it is not
    1620         regarded as the generic MIME-type <a class="indexterm" name="id2642405"></a>
     1620        regarded as the generic MIME-type <a class="indexterm" name="id2648498"></a>
    16211621        <em class="parameter"><code>application/postscript</code></em>, but as the more special MIME type
    1622         <a class="indexterm" name="id2642419"></a>
     1622        <a class="indexterm" name="id2648511"></a>
    16231623        <em class="parameter"><code>application/cups.vnd-postscript</code></em>), which therefore also leads to the page accounting in
    16241624        <em class="parameter"><code>/var/log/cups/page_log</code></em> not receiving the exact number of pages; instead the dummy page
    1625         number of &#8220;<span class="quote">1</span>&#8221; is logged in a standard setup).
    1626         </p></li><li><p>The Adobe driver has more options to misconfigure the
    1627 <a class="indexterm" name="id2642450"></a>
     1625        number of <span class="quote">&#8220;<span class="quote">1</span>&#8221;</span> is logged in a standard setup).
     1626        </p></li><li class="listitem"><p>The Adobe driver has more options to misconfigure the
     1627<a class="indexterm" name="id2648542"></a>
    16281628        PostScript generated by it (like setting it inadvertently to
    16291629        <span class="guilabel">Optimize for Speed</span> instead of
    16301630        <span class="guilabel">Optimize for Portability</span>, which
    1631         could lead to CUPS being unable to process it).</p></li><li><p>The CUPS PostScript driver output sent by Windows
    1632 <a class="indexterm" name="id2642477"></a>
     1631        could lead to CUPS being unable to process it).</p></li><li class="listitem"><p>The CUPS PostScript driver output sent by Windows
     1632<a class="indexterm" name="id2648569"></a>
    16331633        clients to the CUPS server is guaranteed to autotype
    16341634        as the generic MIME type <em class="parameter"><code>application/postscript</code></em>,
    16351635        thus passing through the CUPS <em class="parameter"><code>pstops</code></em> filter and logging the
    16361636        correct number of pages in the <code class="filename">page_log</code> for
    1637         accounting and quota purposes.</p></li><li><p>
    1638         <a class="indexterm" name="id2642510"></a>
     1637        accounting and quota purposes.</p></li><li class="listitem"><p>
     1638        <a class="indexterm" name="id2648602"></a>
    16391639        The CUPS PostScript driver supports the sending of additional standard (IPP) print options by Windows
    16401640        NT/200x/XP clients. Such additional print options are naming the CUPS standard <span class="emphasis"><em>banner
     
    16421642        page-label option, setting a job priority, and setting the scheduled time of printing (with the option to
    16431643        support additional useful IPP job attributes in the future).
    1644         </p></li><li><p>The CUPS PostScript driver supports the inclusion of
     1644        </p></li><li class="listitem"><p>The CUPS PostScript driver supports the inclusion of
    16451645        the new <em class="parameter"><code>*cupsJobTicket</code></em> comments at the
    16461646        beginning of the PostScript file (which could be used in the future
    16471647        for all sorts of beneficial extensions on the CUPS side, but which will
    16481648        not disturb any other applications because they will regard it as a comment
    1649         and simply ignore it).</p></li><li><p>The CUPS PostScript driver will be the heart of the
     1649        and simply ignore it).</p></li><li class="listitem"><p>The CUPS PostScript driver will be the heart of the
    16501650        fully fledged CUPS IPP client for Windows NT/200x/XP to be released soon
    1651         (probably alongside the first beta release for CUPS 1.2).</p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2642554"></a>Run cupsaddsmb (Quiet Mode)</h3></div></div></div><p>
    1652 <a class="indexterm" name="id2642562"></a>
    1653 <a class="indexterm" name="id2642569"></a>
     1651        (probably alongside the first beta release for CUPS 1.2).</p></li></ul></div></div><div class="sect2" title="Run cupsaddsmb (Quiet Mode)"><div class="titlepage"><div><div><h3 class="title"><a name="id2648647"></a>Run cupsaddsmb (Quiet Mode)</h3></div></div></div><p>
     1652<a class="indexterm" name="id2648655"></a>
     1653<a class="indexterm" name="id2648661"></a>
    16541654The <code class="literal">cupsaddsmb</code> command copies the needed files into your <em class="parameter"><code>[print$]</code></em>
    16551655share. Additionally, the PPD associated with this printer is copied from <code class="filename">/etc/cups/ppd/</code>
     
    16591659</p><p>
    16601660Here is an example of a successfully run <code class="literal">cupsaddsmb</code> command:
    1661 <a class="indexterm" name="id2642627"></a>
    1662 <a class="indexterm" name="id2642634"></a>
     1661<a class="indexterm" name="id2648719"></a>
     1662<a class="indexterm" name="id2648726"></a>
    16631663</p><pre class="screen">
    16641664<code class="prompt">root# </code><strong class="userinput"><code>cupsaddsmb -U root infotec_IS2027</code></strong>
    16651665Password for root required to access localhost via Samba: <strong class="userinput"><code>['secret']</code></strong>
    16661666</pre><p>
    1667 <a class="indexterm" name="id2642666"></a>
     1667<a class="indexterm" name="id2648758"></a>
    16681668To share <span class="emphasis"><em>all</em></span> printers and drivers, use the
    16691669<code class="option">-a</code> parameter instead of a printer name. Since
    1670 <code class="literal">cupsaddsmb</code> &#8220;<span class="quote">exports</span>&#8221; the printer drivers to Samba, it should be
     1670<code class="literal">cupsaddsmb</code> <span class="quote">&#8220;<span class="quote">exports</span>&#8221;</span> the printer drivers to Samba, it should be
    16711671obvious that it only works for queues with a CUPS driver associated.
    1672 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2642694"></a>Run cupsaddsmb with Verbose Output</h3></div></div></div><p>
    1673 <a class="indexterm" name="id2642703"></a>
     1672</p></div><div class="sect2" title="Run cupsaddsmb with Verbose Output"><div class="titlepage"><div><div><h3 class="title"><a name="id2648787"></a>Run cupsaddsmb with Verbose Output</h3></div></div></div><p>
     1673<a class="indexterm" name="id2648795"></a>
    16741674Probably you want to see what's going on. Use the
    16751675<code class="option">-v</code> parameter to get a more verbose output. The
    1676 output below was edited for better readability: all &#8220;<span class="quote">\</span>&#8221; at the end of
     1676output below was edited for better readability: all <span class="quote">&#8220;<span class="quote">\</span>&#8221;</span> at the end of
    16771677a line indicate that I inserted an artificial line break plus some
    16781678indentation here:
    1679 <a class="indexterm" name="id2642720"></a>
    1680 <a class="indexterm" name="id2642730"></a>
     1679<a class="indexterm" name="id2648813"></a>
     1680<a class="indexterm" name="id2648822"></a>
    16811681</p><pre class="screen">
    16821682<code class="prompt">root# </code><strong class="userinput"><code>cupsaddsmb -U root -v infotec_2105</code></strong>
     
    17401740  cmd = setdriver infotec_2105 infotec_2105
    17411741  Successfully set infotec_2105 to driver infotec_2105.
    1742 </pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
     1742</pre><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
    17431743You will see the root password for the Samba account printed on screen.
    17441744</p></div><p>
     
    17471747This will occur when the directories WIN40 and W32X86 already existed in the <em class="parameter"><code>[print$]</code></em>
    17481748driver download share (from a previous driver installation). These are harmless warning messages.
    1749 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2642886"></a>Understanding cupsaddsmb</h3></div></div></div><p>
    1750 <a class="indexterm" name="id2642894"></a>
     1749</p></div><div class="sect2" title="Understanding cupsaddsmb"><div class="titlepage"><div><div><h3 class="title"><a name="id2648978"></a>Understanding cupsaddsmb</h3></div></div></div><p>
     1750<a class="indexterm" name="id2648986"></a>
    17511751What has happened? What did <code class="literal">cupsaddsmb</code> do? There are five stages of the procedure:
    1752 </p><div class="orderedlist"><ol type="1"><li><p>
    1753         <a class="indexterm" name="id2642919"></a>
    1754         Call the CUPS server via IPP and request the driver files and the PPD file for the named printer.</p></li><li><p>Store the files temporarily in the local TEMPDIR (as defined in <code class="filename">cupsd.conf</code>).</p></li><li><p>Connect via smbclient to the Samba server's <em class="parameter"><code>[print$]</code></em> share and put the files into the
    1755          share's WIN40 (for Windows 9x/Me) and W32X86 (for Windows NT/200x/XP) subdirectories.</p></li><li><p>
    1756         <a class="indexterm" name="id2642956"></a>
     1752</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
     1753        <a class="indexterm" name="id2649011"></a>
     1754        Call the CUPS server via IPP and request the driver files and the PPD file for the named printer.</p></li><li class="listitem"><p>Store the files temporarily in the local TEMPDIR (as defined in <code class="filename">cupsd.conf</code>).</p></li><li class="listitem"><p>Connect via smbclient to the Samba server's <em class="parameter"><code>[print$]</code></em> share and put the files into the
     1755         share's WIN40 (for Windows 9x/Me) and W32X86 (for Windows NT/200x/XP) subdirectories.</p></li><li class="listitem"><p>
     1756        <a class="indexterm" name="id2649048"></a>
    17571757        Connect via rpcclient to the Samba server and execute the <code class="literal">adddriver</code> command with the correct parameters.
    1758         </p></li><li><p>
    1759         <a class="indexterm" name="id2642977"></a>
    1760         Connect via rpcclient to the Samba server a second time and execute the <code class="literal">setdriver</code> command.</p></li></ol></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     1758        </p></li><li class="listitem"><p>
     1759        <a class="indexterm" name="id2649069"></a>
     1760        Connect via rpcclient to the Samba server a second time and execute the <code class="literal">setdriver</code> command.</p></li></ol></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    17611761You can run the <code class="literal">cupsaddsmb</code> utility with parameters to specify one remote host as Samba host
    17621762and a second remote host as CUPS host. Especially if you want to get a deeper understanding, it is a good idea
     
    17661766<code class="prompt">root# </code><strong class="userinput"><code>cupsaddsmb -H sambaserver -h cupsserver -v printer</code></strong>
    17671767</pre><p>
    1768 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2643030"></a>How to Recognize If cupsaddsmb Completed Successfully</h3></div></div></div><p>
     1768</p></div></div><div class="sect2" title="How to Recognize If cupsaddsmb Completed Successfully"><div class="titlepage"><div><div><h3 class="title"><a name="id2649123"></a>How to Recognize If cupsaddsmb Completed Successfully</h3></div></div></div><p>
    17691769You <span class="emphasis"><em>must</em></span> always check if the utility completed
    17701770successfully in all fields. You need at minimum these three messages
    17711771among the output:
    1772 </p><div class="orderedlist"><ol type="1"><li><p><span class="emphasis"><em>Printer Driver infotec_2105 successfully
     1772</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p><span class="emphasis"><em>Printer Driver infotec_2105 successfully
    17731773        installed.</em></span> # (for the W32X86 == Windows NT/200x/XP
    1774         architecture).</p></li><li><p><span class="emphasis"><em>Printer Driver infotec_2105 successfully
     1774        architecture).</p></li><li class="listitem"><p><span class="emphasis"><em>Printer Driver infotec_2105 successfully
    17751775        installed.</em></span> # (for the WIN40 == Windows 9x/Me
    1776         architecture).</p></li><li><p><span class="emphasis"><em>Successfully set [printerXPZ] to driver
     1776        architecture).</p></li><li class="listitem"><p><span class="emphasis"><em>Successfully set [printerXPZ] to driver
    17771777        [printerXYZ].</em></span></p></li></ol></div><p>
    17781778These messages are probably not easily recognized in the general
     
    17891789</pre><p>
    17901790it means that you might have set <a class="link" href="smb.conf.5.html#USECLIENTDRIVER" target="_top">use client driver = yes</a> for this printer.
    1791 Setting it to &#8220;<span class="quote">no</span>&#8221; will solve the problem. Refer to the <code class="filename">smb.conf</code> man page for explanation of
     1791Setting it to <span class="quote">&#8220;<span class="quote">no</span>&#8221;</span> will solve the problem. Refer to the <code class="filename">smb.conf</code> man page for explanation of
    17921792the <em class="parameter"><code>use client driver</code></em>.
    1793 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     1793</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    17941794It is impossible to see any diagnostic output if you do not run <code class="literal">cupsaddsmb</code> in verbose mode.
    17951795Therefore, we strongly recommend against use of the default quiet mode. It will hide any problems from you that
    17961796might occur.
    1797 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2643152"></a>cupsaddsmb with a Samba PDC</h3></div></div></div><p>
    1798 <a class="indexterm" name="id2643160"></a>
    1799 <a class="indexterm" name="id2643167"></a>
     1797</p></div></div><div class="sect2" title="cupsaddsmb with a Samba PDC"><div class="titlepage"><div><div><h3 class="title"><a name="id2649245"></a>cupsaddsmb with a Samba PDC</h3></div></div></div><p>
     1798<a class="indexterm" name="id2649253"></a>
     1799<a class="indexterm" name="id2649260"></a>
    18001800Can't get the standard <code class="literal">cupsaddsmb</code> command to run on a Samba PDC?  Are you asked for the
    18011801password credential again and again, and the command just will not take off at all? Try one of these
     
    18061806<code class="prompt">root# </code><strong class="userinput"><code>cupsaddsmb -H SAURON -U MIDEARTH\\root -h cups-server -v printername</code></strong>
    18071807</pre><p>
    1808 (Note the two backslashes: the first one is required to &#8220;<span class="quote">escape</span>&#8221; the second one).
    1809 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2643233"></a>cupsaddsmb Flowchart</h3></div></div></div><p>
    1810 <a class="indexterm" name="id2643241"></a>
    1811 <a class="indexterm" name="id2643248"></a>
     1808(Note the two backslashes: the first one is required to <span class="quote">&#8220;<span class="quote">escape</span>&#8221;</span> the second one).
     1809</p></div><div class="sect2" title="cupsaddsmb Flowchart"><div class="titlepage"><div><div><h3 class="title"><a name="id2649326"></a>cupsaddsmb Flowchart</h3></div></div></div><p>
     1810<a class="indexterm" name="id2649334"></a>
     1811<a class="indexterm" name="id2649341"></a>
    18121812<a class="link" href="CUPS-printing.html#small14" title="Figure 22.16. cupsaddsmb Flowchart.">The cupsaddsmb Flowchart</a> shows a chart about the procedures, command flows, and
    18131813data flows of the <code class="literal">cupaddsmb</code> command. Note again: cupsaddsmb is
    18141814not intended to, and does not work with, raw print queues!
    1815 </p><div class="figure"><a name="small14"></a><p class="title"><b>Figure 22.16. cupsaddsmb Flowchart.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/14small.png" alt="cupsaddsmb Flowchart."></div></div></div><br class="figure-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2643314"></a>Installing the PostScript Driver on a Client</h3></div></div></div><p>
    1816 <a class="indexterm" name="id2643323"></a>
    1817 <a class="indexterm" name="id2643330"></a>
     1815</p><div class="figure"><a name="small14"></a><p class="title"><b>Figure 22.16. cupsaddsmb Flowchart.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/14small.png" alt="cupsaddsmb Flowchart."></div></div></div><br class="figure-break"></div><div class="sect2" title="Installing the PostScript Driver on a Client"><div class="titlepage"><div><div><h3 class="title"><a name="id2649407"></a>Installing the PostScript Driver on a Client</h3></div></div></div><p>
     1816<a class="indexterm" name="id2649415"></a>
     1817<a class="indexterm" name="id2649422"></a>
    18181818After <code class="literal">cupsaddsmb</code> is completed, your driver is prepared for the clients to use. Here are the
    18191819steps you must perform to download and install it via Point'n'Print. From a Windows client, browse to the
    18201820CUPS/Samba server:
    1821 </p><div class="itemizedlist"><ul type="disc"><li><p>
    1822         <a class="indexterm" name="id2643352"></a>
    1823         Open the <span class="guilabel">Printers</span> share of Samba in Network Neighborhood.</p></li><li><p>Right-click on the printer in question.</p></li><li><p>From the opening context menu select
     1821</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     1822        <a class="indexterm" name="id2649445"></a>
     1823        Open the <span class="guilabel">Printers</span> share of Samba in Network Neighborhood.</p></li><li class="listitem"><p>Right-click on the printer in question.</p></li><li class="listitem"><p>From the opening context menu select
    18241824        <span class="guimenuitem">Install...</span> or
    18251825        <span class="guimenuitem">Connect...</span> (depending on the Windows version you use).</p></li></ul></div><p>
     
    18311831<code class="filename">\\SambaServer\PrinterName</code> entry in the drop-down list of available printers.
    18321832</p><p>
    1833 <a class="indexterm" name="id2643422"></a>
    1834 <a class="indexterm" name="id2643428"></a>
    1835 <a class="indexterm" name="id2643435"></a>
     1833<a class="indexterm" name="id2649514"></a>
     1834<a class="indexterm" name="id2649521"></a>
     1835<a class="indexterm" name="id2649528"></a>
    18361836<code class="literal">cupsaddsmb</code> will only reliably work with CUPS version 1.1.15 or higher and with Samba
    18371837version 2.2.4, or later. If it does not work, or if the automatic printer driver download to the clients does
     
    18411841<code class="prompt">C:\&gt; </code><strong class="userinput"><code>net use lpt1: \\sambaserver\printershare /user:ntadmin</code></strong>
    18421842</pre><p>
    1843 should you desire to use the CUPS networked PostScript RIP functions. (Note that user &#8220;<span class="quote">ntadmin</span>&#8221;
     1843should you desire to use the CUPS networked PostScript RIP functions. (Note that user <span class="quote">&#8220;<span class="quote">ntadmin</span>&#8221;</span>
    18441844needs to be a valid Samba user with the required privileges to access the printershare.) This sets up the
    18451845printer connection in the traditional LanMan way (not using MS-RPC).
    1846 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="cups-avoidps1"></a>Avoiding Critical PostScript Driver Settings on the Client</h3></div></div></div><p>
     1846</p></div><div class="sect2" title="Avoiding Critical PostScript Driver Settings on the Client"><div class="titlepage"><div><div><h3 class="title"><a name="cups-avoidps1"></a>Avoiding Critical PostScript Driver Settings on the Client</h3></div></div></div><p>
    18471847Printing works, but there are still problems. Most jobs print well, some do not print at all. Some jobs have
    18481848problems with fonts, which do not look very good. Some jobs print fast and some are dead-slow. Many of these
     
    18501850your print device is not PostScript-enabled, you are treating your Ghostscript installation on your CUPS host
    18511851with the output your client driver settings produce. Treat it well:
    1852 </p><div class="itemizedlist"><ul type="disc"><li><p>
     1852</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    18531853        Avoid the PostScript Output Option: Optimize for Speed setting. Use the Optimize for Portability instead
    1854         (Adobe PostScript driver).</p></li><li><p>
     1854        (Adobe PostScript driver).</p></li><li class="listitem"><p>
    18551855        Don't use the Page Independence: NO setting. Instead, use Page Independence: YES (CUPS PostScript Driver).
    1856         </p></li><li><p>
     1856        </p></li><li class="listitem"><p>
    18571857        Recommended is the True Type Font Downloading Option: Native True Type over Automatic and Outline;
    1858         you should by all means avoid Bitmap (Adobe PostScript Driver).</p></li><li><p>
     1858        you should by all means avoid Bitmap (Adobe PostScript Driver).</p></li><li class="listitem"><p>
    18591859        Choose True Type Font: Download as Softfont into Printer over the default Replace by Device
    1860         Font (for exotic fonts, you may need to change it back to get a printout at all; Adobe).</p></li><li><p>
     1860        Font (for exotic fonts, you may need to change it back to get a printout at all; Adobe).</p></li><li class="listitem"><p>
    18611861        Sometimes you can choose PostScript Language Level: in case of problems try 2
    18621862        instead of 3 (the latest ESP Ghostscript package handles Level 3 PostScript very well; Adobe).
    1863         </p></li><li><p>
    1864         Say Yes to PostScript Error Handler (Adobe).</p></li></ul></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2643549"></a>Installing PostScript Driver Files Manually Using rpcclient</h2></div></div></div><p>
     1863        </p></li><li class="listitem"><p>
     1864        Say Yes to PostScript Error Handler (Adobe).</p></li></ul></div></div></div><div class="sect1" title="Installing PostScript Driver Files Manually Using rpcclient"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2649642"></a>Installing PostScript Driver Files Manually Using rpcclient</h2></div></div></div><p>
    18651865Of course, you can run all the commands that are embedded into the
    18661866cupsaddsmb convenience utility yourself, one by one, and upload
    18671867and prepare the driver files for future client downloads.
    1868 </p><div class="orderedlist"><ol type="1"><li><p>Prepare Samba (a CUPS print queue with the name of the
    1869         printer should be there. We are providing the driver now).</p></li><li><p>Copy all files to <em class="parameter"><code>[print$]</code></em>.</p></li><li><p>
    1870         <a class="indexterm" name="id2643588"></a>
     1868</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>Prepare Samba (a CUPS print queue with the name of the
     1869        printer should be there. We are providing the driver now).</p></li><li class="listitem"><p>Copy all files to <em class="parameter"><code>[print$]</code></em>.</p></li><li class="listitem"><p>
     1870        <a class="indexterm" name="id2649681"></a>
    18711871        Run <code class="literal">rpcclient adddriver</code>
    1872         (for each client architecture you want to support).</p></li><li><p>
    1873         <a class="indexterm" name="id2643609"></a>
     1872        (for each client architecture you want to support).</p></li><li class="listitem"><p>
     1873        <a class="indexterm" name="id2649701"></a>
    18741874        Run <code class="literal">rpcclient setdriver.</code></p></li></ol></div><p>
    1875 <a class="indexterm" name="id2643628"></a>
    1876 <a class="indexterm" name="id2643637"></a>
    1877 <a class="indexterm" name="id2643646"></a>
    1878 <a class="indexterm" name="id2643655"></a>
    1879 <a class="indexterm" name="id2643665"></a>
     1875<a class="indexterm" name="id2649720"></a>
     1876<a class="indexterm" name="id2649729"></a>
     1877<a class="indexterm" name="id2649739"></a>
     1878<a class="indexterm" name="id2649748"></a>
     1879<a class="indexterm" name="id2649757"></a>
    18801880We are going to do this now. First, read the man page on <em class="parameter"><code>rpcclient</code></em> to get a first idea.
    18811881Look at all the printing-related subcommands: <code class="literal">enumprinters</code>, <code class="literal">enumdrivers</code>,
     
    18841884You can use it to query (and command) a Windows NT (or 200x/XP) PC, too. MS-RPC is used by Windows clients,
    18851885among other things, to benefit from the Point'n'Print features. Samba can now mimic this as well.
    1886 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2643723"></a>A Check of the rpcclient man Page</h3></div></div></div><p>
     1886</p><div class="sect2" title="A Check of the rpcclient man Page"><div class="titlepage"><div><div><h3 class="title"><a name="id2649816"></a>A Check of the rpcclient man Page</h3></div></div></div><p>
    18871887First let's check the <em class="parameter"><code>rpcclient</code></em> man page. Here are two relevant passages:
    18881888</p><p>
    1889 <a class="indexterm" name="id2643742"></a>
    1890 <a class="indexterm" name="id2643748"></a>
    1891 <a class="indexterm" name="id2643755"></a>
     1889<a class="indexterm" name="id2649834"></a>
     1890<a class="indexterm" name="id2649841"></a>
     1891<a class="indexterm" name="id2649848"></a>
    18921892<code class="literal">adddriver &lt;arch&gt; &lt;config&gt;</code> Execute an <code class="literal">AddPrinterDriver()</code> RPC
    18931893to install the printer driver information on the server. The driver files should already exist in the
     
    19051905Comma Separated list of Files
    19061906</pre><p>
    1907 Any empty fields should be entered as the string &#8220;<span class="quote">NULL</span>&#8221;.
     1907Any empty fields should be entered as the string <span class="quote">&#8220;<span class="quote">NULL</span>&#8221;</span>.
    19081908</p><p>
    19091909Samba does not need to support the concept of print monitors, since these only apply to local printers whose
    1910 drivers can use a bidirectional link for communication. This field should be &#8220;<span class="quote">NULL</span>&#8221;.  On a remote
     1910drivers can use a bidirectional link for communication. This field should be <span class="quote">&#8220;<span class="quote">NULL</span>&#8221;</span>.  On a remote
    19111911NT print server, the print monitor for a driver must already be installed before adding the driver or else the
    19121912RPC will fail.
    19131913</p><p>
    1914 <a class="indexterm" name="id2643833"></a>
    1915 <a class="indexterm" name="id2643840"></a>
     1914<a class="indexterm" name="id2649926"></a>
     1915<a class="indexterm" name="id2649933"></a>
    19161916<code class="literal">setdriver &lt;printername&gt; &lt;drivername&gt;</code> Execute a <code class="literal">SetPrinter()</code>
    19171917command to update the printer driver associated with an installed printer. The printer driver must already be
    19181918correctly installed on the print server.
    19191919</p><p>
    1920 <a class="indexterm" name="id2643866"></a>
    1921 <a class="indexterm" name="id2643872"></a>
     1920<a class="indexterm" name="id2649958"></a>
     1921<a class="indexterm" name="id2649965"></a>
    19221922See also the <code class="literal">enumprinters</code> and <code class="literal">enumdrivers</code> commands to
    19231923obtain a list of installed printers and drivers.
    1924 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2643895"></a>Understanding the rpcclient man Page</h3></div></div></div><p>
    1925 <a class="indexterm" name="id2643903"></a>
     1924</p></div><div class="sect2" title="Understanding the rpcclient man Page"><div class="titlepage"><div><div><h3 class="title"><a name="id2649987"></a>Understanding the rpcclient man Page</h3></div></div></div><p>
     1925<a class="indexterm" name="id2649996"></a>
    19261926The <span class="emphasis"><em>exact</em></span> format isn't made too clear by the man page, since you have to deal with some
    19271927parameters containing spaces. Here is a better description for it. We have line-broken the command and
    1928 indicated the breaks with &#8220;<span class="quote">\</span>&#8221;. Usually you would type the command in one line without the line
     1928indicated the breaks with <span class="quote">&#8220;<span class="quote">\</span>&#8221;</span>. Usually you would type the command in one line without the line
    19291929breaks:
    19301930</p><pre class="screen">
     
    19361936eight colon-separated fields. The last field may take multiple (in some very insane cases, even 20 different
    19371937additional) files. This might sound confusing at first.  What the man pages call the
    1938 &#8220;<span class="quote">LongPrinterName</span>&#8221; in reality should be called the &#8220;<span class="quote">Driver Name</span>&#8221;. You can name it
     1938<span class="quote">&#8220;<span class="quote">LongPrinterName</span>&#8221;</span> in reality should be called the <span class="quote">&#8220;<span class="quote">Driver Name</span>&#8221;</span>. You can name it
    19391939anything you want, as long as you use this name later in the <code class="literal">rpcclient ... setdriver</code>
    19401940command. For practical reasons, many name the driver the same as the printer.
    19411941</p><p>
    1942 It isn't simple at all. I hear you asking: &#8220;<span class="quote">How do I know which files are Driver File</span>&#8221;,
    1943 &#8220;<span class="quote">Data File</span>&#8221;, &#8220;<span class="quote">Config File</span>&#8221;, &#8220;<span class="quote">Help File</span>&#8221; and &#8220;<span class="quote">Language Monitor
    1944 File in each case?</span>&#8221; For an answer, you may want to have a look at how a Windows NT box with a shared
     1942It isn't simple at all. I hear you asking: <span class="quote">&#8220;<span class="quote">How do I know which files are Driver File</span>&#8221;</span>,
     1943<span class="quote">&#8220;<span class="quote">Data File</span>&#8221;</span>, <span class="quote">&#8220;<span class="quote">Config File</span>&#8221;</span>, <span class="quote">&#8220;<span class="quote">Help File</span>&#8221;</span> and <span class="quote">&#8220;<span class="quote">Language Monitor
     1944File in each case?</span>&#8221;</span> For an answer, you may want to have a look at how a Windows NT box with a shared
    19451945printer presents the files to us. Remember that this whole procedure has to be developed by the Samba Team by
    19461946listening to the traffic caused by Windows computers on the wire. We may as well turn to a Windows box now and
    19471947access it from a UNIX workstation. We will query it with <code class="literal">rpcclient</code> to see what it tells us
    19481948and try to understand the man page more clearly.
    1949 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2644000"></a>Producing an Example by Querying a Windows Box</h3></div></div></div><p>
    1950 <a class="indexterm" name="id2644008"></a>
    1951 <a class="indexterm" name="id2644017"></a>
     1949</p></div><div class="sect2" title="Producing an Example by Querying a Windows Box"><div class="titlepage"><div><div><h3 class="title"><a name="id2650092"></a>Producing an Example by Querying a Windows Box</h3></div></div></div><p>
     1950<a class="indexterm" name="id2650101"></a>
     1951<a class="indexterm" name="id2650110"></a>
    19521952We could run <code class="literal">rpcclient</code> with a <code class="literal">getdriver</code> or a
    19531953<code class="literal">getprinter</code> subcommand (in level 3 verbosity) against it. Just sit down at a UNIX or Linux
     
    19571957</pre><p>
    19581958From the result it should become clear which is which. Here is an example from my installation:
    1959 <a class="indexterm" name="id2644068"></a>
     1959<a class="indexterm" name="id2650161"></a>
    19601960</p><pre class="screen">
    19611961<code class="prompt">root# </code><strong class="userinput"><code>rpcclient -U'Danka%xxxx' W200xSERVER \
     
    19871987would go into the last field <em class="parameter"><code>ListOfFiles,Comma-separated</code></em>. For the CUPS PostScript
    19881988drivers, we do not need any (nor would we for the Adobe PostScript driver); therefore, the field will get a
    1989 &#8220;<span class="quote">NULL</span>&#8221; entry.
    1990 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2644132"></a>Requirements for adddriver and setdriver to Succeed</h3></div></div></div><p>
    1991 <a class="indexterm" name="id2644140"></a>
    1992 <a class="indexterm" name="id2644150"></a>
    1993 <a class="indexterm" name="id2644156"></a>
     1989<span class="quote">&#8220;<span class="quote">NULL</span>&#8221;</span> entry.
     1990</p></div><div class="sect2" title="Requirements for adddriver and setdriver to Succeed"><div class="titlepage"><div><div><h3 class="title"><a name="id2650224"></a>Requirements for adddriver and setdriver to Succeed</h3></div></div></div><p>
     1991<a class="indexterm" name="id2650233"></a>
     1992<a class="indexterm" name="id2650242"></a>
     1993<a class="indexterm" name="id2650249"></a>
    19941994From the man page (and from the quoted output of <code class="literal">cupsaddsmb</code> above) it becomes clear that
    19951995you need to have certain conditions in order to make the manual uploading and initializing of the driver files
    19961996succeed. The two <code class="literal">rpcclient</code> subcommands (<code class="literal">adddriver</code> and
    19971997<code class="literal">setdriver</code>) need to encounter the following preconditions to complete successfully:
    1998 </p><div class="itemizedlist"><ul type="disc"><li><p>You are connected as <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a> or root (this is
    1999         <span class="emphasis"><em>not</em></span> the &#8220;<span class="quote">Printer Operators</span>&#8221; group in NT, but the <span class="emphasis"><em>printer
     1998</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>You are connected as <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a> or root (this is
     1999        <span class="emphasis"><em>not</em></span> the <span class="quote">&#8220;<span class="quote">Printer Operators</span>&#8221;</span> group in NT, but the <span class="emphasis"><em>printer
    20002000        admin</em></span> group as defined in the <em class="parameter"><code>[global]</code></em> section of <code class="filename">smb.conf</code>).
    2001         </p></li><li><p>Copy all required driver files to <code class="filename">\\SAMBA\print$\w32x86</code> and
    2002         <code class="filename">\\SAMBA\print$\win40</code> as appropriate. They will end up in the &#8220;<span class="quote">0</span>&#8221; respective
    2003         &#8220;<span class="quote">2</span>&#8221; subdirectories later. For now, <span class="emphasis"><em>do not</em></span> put them there; they'll be
     2001        </p></li><li class="listitem"><p>Copy all required driver files to <code class="filename">\\SAMBA\print$\w32x86</code> and
     2002        <code class="filename">\\SAMBA\print$\win40</code> as appropriate. They will end up in the <span class="quote">&#8220;<span class="quote">0</span>&#8221;</span> respective
     2003        <span class="quote">&#8220;<span class="quote">2</span>&#8221;</span> subdirectories later. For now, <span class="emphasis"><em>do not</em></span> put them there; they'll be
    20042004        automatically used by the <code class="literal">adddriver</code> subcommand. (If you use <code class="literal">smbclient</code> to
    2005         put the driver files into the share, note that you need to escape the &#8220;<span class="quote">$</span>&#8221;: <code class="literal">smbclient
    2006         //sambaserver/print\$ -U root.</code>)</p></li><li><p>The user you're connecting as must be able to write to
     2005        put the driver files into the share, note that you need to escape the <span class="quote">&#8220;<span class="quote">$</span>&#8221;</span>: <code class="literal">smbclient
     2006        //sambaserver/print\$ -U root.</code>)</p></li><li class="listitem"><p>The user you're connecting as must be able to write to
    20072007        the <em class="parameter"><code>[print$]</code></em> share and create
    2008         subdirectories.</p></li><li><p>The printer you are going to set up for the Windows
    2009         clients needs to be installed in CUPS already.</p></li><li><p>
    2010         <a class="indexterm" name="id2644310"></a>
    2011         <a class="indexterm" name="id2644319"></a>
     2008        subdirectories.</p></li><li class="listitem"><p>The printer you are going to set up for the Windows
     2009        clients needs to be installed in CUPS already.</p></li><li class="listitem"><p>
     2010        <a class="indexterm" name="id2650402"></a>
     2011        <a class="indexterm" name="id2650411"></a>
    20122012        The CUPS printer must be known to Samba; otherwise the <code class="literal">setdriver</code> subcommand fails with an
    20132013        NT_STATUS_UNSUCCESSFUL error. To check if the printer is known by Samba, you may use the
     
    20152015        proper update of the printer list until every smbd process had received a SIGHUP or was restarted. Remember
    20162016        this in case you've created the CUPS printer just recently and encounter problems: try restarting Samba.
    2017         </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2644357"></a>Manual Driver Installation in 15 Steps</h3></div></div></div><p>
     2017        </p></li></ul></div></div><div class="sect2" title="Manual Driver Installation in 15 Steps"><div class="titlepage"><div><div><h3 class="title"><a name="id2650449"></a>Manual Driver Installation in 15 Steps</h3></div></div></div><p>
    20182018We are going to install a printer driver now by manually executing all
    20192019required commands. Because this may seem a rather complicated process at
    20202020first, we go through the procedure step by step, explaining every
    20212021single action item as it comes up.
    2022 </p><div class="procedure"><a name="id2644370"></a><p class="title"><b>Procedure 22.2. Manual Driver Installation</b></p><ol type="1"><li><p class="title"><b>Install the printer on CUPS.</b></p><pre class="screen">
     2022</p><div class="procedure" title="Procedure 22.2. Manual Driver Installation"><a name="id2650463"></a><p class="title"><b>Procedure 22.2. Manual Driver Installation</b></p><ol class="procedure" type="1"><li class="step" title="Install the printer on CUPS."><p class="title"><b>Install the printer on CUPS.</b></p><pre class="screen">
    20232023        <code class="prompt">root# </code><strong class="userinput"><code>lpadmin -p mysmbtstprn -v socket://10.160.51.131:9100 -E \
    20242024                                -P canonIR85.ppd</code></strong>
     
    20282028        (a.k.a. JetDirect or Direct TCP/IP) connection. You need to be root
    20292029        for this step.
    2030         </p></li><li><p class="title"><b>(Optional.) Check if the printer is recognized by Samba.</b></p><p>
    2031         <a class="indexterm" name="id2644427"></a>
     2030        </p></li><li class="step" title="(Optional.) Check if the printer is recognized by Samba."><p class="title"><b>(Optional.) Check if the printer is recognized by Samba.</b></p><p>
     2031        <a class="indexterm" name="id2650519"></a>
    20322032</p><pre class="screen">
    20332033<code class="prompt">root# </code><strong class="userinput"><code>rpcclient -Uroot%xxxx -c 'enumprinters' localhost \
     
    20432043<code class="prompt">root# </code><strong class="userinput"><code>kill -HUP `pidof smbd`</code></strong>
    20442044</pre><p>
    2045         Check again. Troubleshoot and repeat until successful. Note the &#8220;<span class="quote">empty</span>&#8221; field between the two
    2046         commas in the &#8220;<span class="quote">description</span>&#8221; line. The driver name would appear here if there was one already. You
     2045        Check again. Troubleshoot and repeat until successful. Note the <span class="quote">&#8220;<span class="quote">empty</span>&#8221;</span> field between the two
     2046        commas in the <span class="quote">&#8220;<span class="quote">description</span>&#8221;</span> line. The driver name would appear here if there was one already. You
    20472047        need to know root's Samba password (as set by the <code class="literal">smbpasswd</code> command) for this step and most
    2048         of the following steps. Alternatively, you can authenticate as one of the users from the &#8220;<span class="quote">write
    2049         list</span>&#8221; as defined in <code class="filename">smb.conf</code> for <em class="parameter"><code>[print$]</code></em>.
    2050         </p></li><li><p class="title"><b>(Optional.) Check if Samba knows a driver for the printer.</b></p><p>
    2051         <a class="indexterm" name="id2644525"></a>
    2052         <a class="indexterm" name="id2644534"></a>
     2048        of the following steps. Alternatively, you can authenticate as one of the users from the <span class="quote">&#8220;<span class="quote">write
     2049        list</span>&#8221;</span> as defined in <code class="filename">smb.conf</code> for <em class="parameter"><code>[print$]</code></em>.
     2050        </p></li><li class="step" title="(Optional.) Check if Samba knows a driver for the printer."><p class="title"><b>(Optional.) Check if Samba knows a driver for the printer.</b></p><p>
     2051        <a class="indexterm" name="id2650617"></a>
     2052        <a class="indexterm" name="id2650626"></a>
    20532053</p><pre class="screen">
    20542054<code class="prompt">root# </code><strong class="userinput"><code>rpcclient -Uroot%xxxx -c 'getprinter mysmbtstprn 2'\
     
    20762076This step was done for the purpose of demonstrating this condition. An
    20772077attempt to connect to the printer at this stage will prompt a
    2078 message along the lines of, &#8220;<span class="quote">The server does not have the required printer
    2079 driver installed.</span>&#8221;
    2080 </p></li><li><p class="title"><b>Put all required driver files into Samba's
     2078message along the lines of, <span class="quote">&#8220;<span class="quote">The server does not have the required printer
     2079driver installed.</span>&#8221;</span>
     2080</p></li><li class="step" title="Put all required driver files into Samba's [print$]."><p class="title"><b>Put all required driver files into Samba's
    20812081[print$].</b></p><pre class="screen">
    20822082<code class="prompt">root# </code><strong class="userinput"><code>smbclient //localhost/print\$ -U 'root%xxxx' \
     
    20882088</pre><p>
    20892089(This command should be entered in one long single line. Line breaks and the line ends indicated by
    2090 &#8220;<span class="quote">\</span>&#8221; have been inserted for readability reasons.) This step is <span class="emphasis"><em>required</em></span> for
     2090<span class="quote">&#8220;<span class="quote">\</span>&#8221;</span> have been inserted for readability reasons.) This step is <span class="emphasis"><em>required</em></span> for
    20912091the next one to succeed. It makes the driver files physically present in the <em class="parameter"><code>[print$]</code></em>
    20922092share. However, clients would still not be able to install them, because Samba does not yet treat them as
    2093 driver files. A client asking for the driver would still be presented with a &#8220;<span class="quote">not installed here</span>&#8221;
     2093driver files. A client asking for the driver would still be presented with a <span class="quote">&#8220;<span class="quote">not installed here</span>&#8221;</span>
    20942094message.
    2095 </p></li><li><p class="title"><b>Verify where the driver files are now.</b></p><pre class="screen">
     2095</p></li><li class="step" title="Verify where the driver files are now."><p class="title"><b>Verify where the driver files are now.</b></p><pre class="screen">
    20962096<code class="prompt">root# </code><strong class="userinput"><code>ls -l /etc/samba/drivers/W32X86/</code></strong>
    20972097total 669
     
    21032103-rwxr--r--    1 root     ntadmin    169458 May 25 23:21 mysmbtstprn.PPD
    21042104</pre><p>
    2105 The driver files now are in the W32X86 architecture &#8220;<span class="quote">root</span>&#8221; of
     2105The driver files now are in the W32X86 architecture <span class="quote">&#8220;<span class="quote">root</span>&#8221;</span> of
    21062106<em class="parameter"><code>[print$]</code></em>.
    2107 </p></li><li><p class="title"><b>Tell Samba that these are driver files (<code class="literal">adddriver</code>).</b></p><p>
    2108 <a class="indexterm" name="id2644722"></a>
     2107</p></li><li class="step" title="Tell Samba that these are driver files (adddriver)."><p class="title"><b>Tell Samba that these are driver files (<code class="literal">adddriver</code>).</b></p><p>
     2108<a class="indexterm" name="id2650815"></a>
    21092109</p><pre class="screen">
    21102110<code class="prompt">root# </code><strong class="userinput"><code>rpcclient -Uroot%xxxx -c 'adddriver "Windows NT x86" \
     
    21152115</pre><p>
    21162116You cannot repeat this step if it fails. It could fail even as a result of a simple typo. It will most likely
    2117 have moved a part of the driver files into the &#8220;<span class="quote">2</span>&#8221; subdirectory. If this step fails, you need to
     2117have moved a part of the driver files into the <span class="quote">&#8220;<span class="quote">2</span>&#8221;</span> subdirectory. If this step fails, you need to
    21182118go back to the fourth step and repeat it before you can try this one again. In this step, you need to choose a
    21192119name for your driver. It is normally a good idea to use the same name as is used for the printer name;
    21202120however, in big installations you may use this driver for a number of printers that obviously have different
    21212121names, so the name of the driver is not fixed.
    2122 </p></li><li><p class="title"><b>Verify where the driver files are now.</b></p><pre class="screen">
     2122</p></li><li class="step" title="Verify where the driver files are now."><p class="title"><b>Verify where the driver files are now.</b></p><pre class="screen">
    21232123<code class="prompt">root# </code><strong class="userinput"><code>ls -l /etc/samba/drivers/W32X86/</code></strong>
    21242124total 1
     
    21362136Notice how step 6 also moved the driver files to the appropriate
    21372137subdirectory. Compare this with the situation after step 5.
    2138 </p></li><li><p class="title"><b>(Optional.) Verify if Samba now recognizes the driver.</b></p><p>
    2139 <a class="indexterm" name="id2644830"></a>
     2138</p></li><li class="step" title="(Optional.) Verify if Samba now recognizes the driver."><p class="title"><b>(Optional.) Verify if Samba now recognizes the driver.</b></p><p>
     2139<a class="indexterm" name="id2650922"></a>
    21402140</p><pre class="screen">
    21412141<code class="prompt">root# </code><strong class="userinput"><code>rpcclient -Uroot%xxxx -c 'enumdrivers 3' \
     
    21522152Remember, this command greps for the name you chose for the
    21532153driver in step 6. This command must succeed before you can proceed.
    2154 </p></li><li><p class="title"><b>Tell Samba which printer should use these driver files (<code class="literal">setdriver</code>).</b></p><p>
    2155 <a class="indexterm" name="id2644885"></a>
     2154</p></li><li class="step" title="Tell Samba which printer should use these driver files (setdriver)."><p class="title"><b>Tell Samba which printer should use these driver files (<code class="literal">setdriver</code>).</b></p><p>
     2155<a class="indexterm" name="id2650977"></a>
    21562156</p><pre class="screen">
    21572157<code class="prompt">root# </code><strong class="userinput"><code>rpcclient -Uroot%xxxx -c 'setdriver mysmbtstprn mydrivername' \
     
    21632163succeed. The only preconditions are that <code class="literal">enumdrivers</code> must find the driver and
    21642164<code class="literal">enumprinters</code> must find the printer.
    2165 </p></li><li><p class="title"><b>(Optional) Verify if Samba has recognized this association.</b></p><p>
    2166 <a class="indexterm" name="id2644944"></a>
    2167 <a class="indexterm" name="id2644953"></a>
    2168 <a class="indexterm" name="id2644963"></a>
     2165</p></li><li class="step" title="(Optional) Verify if Samba has recognized this association."><p class="title"><b>(Optional) Verify if Samba has recognized this association.</b></p><p>
     2166<a class="indexterm" name="id2651037"></a>
     2167<a class="indexterm" name="id2651046"></a>
     2168<a class="indexterm" name="id2651055"></a>
    21692169</p><pre class="screen">
    21702170<code class="prompt">root# </code><strong class="userinput"><code>rpcclient -Uroot%xxxx -c 'getprinter mysmbtstprn 2' localhost \
     
    22062206
    22072207</pre><p>
    2208 <a class="indexterm" name="id2645040"></a>
     2208<a class="indexterm" name="id2651133"></a>
    22092209Compare these results with the ones from steps 2 and 3. Every one of these commands show the driver is installed. Even
    22102210the <code class="literal">enumprinters</code> command now lists the driver
    2211 on the &#8220;<span class="quote">description</span>&#8221; line.
    2212 </p></li><li><p class="title"><b>(Optional.) Tickle the driver into a correct
     2211on the <span class="quote">&#8220;<span class="quote">description</span>&#8221;</span> line.
     2212</p></li><li class="step" title="(Optional.) Tickle the driver into a correct device mode."><p class="title"><b>(Optional.) Tickle the driver into a correct
    22132213device mode.</b></p><p>
    2214 <a class="indexterm" name="id2645075"></a>
     2214<a class="indexterm" name="id2651168"></a>
    22152215You certainly know how to install the driver on the client. In case
    22162216you are not particularly familiar with Windows, here is a short
     
    22272227(as defined in <code class="filename">smb.conf</code>). Here is another method
    22282228to do this on Windows XP. It uses a command line, which you may type
    2229 into the &#8220;<span class="quote">DOS box</span>&#8221; (type root's smbpassword when prompted):
     2229into the <span class="quote">&#8220;<span class="quote">DOS box</span>&#8221;</span> (type root's smbpassword when prompted):
    22302230</p><pre class="screen">
    22312231<code class="prompt">C:\&gt; </code><strong class="userinput"><code>runas /netonly /user:root "rundll32 printui.dll,PrintUIEntry \
     
    22342234Change any printer setting once (like changing <span class="emphasis"><em><span class="guilabel">portrait</span> to
    22352235<span class="guilabel">landscape</span></em></span>), click on <span class="guibutton">Apply</span>, and change the setting back.
    2236 </p></li><li><p class="title"><b>Install the printer on a client (Point'n'Print).</b></p><p>
    2237 <a class="indexterm" name="id2645194"></a>
     2236</p></li><li class="step" title="Install the printer on a client (Point'n'Print)."><p class="title"><b>Install the printer on a client (Point'n'Print).</b></p><p>
     2237<a class="indexterm" name="id2651286"></a>
    22382238</p><pre class="screen">
    22392239<code class="prompt">C:\&gt; </code><strong class="userinput"><code>rundll32 printui.dll,PrintUIEntry /in /n "\\sambaserver\mysmbtstprn"</code></strong>
    22402240</pre><p>
    22412241If it does not work, it could be a permissions problem with the <em class="parameter"><code>[print$]</code></em> share.
    2242 </p></li><li><p class="title"><b>(Optional) Print a test page.</b></p><a class="indexterm" name="id2645235"></a><pre class="screen">
     2242</p></li><li class="step" title="(Optional) Print a test page."><p class="title"><b>(Optional) Print a test page.</b></p><a class="indexterm" name="id2651328"></a><pre class="screen">
    22432243<code class="prompt">C:\&gt; </code><strong class="userinput"><code>rundll32 printui.dll,PrintUIEntry /p /n "\\sambaserver\mysmbtstprn"</code></strong>
    22442244</pre><p>
    22452245Then hit [TAB] five times, [ENTER] twice, [TAB] once, and [ENTER] again, and march to the printer.
    2246 </p></li><li><p class="title"><b>(Recommended.) Study the test page.</b></p><p>
     2246</p></li><li class="step" title="(Recommended.) Study the test page."><p class="title"><b>(Recommended.) Study the test page.</b></p><p>
    22472247Hmmm. Just kidding! By now you know everything about printer installations and you do not need to read a word.
    22482248Just put it in a frame and bolt it to the wall with the heading "MY FIRST RPCCLIENT-INSTALLED PRINTER"
    22492249 why not just throw it away!
    2250 </p></li><li><p class="title"><b>(Obligatory.) Enjoy. Jump. Celebrate your success.</b></p><pre class="screen">
     2250</p></li><li class="step" title="(Obligatory.) Enjoy. Jump. Celebrate your success."><p class="title"><b>(Obligatory.) Enjoy. Jump. Celebrate your success.</b></p><pre class="screen">
    22512251<code class="prompt">root# </code><strong class="userinput"><code>echo "Cheeeeerioooooo! Success..." &gt;&gt; /var/log/samba/log.smbd</code></strong>
    2252 </pre></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2645315"></a>Troubleshooting Revisited</h3></div></div></div><p>
    2253 <a class="indexterm" name="id2645323"></a>
     2252</pre></li></ol></div></div><div class="sect2" title="Troubleshooting Revisited"><div class="titlepage"><div><div><h3 class="title"><a name="id2651408"></a>Troubleshooting Revisited</h3></div></div></div><p>
     2253<a class="indexterm" name="id2651416"></a>
    22542254The setdriver command will fail if in Samba's mind the queue is not
    22552255already there. A successful installation displys the promising message that the:
     
    22622262result was NT_STATUS_UNSUCCESSFUL
    22632263</code></p><p>
    2264 <a class="indexterm" name="id2645355"></a>
    2265 <a class="indexterm" name="id2645362"></a>
     2264<a class="indexterm" name="id2651448"></a>
     2265<a class="indexterm" name="id2651454"></a>
    22662266It is not good enough that you can see the queue in CUPS, using the <code class="literal">lpstat -p ir85wm</code>
    22672267command. A bug in most recent versions of Samba prevents the proper update of the queue list. The recognition
    22682268of newly installed CUPS printers fails unless you restart Samba or send a HUP to all smbd processes. To verify
    22692269if this is the reason why Samba does not execute the <code class="literal">setdriver</code> command successfully, check
    2270 if Samba &#8220;<span class="quote">sees</span>&#8221; the printer:
    2271 <a class="indexterm" name="id2645391"></a>
     2270if Samba <span class="quote">&#8220;<span class="quote">sees</span>&#8221;</span> the printer:
     2271<a class="indexterm" name="id2651484"></a>
    22722272</p><pre class="screen">
    22732273<code class="prompt">root# </code><strong class="userinput"><code>rpcclient transmeta -N -U'root%xxxx' -c 'enumprinters 0'|grep ir85wm</code></strong>
     
    22752275</pre><p>
    22762276An alternate command could be this:
    2277 <a class="indexterm" name="id2645421"></a>
     2277<a class="indexterm" name="id2651514"></a>
    22782278</p><pre class="screen">
    22792279<code class="prompt">root# </code><strong class="userinput"><code>rpcclient transmeta -N -U'root%secret' -c 'getprinter ir85wm' </code></strong>
     
    22852285</pre><p>
    22862286By the way, you can use these commands, plus a few more, of course, to install drivers on remote Windows NT print servers too!
    2287 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2645458"></a>The Printing <code class="filename">*.tdb</code> Files</h2></div></div></div><p>
    2288 <a class="indexterm" name="id2645472"></a>
    2289 <a class="indexterm" name="id2645479"></a>
    2290 <a class="indexterm" name="id2645488"></a>
    2291 <a class="indexterm" name="id2645497"></a>
    2292 <a class="indexterm" name="id2645506"></a>
    2293 <a class="indexterm" name="id2645515"></a>
    2294 <a class="indexterm" name="id2645524"></a>
    2295 <a class="indexterm" name="id2645533"></a>
    2296 <a class="indexterm" name="id2645542"></a>
    2297 <a class="indexterm" name="id2645551"></a>
    2298 <a class="indexterm" name="id2645560"></a>
    2299 <a class="indexterm" name="id2645569"></a>
    2300 <a class="indexterm" name="id2645578"></a>
     2287</p></div></div><div class="sect1" title="The Printing *.tdb Files"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2651551"></a>The Printing <code class="filename">*.tdb</code> Files</h2></div></div></div><p>
     2288<a class="indexterm" name="id2651565"></a>
     2289<a class="indexterm" name="id2651571"></a>
     2290<a class="indexterm" name="id2651580"></a>
     2291<a class="indexterm" name="id2651589"></a>
     2292<a class="indexterm" name="id2651598"></a>
     2293<a class="indexterm" name="id2651608"></a>
     2294<a class="indexterm" name="id2651617"></a>
     2295<a class="indexterm" name="id2651626"></a>
     2296<a class="indexterm" name="id2651634"></a>
     2297<a class="indexterm" name="id2651643"></a>
     2298<a class="indexterm" name="id2651652"></a>
     2299<a class="indexterm" name="id2651662"></a>
     2300<a class="indexterm" name="id2651671"></a>
    23012301Some mystery is associated with the series of files with a tdb suffix appearing in every Samba installation.
    23022302They are <code class="filename">connections.tdb</code>, <code class="filename">printing.tdb</code>,
     
    23052305<code class="filename">messages.tdb</code> , <code class="filename">ntprinters.tdb</code>, <code class="filename">sessionid.tdb</code>,
    23062306and <code class="filename">secrets.tdb</code>. What is their purpose?
    2307 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2645661"></a>Trivial Database Files</h3></div></div></div><p>
    2308 <a class="indexterm" name="id2645669"></a>
     2307</p><div class="sect2" title="Trivial Database Files"><div class="titlepage"><div><div><h3 class="title"><a name="id2651754"></a>Trivial Database Files</h3></div></div></div><p>
     2308<a class="indexterm" name="id2651762"></a>
    23092309A Windows NT (print) server keeps track of all information needed to serve its duty toward its clients by
    23102310storing entries in the Windows registry. Client queries are answered by reading from the registry,
     
    23152315<code class="filename">ntprinters.tdb</code>, <code class="filename">printing.tdb</code>,<code class="filename">ntforms.tdb</code>, and
    23162316<code class="filename">ntdrivers.tdb</code>.
    2317 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2645729"></a>Binary Format</h3></div></div></div><p>
    2318 <code class="filename">*.tdb</code> files are not human readable. They are written in a binary format. &#8220;<span class="quote">Why not
    2319 ASCII?</span>&#8221;, you may ask. &#8220;<span class="quote">After all, ASCII configuration files are a good and proven tradition on
    2320 UNIX.</span>&#8221; The reason for this design decision by the Samba Team is mainly performance. Samba needs to be
     2317</p></div><div class="sect2" title="Binary Format"><div class="titlepage"><div><div><h3 class="title"><a name="id2651821"></a>Binary Format</h3></div></div></div><p>
     2318<code class="filename">*.tdb</code> files are not human readable. They are written in a binary format. <span class="quote">&#8220;<span class="quote">Why not
     2319ASCII?</span>&#8221;</span>, you may ask. <span class="quote">&#8220;<span class="quote">After all, ASCII configuration files are a good and proven tradition on
     2320UNIX.</span>&#8221;</span> The reason for this design decision by the Samba Team is mainly performance. Samba needs to be
    23212321fast; it runs a separate <code class="literal">smbd</code> process for each client connection, in some environments many
    23222322thousands of them. Some of these <code class="literal">smbds</code> might need to write-access the same
     
    23242324<code class="filename">*.tdb</code> files allows for this provision. Many smbd processes may write to the same
    23252325<code class="filename">*.tdb</code> file at the same time. This wouldn't be possible with pure ASCII files.
    2326 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2645795"></a>Losing <code class="filename">*.tdb</code> Files</h3></div></div></div><p>
     2326</p></div><div class="sect2" title="Losing *.tdb Files"><div class="titlepage"><div><div><h3 class="title"><a name="id2651887"></a>Losing <code class="filename">*.tdb</code> Files</h3></div></div></div><p>
    23272327It is very important that all <code class="filename">*.tdb</code> files remain consistent over all write and read
    23282328accesses. However, it may happen that these files <span class="emphasis"><em>do</em></span> get corrupted. (A <code class="literal">kill -9
     
    23312331only option. After that, you need to re-create all print-related setups unless you have made a backup of the
    23322332<code class="filename">*.tdb</code> files in time.
    2333 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2645846"></a>Using <code class="literal">tdbbackup</code></h3></div></div></div><p>
    2334 <a class="indexterm" name="id2645858"></a>
    2335 <a class="indexterm" name="id2645869"></a>
     2333</p></div><div class="sect2" title="Using tdbbackup"><div class="titlepage"><div><div><h3 class="title"><a name="id2651938"></a>Using <code class="literal">tdbbackup</code></h3></div></div></div><p>
     2334<a class="indexterm" name="id2651950"></a>
     2335<a class="indexterm" name="id2651962"></a>
    23362336Samba ships with a little utility that helps the root user of your system to backup your
    23372337<code class="filename">*.tdb</code> files. If you run it with no argument, it prints a usage message:
     
    23602360 -rw-------    1 root     root        40960 May  2 03:44 printing.tdb.bak
    23612361
    2362 </pre></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2645965"></a>CUPS Print Drivers from Linuxprinting.org</h2></div></div></div><p>
    2363 <a class="indexterm" name="id2645974"></a>
     2362</pre></div></div><div class="sect1" title="CUPS Print Drivers from Linuxprinting.org"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2652058"></a>CUPS Print Drivers from Linuxprinting.org</h2></div></div></div><p>
     2363<a class="indexterm" name="id2652066"></a>
    23642364CUPS ships with good support for HP LaserJet-type printers. You can install the generic driver as follows:
    2365 <a class="indexterm" name="id2645983"></a>
     2365<a class="indexterm" name="id2652075"></a>
    23662366</p><pre class="screen">
    23672367<code class="prompt">root# </code><strong class="userinput"><code>lpadmin -p laserjet4plus -v parallel:/dev/lp0 -E -m laserjet.ppd</code></strong>
     
    23722372</p><p>
    23732373The generic <code class="filename">laserjet.ppd,</code> however, does not support every special option for every
    2374 LaserJet-compatible model. It constitutes a sort of &#8220;<span class="quote">least common denominator</span>&#8221; of all the models.
     2374LaserJet-compatible model. It constitutes a sort of <span class="quote">&#8220;<span class="quote">least common denominator</span>&#8221;</span> of all the models.
    23752375If for some reason you must pay for the commercially available ESP Print Pro drivers, your first move should
    23762376be to consult the database on the <a class="ulink" href="http://www.linuxprinting.org/printer_list.cgi" target="_top">Linuxprinting</a> Web site.  Linuxprinting.org has
     
    23782378the tireless work of Till Kamppeter from Mandrakesoft, who is also the principal author of the
    23792379<code class="literal">foomatic-rip</code> utility.
    2380 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    2381 <a class="indexterm" name="id2646072"></a>
    2382 <a class="indexterm" name="id2646079"></a>
    2383 <a class="indexterm" name="id2646086"></a>
     2380</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     2381<a class="indexterm" name="id2652164"></a>
     2382<a class="indexterm" name="id2652171"></a>
     2383<a class="indexterm" name="id2652178"></a>
    23842384The former <code class="literal">cupsomatic</code> concept is now being replaced by the new successor, a much more
    23852385powerful <code class="literal">foomatic-rip</code>.  <code class="literal">cupsomatic</code> is no longer maintained. Here is the
     
    23902390are also intended to be used by Samba and the cupsaddsmb utility, to provide the driver files for the Windows
    23912391clients!
    2392 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2646141"></a>foomatic-rip and Foomatic Explained</h3></div></div></div><p>
    2393 <a class="indexterm" name="id2646149"></a>
    2394 <a class="indexterm" name="id2646156"></a>
     2392</p></div><div class="sect2" title="foomatic-rip and Foomatic Explained"><div class="titlepage"><div><div><h3 class="title"><a name="id2652233"></a>foomatic-rip and Foomatic Explained</h3></div></div></div><p>
     2393<a class="indexterm" name="id2652241"></a>
     2394<a class="indexterm" name="id2652248"></a>
    23952395Nowadays, most Linux distributions rely on the utilities from the <a class="ulink" href="http://www.linuxprinting.org/" target="_top">Linuxprinting.org</a> to create their printing-related software
    23962396(which, by the way, works on all UNIXes and on Mac OS X and Darwin, too).  The utilities from this sire have a
     
    24032403available for the various driver/printer combinations in its <a class="ulink" href="http://www.linuxprinting.org/foomatic.html" target="_top">Foomatic</a> database. Currently there are <a class="ulink" href="http://www.linuxprinting.org/driver_list.cgi" target="_top">245 drivers</a> in the database. Many drivers support
    24042404various models, and many models may be driven by different drivers  its your choice!
    2405 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2646210"></a>690 &#8220;<span class="quote">Perfect</span>&#8221; Printers</h4></div></div></div><p>
    2406 <a class="indexterm" name="id2646222"></a>
     2405</p><div class="sect3" title="690 &#8220;Perfect&#8221; Printers"><div class="titlepage"><div><div><h4 class="title"><a name="id2652303"></a>690 <span class="quote">&#8220;<span class="quote">Perfect</span>&#8221;</span> Printers</h4></div></div></div><p>
     2406<a class="indexterm" name="id2652314"></a>
    24072407At present, there are 690 devices dubbed as working perfectly: 181 are <span class="emphasis"><em>mostly</em></span> perfect, 96
    24082408are <span class="emphasis"><em>partially</em></span> perfect, and 46 are paperweights. Keeping in mind that most of these are
     
    24122412achievement! Three years ago the number was not more than 500, and Linux or UNIX printing at the time wasn't
    24132413anywhere near the quality it is today.
    2414 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2646251"></a>How the Printing HOWTO Started It All</h4></div></div></div><p>
     2414</p></div><div class="sect3" title="How the Printing HOWTO Started It All"><div class="titlepage"><div><div><h4 class="title"><a name="id2652344"></a>How the Printing HOWTO Started It All</h4></div></div></div><p>
    24152415A few years ago <a class="ulink" href="http://www2.picante.com/" target="_top">Grant Taylor</a> started it all. The
    24162416roots of today's Linuxprinting.org are in the first <a class="ulink" href="http://www.linuxprinting.org/foomatic2.9/howto/" target="_top">Linux Printing HOWTO</a> that he authored. As a
    24172417side-project to this document, which served many Linux users and admins to guide their first steps in this
    2418 complicated and delicate setup (to a scientist, printing is &#8220;<span class="quote">applying a structured deposition of
    2419 distinct patterns of ink or toner particles on paper substrates</span>&#8221;), he started to build in a little
     2418complicated and delicate setup (to a scientist, printing is <span class="quote">&#8220;<span class="quote">applying a structured deposition of
     2419distinct patterns of ink or toner particles on paper substrates</span>&#8221;</span>), he started to build in a little
    24202420Postgres database with information about the hardware and driver zoo that made up Linux printing of the time.
    24212421This database became the core component of today's Foomatic collection of tools and data. In the meantime, it
    24222422has moved to an XML representation of the data.
    2423 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2646289"></a>Foomatic's Strange Name</h4></div></div></div><p>
    2424 <a class="indexterm" name="id2646297"></a>
    2425 &#8220;<span class="quote">Why the funny name?</span>&#8221; you ask. When it really took off, around spring 2000, CUPS was far less
     2423</p></div><div class="sect3" title="Foomatic's Strange Name"><div class="titlepage"><div><div><h4 class="title"><a name="id2652382"></a>Foomatic's Strange Name</h4></div></div></div><p>
     2424<a class="indexterm" name="id2652390"></a>
     2425<span class="quote">&#8220;<span class="quote">Why the funny name?</span>&#8221;</span> you ask. When it really took off, around spring 2000, CUPS was far less
    24262426popular than today, and most systems used LPD, LPRng, or even PDQ to print. CUPS shipped with a few generic
    24272427drivers (good for a few hundred different printer models). These didn't support many device-specific options.
     
    24322432</p><p>
    24332433Taylor already had in his database a respectable compilation of facts about many more printers and the
    2434 Ghostscript &#8220;<span class="quote">drivers</span>&#8221; they run with. His idea, to generate PPDs from the database information and
     2434Ghostscript <span class="quote">&#8220;<span class="quote">drivers</span>&#8221;</span> they run with. His idea, to generate PPDs from the database information and
    24352435use them to make standard Ghostscript filters work within CUPS, proved to work very well. It also killed
    24362436several birds with one stone:
    2437 </p><div class="itemizedlist"><ul type="disc"><li><p>It made all current and future Ghostscript filter
    2438         developments available for CUPS.</p></li><li><p>It made available a lot of additional printer models
     2437</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>It made all current and future Ghostscript filter
     2438        developments available for CUPS.</p></li><li class="listitem"><p>It made available a lot of additional printer models
    24392439        to CUPS users (because often the traditional Ghostscript way of
    2440         printing was the only one available).</p></li><li><p>It gave all the advanced CUPS options (Web interface,
     2440        printing was the only one available).</p></li><li class="listitem"><p>It gave all the advanced CUPS options (Web interface,
    24412441        GUI driver configurations) to users wanting (or needing) to use
    2442         Ghostscript filters.</p></li></ul></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2646364"></a>cupsomatic, pdqomatic, lpdomatic, directomatic</h4></div></div></div><p>
    2443 <a class="indexterm" name="id2646372"></a>
    2444 <a class="indexterm" name="id2646379"></a>
    2445 <a class="indexterm" name="id2646386"></a>
     2442        Ghostscript filters.</p></li></ul></div></div><div class="sect3" title="cupsomatic, pdqomatic, lpdomatic, directomatic"><div class="titlepage"><div><div><h4 class="title"><a name="id2652456"></a>cupsomatic, pdqomatic, lpdomatic, directomatic</h4></div></div></div><p>
     2443<a class="indexterm" name="id2652465"></a>
     2444<a class="indexterm" name="id2652472"></a>
     2445<a class="indexterm" name="id2652478"></a>
    24462446CUPS worked through a quickly hacked-up filter script named <a class="ulink" href="http://www.linuxprinting.org/download.cgi?filename=cupsomatic&amp;show=0" target="_top">cupsomatic</a>.  cupsomatic
    24472447ran the printfile through Ghostscript, constructing automatically the rather complicated command line needed.
     
    24602460amount of new information and new printers. He also developed the support for other spoolers, like <a class="ulink" href="http://ppr.sourceforge.net/" target="_top">PPR</a> (via ppromatic), <a class="ulink" href="http://sourceforge.net/projects/lpr/" target="_top">GNUlpr</a>, and <a class="ulink" href="http://www.lprng.org/" target="_top">LPRng</a> (both via an extended lpdomatic) and spooler-less printing (<a class="ulink" href="http://www.linuxprinting.org/download.cgi?filename=directomatic&amp;show=0" target="_top">directomatic</a>).
    24612461</p><p>
    2462 So, to answer your question, &#8220;<span class="quote">Foomatic</span>&#8221; is the general name for all the overlapping code and data
    2463 behind the &#8220;<span class="quote">*omatic</span>&#8221; scripts.  Foomatic, up to versions 2.0.x, required (ugly) Perl data
    2464 structures attached to Linuxprinting.org PPDs for CUPS. It had a different &#8220;<span class="quote">*omatic</span>&#8221; script for
     2462So, to answer your question, <span class="quote">&#8220;<span class="quote">Foomatic</span>&#8221;</span> is the general name for all the overlapping code and data
     2463behind the <span class="quote">&#8220;<span class="quote">*omatic</span>&#8221;</span> scripts.  Foomatic, up to versions 2.0.x, required (ugly) Perl data
     2464structures attached to Linuxprinting.org PPDs for CUPS. It had a different <span class="quote">&#8220;<span class="quote">*omatic</span>&#8221;</span> script for
    24652465every spooler, as well as different printer configuration files.
    2466 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2646520"></a>The <span class="emphasis"><em>Grand Unification</em></span> Achieved</h4></div></div></div><p>
    2467 <a class="indexterm" name="id2646531"></a>
    2468 This has all changed in Foomatic versions 2.9 (beta) and released as &#8220;<span class="quote">stable</span>&#8221; 3.0. It has now
     2466</p></div><div class="sect3" title="The Grand Unification Achieved"><div class="titlepage"><div><div><h4 class="title"><a name="id2652612"></a>The <span class="emphasis"><em>Grand Unification</em></span> Achieved</h4></div></div></div><p>
     2467<a class="indexterm" name="id2652624"></a>
     2468This has all changed in Foomatic versions 2.9 (beta) and released as <span class="quote">&#8220;<span class="quote">stable</span>&#8221;</span> 3.0. It has now
    24692469achieved the convergence of all *omatic scripts and is called the <a class="ulink" href="http://www.linuxprinting.org/foomatic2.9/download.cgi?filename=foomatic-rip&amp;show=0" target="_top">foomatic-rip</a>.
    24702470This single script is the unification of the previously different spooler-specific *omatic scripts.
     
    24742474there is improved media type and source support  paper sizes and trays are easier to configure.
    24752475</p><p>
    2476 <a class="indexterm" name="id2646567"></a>
    2477 <a class="indexterm" name="id2646573"></a>
    2478 <a class="indexterm" name="id2646580"></a>
     2476<a class="indexterm" name="id2652659"></a>
     2477<a class="indexterm" name="id2652665"></a>
     2478<a class="indexterm" name="id2652672"></a>
    24792479Also, the new generation of Linuxprinting.org PPDs no longer contains Perl data structures. If you are a
    24802480distro maintainer and have used the previous version of Foomatic, you may want to give the new one a spin, but
     
    24832483the steps</a> outlined in the Foomatic tutorial or in this chapter. This new development is truly amazing.
    24842484</p><p>
    2485 <a class="indexterm" name="id2646613"></a>
    2486 <a class="indexterm" name="id2646620"></a>
    2487 <a class="indexterm" name="id2646627"></a>
     2485<a class="indexterm" name="id2652705"></a>
     2486<a class="indexterm" name="id2652712"></a>
     2487<a class="indexterm" name="id2652719"></a>
    24882488foomatic-rip is a very clever wrapper around the need to run Ghostscript with a different syntax, options,
    24892489device selections, and/or filters for each different printer or spooler. At the same time, it can read the PPD
     
    24932493printing on media drawn from different paper trays within the same job (in both cases, even where there is no
    24942494support for this from Windows-based vendor printer drivers).
    2495 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2646648"></a>Driver Development Outside</h4></div></div></div><p>
    2496 <a class="indexterm" name="id2646656"></a>
     2495</p></div><div class="sect3" title="Driver Development Outside"><div class="titlepage"><div><div><h4 class="title"><a name="id2652740"></a>Driver Development Outside</h4></div></div></div><p>
     2496<a class="indexterm" name="id2652748"></a>
    24972497Most driver development itself does not happen within Linuxprinting.org. Drivers are written by independent
    24982498maintainers.  Linuxprinting.org just pools all the information and stores it in its database. In addition, it
     
    25012501</p><p>
    25022502Speaking of the different driver development groups, most of the work is currently done in three projects:
    2503 </p><div class="itemizedlist"><ul type="disc"><li><p>
    2504 <a class="indexterm" name="id2646680"></a>
     2503</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     2504<a class="indexterm" name="id2652773"></a>
    25052505        <a class="ulink" href="http://www-124.ibm.com/developerworks/oss/linux/projects/omni/" target="_top">Omni</a>
    25062506         a free software project by IBM that tries to convert its printer
    25072507        driver knowledge from good-ol' OS/2 times into a modern, modular,
    25082508        universal driver architecture for Linux/UNIX (still beta). This
    2509         currently supports 437 models.</p></li><li><p>
    2510 <a class="indexterm" name="id2646705"></a>
     2509        currently supports 437 models.</p></li><li class="listitem"><p>
     2510<a class="indexterm" name="id2652797"></a>
    25112511        <a class="ulink" href="http://hpinkjet.sf.net/" target="_top">HPIJS</a>
    25122512        a free software project by HP to provide the support for its own
    25132513        range of models (very mature, printing in most cases is perfect and
    25142514        provides true photo quality). This currently supports 369
    2515         models.</p></li><li><p>
    2516 <a class="indexterm" name="id2646728"></a>
     2515        models.</p></li><li class="listitem"><p>
     2516<a class="indexterm" name="id2652820"></a>
    25172517        <a class="ulink" href="http://gimp-print.sourceforge.net/" target="_top">Gutenprint</a>  a free software
    25182518        effort, started by Michael Sweet (also lead developer for CUPS), now
     
    25202520        photo print quality (many Epson users swear that its quality is
    25212521        better than the vendor drivers provided by Epson for the Microsoft
    2522         platforms). This currently supports 522 models.</p></li></ul></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2646752"></a>Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</h4></div></div></div><p>
     2522        platforms). This currently supports 522 models.</p></li></ul></div></div><div class="sect3" title="Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)"><div class="titlepage"><div><div><h4 class="title"><a name="id2652845"></a>Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</h4></div></div></div><p>
    25232523Linuxprinting.org today is the one-stop shop to download printer drivers. Look for printer information and
    25242524<a class="ulink" href="http://www.linuxprinting.org//kpfeifle/LinuxKongress2002/Tutorial/" target="_top">tutorials</a> or solve
     
    25292529forum</a> has turned out to be one of the most frequented forums after only a few weeks.
    25302530</p><p>
    2531 <a class="indexterm" name="id2646797"></a>
    2532 <a class="indexterm" name="id2646804"></a>
    2533 <a class="indexterm" name="id2646811"></a>
     2531<a class="indexterm" name="id2652890"></a>
     2532<a class="indexterm" name="id2652896"></a>
     2533<a class="indexterm" name="id2652903"></a>
    25342534Linuxprinting.org and the Foomatic driver wrappers around Ghostscript are now a standard tool-chain for
    25352535printing on all the important distros. Most of them also have CUPS underneath. While in recent years most
     
    25372537Hat, Conectiva, Debian, and others. Vendor-neutrality is an important goal of the Foomatic project. Mandrake
    25382538and Conectiva have merged and are now called Mandriva.
    2539 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     2539</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    25402540Till Kamppeter from Mandrakesoft is doing an excellent job in his spare time to maintain Linuxprinting.org and
    25412541Foomatic. So if you use it often, please send him a note showing your appreciation.
    2542 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2646836"></a>Foomatic Database-Generated PPDs</h4></div></div></div><p>
    2543 <a class="indexterm" name="id2646844"></a>
    2544 <a class="indexterm" name="id2646851"></a>
    2545 <a class="indexterm" name="id2646858"></a>
    2546 <a class="indexterm" name="id2646864"></a>
    2547 <a class="indexterm" name="id2646871"></a>
    2548 <a class="indexterm" name="id2646878"></a>
    2549 <a class="indexterm" name="id2646885"></a>
    2550 <a class="indexterm" name="id2646892"></a>
    2551 <a class="indexterm" name="id2646899"></a>
     2542</p></div></div><div class="sect3" title="Foomatic Database-Generated PPDs"><div class="titlepage"><div><div><h4 class="title"><a name="id2652928"></a>Foomatic Database-Generated PPDs</h4></div></div></div><p>
     2543<a class="indexterm" name="id2652936"></a>
     2544<a class="indexterm" name="id2652943"></a>
     2545<a class="indexterm" name="id2652950"></a>
     2546<a class="indexterm" name="id2652957"></a>
     2547<a class="indexterm" name="id2652964"></a>
     2548<a class="indexterm" name="id2652970"></a>
     2549<a class="indexterm" name="id2652977"></a>
     2550<a class="indexterm" name="id2652984"></a>
     2551<a class="indexterm" name="id2652991"></a>
    25522552The Foomatic database is an amazing piece of ingenuity in itself. Not only does it keep the printer and driver
    25532553information, but it is organized in a way that it can generate PPD files on the fly from its internal
     
    25642564developers. The rest is easy.  GUI tools (like KDE's marvelous <a class="ulink" href="http://printing.kde.org/overview/kprinter.phtml" target="_top">kprinter</a> or the GNOME <a class="ulink" href="http://gtklp.sourceforge.net/" target="_top">gtklp</a> xpp and the CUPS Web interface) read the PPD as well and use
    25652565this information to present the available settings to the user as an intuitive menu selection.
    2566 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2646962"></a>foomatic-rip and Foomatic PPD Download and Installation</h3></div></div></div><p>
     2566</p></div></div><div class="sect2" title="foomatic-rip and Foomatic PPD Download and Installation"><div class="titlepage"><div><div><h3 class="title"><a name="id2653055"></a>foomatic-rip and Foomatic PPD Download and Installation</h3></div></div></div><p>
    25672567Here are the steps to install a foomatic-rip-driven LaserJet 4 Plus-compatible
    25682568printer in CUPS (note that recent distributions of SuSE, UnitedLinux and
     
    25702570<code class="literal">foomatic-rip</code> utility. Going directly to
    25712571Linuxprinting.org ensures that you get the latest driver/PPD files).
    2572 </p><div class="itemizedlist"><ul type="disc"><li><p>Open your browser at the Linuxprinting.org printer list <a class="ulink" href="http://www.linuxprinting.org/printer_list.cgi" target="_top">page.</a>
    2573         </p></li><li><p>Check the complete list of printers in the
     2572</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Open your browser at the Linuxprinting.org printer list <a class="ulink" href="http://www.linuxprinting.org/printer_list.cgi" target="_top">page.</a>
     2573        </p></li><li class="listitem"><p>Check the complete list of printers in the
    25742574        <a class="ulink" href="http://www.linuxprinting.org/printer_list.cgi?make=Anyone" target="_top">database.</a>.
    2575         </p></li><li><p>Select your model and click on the link.
    2576         </p></li><li><p>You'll arrive at a page listing all drivers working with this
     2575        </p></li><li class="listitem"><p>Select your model and click on the link.
     2576        </p></li><li class="listitem"><p>You'll arrive at a page listing all drivers working with this
    25772577        model (for all printers, there will always be <span class="emphasis"><em>one</em></span>
    25782578        recommended driver. Try this one first).
    2579         </p></li><li><p>In our case (HP LaserJet 4 Plus), we'll arrive at the default driver for the
     2579        </p></li><li class="listitem"><p>In our case (HP LaserJet 4 Plus), we'll arrive at the default driver for the
    25802580        <a class="ulink" href="http://www.linuxprinting.org/show_printer.cgi?recnum=HP-LaserJet_4_Plus" target="_top">HP-LaserJet 4 Plus.</a>
    2581         </p></li><li><p>The recommended driver is ljet4.</p></li><li><p>Several links are provided here. You should visit them all if you
     2581        </p></li><li class="listitem"><p>The recommended driver is ljet4.</p></li><li class="listitem"><p>Several links are provided here. You should visit them all if you
    25822582        are not familiar with the Linuxprinting.org database.
    2583         </p></li><li><p>There is a link to the database page for the
     2583        </p></li><li class="listitem"><p>There is a link to the database page for the
    25842584        <a class="ulink" href="http://www.linuxprinting.org/show_driver.cgi?driver=ljet4" target="_top">ljet4</a>.
    25852585        On the driver's page, you'll find important and detailed information
    25862586        about how to use that driver within the various available
    2587         spoolers.</p></li><li><p>Another link may lead you to the home page of the
    2588         author of the driver.</p></li><li><p>Important links are the ones that provide hints with
     2587        spoolers.</p></li><li class="listitem"><p>Another link may lead you to the home page of the
     2588        author of the driver.</p></li><li class="listitem"><p>Important links are the ones that provide hints with
    25892589        setup instructions for <a class="ulink" href="http://www.linuxprinting.org/cups-doc.html" target="_top">CUPS</a>;
    25902590        <a class="ulink" href="http://www.linuxprinting.org/pdq-doc.html" target="_top">PDQ</a>;
    25912591        <a class="ulink" href="http://www.linuxprinting.org/lpd-doc.html" target="_top">LPD, LPRng, and GNUlpr</a>);
    25922592        as well as <a class="ulink" href="http://www.linuxprinting.org/ppr-doc.html" target="_top">PPR</a>
    2593         or &#8220;<span class="quote">spoolerless</span>&#8221; <a class="ulink" href="http://www.linuxprinting.org/direct-doc.html" target="_top">printing</a>.
    2594         </p></li><li><p>You can view the PPD in your browser through this link:
     2593        or <span class="quote">&#8220;<span class="quote">spoolerless</span>&#8221;</span> <a class="ulink" href="http://www.linuxprinting.org/direct-doc.html" target="_top">printing</a>.
     2594        </p></li><li class="listitem"><p>You can view the PPD in your browser through this link:
    25952595        <a class="ulink" href="http://www.linuxprinting.org/ppd-o-matic.cgi?driver=ljet4&amp;printer=HP-LaserJet_4_Plus&amp;show=1" target="_top">http://www.linuxprinting.org/ppd-o-matic.cgi?driver=ljet4&amp;printer=HP-LaserJet_4_Plus&amp;show=1</a>
    2596         </p></li><li><p>Most importantly, you can also generate and download
     2596        </p></li><li class="listitem"><p>Most importantly, you can also generate and download
    25972597        the <a class="ulink" href="http://www.linuxprinting.org/ppd-o-matic.cgi?driver=ljet4&amp;printer=HP-LaserJet_4_Plus&amp;show=0" target="_top">PPD</a>.
    2598         </p></li><li><p>The PPD contains all the information needed to use our
     2598        </p></li><li class="listitem"><p>The PPD contains all the information needed to use our
    25992599        model and the driver; once installed, this works transparently
    26002600        for the user. Later you'll only need to choose resolution, paper size,
    26012601        and so on, from the Web-based menu, or from the print dialog GUI, or from
    2602         the command line.</p></li><li><p>If you ended up on the drivers
     2602        the command line.</p></li><li class="listitem"><p>If you ended up on the drivers
    26032603        <a class="ulink" href="http://www.linuxprinting.org/show_driver.cgi?driver=ljet4" target="_top">page</a>,
    2604         you can choose to use the &#8220;<span class="quote">PPD-O-Matic</span>&#8221; online PPD generator
    2605         program.</p></li><li><p>Select the exact model and check either <span class="guilabel">Download</span> or
    2606         <span class="guilabel">Display PPD file</span> and click <span class="guilabel">Generate PPD file</span>.</p></li><li><p>If you save the PPD file from the browser view, please
     2604        you can choose to use the <span class="quote">&#8220;<span class="quote">PPD-O-Matic</span>&#8221;</span> online PPD generator
     2605        program.</p></li><li class="listitem"><p>Select the exact model and check either <span class="guilabel">Download</span> or
     2606        <span class="guilabel">Display PPD file</span> and click <span class="guilabel">Generate PPD file</span>.</p></li><li class="listitem"><p>If you save the PPD file from the browser view, please
    26072607        do not use cut and paste (since it could possibly damage line endings
    26082608        and tabs, which makes the PPD likely to fail its duty), but use <span class="guimenuitem">Save
    26092609        as...</span> in your browser's menu. (It is best to use the <span class="guilabel">Download</span> option
    2610         directly from the Web page.)</p></li><li><p>Another interesting part on each driver page is
     2610        directly from the Web page.)</p></li><li class="listitem"><p>Another interesting part on each driver page is
    26112611        the <span class="guimenuitem">Show execution details</span> button. If you
    26122612        select your printer model and click on that button,
    26132613        a complete Ghostscript command line will be displayed, enumerating all options
    26142614        available for that combination of driver and printer model. This is a great way to
    2615         &#8220;<span class="quote">learn Ghostscript by doing</span>&#8221;. It is also an excellent cheat sheet
     2615        <span class="quote">&#8220;<span class="quote">learn Ghostscript by doing</span>&#8221;</span>. It is also an excellent cheat sheet
    26162616        for all experienced users who need to reconstruct a good command line
    26172617        for that darned printing script, but can't remember the exact
    2618         syntax. </p></li><li><p>Sometime during your visit to Linuxprinting.org, save
     2618        syntax. </p></li><li class="listitem"><p>Sometime during your visit to Linuxprinting.org, save
    26192619        the PPD to a suitable place on your hard disk, say
    26202620        <code class="filename">/path/to/my-printer.ppd</code> (if you prefer to install
    26212621        your printers with the help of the CUPS Web interface, save the PPD to
    26222622        the <code class="filename">/usr/share/cups/model/</code> path and restart
    2623         cupsd).</p></li><li><p>Then install the printer with a suitable command line,
     2623        cupsd).</p></li><li class="listitem"><p>Then install the printer with a suitable command line,
    26242624        like this:
    26252625        </p><pre class="screen">
    26262626        <code class="prompt">root# </code><strong class="userinput"><code>lpadmin -p laserjet4plus -v parallel:/dev/lp0 -E \
    26272627                -P path/to/my-printer.ppd</code></strong>
    2628         </pre></li><li><p>For all the new-style &#8220;<span class="quote">Foomatic-PPDs</span>&#8221;
     2628        </pre></li><li class="listitem"><p>For all the new-style <span class="quote">&#8220;<span class="quote">Foomatic-PPDs</span>&#8221;</span>
    26292629        from Linuxprinting.org, you also need a special CUPS filter named
    26302630        foomatic-rip.
    2631         </p></li><li><p>The foomatic-rip Perl script itself also makes some
     2631        </p></li><li class="listitem"><p>The foomatic-rip Perl script itself also makes some
    26322632        interesting <a class="ulink" href="http://www.linuxprinting.org/foomatic2.9/download.cgi?filename=foomatic-rip&amp;show=1" target="_top">reading</a>
    26332633        because it is well documented by Kamppeter's in-line comments (even
    26342634        non-Perl hackers will learn quite a bit about printing by reading
    2635         it).</p></li><li><p>Save foomatic-rip either directly in
     2635        it).</p></li><li class="listitem"><p>Save foomatic-rip either directly in
    26362636        <code class="filename">/usr/lib/cups/filter/foomatic-rip</code> or somewhere in
    26372637        your $PATH (and remember to make it world-executable). Again,
    26382638        do not save by copy and paste but use the appropriate link or the
    2639         <span class="guimenuitem">Save as...</span>  menu item in your browser.</p></li><li><p>If you save foomatic-rip in your $PATH, create a symlink:
     2639        <span class="guimenuitem">Save as...</span>  menu item in your browser.</p></li><li class="listitem"><p>If you save foomatic-rip in your $PATH, create a symlink:
    26402640        </p><pre class="screen">
    26412641        <code class="prompt">root# </code><strong class="userinput"><code>cd /usr/lib/cups/filter/ ; ln -s `which foomatic-rip'</code></strong>
     
    26492649(transparently for you, the user) the complicated Ghostscript command line telling the printer driver exactly
    26502650how the resulting raster data should look and which printer commands to embed into the data stream. You need:
    2651 </p><div class="itemizedlist"><ul type="disc"><li><p>A &#8220;<span class="quote">foomatic+something</span>&#8221; PPD  but this is not enough
     2651</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>A <span class="quote">&#8220;<span class="quote">foomatic+something</span>&#8221;</span> PPD  but this is not enough
    26522652        to print with CUPS (it is only <span class="emphasis"><em>one</em></span> important
    2653         component).</p></li><li><p>The <em class="parameter"><code>foomatic-rip</code></em> filter script (Perl) in
    2654         <code class="filename">/usr/lib/cups/filters/</code>.</p></li><li><p>Perl to make foomatic-rip run.</p></li><li><p>Ghostscript (because it is doing the main work,
     2653        component).</p></li><li class="listitem"><p>The <em class="parameter"><code>foomatic-rip</code></em> filter script (Perl) in
     2654        <code class="filename">/usr/lib/cups/filters/</code>.</p></li><li class="listitem"><p>Perl to make foomatic-rip run.</p></li><li class="listitem"><p>Ghostscript (because it is doing the main work,
    26552655        controlled by the PPD/foomatic-rip combo) to produce the raster data
    2656         fit for your printer model's consumption.</p></li><li><p>Ghostscript <span class="emphasis"><em>must</em></span> (depending on
     2656        fit for your printer model's consumption.</p></li><li class="listitem"><p>Ghostscript <span class="emphasis"><em>must</em></span> (depending on
    26572657        the driver/model) contain support for a certain device representing
    2658         the selected driver for your model (as shown by <code class="literal">gs -h</code>).</p></li><li><p>foomatic-rip needs a new version of PPDs (PPD versions
    2659         produced for cupsomatic do not work with foomatic-rip).</p></li></ul></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2647435"></a>Page Accounting with CUPS</h2></div></div></div><p>
    2660 <a class="indexterm" name="id2647443"></a>
     2658        the selected driver for your model (as shown by <code class="literal">gs -h</code>).</p></li><li class="listitem"><p>foomatic-rip needs a new version of PPDs (PPD versions
     2659        produced for cupsomatic do not work with foomatic-rip).</p></li></ul></div></div></div><div class="sect1" title="Page Accounting with CUPS"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2653528"></a>Page Accounting with CUPS</h2></div></div></div><p>
     2660<a class="indexterm" name="id2653536"></a>
    26612661Often there are questions regarding print quotas where Samba users (that is, Windows clients) should not be
    26622662able to print beyond a certain number of pages or data volume per day, week, or month. This feature is
     
    26662666Of course one could hack things with one's own scripts. But then there is CUPS. CUPS supports quotas that can
    26672667be based on the size of jobs or on the number of pages or both, and can span any time period you want.
    2668 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647471"></a>Setting Up Quotas</h3></div></div></div><p>
    2669 <a class="indexterm" name="id2647479"></a>
     2668</p><div class="sect2" title="Setting Up Quotas"><div class="titlepage"><div><div><h3 class="title"><a name="id2653563"></a>Setting Up Quotas</h3></div></div></div><p>
     2669<a class="indexterm" name="id2653571"></a>
    26702670This is an example command of how root would set a print quota in CUPS, assuming an existing printer named
    2671 &#8220;<span class="quote">quotaprinter</span>&#8221;:
    2672 <a class="indexterm" name="id2647493"></a>
     2671<span class="quote">&#8220;<span class="quote">quotaprinter</span>&#8221;</span>:
     2672<a class="indexterm" name="id2653586"></a>
    26732673</p><pre class="screen">
    26742674<code class="prompt">root# </code><strong class="userinput"><code>lpadmin -p quotaprinter -o job-quota-period=604800 \
     
    26772677This would limit every single user to print no more than 100 pages or 1024 KB of
    26782678data (whichever comes first) within the last 604,800 seconds ( = 1 week).
    2679 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647525"></a>Correct and Incorrect Accounting</h3></div></div></div><p>
     2679</p></div><div class="sect2" title="Correct and Incorrect Accounting"><div class="titlepage"><div><div><h3 class="title"><a name="id2653617"></a>Correct and Incorrect Accounting</h3></div></div></div><p>
    26802680For CUPS to count correctly, the printfile needs to pass the CUPS pstops filter; otherwise it uses a dummy
    2681 count of &#8220;<span class="quote">one</span>&#8221;. Some print files do not pass it (e.g., image files), but then those are mostly
     2681count of <span class="quote">&#8220;<span class="quote">one</span>&#8221;</span>. Some print files do not pass it (e.g., image files), but then those are mostly
    26822682one-page jobs anyway. This also means that proprietary drivers for the target printer running on the client
    2683 computers and CUPS/Samba, which then spool these files as &#8220;<span class="quote">raw</span>&#8221; (i.e., leaving them untouched,
     2683computers and CUPS/Samba, which then spool these files as <span class="quote">&#8220;<span class="quote">raw</span>&#8221;</span> (i.e., leaving them untouched,
    26842684not filtering them), will be counted as one-pagers too!
    26852685</p><p>
     
    26882688to a print-ready format for the target printer. This is currently working for about a thousand different
    26892689printer models.  Linuxprinting.org has a driver <a class="ulink" href="http://www.linuxprinting.org/printer_list.cgi" target="_top">list</a>.
    2690 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647565"></a>Adobe and CUPS PostScript Drivers for Windows Clients</h3></div></div></div><p>
    2691 <a class="indexterm" name="id2647574"></a>
    2692 <a class="indexterm" name="id2647581"></a>
    2693 <a class="indexterm" name="id2647588"></a>
    2694 <a class="indexterm" name="id2647594"></a>
    2695 <a class="indexterm" name="id2647601"></a>
     2690</p></div><div class="sect2" title="Adobe and CUPS PostScript Drivers for Windows Clients"><div class="titlepage"><div><div><h3 class="title"><a name="id2653658"></a>Adobe and CUPS PostScript Drivers for Windows Clients</h3></div></div></div><p>
     2691<a class="indexterm" name="id2653666"></a>
     2692<a class="indexterm" name="id2653673"></a>
     2693<a class="indexterm" name="id2653680"></a>
     2694<a class="indexterm" name="id2653687"></a>
     2695<a class="indexterm" name="id2653693"></a>
    26962696Before CUPS 1.1.16, your only option was to use the Adobe PostScript driver on the Windows clients. The output
    26972697of this driver was not always passed through the <code class="literal">pstops</code> filter on the CUPS/Samba side, and
     
    27042704<code class="filename">cups-samba-1.1.16.tar.gz</code> package). It does <span class="emphasis"><em>not</em></span> work for Windows
    270527059x/Me clients, but it guarantees:
    2706 </p><div class="itemizedlist"><ul type="disc"><li><p> <a class="indexterm" name="id2647662"></a> To not write a PJL-header.</p></li><li><p>To still read and support all PJL-options named in the
    2707         driver PPD with its own means.</p></li><li><p>That the file will pass through the <code class="literal">pstops</code> filter
    2708         on the CUPS/Samba server.</p></li><li><p>To page-count correctly the print file.</p></li></ul></div><p>
     2706</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> <a class="indexterm" name="id2653754"></a> To not write a PJL-header.</p></li><li class="listitem"><p>To still read and support all PJL-options named in the
     2707        driver PPD with its own means.</p></li><li class="listitem"><p>That the file will pass through the <code class="literal">pstops</code> filter
     2708        on the CUPS/Samba server.</p></li><li class="listitem"><p>To page-count correctly the print file.</p></li></ul></div><p>
    27092709You can read more about the setup of this combination in the man page for <code class="literal">cupsaddsmb</code> (which
    27102710is only present with CUPS installed, and only current from CUPS 1.1.16).
    2711 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647706"></a>The page_log File Syntax</h3></div></div></div><p>
    2712 <a class="indexterm" name="id2647714"></a>
     2711</p></div><div class="sect2" title="The page_log File Syntax"><div class="titlepage"><div><div><h3 class="title"><a name="id2653798"></a>The page_log File Syntax</h3></div></div></div><p>
     2712<a class="indexterm" name="id2653806"></a>
    27132713These are the items CUPS logs in the <code class="filename">page_log</code> for every page of a job:
    2714 </p><div class="itemizedlist"><ul type="disc"><li><p>Printer name</p></li><li><p>User name</p></li><li><p>Job ID</p></li><li><p>Time of printing</p></li><li><p>Page number</p></li><li><p>Number of copies</p></li><li><p>A billing information string (optional)</p></li><li><p>The host that sent the job (included since version 1.1.19)</p></li></ul></div><p>
     2714</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Printer name</p></li><li class="listitem"><p>User name</p></li><li class="listitem"><p>Job ID</p></li><li class="listitem"><p>Time of printing</p></li><li class="listitem"><p>Page number</p></li><li class="listitem"><p>Number of copies</p></li><li class="listitem"><p>A billing information string (optional)</p></li><li class="listitem"><p>The host that sent the job (included since version 1.1.19)</p></li></ul></div><p>
    27152715Here is an extract of my CUPS server's <code class="filename">page_log</code> file to illustrate the
    27162716format and included items:
     
    27282728from IP address <code class="constant">10.160.51.33</code>, printed from one page 440 copies, and
    27292729is set to be billed to <em class="parameter"><code>finance-dep</code></em>.
    2730 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647851"></a>Possible Shortcomings</h3></div></div></div><p>
     2730</p></div><div class="sect2" title="Possible Shortcomings"><div class="titlepage"><div><div><h3 class="title"><a name="id2653943"></a>Possible Shortcomings</h3></div></div></div><p>
    27312731What flaws or shortcomings are there with this quota system?
    2732 </p><div class="itemizedlist"><ul type="disc"><li><p>The ones named above (wrongly logged job in case of
    2733         printer hardware failure, and so on).</p></li><li><p>In reality, CUPS counts the job pages that are being
     2732</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>The ones named above (wrongly logged job in case of
     2733        printer hardware failure, and so on).</p></li><li class="listitem"><p>In reality, CUPS counts the job pages that are being
    27342734        processed in <span class="emphasis"><em>software</em></span> (that is, going through the
    27352735        RIP) rather than the physical sheets successfully leaving the
    27362736        printing device. Thus, if there is a jam while printing the fifth sheet out
    27372737        of 1,000 and the job is aborted by the printer, the page count will
    2738         still show the figure of 1,000 for that job.</p></li><li><p>All quotas are the same for all users (no flexibility
     2738        still show the figure of 1,000 for that job.</p></li><li class="listitem"><p>All quotas are the same for all users (no flexibility
    27392739        to give the boss a higher quota than the clerk) and no support for
    2740         groups.</p></li><li><p>No means to read out the current balance or the
    2741         &#8220;<span class="quote">used-up</span>&#8221; number of current quota.</p></li><li><p>A user having used up 99 sheets of a 100 quota will
    2742         still be able to send and print a 1,000 sheet job.</p></li><li><p>A user being denied a job because of a filled-up quota
     2740        groups.</p></li><li class="listitem"><p>No means to read out the current balance or the
     2741        <span class="quote">&#8220;<span class="quote">used-up</span>&#8221;</span> number of current quota.</p></li><li class="listitem"><p>A user having used up 99 sheets of a 100 quota will
     2742        still be able to send and print a 1,000 sheet job.</p></li><li class="listitem"><p>A user being denied a job because of a filled-up quota
    27432743        does not get a meaningful error message from CUPS other than
    2744         &#8220;<span class="quote">client-error-not-possible</span>&#8221;.</p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647917"></a>Future Developments</h3></div></div></div><p>
     2744        <span class="quote">&#8220;<span class="quote">client-error-not-possible</span>&#8221;</span>.</p></li></ul></div></div><div class="sect2" title="Future Developments"><div class="titlepage"><div><div><h3 class="title"><a name="id2654009"></a>Future Developments</h3></div></div></div><p>
    27452745This is the best system currently available, and there are huge
    27462746improvements under development for CUPS 1.2:
    2747 </p><div class="itemizedlist"><ul type="disc"><li><p>Page counting will go into the backends (these talk
     2747</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Page counting will go into the backends (these talk
    27482748        directly to the printer and will increase the count in sync with the
    27492749        actual printing process; thus, a jam at the fifth sheet will lead to a
    2750         stop in the counting).</p></li><li><p>Quotas will be handled more flexibly.</p></li><li><p>Probably there will be support for users to inquire
    2751         about their accounts in advance.</p></li><li><p>Probably there will be support for some other tools
    2752         around this topic.</p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647957"></a>Other Accounting Tools</h3></div></div></div><p>
     2750        stop in the counting).</p></li><li class="listitem"><p>Quotas will be handled more flexibly.</p></li><li class="listitem"><p>Probably there will be support for users to inquire
     2751        about their accounts in advance.</p></li><li class="listitem"><p>Probably there will be support for some other tools
     2752        around this topic.</p></li></ul></div></div><div class="sect2" title="Other Accounting Tools"><div class="titlepage"><div><div><h3 class="title"><a name="id2654049"></a>Other Accounting Tools</h3></div></div></div><p>
    27532753Other accounting tools that can be used includes: PrintAnalyzer, pyKota, printbill, LogReport.
    27542754For more information regarding these tools you can try a Google search.
    2755 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2647971"></a>Additional Material</h2></div></div></div><p>
     2755</p></div></div><div class="sect1" title="Additional Material"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2654063"></a>Additional Material</h2></div></div></div><p>
    27562756A printer queue with <span class="emphasis"><em>no</em></span> PPD associated to it is a
    2757 &#8220;<span class="quote">raw</span>&#8221; printer, and all files will go directly there as received by the
     2757<span class="quote">&#8220;<span class="quote">raw</span>&#8221;</span> printer, and all files will go directly there as received by the
    27582758spooler. The exceptions are file types <em class="parameter"><code>application/octet-stream</code></em>
    2759 that need the pass-through feature enabled. &#8220;<span class="quote">Raw</span>&#8221; queues do not do any
     2759that need the pass-through feature enabled. <span class="quote">&#8220;<span class="quote">Raw</span>&#8221;</span> queues do not do any
    27602760filtering at all; they hand the file directly to the CUPS backend.
    27612761This backend is responsible for sending the data to the device
    2762 (as in the &#8220;<span class="quote">device URI</span>&#8221; notation: <code class="filename">lpd://, socket://,
     2762(as in the <span class="quote">&#8220;<span class="quote">device URI</span>&#8221;</span> notation: <code class="filename">lpd://, socket://,
    27632763smb://, ipp://, http://, parallel:/, serial:/, usb:/</code>, and so on).
    27642764</p><p>
     
    27972797This would prevent all PostScript files from being filtered (rather,
    27982798they will through the virtual <span class="emphasis"><em>nullfilter</em></span>
    2799 denoted with &#8220;<span class="quote">-</span>&#8221;). This could only be useful for PostScript printers. If you
     2799denoted with <span class="quote">&#8220;<span class="quote">-</span>&#8221;</span>). This could only be useful for PostScript printers. If you
    28002800want to print PostScript code on non-PostScript printers (provided they support ASCII
    28012801text printing), an entry as follows could be useful:
     
    28322832to load the proper paper type before running the 10,000 page job
    28332833requested by marketing for the mailing, and so on).
    2834 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2648188"></a>Autodeletion or Preservation of CUPS Spool Files</h2></div></div></div><p>
    2835 <a class="indexterm" name="id2648196"></a>
    2836 <a class="indexterm" name="id2648203"></a>
    2837 <a class="indexterm" name="id2648210"></a>
     2834</p></div><div class="sect1" title="Autodeletion or Preservation of CUPS Spool Files"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2654280"></a>Autodeletion or Preservation of CUPS Spool Files</h2></div></div></div><p>
     2835<a class="indexterm" name="id2654289"></a>
     2836<a class="indexterm" name="id2654296"></a>
     2837<a class="indexterm" name="id2654303"></a>
    28382838Samba print files pass through two spool directories. One is the incoming directory managed by Samba (set in
    28392839the <a class="link" href="smb.conf.5.html#PATH" target="_top">path = /var/spool/samba</a> directive in the <em class="parameter"><code>[printers]</code></em> section of <code class="filename">smb.conf</code>). The other is the spool directory of your UNIX print subsystem. For
    28402840CUPS it is normally <code class="filename">/var/spool/cups/</code>, as set by the <code class="filename">cupsd.conf</code>
    28412841directive <code class="filename">RequestRoot /var/spool/cups</code>.
    2842 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2648264"></a>CUPS Configuration Settings Explained</h3></div></div></div><p>
     2842</p><div class="sect2" title="CUPS Configuration Settings Explained"><div class="titlepage"><div><div><h3 class="title"><a name="id2654356"></a>CUPS Configuration Settings Explained</h3></div></div></div><p>
    28432843Some important parameter settings in the CUPS configuration file
    28442844<code class="filename">cupsd.conf</code> are:
     
    28472847        c12345, c12346, and so on, files in the CUPS spool directory, which does a
    28482848        similar job as the old-fashioned BSD-LPD control files). This is set
    2849         to &#8220;<span class="quote">Yes</span>&#8221; as a default.
     2849        to <span class="quote">&#8220;<span class="quote">Yes</span>&#8221;</span> as a default.
    28502850        </p></dd><dt><span class="term">PreserveJobFiles Yes</span></dt><dd><p>
    28512851        This keeps the job files themselves in cupsd's mind
    28522852        (it keeps the d12345, d12346, etc., files in the CUPS spool
    2853         directory). This is set to &#8220;<span class="quote">No</span>&#8221; as the CUPS
     2853        directory). This is set to <span class="quote">&#8220;<span class="quote">No</span>&#8221;</span> as the CUPS
    28542854        default.
    2855         </p></dd><dt><span class="term">&#8220;<span class="quote">MaxJobs 500</span>&#8221;</span></dt><dd><p>
     2855        </p></dd><dt><span class="term"><span class="quote">&#8220;<span class="quote">MaxJobs 500</span>&#8221;</span></span></dt><dd><p>
    28562856        This directive controls the maximum number of jobs
    28572857        that are kept in memory. Once the number of jobs reaches the limit,
     
    28642864(There are also additional settings for <em class="parameter"><code>MaxJobsPerUser</code></em> and
    28652865<em class="parameter"><code>MaxJobsPerPrinter</code></em>.)
    2866 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2648349"></a>Preconditions</h3></div></div></div><p>
     2866</p></div><div class="sect2" title="Preconditions"><div class="titlepage"><div><div><h3 class="title"><a name="id2654441"></a>Preconditions</h3></div></div></div><p>
    28672867For everything to work as it should, you need to have three things:
    2868 </p><div class="itemizedlist"><ul type="disc"><li><p>A Samba smbd that is compiled against <code class="filename">libcups</code> (check
    2869         on Linux by running <strong class="userinput"><code>ldd `which smbd'</code></strong>).</p></li><li><p>A Samba-<code class="filename">smb.conf</code> setting of
    2870                         <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = cups</a>.</p></li><li><p>Another Samba <code class="filename">smb.conf</code> setting of
    2871                         <a class="link" href="smb.conf.5.html#PRINTCAP" target="_top">printcap = cups</a>.</p></li></ul></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     2868</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>A Samba smbd that is compiled against <code class="filename">libcups</code> (check
     2869        on Linux by running <strong class="userinput"><code>ldd `which smbd'</code></strong>).</p></li><li class="listitem"><p>A Samba-<code class="filename">smb.conf</code> setting of
     2870                        <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = cups</a>.</p></li><li class="listitem"><p>Another Samba <code class="filename">smb.conf</code> setting of
     2871                        <a class="link" href="smb.conf.5.html#PRINTCAP" target="_top">printcap = cups</a>.</p></li></ul></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    28722872In this case, all other manually set printing-related commands (like
    28732873<a class="link" href="smb.conf.5.html#PRINTCOMMAND" target="_top">print command</a>,
     
    28772877<a class="link" href="smb.conf.5.html#LPRESUMECOMMAND" target="_top">lpresume command</a>) are ignored, and they should normally have no
    28782878influence whatsoever on your printing.
    2879 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2648488"></a>Manual Configuration</h3></div></div></div><p>
     2879</p></div></div><div class="sect2" title="Manual Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="id2654580"></a>Manual Configuration</h3></div></div></div><p>
    28802880If you want to do things manually, replace the <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = cups</a>
    28812881by <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = bsd</a>. Then your manually set commands may work
    28822882(I haven't tested this), and a <a class="link" href="smb.conf.5.html#PRINTCOMMAND" target="_top">print command = lp -d %P %s; rm %s</a>
    28832883may do what you need.
    2884 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2648535"></a>Printing from CUPS to Windows-Attached Printers</h2></div></div></div><p>
    2885 <a class="indexterm" name="id2648544"></a>
    2886 <a class="indexterm" name="id2648550"></a>
     2884</p></div></div><div class="sect1" title="Printing from CUPS to Windows-Attached Printers"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2654628"></a>Printing from CUPS to Windows-Attached Printers</h2></div></div></div><p>
     2885<a class="indexterm" name="id2654636"></a>
     2886<a class="indexterm" name="id2654642"></a>
    28872887From time to time the question arises, how can you print <span class="emphasis"><em>to</em></span> a Windows-attached printer
    28882888<span class="emphasis"><em>from</em></span> Samba? Normally the local connection from Windows host to printer would be done by
     
    29192919<code class="prompt">root# </code><strong class="userinput"><code>ln -s `which smbspool` /usr/lib/cups/backend/smb</code></strong>
    29202920</pre><p>
    2921 <a class="indexterm" name="id2648680"></a>
    2922 <a class="indexterm" name="id2648687"></a>
     2921<a class="indexterm" name="id2654773"></a>
     2922<a class="indexterm" name="id2654779"></a>
    29232923<code class="literal">smbspool</code> was written by Mike Sweet from the CUPS folks. It is included and ships with
    29242924Samba. It may also be used with print subsystems other than CUPS, to spool jobs to Windows printer shares. To
     
    29352935  -P /path/to/PPD</code></strong>
    29362936</pre><p>
    2937 <a class="indexterm" name="id2648747"></a>
    2938 <a class="indexterm" name="id2648754"></a>
    2939 <a class="indexterm" name="id2648761"></a>
     2937<a class="indexterm" name="id2654840"></a>
     2938<a class="indexterm" name="id2654847"></a>
     2939<a class="indexterm" name="id2654853"></a>
    29402940The PPD must be able to direct CUPS to generate the print data for the target model. For PostScript printers,
    29412941just use the PPD that would be used with the Windows NT PostScript driver. But what can you do if the printer
    29422942is only accessible with a password? Or if the printer's host is part of another workgroup? This is provided
    29432943for: You can include the required parameters as part of the <code class="filename">smb://</code> device-URI like this:
    2944 </p><div class="itemizedlist"><ul type="disc"><li><p><code class="filename">smb://WORKGROUP/WINDOWSNETBIOSNAME/printersharename</code></p></li><li><p><code class="filename">smb://username:password@WORKGROUP/WINDOWSNETBIOSNAME/printersharename</code></p></li><li><p><code class="filename">smb://username:password@WINDOWSNETBIOSNAME/printersharename</code></p></li></ul></div><p>
     2944</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><code class="filename">smb://WORKGROUP/WINDOWSNETBIOSNAME/printersharename</code></p></li><li class="listitem"><p><code class="filename">smb://username:password@WORKGROUP/WINDOWSNETBIOSNAME/printersharename</code></p></li><li class="listitem"><p><code class="filename">smb://username:password@WINDOWSNETBIOSNAME/printersharename</code></p></li></ul></div><p>
    29452945Note that the device URI will be visible in the process list of the Samba server (e.g., when someone uses the
    29462946<code class="literal">ps -aux</code> command on Linux), even if the username and passwords are sanitized before they get
     
    29502950feature of CUPS and you do not necessarily need to have smbd running.
    29512951
    2952 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2648832"></a>More CUPS Filtering Chains</h2></div></div></div><p>
     2952</p></div><div class="sect1" title="More CUPS Filtering Chains"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2654924"></a>More CUPS Filtering Chains</h2></div></div></div><p>
    29532953The diagrams in <a class="link" href="CUPS-printing.html#cups1" title="Figure 22.17. Filtering Chain 1.">Filtering Chain 1</a> and <a class="link" href="CUPS-printing.html#cups2" title="Figure 22.18. Filtering Chain with cupsomatic">Filtering Chain with
    29542954cupsomatic</a> show how CUPS handles print jobs.
    2955 </p><div class="figure"><a name="cups1"></a><p class="title"><b>Figure 22.17. Filtering Chain 1.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/cups1.png" alt="Filtering Chain 1."></div></div></div><br class="figure-break"><div class="figure"><a name="cups2"></a><p class="title"><b>Figure 22.18. Filtering Chain with cupsomatic</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/cups2.png" width="243" alt="Filtering Chain with cupsomatic"></div></div></div><br class="figure-break"></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2648943"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2648949"></a>Windows 9x/Me Client Can't Install Driver</h3></div></div></div><p>For Windows 9x/Me, clients require the printer names to be eight
    2956         characters (or &#8220;<span class="quote">8 plus 3 chars suffix</span>&#8221;) max; otherwise, the driver files
    2957         will not get transferred when you want to download them from Samba.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="root-ask-loop"></a>&#8220;<span class="quote">cupsaddsmb</span>&#8221; Keeps Asking for Root Password in Never-ending Loop</h3></div></div></div><p>Have you set <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = user</a>? Have
     2955</p><div class="figure"><a name="cups1"></a><p class="title"><b>Figure 22.17. Filtering Chain 1.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/cups1.png" alt="Filtering Chain 1."></div></div></div><br class="figure-break"><div class="figure"><a name="cups2"></a><p class="title"><b>Figure 22.18. Filtering Chain with cupsomatic</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/cups2.png" width="243" alt="Filtering Chain with cupsomatic"></div></div></div><br class="figure-break"></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2655035"></a>Common Errors</h2></div></div></div><div class="sect2" title="Windows 9x/Me Client Can't Install Driver"><div class="titlepage"><div><div><h3 class="title"><a name="id2655041"></a>Windows 9x/Me Client Can't Install Driver</h3></div></div></div><p>For Windows 9x/Me, clients require the printer names to be eight
     2956        characters (or <span class="quote">&#8220;<span class="quote">8 plus 3 chars suffix</span>&#8221;</span>) max; otherwise, the driver files
     2957        will not get transferred when you want to download them from Samba.</p></div><div class="sect2" title="&#8220;cupsaddsmb&#8221; Keeps Asking for Root Password in Never-ending Loop"><div class="titlepage"><div><div><h3 class="title"><a name="root-ask-loop"></a><span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span> Keeps Asking for Root Password in Never-ending Loop</h3></div></div></div><p>Have you set <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = user</a>? Have
    29582958        you used <code class="literal">smbpasswd</code> to give root a Samba account?
    29592959        You can do two things: open another terminal and execute
     
    29622962        out of the loop by pressing Enter twice (without trying to type a
    29632963        password).</p><p>
    2964         If the error is &#8220;<span class="quote">Tree connect failed: NT_STATUS_BAD_NETWORK_NAME</span>&#8221;,
     2964        If the error is <span class="quote">&#8220;<span class="quote">Tree connect failed: NT_STATUS_BAD_NETWORK_NAME</span>&#8221;</span>,
    29652965        you may have forgotten to create the <code class="filename">/etc/samba/drivers</code> directory.
    2966         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2649025"></a>&#8220;<span class="quote">cupsaddsmb</span>&#8221; or &#8220;<span class="quote">rpcclient addriver</span>&#8221; Emit Error</h3></div></div></div><p>
     2966        </p></div><div class="sect2" title="&#8220;cupsaddsmb&#8221; or &#8220;rpcclient addriver&#8221; Emit Error"><div class="titlepage"><div><div><h3 class="title"><a name="id2655118"></a><span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span> or <span class="quote">&#8220;<span class="quote">rpcclient addriver</span>&#8221;</span> Emit Error</h3></div></div></div><p>
    29672967        If <code class="literal">cupsaddsmb</code>, or <code class="literal">rpcclient addriver</code> emit the error message
    2968         WERR_BAD_PASSWORD, refer to <a class="link" href="CUPS-printing.html#root-ask-loop" title="cupsaddsmb Keeps Asking for Root Password in Never-ending Loop">the previous common error</a>.
    2969         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2649063"></a>&#8220;<span class="quote">cupsaddsmb</span>&#8221; Errors</h3></div></div></div><p>
    2970         The use of &#8220;<span class="quote">cupsaddsmb</span>&#8221; gives &#8220;<span class="quote">No PPD file for printer...</span>&#8221;
     2968        WERR_BAD_PASSWORD, refer to <a class="link" href="CUPS-printing.html#root-ask-loop" title="&#8220;cupsaddsmb&#8221; Keeps Asking for Root Password in Never-ending Loop">the previous common error</a>.
     2969        </p></div><div class="sect2" title="&#8220;cupsaddsmb&#8221; Errors"><div class="titlepage"><div><div><h3 class="title"><a name="id2655156"></a><span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span> Errors</h3></div></div></div><p>
     2970        The use of <span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span> gives <span class="quote">&#8220;<span class="quote">No PPD file for printer...</span>&#8221;</span>
    29712971        message while PPD file is present.  What might the problem be?
    29722972        </p><p>
    29732973        Have you enabled printer sharing on CUPS? This means, do you have a <code class="literal">&lt;Location
    29742974        /printers&gt;....&lt;/Location&gt;</code> section in CUPS server's <code class="filename">cupsd.conf</code> that
    2975         does not deny access to the host you run &#8220;<span class="quote">cupsaddsmb</span>&#8221; from?  It <span class="emphasis"><em>could</em></span> be an
     2975        does not deny access to the host you run <span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span> from?  It <span class="emphasis"><em>could</em></span> be an
    29762976        issue if you use cupsaddsmb remotely, or if you use it with a <code class="option">-h</code> parameter:
    29772977        <strong class="userinput"><code>cupsaddsmb -H sambaserver -h cupsserver -v printername</code></strong>.
    29782978        </p><p>Is your <em class="parameter"><code>TempDir</code></em> directive in
    29792979        <code class="filename">cupsd.conf</code> set to a valid value, and is it writable?
    2980         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2649137"></a>Client Can't Connect to Samba Printer</h3></div></div></div><p>Use <code class="literal">smbstatus</code> to check which user
     2980        </p></div><div class="sect2" title="Client Can't Connect to Samba Printer"><div class="titlepage"><div><div><h3 class="title"><a name="id2655230"></a>Client Can't Connect to Samba Printer</h3></div></div></div><p>Use <code class="literal">smbstatus</code> to check which user
    29812981        you are from Samba's point of view. Do you have the privileges to
    29822982        write into the <em class="parameter"><code>[print$]</code></em>
    2983         share?</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2649162"></a>New Account Reconnection from Windows 200x/XP Troubles</h3></div></div></div><p>
     2983        share?</p></div><div class="sect2" title="New Account Reconnection from Windows 200x/XP Troubles"><div class="titlepage"><div><div><h3 class="title"><a name="id2655254"></a>New Account Reconnection from Windows 200x/XP Troubles</h3></div></div></div><p>
    29842984Once you are connected as the wrong user (for example, as <code class="constant">nobody</code>, which often occurs if
    29852985you have <a class="link" href="smb.conf.5.html#MAPTOGUEST" target="_top">map to guest = bad user</a>), Windows Explorer will not accept an
     
    29892989you get the dreaded <code class="computeroutput">You can't connect with a second account from the same
    29902990machine</code> message as soon as you try. And you do not see a single byte arriving at Samba (see
    2991 logs; use &#8220;<span class="quote">ethereal</span>&#8221;) indicating a renewed connection attempt. Shut all Explorer Windows.  This
     2991logs; use <span class="quote">&#8220;<span class="quote">ethereal</span>&#8221;</span>) indicating a renewed connection attempt. Shut all Explorer Windows.  This
    29922992makes Windows forget what it has cached in its memory as established connections. Then reconnect as the right
    29932993user. The best method is to use a DOS terminal window and <span class="emphasis"><em>first</em></span> do <strong class="userinput"><code>net use z:
     
    29962996the <span class="guilabel">Network Neighborhood</span>), right-click on the printer in question, and select
    29972997<span class="guibutton">Connect....</span>.
    2998 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2649253"></a>Avoid Being Connected to the Samba Server as the Wrong User</h3></div></div></div><p>
    2999 <a class="indexterm" name="id2649262"></a>
     2998</p></div><div class="sect2" title="Avoid Being Connected to the Samba Server as the Wrong User"><div class="titlepage"><div><div><h3 class="title"><a name="id2655345"></a>Avoid Being Connected to the Samba Server as the Wrong User</h3></div></div></div><p>
     2999<a class="indexterm" name="id2655354"></a>
    30003000You see per <code class="literal">smbstatus</code> that you are connected as user nobody, but you want to be root or
    30013001printer admin. This is probably due to <a class="link" href="smb.conf.5.html#MAPTOGUEST" target="_top">map to guest = bad user</a>, which
    30023002silently connected you under the guest account when you gave (maybe by accident) an incorrect username. Remove
    30033003<a class="link" href="smb.conf.5.html#MAPTOGUEST" target="_top">map to guest</a> if you want to prevent this.
    3004 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2649304"></a>Upgrading to CUPS Drivers from Adobe Drivers</h3></div></div></div><p>
     3004</p></div><div class="sect2" title="Upgrading to CUPS Drivers from Adobe Drivers"><div class="titlepage"><div><div><h3 class="title"><a name="id2655397"></a>Upgrading to CUPS Drivers from Adobe Drivers</h3></div></div></div><p>
    30053005This information came from a mailing list posting regarding problems experienced when
    30063006upgrading from Adobe drivers to CUPS drivers on Microsoft Windows NT/200x/XP clients.
    30073007</p><p>First delete all old Adobe-using printers. Then delete all old Adobe drivers. (On Windows 200x/XP, right-click in
    30083008the background of <span class="guilabel">Printers</span> folder, select <span class="guimenuitem">Server Properties...</span>, select
    3009 tab <span class="guilabel">Drivers</span>, and delete here).</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2649342"></a>Can't Use &#8220;<span class="quote">cupsaddsmb</span>&#8221; on Samba Server, Which Is a PDC</h3></div></div></div><p>Do you use the &#8220;<span class="quote">naked</span>&#8221; root user name? Try to do it
     3009tab <span class="guilabel">Drivers</span>, and delete here).</p></div><div class="sect2" title="Can't Use &#8220;cupsaddsmb&#8221; on Samba Server, Which Is a PDC"><div class="titlepage"><div><div><h3 class="title"><a name="id2655434"></a>Can't Use <span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span> on Samba Server, Which Is a PDC</h3></div></div></div><p>Do you use the <span class="quote">&#8220;<span class="quote">naked</span>&#8221;</span> root user name? Try to do it
    30103010this way: <strong class="userinput"><code>cupsaddsmb -U <em class="replaceable"><code>DOMAINNAME</code></em>\\root -v
    30113011<em class="replaceable"><code>printername</code></em></code></strong>&gt; (note the two backslashes: the first one is
    3012 required to &#8220;<span class="quote">escape</span>&#8221; the second one).</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2649378"></a>Deleted Windows 200x Printer Driver Is Still Shown</h3></div></div></div><p>Deleting a printer on the client will not delete the
     3012required to <span class="quote">&#8220;<span class="quote">escape</span>&#8221;</span> the second one).</p></div><div class="sect2" title="Deleted Windows 200x Printer Driver Is Still Shown"><div class="titlepage"><div><div><h3 class="title"><a name="id2655470"></a>Deleted Windows 200x Printer Driver Is Still Shown</h3></div></div></div><p>Deleting a printer on the client will not delete the
    30133013driver too (to verify, right-click on the white background of the
    30143014<span class="guilabel">Printers</span> folder, select <span class="guimenuitem">Server Properties</span> and click on the
     
    30163016install a printer with the same name. If you want to update to a new
    30173017driver, delete the old ones first. Deletion is only possible if no
    3018 other printer uses the same driver.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2649412"></a>Windows 200x/XP Local Security Policies</h3></div></div></div><a class="indexterm" name="id2649418"></a><a class="indexterm" name="id2649426"></a><p>Local security policies may not allow the installation of unsigned drivers  &#8220;<span class="quote">local
    3019 security policies</span>&#8221; may not allow the installation of printer drivers at all.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2649445"></a>Administrator Cannot Install Printers for All Local Users</h3></div></div></div><p>
    3020 <a class="indexterm" name="id2649454"></a>
    3021 <a class="indexterm" name="id2649461"></a>
    3022 Windows XP handles SMB printers on a &#8220;<span class="quote">per-user</span>&#8221; basis.
     3018other printer uses the same driver.</p></div><div class="sect2" title="Windows 200x/XP Local Security Policies"><div class="titlepage"><div><div><h3 class="title"><a name="id2655505"></a>Windows 200x/XP Local Security Policies</h3></div></div></div><a class="indexterm" name="id2655511"></a><a class="indexterm" name="id2655518"></a><p>Local security policies may not allow the installation of unsigned drivers  <span class="quote">&#8220;<span class="quote">local
     3019security policies</span>&#8221;</span> may not allow the installation of printer drivers at all.</p></div><div class="sect2" title="Administrator Cannot Install Printers for All Local Users"><div class="titlepage"><div><div><h3 class="title"><a name="id2655538"></a>Administrator Cannot Install Printers for All Local Users</h3></div></div></div><p>
     3020<a class="indexterm" name="id2655546"></a>
     3021<a class="indexterm" name="id2655553"></a>
     3022Windows XP handles SMB printers on a <span class="quote">&#8220;<span class="quote">per-user</span>&#8221;</span> basis.
    30233023This means every user needs to install the printer himself or herself. To have a printer available for
    30243024everybody, you might want to use the built-in IPP client capabilities of Win XP. Add a printer with the print
    30253025path of <em class="parameter"><code>http://cupsserver:631/printers/printername</code></em>.  We're still looking into this one.
    30263026Maybe a logon script could automatically install printers for all users.
    3027 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2649486"></a>Print Change, Notify Functions on NT Clients</h3></div></div></div><p>For print change, notify functions on NT++ clients.  These need to run the <code class="literal">Server</code>
    3028 service first (renamed to <code class="literal">File &amp; Print Sharing for MS Networks</code> in XP).</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2649512"></a>Windows XP SP1</h3></div></div></div><p>Windows XP SP1 introduced a Point and Print Restriction Policy (this restriction does not apply to
    3029 &#8220;<span class="quote">Administrator</span>&#8221; or &#8220;<span class="quote">Power User</span>&#8221; groups of users). In Group Policy Object Editor, go
     3027</p></div><div class="sect2" title="Print Change, Notify Functions on NT Clients"><div class="titlepage"><div><div><h3 class="title"><a name="id2655579"></a>Print Change, Notify Functions on NT Clients</h3></div></div></div><p>For print change, notify functions on NT++ clients.  These need to run the <code class="literal">Server</code>
     3028service first (renamed to <code class="literal">File &amp; Print Sharing for MS Networks</code> in XP).</p></div><div class="sect2" title="Windows XP SP1"><div class="titlepage"><div><div><h3 class="title"><a name="id2655604"></a>Windows XP SP1</h3></div></div></div><p>Windows XP SP1 introduced a Point and Print Restriction Policy (this restriction does not apply to
     3029<span class="quote">&#8220;<span class="quote">Administrator</span>&#8221;</span> or <span class="quote">&#8220;<span class="quote">Power User</span>&#8221;</span> groups of users). In Group Policy Object Editor, go
    30303030to <span class="guimenu">User Configuration -&gt; Administrative Templates -&gt; Control Panel -&gt; Printers</span>. The policy
    30313031is automatically set to <code class="constant">Enabled</code> and the <code class="constant">Users can only Point and Print to
     
    30333033<code class="constant">Users can only Point and Print to these servers</code> to make driver downloads from Samba
    30343034possible.
    3035 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2649558"></a>Print Options for All Users Can't Be Set on Windows 200x/XP</h3></div></div></div><p>How are you doing it? I bet the wrong way (it is not easy to find out, though). There are three
     3035</p></div><div class="sect2" title="Print Options for All Users Can't Be Set on Windows 200x/XP"><div class="titlepage"><div><div><h3 class="title"><a name="id2655651"></a>Print Options for All Users Can't Be Set on Windows 200x/XP</h3></div></div></div><p>How are you doing it? I bet the wrong way (it is not easy to find out, though). There are three
    30363036different ways to bring you to a dialog that <span class="emphasis"><em>seems</em></span> to set everything. All three dialogs
    30373037<span class="emphasis"><em>look</em></span> the same, yet only one of them does what you intend. You need to be Administrator or
    30383038Print Administrator to do this for all users. Here is how I do it on XP:
    3039 </p><div class="orderedlist"><ol type="A"><li><p>The first wrong way:
     3039</p><div class="orderedlist"><ol class="orderedlist" type="A"><li class="listitem"><p>The first wrong way:
    30403040
    3041                 </p><div class="orderedlist"><ol type="I"><li><p>Open the <span class="guilabel">Printers</span>
    3042                 folder.</p></li><li><p>Right-click on the printer
     3041                </p><div class="orderedlist"><ol class="orderedlist" type="I"><li class="listitem"><p>Open the <span class="guilabel">Printers</span>
     3042                folder.</p></li><li class="listitem"><p>Right-click on the printer
    30433043                (<span class="guilabel">remoteprinter on cupshost</span>) and
    30443044                select in context menu <span class="guimenuitem">Printing
    3045                 Preferences...</span></p></li><li><p>Look at this dialog closely and remember what it looks like.</p></li></ol></div><p>
    3046         </p></li><li><p>The second wrong way:
    3047         </p><div class="orderedlist"><ol type="I"><li><p>Open the <span class="guilabel">Printers</span> folder.</p></li><li><p>Right-click on the printer (<span class="guilabel">remoteprinter on
     3045                Preferences...</span></p></li><li class="listitem"><p>Look at this dialog closely and remember what it looks like.</p></li></ol></div><p>
     3046        </p></li><li class="listitem"><p>The second wrong way:
     3047        </p><div class="orderedlist"><ol class="orderedlist" type="I"><li class="listitem"><p>Open the <span class="guilabel">Printers</span> folder.</p></li><li class="listitem"><p>Right-click on the printer (<span class="guilabel">remoteprinter on
    30483048                cupshost</span>) and select the context menu
    3049                 <span class="guimenuitem">Properties</span>.</p></li><li><p>Click on the <span class="guilabel">General</span> tab.</p></li><li><p>Click on the button <span class="guibutton">Printing
    3050                 Preferences...</span></p></li><li><p>A new dialog opens. Keep this dialog open and go back
     3049                <span class="guimenuitem">Properties</span>.</p></li><li class="listitem"><p>Click on the <span class="guilabel">General</span> tab.</p></li><li class="listitem"><p>Click on the button <span class="guibutton">Printing
     3050                Preferences...</span></p></li><li class="listitem"><p>A new dialog opens. Keep this dialog open and go back
    30513051                to the parent dialog.</p></li></ol></div><p>
    3052         </p></li><li><p>The third and correct way:
    3053         </p><div class="orderedlist"><ol type="I"><li><p>Open the <span class="guilabel">Printers</span> folder.</p></li><li><p>Right-click on the printer (<span class="guilabel">remoteprinter on
     3052        </p></li><li class="listitem"><p>The third and correct way:
     3053        </p><div class="orderedlist"><ol class="orderedlist" type="I"><li class="listitem"><p>Open the <span class="guilabel">Printers</span> folder.</p></li><li class="listitem"><p>Right-click on the printer (<span class="guilabel">remoteprinter on
    30543054                cupshost</span>) and select the context menu
    3055                 <span class="guimenuitem">Properties</span>.</p></li><li><p>Click on the <span class="guilabel">Advanced</span>
    3056                 tab. (If everything is &#8220;<span class="quote">grayed out,</span>&#8221; then you are not logged
    3057                 in as a user with enough privileges).</p></li><li><p>Click on the <span class="guibutton">Printing
    3058                 Defaults...</span> button.</p></li><li><p>On any of the two new tabs, click on the
    3059                 <span class="guibutton">Advanced...</span> button.</p></li><li><p>A new dialog opens. Compare this one to the other
    3060                 identical-looking one from step &#8220;<span class="quote">B.5</span>&#8221; or A.3".</p></li></ol></div><p>
     3055                <span class="guimenuitem">Properties</span>.</p></li><li class="listitem"><p>Click on the <span class="guilabel">Advanced</span>
     3056                tab. (If everything is <span class="quote">&#8220;<span class="quote">grayed out,</span>&#8221;</span> then you are not logged
     3057                in as a user with enough privileges).</p></li><li class="listitem"><p>Click on the <span class="guibutton">Printing
     3058                Defaults...</span> button.</p></li><li class="listitem"><p>On any of the two new tabs, click on the
     3059                <span class="guibutton">Advanced...</span> button.</p></li><li class="listitem"><p>A new dialog opens. Compare this one to the other
     3060                identical-looking one from step <span class="quote">&#8220;<span class="quote">B.5</span>&#8221;</span> or A.3".</p></li></ol></div><p>
    30613061        </p></li></ol></div><p>
    30623062Do you see any difference? I don't either. However, only the last one, which you arrived at with steps
    3063 &#8220;<span class="quote">C.1. to C.6.</span>&#8221;, will save any settings permanently and be the defaults for new users. If you want
     3063<span class="quote">&#8220;<span class="quote">C.1. to C.6.</span>&#8221;</span>, will save any settings permanently and be the defaults for new users. If you want
    30643064all clients to get the same defaults, you need to conduct these steps <span class="emphasis"><em>as Administrator</em></span>
    30653065(<a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a> in <code class="filename">smb.conf</code>) <span class="emphasis"><em>before</em></span> a client downloads the
    30663066driver (the clients can later set their own <span class="emphasis"><em>per-user defaults</em></span> by following the procedures
    30673067<span class="emphasis"><em>A</em></span> or <span class="emphasis"><em>B</em></span>).
    3068 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2649842"></a>Most Common Blunders in Driver Settings on Windows Clients</h3></div></div></div><p>
     3068</p></div><div class="sect2" title="Most Common Blunders in Driver Settings on Windows Clients"><div class="titlepage"><div><div><h3 class="title"><a name="id2655934"></a>Most Common Blunders in Driver Settings on Windows Clients</h3></div></div></div><p>
    30693069Don't use <em class="parameter"><code>Optimize for Speed</code></em>, but use <em class="parameter"><code>Optimize for Portability</code></em>
    30703070instead (Adobe PS Driver). Don't use <em class="parameter"><code>Page Independence: No</code></em>. Always settle with
     
    30733073Driver). For <span class="guilabel">TrueType Download Options</span> choose <code class="constant">Outline</code>. Use
    30743074PostScript Level 2 if you are having trouble with a non-PS printer and if there is a choice.
    3075 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2649897"></a><code class="literal">cupsaddsmb</code> Does Not Work with Newly Installed Printer</h3></div></div></div><p>
     3075</p></div><div class="sect2" title="cupsaddsmb Does Not Work with Newly Installed Printer"><div class="titlepage"><div><div><h3 class="title"><a name="id2655990"></a><code class="literal">cupsaddsmb</code> Does Not Work with Newly Installed Printer</h3></div></div></div><p>
    30763076Symptom: The last command of <code class="literal">cupsaddsmb</code> does not complete successfully. If the <code class="literal">cmd
    30773077= setdriver printername printername</code> result was NT_STATUS_UNSUCCESSFUL, then possibly the printer was
     
    30793079hostname -c `enumprinters'</code>? Restart smbd (or send a <code class="literal">kill -HUP</code> to all processes
    30803080listed by <code class="literal">smbstatus</code>, and try again.
    3081 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2649947"></a>Permissions on <code class="filename">/var/spool/samba/</code> Get Reset After Each Reboot</h3></div></div></div><p>
     3081</p></div><div class="sect2" title="Permissions on /var/spool/samba/ Get Reset After Each Reboot"><div class="titlepage"><div><div><h3 class="title"><a name="id2656039"></a>Permissions on <code class="filename">/var/spool/samba/</code> Get Reset After Each Reboot</h3></div></div></div><p>
    30823082Have you ever by accident set the CUPS spool directory to the same location (<em class="parameter"><code>RequestRoot
    30833083/var/spool/samba/</code></em> in <code class="filename">cupsd.conf</code> or the other way round:
     
    30863086/var/spool/samba</a> in the <em class="parameter"><code>[printers]</code></em> section of <code class="filename">smb.conf</code>. Otherwise,
    30873087cupsd will sanitize permissions to its spool directory with each restart and printing will not work reliably.
    3088 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2650045"></a>Print Queue Called &#8220;<span class="quote">lp</span>&#8221; Mishandles Print Jobs</h3></div></div></div><p>
    3089 In this case a print queue called &#8220;<span class="quote">lp</span>&#8221; intermittently swallows jobs and
     3088</p></div><div class="sect2" title="Print Queue Called &#8220;lp&#8221; Mishandles Print Jobs"><div class="titlepage"><div><div><h3 class="title"><a name="id2656138"></a>Print Queue Called <span class="quote">&#8220;<span class="quote">lp</span>&#8221;</span> Mishandles Print Jobs</h3></div></div></div><p>
     3089In this case a print queue called <span class="quote">&#8220;<span class="quote">lp</span>&#8221;</span> intermittently swallows jobs and
    30903090spits out completely different ones from what was sent.
    30913091</p><p>
    3092 <a class="indexterm" name="id2650065"></a>
    3093 <a class="indexterm" name="id2650072"></a>
    3094 <a class="indexterm" name="id2650079"></a>
    3095 It is a bad idea to name any printer &#8220;<span class="quote">lp</span>&#8221;. This is the traditional UNIX name for the default
     3092<a class="indexterm" name="id2656158"></a>
     3093<a class="indexterm" name="id2656164"></a>
     3094<a class="indexterm" name="id2656171"></a>
     3095It is a bad idea to name any printer <span class="quote">&#8220;<span class="quote">lp</span>&#8221;</span>. This is the traditional UNIX name for the default
    30963096printer. CUPS may be set up to do an automatic creation of Implicit Classes. This means, to group all printers
    30973097with the same name to a pool of devices and load-balance the jobs across them in a round-robin fashion.
    3098 Chances are high that someone else has a printer named &#8220;<span class="quote">lp</span>&#8221; too. You may receive that person's
     3098Chances are high that someone else has a printer named <span class="quote">&#8220;<span class="quote">lp</span>&#8221;</span> too. You may receive that person's
    30993099jobs and send your own to his or her device unwittingly. To have tight control over the printer names, set
    31003100<em class="parameter"><code>BrowseShortNames No</code></em>. It will present any printer as
    31013101<em class="replaceable"><code>printername@cupshost</code></em>, which gives you better control over what may happen in a
    31023102large networked environment.
    3103 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2650114"></a>Location of Adobe PostScript Driver Files for &#8220;<span class="quote">cupsaddsmb</span>&#8221;</h3></div></div></div><p>
     3103</p></div><div class="sect2" title="Location of Adobe PostScript Driver Files for &#8220;cupsaddsmb&#8221;"><div class="titlepage"><div><div><h3 class="title"><a name="id2656207"></a>Location of Adobe PostScript Driver Files for <span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span></h3></div></div></div><p>
    31043104Use <code class="literal">smbclient</code> to connect to any Windows box with a shared PostScript printer:
    31053105<code class="literal">smbclient //windowsbox/print\$ -U guest</code>. You can navigate to the
     
    31073107<code class="filename">WIN40/0</code> to do the same.  Another option is to download the <code class="filename">*.exe</code>
    31083108packaged files from the Adobe Web site.
    3109 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2650168"></a>Overview of the CUPS Printing Processes</h2></div></div></div><p>
     3109</p></div></div><div class="sect1" title="Overview of the CUPS Printing Processes"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2656260"></a>Overview of the CUPS Printing Processes</h2></div></div></div><p>
    31103110A complete overview of the CUPS printing processes can be found in <a class="link" href="CUPS-printing.html#a_small" title="Figure 22.19. CUPS Printing Overview.">the CUPS
    31113111Printing Overview diagram</a>.
    3112 </p><div class="figure"><a name="a_small"></a><p class="title"><b>Figure 22.19. CUPS Printing Overview.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/a_small.png" width="243" alt="CUPS Printing Overview."></div></div></div><br class="figure-break"></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id2639412" href="#id2639412" class="para">6</a>] </sup>See also <a class="ulink" href="http://www.cups.org/cups-help.html" target="_top">http://www.cups.org/cups-help.html</a></p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="classicalprinting.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="VFS.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 21. Classical Printing Support </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 23. Stackable VFS modules</td></tr></table></div></body></html>
     3112</p><div class="figure"><a name="a_small"></a><p class="title"><b>Figure 22.19. CUPS Printing Overview.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/a_small.png" width="243" alt="CUPS Printing Overview."></div></div></div><br class="figure-break"></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id2645504" href="#id2645504" class="para">6</a>] </sup>See also <a class="ulink" href="http://www.cups.org/cups-help.html" target="_top">http://www.cups.org/cups-help.html</a></p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="classicalprinting.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="VFS.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 21. Classical Printing Support </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 23. Stackable VFS modules</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/ChangeNotes.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 9. Important and Critical Change Notes for the Samba 3.x Series</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="optional.html" title="Part III. Advanced Configuration"><link rel="next" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing"></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 9. Important and Critical Change Notes for the Samba 3.x Series</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="optional.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="NetworkBrowsing.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="ChangeNotes"></a>Chapter 9. Important and Critical Change Notes for the Samba 3.x Series</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="ChangeNotes.html#id2578591">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2578603">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2578662">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2578974">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579095">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579276">LDAP Changes in Samba-3.0.23</a></span></dt></dl></dd></dl></div><p>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 9. Important and Critical Change Notes for the Samba 3.x Series</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="optional.html" title="Part III. Advanced Configuration"><link rel="next" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing"></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 9. Important and Critical Change Notes for the Samba 3.x Series</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="optional.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="NetworkBrowsing.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 9. Important and Critical Change Notes for the Samba 3.x Series"><div class="titlepage"><div><div><h2 class="title"><a name="ChangeNotes"></a>Chapter 9. Important and Critical Change Notes for the Samba 3.x Series</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="ChangeNotes.html#id2584662">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2584674">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2584733">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585045">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585166">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585347">LDAP Changes in Samba-3.0.23</a></span></dt></dl></dd></dl></div><p>
    22Please read this chapter carefully before update or upgrading Samba.  You should expect to find only critical
    33or very important information here. Comprehensive change notes and guidance information can be found in the
    44section <a class="link" href="upgrading-to-3.0.html" title="Chapter 35. Updating and Upgrading Samba">Updating and Upgrading Samba</a>.
    5 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2578591"></a>Important Samba-3.2.x Change Notes</h2></div></div></div><p>
     5</p><div class="sect1" title="Important Samba-3.2.x Change Notes"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2584662"></a>Important Samba-3.2.x Change Notes</h2></div></div></div><p>
    66!!!!!!!!!!!!Add all critical update notes here!!!!!!!!!!!!!
    7 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2578603"></a>Important Samba-3.0.x Change Notes</h2></div></div></div><p>
     7</p></div><div class="sect1" title="Important Samba-3.0.x Change Notes"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2584674"></a>Important Samba-3.0.x Change Notes</h2></div></div></div><p>
    88These following notes pertain in particular to Samba 3.0.23 through Samba 3.0.25c (or more recent 3.0.25
    99update).  Samba is a fluid and ever changing project. Changes throughout the 3.0.x series release are
     
    2222This chapter is new to the release of the HOWTO for Samba 3.0.23. It includes much of the notes provided
    2323in the <code class="filename">WHATSNEW.txt</code> file that is included with the Samba source code release tarball.
    24 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2578662"></a>User and Group Changes</h3></div></div></div><p>
     24</p><div class="sect2" title="User and Group Changes"><div class="titlepage"><div><div><h3 class="title"><a name="id2584733"></a>User and Group Changes</h3></div></div></div><p>
    2525The change documented here affects unmapped user and group accounts only.
    2626</p><p>
    27 <a class="indexterm" name="id2578675"></a>
    28 <a class="indexterm" name="id2578682"></a>
    29 <a class="indexterm" name="id2578688"></a>
    30 <a class="indexterm" name="id2578698"></a>
    31 <a class="indexterm" name="id2578706"></a>
     27<a class="indexterm" name="id2584746"></a>
     28<a class="indexterm" name="id2584752"></a>
     29<a class="indexterm" name="id2584759"></a>
     30<a class="indexterm" name="id2584768"></a>
     31<a class="indexterm" name="id2584777"></a>
    3232The user and group internal management routines have been rewritten to prevent overlaps of
    3333assigned Relative Identifiers (RIDs).  In the past the has been a potential problem when
     
    3636<code class="literal">net rpc vampire</code>.
    3737</p><p>
    38 <a class="indexterm" name="id2578738"></a>
    39 <a class="indexterm" name="id2578744"></a>
    40 <a class="indexterm" name="id2578751"></a>
    41 <a class="indexterm" name="id2578757"></a>
     38<a class="indexterm" name="id2584809"></a>
     39<a class="indexterm" name="id2584815"></a>
     40<a class="indexterm" name="id2584822"></a>
     41<a class="indexterm" name="id2584828"></a>
    4242Unmapped users are now assigned a SID in the <code class="literal">S-1-22-1</code> domain and unmapped
    4343groups are assigned a SID in the <code class="literal">S-1-22-2</code> domain.  Previously they were
     
    4646been under the authority of the local SAM (see the man page for <code class="literal">net getlocalsid</code>).
    4747</p><p>
    48 <a class="indexterm" name="id2578794"></a>
    49 <a class="indexterm" name="id2578801"></a>
    50 <a class="indexterm" name="id2578808"></a>
    51 <a class="indexterm" name="id2578815"></a>
    52 <a class="indexterm" name="id2578822"></a>
     48<a class="indexterm" name="id2584865"></a>
     49<a class="indexterm" name="id2584872"></a>
     50<a class="indexterm" name="id2584879"></a>
     51<a class="indexterm" name="id2584886"></a>
     52<a class="indexterm" name="id2584892"></a>
    5353The result is that any unmapped users or groups on an upgraded Samba domain controller may
    5454be assigned a new SID.  Because the SID rather than a name is stored in Windows security
     
    6060An example helps to illustrate the change:
    6161</p><p>
    62 <a class="indexterm" name="id2578844"></a>
    63 <a class="indexterm" name="id2578851"></a>
    64 <a class="indexterm" name="id2578857"></a>
    65 <a class="indexterm" name="id2578864"></a>
     62<a class="indexterm" name="id2584915"></a>
     63<a class="indexterm" name="id2584922"></a>
     64<a class="indexterm" name="id2584928"></a>
     65<a class="indexterm" name="id2584935"></a>
    6666Assume that a group named <span class="emphasis"><em>developers</em></span> exists with a UNIX GID of 782. In this
    6767case this group does not exist in Samba's group mapping table. It would be perfectly normal for
     
    6969<code class="literal">S-1-5-21-647511796-4126122067-3123570092-2565</code>.
    7070</p><p>
    71 <a class="indexterm" name="id2578888"></a>
    72 <a class="indexterm" name="id2578895"></a>
    73 <a class="indexterm" name="id2578901"></a>
    74 <a class="indexterm" name="id2578908"></a>
     71<a class="indexterm" name="id2584959"></a>
     72<a class="indexterm" name="id2584965"></a>
     73<a class="indexterm" name="id2584972"></a>
     74<a class="indexterm" name="id2584979"></a>
    7575With the release of Samba-3.0.23, the group SID would be reported as <code class="literal">S-1-22-2-782</code>.  Any
    7676security descriptors associated with files stored on a Windows NTFS disk partition will not allow access based
     
    8080even though both SIDs in some respect refer to the same UNIX group.
    8181</p><p>
    82 <a class="indexterm" name="id2578944"></a>
    83 <a class="indexterm" name="id2578951"></a>
     82<a class="indexterm" name="id2585015"></a>
     83<a class="indexterm" name="id2585022"></a>
    8484The workaround for versions of Samba prior to 3.0.23, is to create a manual domain group mapping
    8585entry for the group <span class="emphasis"><em>developers</em></span> to point at the
    8686<code class="literal">S-1-5-21-647511796-4126122067-3123570092-2565</code> SID. With the release of Samba-3.0.23 this
    8787workaround is no longer needed.
    88 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2578974"></a>Essential Group Mappings</h3></div></div></div><p>
     88</p></div><div class="sect2" title="Essential Group Mappings"><div class="titlepage"><div><div><h3 class="title"><a name="id2585045"></a>Essential Group Mappings</h3></div></div></div><p>
    8989Samba 3.0.x series  releases before 3.0.23 automatically created group mappings for the essential Windows
    9090domain groups <code class="literal">Domain Admins, Domain Users, Domain Guests</code>. Commencing with Samba 3.0.23
     
    9292correctly authenticate and recoognize valid domain users. When this happens users will not be able to log onto
    9393the Windows client.
    94 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     94</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    9595Group mappings are essentail only if the Samba servers is running as a PDC/BDC. Stand-alone servers do not
    9696require these group mappings.
     
    103103For further information regarding group mappings see <a class="link" href="groupmapping.html" title="Chapter 12. Group Mapping: MS Windows and UNIX">Group Mapping: MS Windows
    104104and UNIX</a>.
    105 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2579095"></a>Passdb Changes</h3></div></div></div><p>
    106 <a class="indexterm" name="id2579103"></a>
    107 <a class="indexterm" name="id2579110"></a>
    108 <a class="indexterm" name="id2579116"></a>
    109 <a class="indexterm" name="id2579123"></a>
     105</p></div><div class="sect2" title="Passdb Changes"><div class="titlepage"><div><div><h3 class="title"><a name="id2585166"></a>Passdb Changes</h3></div></div></div><p>
     106<a class="indexterm" name="id2585174"></a>
     107<a class="indexterm" name="id2585180"></a>
     108<a class="indexterm" name="id2585187"></a>
     109<a class="indexterm" name="id2585194"></a>
    110110The <a class="link" href="smb.conf.5.html#PASSDBBACKEND" target="_top">passdb backend</a> parameter no longer accepts multiple passdb backends in a
    111111chained configuration.  Also be aware that the SQL and XML based passdb modules have been
    112112removed in the Samba-3.0.23 release.  More information regarding external support for a SQL
    113113passdb module can be found on the  <a class="ulink" href="http://pdbsql.sourceforge.net/" target="_top">pdbsql</a> web site.
    114 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2579156"></a>Group Mapping Changes in Samba-3.0.23</h3></div></div></div><p>
    115 <a class="indexterm" name="id2579163"></a>
    116 <a class="indexterm" name="id2579170"></a>
    117 <a class="indexterm" name="id2579177"></a>
    118 <a class="indexterm" name="id2579184"></a>
    119 <a class="indexterm" name="id2579191"></a>
    120 <a class="indexterm" name="id2579198"></a>
    121 <a class="indexterm" name="id2579204"></a>
    122 <a class="indexterm" name="id2579211"></a>
    123 <a class="indexterm" name="id2579218"></a>
    124 <a class="indexterm" name="id2579224"></a>
    125 <a class="indexterm" name="id2579231"></a>
     114</p></div><div class="sect2" title="Group Mapping Changes in Samba-3.0.23"><div class="titlepage"><div><div><h3 class="title"><a name="id2585226"></a>Group Mapping Changes in Samba-3.0.23</h3></div></div></div><p>
     115<a class="indexterm" name="id2585234"></a>
     116<a class="indexterm" name="id2585241"></a>
     117<a class="indexterm" name="id2585248"></a>
     118<a class="indexterm" name="id2585255"></a>
     119<a class="indexterm" name="id2585261"></a>
     120<a class="indexterm" name="id2585268"></a>
     121<a class="indexterm" name="id2585275"></a>
     122<a class="indexterm" name="id2585282"></a>
     123<a class="indexterm" name="id2585288"></a>
     124<a class="indexterm" name="id2585295"></a>
     125<a class="indexterm" name="id2585302"></a>
    126126The default mapping entries for groups such as <code class="literal">Domain Admins</code> are no longer
    127127created when using an <code class="literal">smbpasswd</code> file or a <code class="literal">tdbsam</code> passdb
     
    130130Windows group SID to UNIX GID mappings.  This change has no effect on winbindd's IDMAP functionality
    131131for domain groups.
    132 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2579276"></a>LDAP Changes in Samba-3.0.23</h3></div></div></div><p>
    133 <a class="indexterm" name="id2579284"></a>
    134 <a class="indexterm" name="id2579291"></a>
    135 <a class="indexterm" name="id2579298"></a>
    136 <a class="indexterm" name="id2579305"></a>
    137 <a class="indexterm" name="id2579312"></a>
     132</p></div><div class="sect2" title="LDAP Changes in Samba-3.0.23"><div class="titlepage"><div><div><h3 class="title"><a name="id2585347"></a>LDAP Changes in Samba-3.0.23</h3></div></div></div><p>
     133<a class="indexterm" name="id2585355"></a>
     134<a class="indexterm" name="id2585362"></a>
     135<a class="indexterm" name="id2585369"></a>
     136<a class="indexterm" name="id2585376"></a>
     137<a class="indexterm" name="id2585382"></a>
    138138There has been a minor update the Samba LDAP schema file. A substring matching rule has been
    139139added to the <code class="literal">sambaSID</code> attribute definition.  For OpenLDAP servers, this
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/ClientConfig.html

    r274 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 8. MS Windows Network Configuration Guide</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="StandAloneServer.html" title="Chapter 7. Standalone Servers"><link rel="next" href="optional.html" title="Part III. Advanced Configuration"></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 8. MS Windows Network Configuration Guide</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="StandAloneServer.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="optional.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="ClientConfig"></a>Chapter 8. MS Windows Network Configuration Guide</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="ClientConfig.html#id2575509">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2575569">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2575613">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2578354">Common Errors</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2575509"></a>Features and Benefits</h2></div></div></div><p>
    2 <a class="indexterm" name="id2575517"></a>
    3 <a class="indexterm" name="id2575524"></a>
    4 <a class="indexterm" name="id2575531"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 8. MS Windows Network Configuration Guide</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="StandAloneServer.html" title="Chapter 7. Standalone Servers"><link rel="next" href="optional.html" title="Part III. Advanced Configuration"></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 8. MS Windows Network Configuration Guide</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="StandAloneServer.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="optional.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 8. MS Windows Network Configuration Guide"><div class="titlepage"><div><div><h2 class="title"><a name="ClientConfig"></a>Chapter 8. MS Windows Network Configuration Guide</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="ClientConfig.html#id2581580">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2581640">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2581683">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2584425">Common Errors</a></span></dt></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2581580"></a>Features and Benefits</h2></div></div></div><p>
     2<a class="indexterm" name="id2581588"></a>
     3<a class="indexterm" name="id2581594"></a>
     4<a class="indexterm" name="id2581601"></a>
    55Occasionally network administrators report difficulty getting Microsoft Windows clients to interoperate
    66correctly with Samba servers. It seems that some folks just cannot accept the fact that the right way
     
    88servers. Yet there is repetitious need to provide detailed Windows client configuration instructions.
    99</p><p>
    10 <a class="indexterm" name="id2575548"></a>
    11 <a class="indexterm" name="id2575555"></a>
     10<a class="indexterm" name="id2581619"></a>
     11<a class="indexterm" name="id2581626"></a>
    1212The purpose of this chapter is to graphically illustrate MS Windows client configuration for the most common
    1313critical aspects of such configuration. An experienced network administrator will not be interested in the
    1414details of this chapter.
    15 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2575569"></a>Technical Details</h2></div></div></div><p>
    16 <a class="indexterm" name="id2575577"></a>
    17 <a class="indexterm" name="id2575584"></a>
     15</p></div><div class="sect1" title="Technical Details"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2581640"></a>Technical Details</h2></div></div></div><p>
     16<a class="indexterm" name="id2581648"></a>
     17<a class="indexterm" name="id2581655"></a>
    1818This chapter discusses TCP/IP protocol configuration as well as network membership for the platforms
    1919that are in common use today. These are:
    20 </p><div class="itemizedlist"><ul type="disc"><li><p>
     20</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    2121        Microsoft Windows XP Professional
    22         </p></li><li><p>
     22        </p></li><li class="listitem"><p>
    2323        Windows 2000 Professional
    24         </p></li><li><p>
     24        </p></li><li class="listitem"><p>
    2525        Windows Millennium edition (Me)
    26         </p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2575613"></a>TCP/IP Configuration</h3></div></div></div><p>
    27 <a class="indexterm" name="id2575621"></a>
    28 <a class="indexterm" name="id2575628"></a>
     26        </p></li></ul></div><div class="sect2" title="TCP/IP Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="id2581683"></a>TCP/IP Configuration</h3></div></div></div><p>
     27<a class="indexterm" name="id2581691"></a>
     28<a class="indexterm" name="id2581699"></a>
    2929        The builder of a house must ensure that all construction takes place on a firm foundation.
    3030        The same is true for the builder of a TCP/IP-based networking system. Fundamental network configuration problems
    3131        will plague all network users until they are resolved.
    3232        </p><p>
    33 <a class="indexterm" name="id2575643"></a>
    34 <a class="indexterm" name="id2575650"></a>
     33<a class="indexterm" name="id2581713"></a>
     34<a class="indexterm" name="id2581720"></a>
    3535        MS Windows workstations and servers can be configured either with fixed
    3636        IP addresses or via DHCP. The examples that follow demonstrate the use of DHCP
     
    3838        settings can be effected.
    3939        </p><p>
    40 <a class="indexterm" name="id2575664"></a>
    41 <a class="indexterm" name="id2575671"></a>
     40<a class="indexterm" name="id2581735"></a>
     41<a class="indexterm" name="id2581742"></a>
    4242        It is possible to use shortcuts or abbreviated keystrokes to arrive at a
    4343        particular configuration screen. The decision was made to base all examples in this
    4444        chapter on use of the <span class="guibutton">Start</span> button.
    45         </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2575688"></a>MS Windows XP Professional</h4></div></div></div><p>
    46 <a class="indexterm" name="id2575696"></a>
     45        </p><div class="sect3" title="MS Windows XP Professional"><div class="titlepage"><div><div><h4 class="title"><a name="id2581759"></a>MS Windows XP Professional</h4></div></div></div><p>
     46<a class="indexterm" name="id2581767"></a>
    4747                There are two paths to the Windows XP TCP/IP configuration panel. Choose the access method that you prefer:
    4848                </p><p>
     
    5252                then select <span class="guimenuitem">Properties</span>.
    5353                </p><p>
    54 <a class="indexterm" name="id2575744"></a>
     54<a class="indexterm" name="id2581815"></a>
    5555                The following procedure steps through the Windows XP Professional TCP/IP configuration process:
    56                 </p><div class="procedure"><ol type="1"><li><p>
    57 <a class="indexterm" name="id2575762"></a>
    58 <a class="indexterm" name="id2575769"></a>
    59 <a class="indexterm" name="id2575776"></a>
     56                </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
     57<a class="indexterm" name="id2581833"></a>
     58<a class="indexterm" name="id2581840"></a>
     59<a class="indexterm" name="id2581847"></a>
    6060                        On some installations the interface will be called <span class="guimenu">Local Area Connection</span> and
    6161                        on others it will be called <span class="guimenu">Network Bridge</span>. On our system it is called <span class="guimenu">Network Bridge</span>.
    6262                        Right-click on <span class="guimenu">Network Bridge -&gt; Properties</span>. See <a class="link" href="ClientConfig.html#WXPP002" title="Figure 8.1. Network Bridge Configuration.">&#8220;Network Bridge Configuration.&#8221;</a>.
    6363                        </p><div class="figure"><a name="WXPP002"></a><p class="title"><b>Figure 8.1. Network Bridge Configuration.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/WXPP002.png" alt="Network Bridge Configuration."></div></div></div><p><br class="figure-break">
    64                         </p></li><li><p>
    65 <a class="indexterm" name="id2575862"></a>
    66 <a class="indexterm" name="id2575869"></a>
     64                        </p></li><li class="step" title="Step 2"><p>
     65<a class="indexterm" name="id2581933"></a>
     66<a class="indexterm" name="id2581940"></a>
    6767                        The Network Bridge Configuration, or Local Area Connection, panel is used to set TCP/IP protocol settings.
    6868                        In <span class="guimenuitem">This connection uses the following items:</span> box,
    6969                        click on <span class="guimenu">Internet Protocol (TCP/IP)</span>, then click on <span class="guibutton">Properties</span>.
    7070                        </p><p>
    71 <a class="indexterm" name="id2575900"></a>
    72 <a class="indexterm" name="id2575908"></a>
     71<a class="indexterm" name="id2581971"></a>
     72<a class="indexterm" name="id2581978"></a>
    7373                        The default setting is DHCP-enabled operation
    74                         (i.e., &#8220;<span class="quote">Obtain an IP address automatically</span>&#8221;). See <a class="link" href="ClientConfig.html#WXPP003" title="Figure 8.2. Internet Protocol (TCP/IP) Properties.">&#8220;Internet Protocol (TCP/IP) Properties.&#8221;</a>.
     74                        (i.e., <span class="quote">&#8220;<span class="quote">Obtain an IP address automatically</span>&#8221;</span>). See <a class="link" href="ClientConfig.html#WXPP003" title="Figure 8.2. Internet Protocol (TCP/IP) Properties.">&#8220;Internet Protocol (TCP/IP) Properties.&#8221;</a>.
    7575                        </p><div class="figure"><a name="WXPP003"></a><p class="title"><b>Figure 8.2. Internet Protocol (TCP/IP) Properties.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/WXPP003.png" alt="Internet Protocol (TCP/IP) Properties."></div></div></div><p><br class="figure-break">
    7676                        </p><p>
    77 <a class="indexterm" name="id2575970"></a>
    78 <a class="indexterm" name="id2575977"></a>
    79 <a class="indexterm" name="id2575984"></a>
    80 <a class="indexterm" name="id2575991"></a>
     77<a class="indexterm" name="id2582041"></a>
     78<a class="indexterm" name="id2582048"></a>
     79<a class="indexterm" name="id2582055"></a>
     80<a class="indexterm" name="id2582061"></a>
    8181                        Many network administrators will want to use DHCP to configure all client TCP/IP
    8282                        protocol stack settings. (For information on how to configure the ISC DHCP server
     
    8484                        <a class="link" href="DNSDHCP.html#DHCP" title="DHCP Server">DHCP Server</a>.
    8585                        </p><p>
    86 <a class="indexterm" name="id2576020"></a>
    87 <a class="indexterm" name="id2576027"></a>
    88 <a class="indexterm" name="id2576033"></a>
    89                         If it is necessary to provide a fixed IP address, click on &#8220;<span class="quote">Use the following IP address</span>&#8221; and enter the
     86<a class="indexterm" name="id2582090"></a>
     87<a class="indexterm" name="id2582097"></a>
     88<a class="indexterm" name="id2582104"></a>
     89                        If it is necessary to provide a fixed IP address, click on <span class="quote">&#8220;<span class="quote">Use the following IP address</span>&#8221;</span> and enter the
    9090                        IP Address, the subnet mask, and the default gateway address in the boxes provided.
    91                         </p></li><li><p>
    92 <a class="indexterm" name="id2576054"></a>
    93 <a class="indexterm" name="id2576061"></a>
    94 <a class="indexterm" name="id2576068"></a>
    95 <a class="indexterm" name="id2576075"></a>
     91                        </p></li><li class="step" title="Step 3"><p>
     92<a class="indexterm" name="id2582125"></a>
     93<a class="indexterm" name="id2582132"></a>
     94<a class="indexterm" name="id2582139"></a>
     95<a class="indexterm" name="id2582146"></a>
    9696                        Click the <span class="guibutton">Advanced</span> button to proceed with TCP/IP configuration.
    9797                        This opens a panel in which it is possible to create additional IP addresses for this interface.
     
    101101                        </p><div class="figure"><a name="WXPP005"></a><p class="title"><b>Figure 8.3. Advanced Network Settings</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/WXPP005.png" alt="Advanced Network Settings"></div></div></div><p><br class="figure-break">
    102102                        </p><p>
    103 <a class="indexterm" name="id2576146"></a>
    104 <a class="indexterm" name="id2576152"></a>
    105 <a class="indexterm" name="id2576159"></a>
     103<a class="indexterm" name="id2582216"></a>
     104<a class="indexterm" name="id2582223"></a>
     105<a class="indexterm" name="id2582230"></a>
    106106                        Fixed settings may be required for DNS and WINS if these settings are not provided automatically via DHCP.
    107                         </p></li><li><p>
    108 <a class="indexterm" name="id2576174"></a>
    109 <a class="indexterm" name="id2576181"></a>
     107                        </p></li><li class="step" title="Step 4"><p>
     108<a class="indexterm" name="id2582245"></a>
     109<a class="indexterm" name="id2582252"></a>
    110110                        Click the <span class="guimenu">DNS</span> tab to add DNS server settings.
    111111                        The example system uses manually configured DNS settings. When finished making changes, click the
    112112                        <span class="guibutton">OK</span> to commit the settings. See <a class="link" href="ClientConfig.html#WXPP014" title="Figure 8.4. DNS Configuration.">&#8220;DNS Configuration.&#8221;</a>.
    113113                        </p><div class="figure"><a name="WXPP014"></a><p class="title"><b>Figure 8.4. DNS Configuration.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/WXPP014.png" alt="DNS Configuration."></div></div></div><p><br class="figure-break">
    114                         </p></li><li><p>
    115 <a class="indexterm" name="id2576256"></a>
    116 <a class="indexterm" name="id2576262"></a>
     114                        </p></li><li class="step" title="Step 5"><p>
     115<a class="indexterm" name="id2582326"></a>
     116<a class="indexterm" name="id2582333"></a>
    117117                        Click the <span class="guibutton">WINS</span> tab to add manual WINS server entries.
    118118                        This step demonstrates an example system that uses manually configured WINS settings.
     
    120120                        the settings. See <a class="link" href="ClientConfig.html#WXPP009" title="Figure 8.5. WINS Configuration">&#8220;WINS Configuration&#8221;</a>.
    121121                        </p><div class="figure"><a name="WXPP009"></a><p class="title"><b>Figure 8.5. WINS Configuration</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/WXPP009.png" alt="WINS Configuration"></div></div></div><p><br class="figure-break">
    122                         </p></li></ol></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2576332"></a>MS Windows 2000</h4></div></div></div><p>
    123 <a class="indexterm" name="id2576339"></a>
    124 <a class="indexterm" name="id2576347"></a>
     122                        </p></li></ol></div></div><div class="sect3" title="MS Windows 2000"><div class="titlepage"><div><div><h4 class="title"><a name="id2582402"></a>MS Windows 2000</h4></div></div></div><p>
     123<a class="indexterm" name="id2582410"></a>
     124<a class="indexterm" name="id2582417"></a>
    125125                There are two paths to the Windows 2000 Professional TCP/IP configuration panel. Choose the access method that you prefer:
    126126                </p><p>
     
    130130                select <span class="guimenuitem">Properties</span>.
    131131                </p><p>
    132 <a class="indexterm" name="id2576395"></a>
     132<a class="indexterm" name="id2582466"></a>
    133133                The following procedure steps through the Windows XP Professional TCP/IP configuration process:
    134                 </p><div class="procedure"><ol type="1"><li><p>
     134                </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    135135                        Right-click on <span class="guimenu">Local Area Connection</span>, then click
    136136                        <span class="guimenuitem">Properties</span>. See <a class="link" href="ClientConfig.html#w2kp001" title="Figure 8.6. Local Area Connection Properties.">&#8220;Local Area Connection Properties.&#8221;</a>.
    137137                        </p><div class="figure"><a name="w2kp001"></a><p class="title"><b>Figure 8.6. Local Area Connection Properties.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/w2kp001.png" alt="Local Area Connection Properties."></div></div></div><p><br class="figure-break">
    138                         </p></li><li><p>
    139 <a class="indexterm" name="id2576476"></a>
    140 <a class="indexterm" name="id2576483"></a>
     138                        </p></li><li class="step" title="Step 2"><p>
     139<a class="indexterm" name="id2582547"></a>
     140<a class="indexterm" name="id2582554"></a>
    141141                        The Local Area Connection Properties is used to set TCP/IP protocol settings. Click on
    142142                        <span class="guimenu">Internet Protocol (TCP/IP)</span> in the <span class="guimenuitem">Components checked are used by this
    143143                        connection:</span> box, then click the <span class="guibutton">Properties</span> button.
    144                         </p></li><li><p>
    145 <a class="indexterm" name="id2576518"></a>
    146 <a class="indexterm" name="id2576525"></a>
     144                        </p></li><li class="step" title="Step 3"><p>
     145<a class="indexterm" name="id2582589"></a>
     146<a class="indexterm" name="id2582596"></a>
    147147                        The default setting is DHCP-enabled operation
    148                         (i.e., &#8220;<span class="quote">Obtain an IP address automatically</span>&#8221;). See <a class="link" href="ClientConfig.html#w2kp002" title="Figure 8.7. Internet Protocol (TCP/IP) Properties.">&#8220;Internet Protocol (TCP/IP) Properties.&#8221;</a>.
     148                        (i.e., <span class="quote">&#8220;<span class="quote">Obtain an IP address automatically</span>&#8221;</span>). See <a class="link" href="ClientConfig.html#w2kp002" title="Figure 8.7. Internet Protocol (TCP/IP) Properties.">&#8220;Internet Protocol (TCP/IP) Properties.&#8221;</a>.
    149149                        </p><div class="figure"><a name="w2kp002"></a><p class="title"><b>Figure 8.7. Internet Protocol (TCP/IP) Properties.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/w2kp002.png" alt="Internet Protocol (TCP/IP) Properties."></div></div></div><p><br class="figure-break">
    150150                        </p><p>
    151 <a class="indexterm" name="id2576584"></a>
    152 <a class="indexterm" name="id2576591"></a>
     151<a class="indexterm" name="id2582655"></a>
     152<a class="indexterm" name="id2582662"></a>
    153153                        Many network administrators will want to use DHCP to configure all client TCP/IP
    154154                        protocol stack settings. (For information on how to configure the ISC DHCP server
    155155                        for Windows client support, see, <a class="link" href="DNSDHCP.html#DHCP" title="DHCP Server">&#8220;DHCP Server&#8221;</a>.
    156156                        </p><p>
    157 <a class="indexterm" name="id2576610"></a>
    158 <a class="indexterm" name="id2576617"></a>
    159                         If it is necessary to provide a fixed IP address, click on &#8220;<span class="quote">Use the following IP address</span>&#8221; and enter the
     157<a class="indexterm" name="id2582681"></a>
     158<a class="indexterm" name="id2582688"></a>
     159                        If it is necessary to provide a fixed IP address, click on <span class="quote">&#8220;<span class="quote">Use the following IP address</span>&#8221;</span> and enter the
    160160                        IP Address, the subnet mask, and the default gateway address in the boxes provided.
    161161                        For this example we are assuming that all network clients will be configured using DHCP.
    162                         </p></li><li><p>
     162                        </p></li><li class="step" title="Step 4"><p>
    163163                        Click the <span class="guimenu">Advanced</span> button to proceed with TCP/IP configuration.
    164164                        Refer to <a class="link" href="ClientConfig.html#w2kp003" title="Figure 8.8. Advanced Network Settings.">&#8220;Advanced Network Settings.&#8221;</a>.
    165165                        </p><div class="figure"><a name="w2kp003"></a><p class="title"><b>Figure 8.8. Advanced Network Settings.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/w2kp003.png" alt="Advanced Network Settings."></div></div></div><p><br class="figure-break">
    166166                        </p><p>
    167 <a class="indexterm" name="id2576693"></a>
    168 <a class="indexterm" name="id2576700"></a>
    169 <a class="indexterm" name="id2576707"></a>
     167<a class="indexterm" name="id2582764"></a>
     168<a class="indexterm" name="id2582771"></a>
     169<a class="indexterm" name="id2582777"></a>
    170170                        Fixed settings may be required for DNS and WINS if these settings are not provided automatically via DHCP.
    171                         </p></li><li><p>
    172 <a class="indexterm" name="id2576722"></a>
    173 <a class="indexterm" name="id2576729"></a>
     171                        </p></li><li class="step" title="Step 5"><p>
     172<a class="indexterm" name="id2582793"></a>
     173<a class="indexterm" name="id2582800"></a>
    174174                        Click the <span class="guimenu">DNS</span> tab to add DNS server settings.
    175175                        The example system uses manually configured DNS settings. When finished making changes,
    176176                        click <span class="guibutton">OK</span> to commit the settings. See <a class="link" href="ClientConfig.html#w2kp004" title="Figure 8.9. DNS Configuration.">&#8220;DNS Configuration.&#8221;</a>.
    177177                        </p><div class="figure"><a name="w2kp004"></a><p class="title"><b>Figure 8.9. DNS Configuration.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/w2kp004.png" alt="DNS Configuration."></div></div></div><p><br class="figure-break">
    178                         </p></li><li><p>
    179 <a class="indexterm" name="id2576800"></a>
    180 <a class="indexterm" name="id2576807"></a>
     178                        </p></li><li class="step" title="Step 6"><p>
     179<a class="indexterm" name="id2582871"></a>
     180<a class="indexterm" name="id2582878"></a>
    181181                        Click the <span class="guibutton">WINS</span> tab to add manual WINS server entries.
    182182                        This step demonstrates an example system that uses manually configured WINS settings.
     
    184184                        See <a class="link" href="ClientConfig.html#w2kp005" title="Figure 8.10. WINS Configuration.">&#8220;WINS Configuration.&#8221;</a>.
    185185                        </p><div class="figure"><a name="w2kp005"></a><p class="title"><b>Figure 8.10. WINS Configuration.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/w2kp005.png" alt="WINS Configuration."></div></div></div><p><br class="figure-break">
    186                         </p></li></ol></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2576878"></a>MS Windows Me</h4></div></div></div><p>
    187 <a class="indexterm" name="id2576886"></a>
    188 <a class="indexterm" name="id2576893"></a>
    189 <a class="indexterm" name="id2576900"></a>
     186                        </p></li></ol></div></div><div class="sect3" title="MS Windows Me"><div class="titlepage"><div><div><h4 class="title"><a name="id2582949"></a>MS Windows Me</h4></div></div></div><p>
     187<a class="indexterm" name="id2582957"></a>
     188<a class="indexterm" name="id2582964"></a>
     189<a class="indexterm" name="id2582971"></a>
    190190                There are two paths to the Windows Millennium edition (Me) TCP/IP configuration panel. Choose the access method that you prefer:
    191191                </p><p>
    192192                Click <span class="guimenu">Start -&gt; Control Panel -&gt; Network Connections</span>.
    193193                </p><p>
    194 <a class="indexterm" name="id2576923"></a>
    195 <a class="indexterm" name="id2576930"></a>
     194<a class="indexterm" name="id2582994"></a>
     195<a class="indexterm" name="id2583001"></a>
    196196                <span class="emphasis"><em>Alternatively,</em></span> click on <span class="guimenu">Start -&gt;</span>, and right click on <span class="guimenu">My Network Places</span>
    197197                then select <span class="guimenuitem">Properties</span>.
    198198                </p><p>
    199 <a class="indexterm" name="id2576963"></a>
     199<a class="indexterm" name="id2583033"></a>
    200200                The following procedure steps through the Windows Me TCP/IP configuration process:
    201                 </p><div class="procedure"><ol type="1"><li><p>
    202 <a class="indexterm" name="id2576980"></a>
     201                </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
     202<a class="indexterm" name="id2583051"></a>
    203203                        In the box labeled <span class="guimenuitem">The following network components are installed:</span>,
    204204                        click on <span class="guimenu">Internet Protocol TCP/IP</span>, then click on the <span class="guibutton">Properties</span> button.
    205205                        See <a class="link" href="ClientConfig.html#WME001" title="Figure 8.11. The Windows Me Network Configuration Panel.">&#8220;The Windows Me Network Configuration Panel.&#8221;</a>.
    206206                        </p><div class="figure"><a name="WME001"></a><p class="title"><b>Figure 8.11. The Windows Me Network Configuration Panel.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/WME001.png" alt="The Windows Me Network Configuration Panel."></div></div></div><p><br class="figure-break">
    207                         </p></li><li><p>
    208 <a class="indexterm" name="id2577061"></a>
    209 <a class="indexterm" name="id2577068"></a>
    210 <a class="indexterm" name="id2577074"></a>
     207                        </p></li><li class="step" title="Step 2"><p>
     208<a class="indexterm" name="id2583132"></a>
     209<a class="indexterm" name="id2583138"></a>
     210<a class="indexterm" name="id2583145"></a>
    211211                        Many network administrators will want to use DHCP to configure all client TCP/IP
    212212                        protocol stack settings. (For information on how to configure the ISC DHCP server
     
    216216                        </p><div class="figure"><a name="WME002"></a><p class="title"><b>Figure 8.12. IP Address.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/WME002.png" alt="IP Address."></div></div></div><p><br class="figure-break">
    217217                        </p><p>
    218 <a class="indexterm" name="id2577154"></a>
    219 <a class="indexterm" name="id2577161"></a>
    220 <a class="indexterm" name="id2577168"></a>
     218<a class="indexterm" name="id2583225"></a>
     219<a class="indexterm" name="id2583232"></a>
     220<a class="indexterm" name="id2583238"></a>
    221221                        If it is necessary to provide a fixed IP address, click on <span class="guimenuitem">Specify an IP address</span> and enter the
    222222                        IP Address and the subnet mask in the boxes provided. For this example we are assuming that all
    223223                        network clients will be configured using DHCP.
    224                         </p></li><li><p>
    225 <a class="indexterm" name="id2577191"></a>
    226 <a class="indexterm" name="id2577198"></a>
     224                        </p></li><li class="step" title="Step 3"><p>
     225<a class="indexterm" name="id2583262"></a>
     226<a class="indexterm" name="id2583268"></a>
    227227                        Fixed settings may be required for DNS and WINS if these settings are not provided automatically via DHCP.
    228                         </p></li><li><p>
    229 <a class="indexterm" name="id2577213"></a>
     228                        </p></li><li class="step" title="Step 4"><p>
     229<a class="indexterm" name="id2583284"></a>
    230230                        If necessary, click the <span class="guimenu">DNS Configuration</span> tab to add DNS server settings.
    231231                        Click the <span class="guibutton">WINS Configuration</span> tab to add WINS server settings.
     
    233233                        interface settings. In most cases where DHCP is used, it will not be necessary to
    234234                        create these manual settings.
    235                         </p></li><li><p>
    236 <a class="indexterm" name="id2577250"></a>
    237 <a class="indexterm" name="id2577257"></a>
     235                        </p></li><li class="step" title="Step 5"><p>
     236<a class="indexterm" name="id2583321"></a>
     237<a class="indexterm" name="id2583328"></a>
    238238                        The following example uses manually configured WINS settings. See <a class="link" href="ClientConfig.html#WME005" title="Figure 8.13. DNS Configuration.">&#8220;DNS Configuration.&#8221;</a>.
    239239                        When finished making changes, click <span class="guibutton">OK</span> to commit the settings.
    240240                        </p><div class="figure"><a name="WME005"></a><p class="title"><b>Figure 8.13. DNS Configuration.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/WME005.png" alt="DNS Configuration."></div></div></div><p><br class="figure-break">
    241241                        </p><p>
    242 <a class="indexterm" name="id2577318"></a>
    243 <a class="indexterm" name="id2577325"></a>
     242<a class="indexterm" name="id2583389"></a>
     243<a class="indexterm" name="id2583396"></a>
    244244                        This is an example of a system that uses manually configured WINS settings. One situation where
    245245                        this might apply is on a network that has a single DHCP server that provides settings for multiple
    246246                        Windows workgroups or domains. See <a class="link" href="ClientConfig.html#WME003" title="Figure 8.14. WINS Configuration.">&#8220;WINS Configuration.&#8221;</a>.
    247247                        </p><div class="figure"><a name="WME003"></a><p class="title"><b>Figure 8.14. WINS Configuration.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/WME003.png" alt="WINS Configuration."></div></div></div><p><br class="figure-break">
    248                         </p></li></ol></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2577384"></a>Joining a Domain: Windows 2000/XP Professional</h3></div></div></div><p>
    249 <a class="indexterm" name="id2577393"></a>
    250 <a class="indexterm" name="id2577400"></a>
    251 <a class="indexterm" name="id2577407"></a>
    252 <a class="indexterm" name="id2577414"></a>
     248                        </p></li></ol></div></div></div><div class="sect2" title="Joining a Domain: Windows 2000/XP Professional"><div class="titlepage"><div><div><h3 class="title"><a name="id2583455"></a>Joining a Domain: Windows 2000/XP Professional</h3></div></div></div><p>
     249<a class="indexterm" name="id2583464"></a>
     250<a class="indexterm" name="id2583471"></a>
     251<a class="indexterm" name="id2583478"></a>
     252<a class="indexterm" name="id2583485"></a>
    253253        Microsoft Windows NT/200x/XP Professional platforms can participate in domain security.
    254254        This section steps through the process for making a Windows 200x/XP Professional machine a
    255255        member of a domain security environment. It should be noted that this process is identical
    256256        when joining a domain that is controlled by Windows NT4/200x as well as a Samba PDC.
    257         </p><div class="procedure"><ol type="1"><li><p>
     257        </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    258258                Click <span class="guimenu">Start</span>.
    259                 </p></li><li><p>
     259                </p></li><li class="step" title="Step 2"><p>
    260260                Right-click <span class="guimenu">My Computer</span>, then select <span class="guimenuitem">Properties</span>.
    261                 </p></li><li><p>
    262 <a class="indexterm" name="id2577467"></a>
     261                </p></li><li class="step" title="Step 3"><p>
     262<a class="indexterm" name="id2583538"></a>
    263263                The opening panel is the same one that can be reached by clicking <span class="guimenu">System</span> on the Control Panel.
    264264                See <a class="link" href="ClientConfig.html#wxpp001" title="Figure 8.15. The General Panel.">&#8220;The General Panel.&#8221;</a>.
    265265                </p><div class="figure"><a name="wxpp001"></a><p class="title"><b>Figure 8.15. The General Panel.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/wxpp001.png" alt="The General Panel."></div></div></div><p><br class="figure-break">
    266                 </p></li><li><p>
    267 <a class="indexterm" name="id2577533"></a>
     266                </p></li><li class="step" title="Step 4"><p>
     267<a class="indexterm" name="id2583604"></a>
    268268                Click the <span class="guimenu">Computer Name</span> tab.
    269269                This panel shows the <span class="guimenuitem">Computer Description</span>, the <span class="guimenuitem">Full computer name</span>,
    270270                and the <span class="guimenuitem">Workgroup</span> or <span class="guimenuitem">Domain name</span>.
    271271                </p><p>
    272 <a class="indexterm" name="id2577574"></a>
    273 <a class="indexterm" name="id2577581"></a>
     272<a class="indexterm" name="id2583645"></a>
     273<a class="indexterm" name="id2583652"></a>
    274274                Clicking the <span class="guimenu">Network ID</span> button will launch the configuration wizard. Do not use this with
    275275                Samba-3. If you wish to change the computer name or join or leave the domain, click the <span class="guimenu">Change</span> button.
    276276                See <a class="link" href="ClientConfig.html#wxpp004" title="Figure 8.16. The Computer Name Panel.">&#8220;The Computer Name Panel.&#8221;</a>.
    277277                </p><div class="figure"><a name="wxpp004"></a><p class="title"><b>Figure 8.16. The Computer Name Panel.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/wxpp004.png" alt="The Computer Name Panel."></div></div></div><p><br class="figure-break">
    278                 </p></li><li><p>
     278                </p></li><li class="step" title="Step 5"><p>
    279279                Click on <span class="guimenu">Change</span>. This panel shows that our example machine (TEMPTATION) is in a workgroup called WORKGROUP.
    280280                We will join the domain called MIDEARTH. See <a class="link" href="ClientConfig.html#wxpp006" title="Figure 8.17. The Computer Name Changes Panel.">&#8220;The Computer Name Changes Panel.&#8221;</a>.
    281281                </p><div class="figure"><a name="wxpp006"></a><p class="title"><b>Figure 8.17. The Computer Name Changes Panel.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/wxpp006.png" alt="The Computer Name Changes Panel."></div></div></div><p><br class="figure-break">
    282         </p></li><li><p>
    283 <a class="indexterm" name="id2577713"></a>
     282        </p></li><li class="step" title="Step 6"><p>
     283<a class="indexterm" name="id2583784"></a>
    284284                Enter the name <span class="guimenu">MIDEARTH</span> in the field below the domain radio button.
    285285                </p><p>
    286286                This panel shows that our example machine (TEMPTATION) is set to join the domain called MIDEARTH. See <a class="link" href="ClientConfig.html#wxpp007" title="Figure 8.18. The Computer Name Changes Panel Domain MIDEARTH.">&#8220;The Computer Name Changes Panel  Domain MIDEARTH.&#8221;</a>.
    287287                </p><div class="figure"><a name="wxpp007"></a><p class="title"><b>Figure 8.18. The Computer Name Changes Panel  Domain MIDEARTH.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/wxpp007.png" alt="The Computer Name Changes Panel Domain MIDEARTH."></div></div></div><p><br class="figure-break">
    288         </p></li><li><p>
    289 <a class="indexterm" name="id2577785"></a>
    290 <a class="indexterm" name="id2577792"></a>
     288        </p></li><li class="step" title="Step 7"><p>
     289<a class="indexterm" name="id2583856"></a>
     290<a class="indexterm" name="id2583862"></a>
    291291                Now click the <span class="guimenu">OK</span> button. A dialog box should appear to allow you to provide the
    292292                credentials (username and password) of a domain administrative account that has the rights to add machines to
    293293                the domain.
    294294                </p><p>
    295 <a class="indexterm" name="id2577811"></a>
    296                 Enter the name &#8220;<span class="quote">root</span>&#8221; and the root password from your Samba-3 server. See <a class="link" href="ClientConfig.html#wxpp008" title="Figure 8.19. Computer Name Changes Username and Password Panel.">&#8220;Computer Name Changes  Username and Password Panel.&#8221;</a>.
     295<a class="indexterm" name="id2583882"></a>
     296                Enter the name <span class="quote">&#8220;<span class="quote">root</span>&#8221;</span> and the root password from your Samba-3 server. See <a class="link" href="ClientConfig.html#wxpp008" title="Figure 8.19. Computer Name Changes Username and Password Panel.">&#8220;Computer Name Changes  Username and Password Panel.&#8221;</a>.
    297297                </p><div class="figure"><a name="wxpp008"></a><p class="title"><b>Figure 8.19. Computer Name Changes  Username and Password Panel.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/wxpp008.png" alt="Computer Name Changes Username and Password Panel."></div></div></div><p><br class="figure-break">
    298         </p></li><li><p>
     298        </p></li><li class="step" title="Step 8"><p>
    299299                Click on <span class="guimenu">OK</span>.
    300300        </p><p>
    301 <a class="indexterm" name="id2577888"></a>
    302 <a class="indexterm" name="id2577894"></a>
    303                 The &#8220;<span class="quote">Welcome to the MIDEARTH domain.</span>&#8221; dialog box should appear. At this point the machine must be rebooted.
     301<a class="indexterm" name="id2583958"></a>
     302<a class="indexterm" name="id2583965"></a>
     303                The <span class="quote">&#8220;<span class="quote">Welcome to the MIDEARTH domain.</span>&#8221;</span> dialog box should appear. At this point the machine must be rebooted.
    304304                Joining the domain is now complete.
    305         </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2577911"></a>Domain Logon Configuration: Windows 9x/Me</h3></div></div></div><p>
    306 <a class="indexterm" name="id2577919"></a>
    307 <a class="indexterm" name="id2577926"></a>
    308 <a class="indexterm" name="id2577933"></a>
     305        </p></li></ol></div></div><div class="sect2" title="Domain Logon Configuration: Windows 9x/Me"><div class="titlepage"><div><div><h3 class="title"><a name="id2583981"></a>Domain Logon Configuration: Windows 9x/Me</h3></div></div></div><p>
     306<a class="indexterm" name="id2583990"></a>
     307<a class="indexterm" name="id2583997"></a>
     308<a class="indexterm" name="id2584004"></a>
    309309        We follow the convention used by most in saying that Windows 9x/Me machines can participate in domain logons. The truth is
    310310        that these platforms can use only the LanManager network logon protocols.
    311         </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    312 <a class="indexterm" name="id2577947"></a>
    313 <a class="indexterm" name="id2577954"></a>
    314 <a class="indexterm" name="id2577961"></a>
     311        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     312<a class="indexterm" name="id2584018"></a>
     313<a class="indexterm" name="id2584025"></a>
     314<a class="indexterm" name="id2584032"></a>
    315315        Windows XP Home edition cannot participate in domain or LanManager network logons.
    316         </p></div><div class="procedure"><ol type="1"><li><p>
     316        </p></div><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    317317                Right-click on the <span class="guimenu">Network Neighborhood</span> icon.
    318                 </p></li><li><p>
     318                </p></li><li class="step" title="Step 2"><p>
    319319                The Network Configuration Panel allows all common network settings to be changed.
    320320                See <a class="link" href="ClientConfig.html#WME009" title="Figure 8.20. The Network Panel.">&#8220;The Network Panel.&#8221;</a>.
    321321                </p><div class="figure"><a name="WME009"></a><p class="title"><b>Figure 8.20. The Network Panel.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/WME009.png" alt="The Network Panel."></div></div></div><p><br class="figure-break">
    322322                </p><p>
    323 <a class="indexterm" name="id2578040"></a>
    324 <a class="indexterm" name="id2578047"></a>
     323<a class="indexterm" name="id2584111"></a>
     324<a class="indexterm" name="id2584118"></a>
    325325                Make sure that the <span class="guimenu">Client for Microsoft Networks</span> driver is installed as shown.
    326326                Click on the <span class="guimenu">Client for Microsoft Networks</span> entry in <span class="guimenu">The following network
    327327                components are installed:</span> box. Then click the <span class="guibutton">Properties</span> button.
    328                 </p></li><li><p>
    329 <a class="indexterm" name="id2578087"></a>
    330 <a class="indexterm" name="id2578094"></a>
     328                </p></li><li class="step" title="Step 3"><p>
     329<a class="indexterm" name="id2584158"></a>
     330<a class="indexterm" name="id2584165"></a>
    331331                The Client for Microsoft Networks Properties panel is the correct location to configure network logon
    332332                settings. See <a class="link" href="ClientConfig.html#WME010" title="Figure 8.21. Client for Microsoft Networks Properties Panel.">&#8220;Client for Microsoft Networks Properties Panel.&#8221;</a>.
    333333                </p><div class="figure"><a name="WME010"></a><p class="title"><b>Figure 8.21. Client for Microsoft Networks Properties Panel.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/WME010.png" alt="Client for Microsoft Networks Properties Panel."></div></div></div><p><br class="figure-break">
    334334                </p><p>
    335 <a class="indexterm" name="id2578151"></a>
    336 <a class="indexterm" name="id2578158"></a>
     335<a class="indexterm" name="id2584222"></a>
     336<a class="indexterm" name="id2584229"></a>
    337337                Enter the Windows NT domain name, check the <span class="guimenu">Log on to Windows NT domain</span> box,
    338338                and click <span class="guimenu">OK</span>.
    339                 </p></li><li><p>
    340 <a class="indexterm" name="id2578184"></a>
    341 <a class="indexterm" name="id2578191"></a>
    342 <a class="indexterm" name="id2578198"></a>
     339                </p></li><li class="step" title="Step 4"><p>
     340<a class="indexterm" name="id2584255"></a>
     341<a class="indexterm" name="id2584262"></a>
     342<a class="indexterm" name="id2584269"></a>
    343343                Click on the <span class="guimenu">Identification</span> button. This is the location at which the workgroup
    344344                (domain) name and the machine name (computer name) need to be set. See <a class="link" href="ClientConfig.html#WME013" title="Figure 8.22. Identification Panel.">&#8220;Identification Panel.&#8221;</a>.
    345345                </p><div class="figure"><a name="WME013"></a><p class="title"><b>Figure 8.22. Identification Panel.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/WME013.png" alt="Identification Panel."></div></div></div><p><br class="figure-break">
    346                 </p></li><li><p>
    347 <a class="indexterm" name="id2578263"></a>
    348 <a class="indexterm" name="id2578270"></a>
    349 <a class="indexterm" name="id2578277"></a>
    350 <a class="indexterm" name="id2578284"></a>
     346                </p></li><li class="step" title="Step 5"><p>
     347<a class="indexterm" name="id2584334"></a>
     348<a class="indexterm" name="id2584341"></a>
     349<a class="indexterm" name="id2584348"></a>
     350<a class="indexterm" name="id2584355"></a>
    351351                Now click the <span class="guimenu">Access Control</span> button. If you want to be able to assign share access
    352352                permissions using domain user and group accounts, it is necessary to enable
    353353                <span class="guimenu">User-level access control</span> as shown in this panel.  See <a class="link" href="ClientConfig.html#WME014" title="Figure 8.23. Access Control Panel.">&#8220;Access Control Panel.&#8221;</a>.
    354354                </p><div class="figure"><a name="WME014"></a><p class="title"><b>Figure 8.23. Access Control Panel.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/WME014.png" alt="Access Control Panel."></div></div></div><p><br class="figure-break">
    355                 </p></li></ol></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2578354"></a>Common Errors</h2></div></div></div><p>
    356 <a class="indexterm" name="id2578362"></a>
    357 <a class="indexterm" name="id2578369"></a>
     355                </p></li></ol></div></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2584425"></a>Common Errors</h2></div></div></div><p>
     356<a class="indexterm" name="id2584433"></a>
     357<a class="indexterm" name="id2584440"></a>
    358358The most common errors that can afflict Windows networking systems include:
    359 </p><div class="itemizedlist"><ul type="disc"><li><p>Incorrect IP address.</p></li><li><p>Incorrect or inconsistent netmasks.</p></li><li><p>Incorrect router address.</p></li><li><p>Incorrect DNS server address.</p></li><li><p>Incorrect WINS server address.</p></li><li><p>Use of a Network Scope setting  watch out for this one!</p></li></ul></div><p>
    360 <a class="indexterm" name="id2578416"></a>
    361 <a class="indexterm" name="id2578423"></a>
     359</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Incorrect IP address.</p></li><li class="listitem"><p>Incorrect or inconsistent netmasks.</p></li><li class="listitem"><p>Incorrect router address.</p></li><li class="listitem"><p>Incorrect DNS server address.</p></li><li class="listitem"><p>Incorrect WINS server address.</p></li><li class="listitem"><p>Use of a Network Scope setting  watch out for this one!</p></li></ul></div><p>
     360<a class="indexterm" name="id2584487"></a>
     361<a class="indexterm" name="id2584494"></a>
    362362The most common reasons for which a Windows NT/200x/XP Professional client cannot join the Samba controlled domain are:
    363 </p><div class="itemizedlist"><ul type="disc"><li><p><code class="filename">smb.conf</code> does not have correct <a class="link" href="smb.conf.5.html#ADDMACHINESCRIPT" target="_top">add machine script</a> settings.</p></li><li><p>&#8220;<span class="quote">root</span>&#8221; account is not in password backend database.</p></li><li><p>Attempt to use a user account instead of the &#8220;<span class="quote">root</span>&#8221; account to join a machine to the domain.</p></li><li><p>Open connections from the workstation to the server.</p></li><li><p>Firewall or filter configurations in place on either the client or the Samba server.</p></li></ul></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="StandAloneServer.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="type.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="optional.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 7. Standalone Servers </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Part III. Advanced Configuration</td></tr></table></div></body></html>
     363</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><code class="filename">smb.conf</code> does not have correct <a class="link" href="smb.conf.5.html#ADDMACHINESCRIPT" target="_top">add machine script</a> settings.</p></li><li class="listitem"><p><span class="quote">&#8220;<span class="quote">root</span>&#8221;</span> account is not in password backend database.</p></li><li class="listitem"><p>Attempt to use a user account instead of the <span class="quote">&#8220;<span class="quote">root</span>&#8221;</span> account to join a machine to the domain.</p></li><li class="listitem"><p>Open connections from the workstation to the server.</p></li><li class="listitem"><p>Firewall or filter configurations in place on either the client or the Samba server.</p></li></ul></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="StandAloneServer.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="type.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="optional.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 7. Standalone Servers </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Part III. Advanced Configuration</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/DNSDHCP.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 48. DNS and DHCP Configuration Guide</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="ch47.html" title="Chapter 47. Samba Support"><link rel="next" href="apa.html" title="Appendix A.  GNU General Public License version 3"></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 48. DNS and DHCP Configuration Guide</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch47.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="apa.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="DNSDHCP"></a>Chapter 48. DNS and DHCP Configuration Guide</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="DNSDHCP.html#id2692891">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2693070">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2693161">Dynamic DNS</a></span></dt><dt><span class="sect2"><a href="DNSDHCP.html#DHCP">DHCP Server</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2692891"></a>Features and Benefits</h2></div></div></div><p>
    2 <a class="indexterm" name="id2692899"></a>
    3 <a class="indexterm" name="id2692909"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 48. DNS and DHCP Configuration Guide</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="ch47.html" title="Chapter 47. Samba Support"><link rel="next" href="apa.html" title="Appendix A.  GNU General Public License version 3"></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 48. DNS and DHCP Configuration Guide</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch47.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="apa.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 48. DNS and DHCP Configuration Guide"><div class="titlepage"><div><div><h2 class="title"><a name="DNSDHCP"></a>Chapter 48. DNS and DHCP Configuration Guide</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="DNSDHCP.html#id2698948">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2699127">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2699218">Dynamic DNS</a></span></dt><dt><span class="sect2"><a href="DNSDHCP.html#DHCP">DHCP Server</a></span></dt></dl></dd></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2698948"></a>Features and Benefits</h2></div></div></div><p>
     2<a class="indexterm" name="id2698956"></a>
     3<a class="indexterm" name="id2698966"></a>
    44There are few subjects in the UNIX world that might raise as much contention as
    55Domain Name System (DNS) and Dynamic Host Configuration Protocol (DHCP).
     
    99We live in a modern age where many information technology users demand mobility
    1010and freedom. Microsoft Windows users in particular expect to be able to plug their
    11 notebook computer into a network port and have things &#8220;<span class="quote">just work.</span>&#8221;
    12 </p><p>
    13 <a class="indexterm" name="id2692936"></a>
     11notebook computer into a network port and have things <span class="quote">&#8220;<span class="quote">just work.</span>&#8221;</span>
     12</p><p>
     13<a class="indexterm" name="id2698992"></a>
    1414UNIX administrators have a point. Many of the normative practices in the Microsoft
    1515Windows world at best border on bad practice from a security perspective.
     
    1818that are equally perplexing to UNIX administrators. Welcome to the new world!
    1919</p><p>
    20 <a class="indexterm" name="id2692953"></a>
    21 <a class="indexterm" name="id2692962"></a>
    22 <a class="indexterm" name="id2692971"></a>
     20<a class="indexterm" name="id2699009"></a>
     21<a class="indexterm" name="id2699018"></a>
     22<a class="indexterm" name="id2699027"></a>
    2323The purpose of this chapter is to demonstrate the configuration of the Internet
    2424Software Consortium (ISC) DNS and DHCP servers to provide dynamic services that are
     
    2828examples used match configuration examples used elsewhere in this document.
    2929</p><p>
    30 <a class="indexterm" name="id2692994"></a>
    31 <a class="indexterm" name="id2693000"></a>
    32 <a class="indexterm" name="id2693007"></a>
     30<a class="indexterm" name="id2699050"></a>
     31<a class="indexterm" name="id2699057"></a>
     32<a class="indexterm" name="id2699064"></a>
    3333This chapter explicitly does not provide a tutorial, nor does it pretend to be a reference guide on DNS and
    3434DHCP, as this is well beyond the scope and intent of this document as a whole. Anyone who wants more detailed
     
    3636in the O'Reilly publications on DNS, see the <a class="ulink" href="http://www.oreilly.com/catalog/dns/index.htm" target="_top">O'Reilly</a> web site, and the <a class="ulink" href="http://www.bind9.net/books-dhcp" target="_top">BIND9.NET</a> web site for details.
    3737The books are:
    38 </p><div class="orderedlist"><ol type="1"><li><p>DNS and BIND, By Cricket Liu, Paul Albitz, ISBN: 1-56592-010-4</p></li><li><p>DNS &amp; Bind Cookbook, By Cricket Liu, ISBN: 0-596-00410-9</p></li><li><p>The DHCP Handbook (2nd Edition), By: Ralph Droms, Ted Lemon, ISBN 0-672-32327-3</p></li></ol></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2693070"></a>Example Configuration</h2></div></div></div><p>
    39 <a class="indexterm" name="id2693078"></a>
    40 <a class="indexterm" name="id2693085"></a>
     38</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>DNS and BIND, By Cricket Liu, Paul Albitz, ISBN: 1-56592-010-4</p></li><li class="listitem"><p>DNS &amp; Bind Cookbook, By Cricket Liu, ISBN: 0-596-00410-9</p></li><li class="listitem"><p>The DHCP Handbook (2nd Edition), By: Ralph Droms, Ted Lemon, ISBN 0-672-32327-3</p></li></ol></div></div><div class="sect1" title="Example Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2699127"></a>Example Configuration</h2></div></div></div><p>
     39<a class="indexterm" name="id2699135"></a>
     40<a class="indexterm" name="id2699142"></a>
    4141The DNS is to the Internet what water is to life. Nearly all information resources (host names) are resolved
    4242to their Internet protocol (IP) addresses through DNS.  Windows networking tried hard to avoid the
    43 complexities of DNS, but alas, DNS won.  <a class="indexterm" name="id2693096"></a> The alternative to
     43complexities of DNS, but alas, DNS won.  <a class="indexterm" name="id2699152"></a> The alternative to
    4444DNS, the Windows Internet Name Service (WINS)  an artifact of NetBIOS networking over the TCP/IP
    4545protocols  has demonstrated scalability problems as well as a flat, nonhierarchical namespace that
    4646became unmanageable as the size and complexity of information technology networks grew.
    4747</p><p>
    48 <a class="indexterm" name="id2693117"></a>
    49 <a class="indexterm" name="id2693123"></a>
     48<a class="indexterm" name="id2699174"></a>
     49<a class="indexterm" name="id2699180"></a>
    5050WINS is a Microsoft implementation of the RFC1001/1002 NetBIOS Name Service (NBNS).
    5151It allows NetBIOS clients (like Microsoft Windows machines) to register an arbitrary
     
    6767The following configurations demonstrate a simple, insecure dynamic DNS server and
    6868a simple DHCP server that matches the DNS configuration.
    69 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2693161"></a>Dynamic DNS</h3></div></div></div><p>
    70         <a class="indexterm" name="id2693169"></a>
     69</p><div class="sect2" title="Dynamic DNS"><div class="titlepage"><div><div><h3 class="title"><a name="id2699218"></a>Dynamic DNS</h3></div></div></div><p>
     70        <a class="indexterm" name="id2699226"></a>
    7171        The example DNS configuration is for a private network in the IP address
    7272        space for network 192.168.1.0/24. The private class network address space
    7373        is set forth in RFC1918.
    7474        </p><p>
    75         <a class="indexterm" name="id2693184"></a>
     75        <a class="indexterm" name="id2699241"></a>
    7676        It is assumed that this network will be situated behind a secure firewall.
    7777        The files that follow work with ISC BIND version 9. BIND is the Berkeley
     
    224224</pre><p>
    225225        </p><p>
    226 <a class="indexterm" name="id2693328"></a>
    227 <a class="indexterm" name="id2693335"></a>
     226<a class="indexterm" name="id2699385"></a>
     227<a class="indexterm" name="id2699392"></a>
    228228        The configuration files shown here were copied from a fully working system. All dynamically registered
    229229        entries have been removed. In addition to these files, BIND version 9 will
     
    231231        <code class="filename">.jnl</code> extension. Do not edit or tamper with the configuration
    232232        files or with the <code class="filename">.jnl</code> files that are created.
    233         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="DHCP"></a>DHCP Server</h3></div></div></div><p>
     233        </p></div><div class="sect2" title="DHCP Server"><div class="titlepage"><div><div><h3 class="title"><a name="DHCP"></a>DHCP Server</h3></div></div></div><p>
    234234        The following file is used with the ISC DHCP Server version 3.
    235235        The file is located in <code class="filename">/etc/dhcpd.conf</code>:
     
    262262        addresses between 192.168.1.60 and 192.168.1.254 are allocated for dynamic use.
    263263        </p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch47.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="Appendix.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="apa.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 47. Samba Support </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Appendix A. 
    264     GNU General Public License version 3
     264    <acronym class="acronym">GNU</acronym> General Public License version 3
    265265  </td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/FastStart.html

    r274 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 2. Fast Start: Cure for Impatience</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="introduction.html" title="Part I. General Installation"><link rel="prev" href="install.html" title="Chapter 1. How to Install and Test SAMBA"><link rel="next" href="type.html" title="Part II. Server Configuration Basics"></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 2. Fast Start: Cure for Impatience</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="install.html">Prev</a> </td><th width="60%" align="center">Part I. General Installation</th><td width="20%" align="right"> <a accesskey="n" href="type.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="FastStart"></a>Chapter 2. Fast Start: Cure for Impatience</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="FastStart.html#id2554132">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2554155">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2554224">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2554243">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2555984">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2556827">Domain Controller</a></span></dt></dl></dd></dl></div><p>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 2. Fast Start: Cure for Impatience</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="introduction.html" title="Part I. General Installation"><link rel="prev" href="install.html" title="Chapter 1. How to Install and Test SAMBA"><link rel="next" href="type.html" title="Part II. Server Configuration Basics"></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 2. Fast Start: Cure for Impatience</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="install.html">Prev</a> </td><th width="60%" align="center">Part I. General Installation</th><td width="20%" align="right"> <a accesskey="n" href="type.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 2. Fast Start: Cure for Impatience"><div class="titlepage"><div><div><h2 class="title"><a name="FastStart"></a>Chapter 2. Fast Start: Cure for Impatience</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="FastStart.html#id2560189">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2560212">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2560282">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2560300">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2562042">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2562885">Domain Controller</a></span></dt></dl></dd></dl></div><p>
    22When we first asked for suggestions for inclusion in the Samba HOWTO documentation,
    33someone wrote asking for example configurations  and lots of them. That is remarkably
     
    88that has been requested.
    99</p><p>
    10 The information in this chapter is very sparse compared with the book &#8220;<span class="quote">Samba-3 by Example</span>&#8221;
    11 that was written after the original version of this book was nearly complete. &#8220;<span class="quote">Samba-3 by Example</span>&#8221;
     10The information in this chapter is very sparse compared with the book <span class="quote">&#8220;<span class="quote">Samba-3 by Example</span>&#8221;</span>
     11that was written after the original version of this book was nearly complete. <span class="quote">&#8220;<span class="quote">Samba-3 by Example</span>&#8221;</span>
    1212was the result of feedback from reviewers during the final copy editing of the first edition. It
    1313was interesting to see that reader feedback mirrored that given by the original reviewers.
    1414In any case, a month and a half was spent in doing basic research to better understand what
    15 new as well as experienced network administrators would best benefit from. The book &#8220;<span class="quote">Samba-3 by Example</span>&#8221;
     15new as well as experienced network administrators would best benefit from. The book <span class="quote">&#8220;<span class="quote">Samba-3 by Example</span>&#8221;</span>
    1616is the result of that research. What is presented in the few pages of this book is covered
    17 far more comprehensively in the second edition of &#8220;<span class="quote">Samba-3 by Example</span>&#8221;. The second edition
     17far more comprehensively in the second edition of <span class="quote">&#8220;<span class="quote">Samba-3 by Example</span>&#8221;</span>. The second edition
    1818of both books will be released at the same time.
    1919</p><p>
    20 So in summary, the book &#8220;<span class="quote">The Official Samba-3 HOWTO &amp; Reference Guide</span>&#8221; is intended
    21 as the equivalent of an auto mechanic's repair guide. The book &#8220;<span class="quote">Samba-3 by Example</span>&#8221; is the
     20So in summary, the book <span class="quote">&#8220;<span class="quote">The Official Samba-3 HOWTO &amp; Reference Guide</span>&#8221;</span> is intended
     21as the equivalent of an auto mechanic's repair guide. The book <span class="quote">&#8220;<span class="quote">Samba-3 by Example</span>&#8221;</span> is the
    2222equivalent of the driver's guide that explains how to drive the car. If you want complete network
    2323configuration examples, go to <a class="ulink" href="http://www.samba.org/samba/docs/Samba3-ByExample.pdf" target="_top">Samba-3 by
    2424Example</a>.
    25 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2554132"></a>Features and Benefits</h2></div></div></div><p>
     25</p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2560189"></a>Features and Benefits</h2></div></div></div><p>
    2626Samba needs very little configuration to create a basic working system.
    2727In this chapter we progress from the simple to the complex, for each providing
     
    3333requests for example configurations. All identities have been obscured to protect
    3434the guilty, and any resemblance to unreal nonexistent sites is deliberate.
    35 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2554155"></a>Description of Example Sites</h2></div></div></div><p>
     35</p></div><div class="sect1" title="Description of Example Sites"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2560212"></a>Description of Example Sites</h2></div></div></div><p>
    3636In the first set of configuration examples we consider the case of exceptionally simple system requirements.
    3737There is a real temptation to make something that should require little effort much too complex.
     
    5454or replace them entirely. These cover domain member servers as well as Samba domain control (PDC/BDC) and
    5555finally describes in detail a large distributed network with branch offices in remote locations.
    56 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2554224"></a>Worked Examples</h2></div></div></div><p>
     56</p></div><div class="sect1" title="Worked Examples"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2560282"></a>Worked Examples</h2></div></div></div><p>
    5757The configuration examples are designed to cover everything necessary to get Samba
    5858running. They do not cover basic operating system platform configuration, which is
     
    6161It is also assumed that Samba has been correctly installed, either by way of installation
    6262of the packages that are provided by the operating system vendor or through other means.
    63 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2554243"></a>Standalone Server</h3></div></div></div><p>
    64         <a class="indexterm" name="id2554250"></a>
     63</p><div class="sect2" title="Standalone Server"><div class="titlepage"><div><div><h3 class="title"><a name="id2560300"></a>Standalone Server</h3></div></div></div><p>
     64        <a class="indexterm" name="id2560308"></a>
    6565        A standalone server implies no more than the fact that it is not a domain controller
    6666        and it does not participate in domain control. It can be a simple, workgroup-like
     
    6969        As the examples are developed, every attempt is made to progress the system toward greater capability, just as
    7070        one might expect would happen in a real business office as that office grows in size and its needs change.
    71         </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="anon-ro"></a>Anonymous Read-Only Document Server</h4></div></div></div><p>
    72                 <a class="indexterm" name="id2554282"></a>
     71        </p><div class="sect3" title="Anonymous Read-Only Document Server"><div class="titlepage"><div><div><h4 class="title"><a name="anon-ro"></a>Anonymous Read-Only Document Server</h4></div></div></div><p>
     72                <a class="indexterm" name="id2560339"></a>
    7373                The purpose of this type of server is to make available to any user
    7474                any documents or files that are placed on the shared resource. The
    7575                shared resource could be a CD-ROM drive, a CD-ROM image, or a file
    7676                storage area.
    77                 </p><div class="itemizedlist"><ul type="disc"><li><p>
     77                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    7878                        The file system share point will be <code class="filename">/export</code>.
    79                         </p></li><li><p>
     79                        </p></li><li class="listitem"><p>
    8080                        All files will be owned by a user called Jack Baumbach.
    8181                        Jack's login name will be <span class="emphasis"><em>jackb</em></span>. His password will be
     
    8383                        using; do not use this in a production environment because
    8484                        all readers of this document will know it.
    85                         </p></li></ul></div><div class="procedure"><a name="id2554326"></a><p class="title"><b>Procedure 2.1. Installation Procedure: Read-Only Server</b></p><div class="example"><a name="anon-example"></a><p class="title"><b>Example 2.1. Anonymous Read-Only Server Configuration</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="id2554452"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2554462"></a><em class="parameter"><code>netbios name = HOBBIT</code></em></td></tr><tr><td><a class="indexterm" name="id2554472"></a><em class="parameter"><code>security = share</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[data]</code></em></td></tr><tr><td><a class="indexterm" name="id2554491"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2554502"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2554512"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2554522"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr></table></div></div><br class="example-break"><ol type="1"><li><p>
     85                        </p></li></ul></div><div class="procedure" title="Procedure 2.1. Installation Procedure: Read-Only Server"><a name="id2560383"></a><p class="title"><b>Procedure 2.1. Installation Procedure: Read-Only Server</b></p><div class="example"><a name="anon-example"></a><p class="title"><b>Example 2.1. Anonymous Read-Only Server Configuration</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="id2560509"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2560519"></a><em class="parameter"><code>netbios name = HOBBIT</code></em></td></tr><tr><td><a class="indexterm" name="id2560530"></a><em class="parameter"><code>security = share</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[data]</code></em></td></tr><tr><td><a class="indexterm" name="id2560548"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2560559"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2560569"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2560580"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr></table></div></div><br class="example-break"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    8686                        Add user to system (with creation of the user's home directory):
    8787</p><pre class="screen">
    8888<code class="prompt">root# </code><strong class="userinput"><code>useradd -c "Jack Baumbach" -m -g users -p m0r3pa1n jackb</code></strong>
    8989</pre><p>
    90                         </p></li><li><p>
     90                        </p></li><li class="step" title="Step 2"><p>
    9191                        Create directory, and set permissions and ownership:
    9292</p><pre class="screen">
     
    9595<code class="prompt">root# </code><strong class="userinput"><code>chown jackb.users /export</code></strong>
    9696</pre><p>
    97                         </p></li><li><p>
     97                        </p></li><li class="step" title="Step 3"><p>
    9898                        Copy the files that should be shared to the <code class="filename">/export</code>
    9999                        directory.
    100                         </p></li><li><p>
     100                        </p></li><li class="step" title="Step 4"><p>
    101101                        Install the Samba configuration file (<code class="filename">/etc/samba/smb.conf</code>)
    102102                        as shown in <a class="link" href="FastStart.html#anon-example" title="Example 2.1. Anonymous Read-Only Server Configuration">Anonymous Read-Only Server Configuration</a>.
    103                         </p></li><li><p>
     103                        </p></li><li class="step" title="Step 5"><p>
    104104                        Test the configuration file by executing the following command:
    105105</p><pre class="screen">
     
    137137        guest only = Yes
    138138</pre><p>
    139                         </p></li><li><p>
     139                        </p></li><li class="step" title="Step 6"><p>
    140140                        Start Samba using the method applicable to your operating system platform. The method that
    141141                        should be used is platform dependent. Refer to <a class="link" href="compiling.html#startingSamba" title="Starting the smbd nmbd and winbindd">Starting Samba</a>
    142142                        for further information regarding the starting of Samba.
    143                         </p></li><li><p>
     143                        </p></li><li class="step" title="Step 7"><p>
    144144                        Configure your MS Windows client for workgroup <span class="emphasis"><em>MIDEARTH</em></span>,
    145145                        set the machine name to ROBBINS, reboot, wait a few (2 - 5) minutes,
     
    152152                The information above (following # Global parameters) provides the complete
    153153                contents of the <code class="filename">/etc/samba/smb.conf</code> file.
    154                 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2554659"></a>Anonymous Read-Write Document Server</h4></div></div></div><p>
    155                 <a class="indexterm" name="id2554667"></a>
     154                </p></div><div class="sect3" title="Anonymous Read-Write Document Server"><div class="titlepage"><div><div><h4 class="title"><a name="id2560716"></a>Anonymous Read-Write Document Server</h4></div></div></div><p>
     155                <a class="indexterm" name="id2560724"></a>
    156156                We should view this configuration as a progression from the previous example.
    157157                The difference is that shared access is now forced to the user identity of jackb
     
    170170                </p><p>
    171171                The complete, modified <code class="filename">smb.conf</code> file is as shown in <a class="link" href="FastStart.html#anon-rw" title="Example 2.2. Modified Anonymous Read-Write smb.conf">&#8220;Modified Anonymous Read-Write smb.conf&#8221;</a>.
    172                 </p><div class="example"><a name="anon-rw"></a><p class="title"><b>Example 2.2. Modified Anonymous Read-Write smb.conf</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="id2554766"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2554777"></a><em class="parameter"><code>netbios name = HOBBIT</code></em></td></tr><tr><td><a class="indexterm" name="id2554787"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[data]</code></em></td></tr><tr><td><a class="indexterm" name="id2554806"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2554816"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2554827"></a><em class="parameter"><code>force user = jackb</code></em></td></tr><tr><td><a class="indexterm" name="id2554837"></a><em class="parameter"><code>force group = users</code></em></td></tr><tr><td><a class="indexterm" name="id2554848"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2554858"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2554870"></a>Anonymous Print Server</h4></div></div></div><p>
    173                 <a class="indexterm" name="id2554878"></a>
     172                </p><div class="example"><a name="anon-rw"></a><p class="title"><b>Example 2.2. Modified Anonymous Read-Write smb.conf</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="id2560824"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2560834"></a><em class="parameter"><code>netbios name = HOBBIT</code></em></td></tr><tr><td><a class="indexterm" name="id2560844"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[data]</code></em></td></tr><tr><td><a class="indexterm" name="id2560863"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2560874"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2560884"></a><em class="parameter"><code>force user = jackb</code></em></td></tr><tr><td><a class="indexterm" name="id2560894"></a><em class="parameter"><code>force group = users</code></em></td></tr><tr><td><a class="indexterm" name="id2560905"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2560915"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect3" title="Anonymous Print Server"><div class="titlepage"><div><div><h4 class="title"><a name="id2560928"></a>Anonymous Print Server</h4></div></div></div><p>
     173                <a class="indexterm" name="id2560935"></a>
    174174                An anonymous print server serves two purposes:
    175                 </p><div class="itemizedlist"><ul type="disc"><li><p>
     175                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    176176                        It allows printing to all printers from a single location.
    177                         </p></li><li><p>
     177                        </p></li><li class="listitem"><p>
    178178                        It reduces network traffic congestion due to many users trying
    179179                        to access a limited number of printers.
     
    188188                not want to have automatic driver download, so we disable it in the following
    189189                configuration. <a class="link" href="FastStart.html#anon-print" title="Example 2.3. Anonymous Print Server smb.conf">&#8220;Anonymous Print Server smb.conf&#8221;</a> is the resulting <code class="filename">smb.conf</code> file.
    190                 </p><div class="example"><a name="anon-print"></a><p class="title"><b>Example 2.3. Anonymous Print Server smb.conf</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="id2554955"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2554965"></a><em class="parameter"><code>netbios name = LUTHIEN</code></em></td></tr><tr><td><a class="indexterm" name="id2554975"></a><em class="parameter"><code>security = share</code></em></td></tr><tr><td><a class="indexterm" name="id2554986"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2554996"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555007"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2555018"></a><em class="parameter"><code>printing = cups</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="id2555036"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2555047"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2555057"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555068"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555078"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555088"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><p>
     190                </p><div class="example"><a name="anon-print"></a><p class="title"><b>Example 2.3. Anonymous Print Server smb.conf</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="id2561012"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2561022"></a><em class="parameter"><code>netbios name = LUTHIEN</code></em></td></tr><tr><td><a class="indexterm" name="id2561033"></a><em class="parameter"><code>security = share</code></em></td></tr><tr><td><a class="indexterm" name="id2561043"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2561054"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2561064"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2561075"></a><em class="parameter"><code>printing = cups</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="id2561094"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2561104"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2561115"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2561125"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2561135"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2561146"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><p>
    191191                The above configuration is not ideal. It uses no smart features, and it deliberately
    192192                presents a less than elegant solution. But it is basic, and it does print. Samba makes
     
    200200                CUPS. In such case, it could be set to the name of any file that contains a list
    201201                of printers that should be made available to Windows clients.
    202                 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     202                </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    203203                Windows users will need to install a local printer and then change the print
    204204                to device after installation of the drivers. The print to device can then be set to
     
    207207                Make sure that the directory <code class="filename">/var/spool/samba</code> is capable of being used
    208208                as intended. The following steps must be taken to achieve this:
    209                 </p><div class="itemizedlist"><ul type="disc"><li><p>
     209                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    210210                        The directory must be owned by the superuser (root) user and group:
    211211</p><pre class="screen">
    212212<code class="prompt">root# </code><strong class="userinput"><code>chown root.root /var/spool/samba</code></strong>
    213213</pre><p>
    214                         </p></li><li><p>
     214                        </p></li><li class="listitem"><p>
    215215                        Directory permissions should be set for public read-write with the
    216216                        sticky bit set as shown:
     
    220220                The purpose of setting the sticky bit is to prevent who does not own the temporary print file
    221221                from being able to take control of it with the potential for devious misuse.
    222                         </p></li></ul></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    223                 <a class="indexterm" name="id2555198"></a>
    224                 <a class="indexterm" name="id2555207"></a>
     222                        </p></li></ul></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     223                <a class="indexterm" name="id2561256"></a>
     224                <a class="indexterm" name="id2561264"></a>
    225225                On CUPS-enabled systems there is a facility to pass raw data directly to the printer without
    226226                intermediate processing via CUPS print filters. Where use of this mode of operation is desired,
    227227                it is necessary to configure a raw printing device. It is also necessary to enable the raw mime
    228228                handler in the <code class="filename">/etc/mime.conv</code> and <code class="filename">/etc/mime.types</code>
    229                 files. Refer to <a class="link" href="CUPS-printing.html#cups-raw" title="Explicitly Enable raw Printing for application/octet-stream">&#8220;Explicitly Enable raw Printing for application/octet-stream&#8221;</a>.
    230                 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2555235"></a>Secure Read-Write File and Print Server</h4></div></div></div><p>
     229                files. Refer to <a class="link" href="CUPS-printing.html#cups-raw" title="Explicitly Enable &#8220;raw&#8221; Printing for application/octet-stream">&#8220;Explicitly Enable raw Printing for application/octet-stream&#8221;</a>.
     230                </p></div></div><div class="sect3" title="Secure Read-Write File and Print Server"><div class="titlepage"><div><div><h4 class="title"><a name="id2561292"></a>Secure Read-Write File and Print Server</h4></div></div></div><p>
    231231                We progress now from simple systems to a server that is slightly more complex.
    232232                </p><p>
     
    251251                added to the list of active passdb backends no matter whether it specified directly in Samba configuration
    252252                file or not.
    253                 </p><div class="procedure"><a name="id2555305"></a><p class="title"><b>Procedure 2.2. Installing the Secure Office Server</b></p><div class="example"><a name="OfficeServer"></a><p class="title"><b>Example 2.4. Secure Office Server smb.conf</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="id2555400"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2555411"></a><em class="parameter"><code>netbios name = OLORIN</code></em></td></tr><tr><td><a class="indexterm" name="id2555421"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2555431"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555442"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2555453"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2555472"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2555482"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2555492"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2555503"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[public]</code></em></td></tr><tr><td><a class="indexterm" name="id2555522"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2555532"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2555542"></a><em class="parameter"><code>force user = maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2555553"></a><em class="parameter"><code>force group = users</code></em></td></tr><tr><td><a class="indexterm" name="id2555563"></a><em class="parameter"><code>read only = 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="id2555582"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2555592"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2555603"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2555613"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2555624"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555634"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555644"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555655"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><ol type="1"><li><p>
    254                 <a class="indexterm" name="id2555316"></a>
     253                </p><div class="procedure" title="Procedure 2.2. Installing the Secure Office Server"><a name="id2561362"></a><p class="title"><b>Procedure 2.2. Installing the Secure Office Server</b></p><div class="example"><a name="OfficeServer"></a><p class="title"><b>Example 2.4. Secure Office Server smb.conf</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="id2561458"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2561468"></a><em class="parameter"><code>netbios name = OLORIN</code></em></td></tr><tr><td><a class="indexterm" name="id2561478"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2561489"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2561499"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2561510"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2561529"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2561539"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2561550"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2561560"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[public]</code></em></td></tr><tr><td><a class="indexterm" name="id2561579"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2561589"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2561600"></a><em class="parameter"><code>force user = maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2561610"></a><em class="parameter"><code>force group = users</code></em></td></tr><tr><td><a class="indexterm" name="id2561621"></a><em class="parameter"><code>read only = 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="id2561639"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2561650"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2561660"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2561671"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2561681"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2561691"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2561702"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2561712"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
     254                <a class="indexterm" name="id2561373"></a>
    255255                        Add all users to the operating system:
    256256</p><pre class="screen">
     
    259259<code class="prompt">root# </code><strong class="userinput"><code>useradd -c "Amed Sehkah" -m -g users -p secret ameds</code></strong>
    260260</pre><p>
    261                         </p></li><li><p>
     261                        </p></li><li class="step" title="Step 2"><p>
    262262                        Configure the Samba <code class="filename">smb.conf</code> file as shown in <a class="link" href="FastStart.html#OfficeServer" title="Example 2.4. Secure Office Server smb.conf">&#8220;Secure Office Server smb.conf&#8221;</a>.
    263                         </p></li><li><p>
     263                        </p></li><li class="step" title="Step 3"><p>
    264264                        Initialize the Microsoft Windows password database with the new users:
    265265</p><pre class="screen">
     
    284284Added user ameds.
    285285</pre><p>
    286                         </p></li><li><p>
     286                        </p></li><li class="step" title="Step 4"><p>
    287287                        Install printer using the CUPS Web interface. Make certain that all
    288288                        printers that will be shared with Microsoft Windows clients are installed
    289289                        as raw printing devices.
    290                         </p></li><li><p>
     290                        </p></li><li class="step" title="Step 5"><p>
    291291                        Start Samba using the operating system administrative interface.
    292292                        Alternately, this can be done manually by executing:
    293                         <a class="indexterm" name="id2555775"></a>
    294                         <a class="indexterm" name="id2555781"></a>
    295                         <a class="indexterm" name="id2555788"></a>
    296                         <a class="indexterm" name="id2555796"></a>
     293                        <a class="indexterm" name="id2561832"></a>
     294                        <a class="indexterm" name="id2561839"></a>
     295                        <a class="indexterm" name="id2561845"></a>
     296                        <a class="indexterm" name="id2561853"></a>
    297297</p><pre class="screen">
    298298<code class="prompt">root# </code><strong class="userinput"><code> nmbd; smbd;</code></strong>
     
    301301                        maintaining control can add the <code class="constant">-D</code> flag to coerce them to start
    302302                        up in daemon mode.
    303                         </p></li><li><p>
     303                        </p></li><li class="step" title="Step 6"><p>
    304304                        Configure the <code class="filename">/export</code> directory:
    305305</p><pre class="screen">
     
    308308<code class="prompt">root# </code><strong class="userinput"><code>chmod u=rwx,g=rwx,o-rwx /export</code></strong>
    309309</pre><p>
    310                         </p></li><li><p>
     310                        </p></li><li class="step" title="Step 7"><p>
    311311                        Check that Samba is running correctly:
    312312</p><pre class="screen">
     
    335335Connection to olorin failed
    336336</pre><p>
    337                         </p></li><li><p>
     337                        </p></li><li class="step" title="Step 8"><p>
    338338                        Connect to OLORIN as maryo:
    339339</p><pre class="screen">
     
    359359                        explore slightly more complex examples. For the remainder of this chapter we abbreviate
    360360                        instructions, since there are previous examples.
    361                         </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2555984"></a>Domain Member Server</h3></div></div></div><p>
    362         <a class="indexterm" name="id2555992"></a>
     361                        </p></div></div><div class="sect2" title="Domain Member Server"><div class="titlepage"><div><div><h3 class="title"><a name="id2562042"></a>Domain Member Server</h3></div></div></div><p>
     362        <a class="indexterm" name="id2562049"></a>
    363363        In this instance we consider the simplest server configuration we can get away with
    364364        to make an accounting department happy. Let's be warned, the users are accountants and they
     
    391391        access to all areas. Users must have a private home share for personal work-related files
    392392        and for materials not related to departmental operations.
    393         </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2556059"></a>Example Configuration</h4></div></div></div><p>
     393        </p><div class="sect3" title="Example Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2562116"></a>Example Configuration</h4></div></div></div><p>
    394394                The server <span class="emphasis"><em>valinor</em></span> will be a member server of the company domain.
    395395                Accounting will have only a local server. User accounts will be on the domain controllers,
    396396                as will desktop profiles and all network policy files.
    397                 </p><div class="procedure"><div class="example"><a name="fast-member-server"></a><p class="title"><b>Example 2.5. Member Server smb.conf (Globals)</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="id2556132"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2556143"></a><em class="parameter"><code>netbios name = VALINOR</code></em></td></tr><tr><td><a class="indexterm" name="id2556153"></a><em class="parameter"><code>security = DOMAIN</code></em></td></tr><tr><td><a class="indexterm" name="id2556163"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2556174"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556184"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2556195"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2556206"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2556216"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556227"></a><em class="parameter"><code>printing = cups</code></em></td></tr></table></div></div><br class="example-break"><div class="example"><a name="fast-memberserver-shares"></a><p class="title"><b>Example 2.6. Member Server smb.conf (Shares and Services)</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="id2556260"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2556271"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2556281"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2556292"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[spytfull]</code></em></td></tr><tr><td><a class="indexterm" name="id2556310"></a><em class="parameter"><code>comment = Accounting Application Only</code></em></td></tr><tr><td><a class="indexterm" name="id2556322"></a><em class="parameter"><code>path = /export/spytfull</code></em></td></tr><tr><td><a class="indexterm" name="id2556332"></a><em class="parameter"><code>valid users = @Accounts</code></em></td></tr><tr><td><a class="indexterm" name="id2556342"></a><em class="parameter"><code>admin users = maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2556353"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[public]</code></em></td></tr><tr><td><a class="indexterm" name="id2556372"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2556382"></a><em class="parameter"><code>path = /export/public</code></em></td></tr><tr><td><a class="indexterm" name="id2556392"></a><em class="parameter"><code>read only = 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="id2556411"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2556422"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2556432"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2556442"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2556453"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556463"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556474"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556484"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><ol type="1"><li><p>
     397                </p><div class="procedure"><div class="example"><a name="fast-member-server"></a><p class="title"><b>Example 2.5. Member Server smb.conf (Globals)</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="id2562190"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2562200"></a><em class="parameter"><code>netbios name = VALINOR</code></em></td></tr><tr><td><a class="indexterm" name="id2562210"></a><em class="parameter"><code>security = DOMAIN</code></em></td></tr><tr><td><a class="indexterm" name="id2562221"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2562231"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2562242"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2562253"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2562263"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2562273"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2562284"></a><em class="parameter"><code>printing = cups</code></em></td></tr></table></div></div><br class="example-break"><div class="example"><a name="fast-memberserver-shares"></a><p class="title"><b>Example 2.6. Member Server smb.conf (Shares and Services)</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="id2562318"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2562328"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2562339"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2562349"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[spytfull]</code></em></td></tr><tr><td><a class="indexterm" name="id2562368"></a><em class="parameter"><code>comment = Accounting Application Only</code></em></td></tr><tr><td><a class="indexterm" name="id2562379"></a><em class="parameter"><code>path = /export/spytfull</code></em></td></tr><tr><td><a class="indexterm" name="id2562389"></a><em class="parameter"><code>valid users = @Accounts</code></em></td></tr><tr><td><a class="indexterm" name="id2562400"></a><em class="parameter"><code>admin users = maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2562410"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[public]</code></em></td></tr><tr><td><a class="indexterm" name="id2562429"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2562439"></a><em class="parameter"><code>path = /export/public</code></em></td></tr><tr><td><a class="indexterm" name="id2562450"></a><em class="parameter"><code>read only = 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="id2562469"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2562479"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2562489"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2562500"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2562510"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2562521"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2562531"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2562541"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    398398                        Do not add users to the UNIX/Linux server; all of this will run off the
    399399                        central domain.
    400                         </p></li><li><p>
     400                        </p></li><li class="step" title="Step 2"><p>
    401401                        Configure <code class="filename">smb.conf</code> according to <a class="link" href="FastStart.html#fast-member-server" title="Example 2.5. Member Server smb.conf (Globals)">Member server smb.conf
    402402                        (globals)</a> and <a class="link" href="FastStart.html#fast-memberserver-shares" title="Example 2.6. Member Server smb.conf (Shares and Services)">Member server smb.conf (shares
    403403                        and services)</a>.
    404                         </p></li><li><p>
    405                         <a class="indexterm" name="id2556501"></a>
     404                        </p></li><li class="step" title="Step 3"><p>
     405                        <a class="indexterm" name="id2562558"></a>
    406406                        Join the domain. Note: Do not start Samba until this step has been completed!
    407407</p><pre class="screen">
     
    409409Joined domain MIDEARTH.
    410410</pre><p>
    411                         </p></li><li><p>
     411                        </p></li><li class="step" title="Step 4"><p>
    412412                        Make absolutely certain that you disable (shut down) the <code class="literal">nscd</code>
    413413                        daemon on any system on which <code class="literal">winbind</code> is configured to run.
    414                         </p></li><li><p>
     414                        </p></li><li class="step" title="Step 5"><p>
    415415                        Start Samba following the normal method for your operating system platform.
    416416                        If you wish to do this manually, execute as root:
    417                         <a class="indexterm" name="id2556553"></a>
    418                         <a class="indexterm" name="id2556559"></a>
    419                         <a class="indexterm" name="id2556566"></a>
    420                         <a class="indexterm" name="id2556572"></a>
    421                         <a class="indexterm" name="id2556580"></a>
    422                         <a class="indexterm" name="id2556589"></a>
     417                        <a class="indexterm" name="id2562610"></a>
     418                        <a class="indexterm" name="id2562617"></a>
     419                        <a class="indexterm" name="id2562623"></a>
     420                        <a class="indexterm" name="id2562629"></a>
     421                        <a class="indexterm" name="id2562638"></a>
     422                        <a class="indexterm" name="id2562646"></a>
    423423</p><pre class="screen">
    424424<code class="prompt">root# </code><strong class="userinput"><code>nmbd; smbd; winbindd;</code></strong>
    425425</pre><p>
    426                         </p></li><li><p>
     426                        </p></li><li class="step" title="Step 6"><p>
    427427                        Configure the name service switch (NSS) control file on your system to resolve user and group names
    428428                        via winbind. Edit the following lines in <code class="filename">/etc/nsswitch.conf</code>:
     
    432432hosts:  files dns winbind
    433433</pre><p>
    434                         </p></li><li><p>
     434                        </p></li><li class="step" title="Step 7"><p>
    435435                        Set the password for <code class="literal">wbinfo</code> to use:
    436436</p><pre class="screen">
    437437<code class="prompt">root# </code><strong class="userinput"><code>wbinfo --set-auth-user=root%'bigsecret'</code></strong>
    438438</pre><p>
    439                         </p></li><li><p>
     439                        </p></li><li class="step" title="Step 8"><p>
    440440                        Validate that domain user and group credentials can be correctly resolved by executing:
    441441</p><pre class="screen">
     
    454454MIDEARTH\Accounts
    455455</pre><p>
    456                         </p></li><li><p>
     456                        </p></li><li class="step" title="Step 9"><p>
    457457                        Check that <code class="literal">winbind</code> is working. The following demonstrates correct
    458458                        username resolution via the <code class="literal">getent</code> system utility:
     
    461461maryo:x:15000:15003:Mary Orville:/home/MIDEARTH/maryo:/bin/false
    462462</pre><p>
    463                         </p></li><li><p>
     463                        </p></li><li class="step" title="Step 10"><p>
    464464                        A final test that we have this under control might be reassuring:
    465465</p><pre class="screen">
     
    473473<code class="prompt">root# </code><strong class="userinput"><code>rm /export/a_file</code></strong>
    474474</pre><p>
    475                         </p></li><li><p>
     475                        </p></li><li class="step" title="Step 11"><p>
    476476                        Configuration is now mostly complete, so this is an opportune time
    477477                        to configure the directory structure for this site:
     
    481481<code class="prompt">root# </code><strong class="userinput"><code>chown maryo.Accounts /export/{spytfull,public}</code></strong>
    482482</pre><p>
    483                         </p></li></ol></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2556827"></a>Domain Controller</h3></div></div></div><p>
    484         <a class="indexterm" name="id2556835"></a>
     483                        </p></li></ol></div></div></div><div class="sect2" title="Domain Controller"><div class="titlepage"><div><div><h3 class="title"><a name="id2562885"></a>Domain Controller</h3></div></div></div><p>
     484        <a class="indexterm" name="id2562892"></a>
    485485        For the remainder of this chapter the focus is on the configuration of domain control.
    486486        The examples that follow are for two implementation strategies. Remember, our objective is
     
    499499        authentication services. The following are symptoms of an under-resourced domain control
    500500        environment:
    501         </p><div class="itemizedlist"><ul type="disc"><li><p>
     501        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    502502                 Domain logons intermittently fail.
    503                 </p></li><li><p>
     503                </p></li><li class="listitem"><p>
    504504                File access on a domain member server intermittently fails, giving a permission denied
    505505                error message.
     
    514514        the contents of the database, except by external means (i.e., there is no self-contained protocol
    515515        in Samba-3 for Security Account Manager database [SAM] replication).
    516         </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     516        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    517517        If you need more than one domain controller, do not use a tdbsam authentication backend.
    518         </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2556907"></a>Example: Engineering Office</h4></div></div></div><p>
     518        </p></div><div class="sect3" title="Example: Engineering Office"><div class="titlepage"><div><div><h4 class="title"><a name="id2562964"></a>Example: Engineering Office</h4></div></div></div><p>
    519519                The engineering office network server we present here is designed to demonstrate use
    520520                of the new tdbsam password backend. The tdbsam
    521521                facility is new to Samba-3. It is designed to provide many user and machine account controls
    522522                that are possible with Microsoft Windows NT4. It is safe to use this in smaller networks.
    523                 </p><div class="procedure"><div class="example"><a name="fast-engoffice-global"></a><p class="title"><b>Example 2.7. Engineering Office smb.conf (globals)</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2556977"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2556987"></a><em class="parameter"><code>netbios name = FRODO</code></em></td></tr><tr><td><a class="indexterm" name="id2556997"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2557008"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2557018"></a><em class="parameter"><code>add user script = /usr/sbin/useradd -m %u</code></em></td></tr><tr><td><a class="indexterm" name="id2557029"></a><em class="parameter"><code>delete user script = /usr/sbin/userdel -r %u</code></em></td></tr><tr><td><a class="indexterm" name="id2557041"></a><em class="parameter"><code>add group script = /usr/sbin/groupadd %g</code></em></td></tr><tr><td><a class="indexterm" name="id2557052"></a><em class="parameter"><code>delete group script = /usr/sbin/groupdel %g</code></em></td></tr><tr><td><a class="indexterm" name="id2557063"></a><em class="parameter"><code>add user to group script = /usr/sbin/groupmod -A %u %g</code></em></td></tr><tr><td><a class="indexterm" name="id2557075"></a><em class="parameter"><code>delete user from group script = /usr/sbin/groupmod -R %u %g</code></em></td></tr><tr><td><a class="indexterm" name="id2557087"></a><em class="parameter"><code>add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody %u</code></em></td></tr><tr><td># Note: The following specifies the default logon script.</td></tr><tr><td># Per user logon scripts can be specified in the user account using pdbedit </td></tr><tr><td><a class="indexterm" name="id2557107"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td># This sets the default profile path. Set per user paths with pdbedit</td></tr><tr><td><a class="indexterm" name="id2557123"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2557134"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2557144"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2557155"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557165"></a><em class="parameter"><code>os level = 35</code></em></td></tr><tr><td><a class="indexterm" name="id2557176"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557186"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557196"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2557207"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2557217"></a><em class="parameter"><code>printing = cups</code></em></td></tr></table></div></div><br class="example-break"><div class="example"><a name="fast-engoffice-shares"></a><p class="title"><b>Example 2.8. Engineering Office smb.conf (shares and services)</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="id2557251"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2557261"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2557271"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2557282"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td># Printing auto-share (makes printers available thru CUPS)</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2557305"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2557315"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2557326"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2557336"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2557346"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557357"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557367"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[print$]</code></em></td></tr><tr><td><a class="indexterm" name="id2557386"></a><em class="parameter"><code>comment = Printer Drivers Share</code></em></td></tr><tr><td><a class="indexterm" name="id2557397"></a><em class="parameter"><code>path = /var/lib/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2557408"></a><em class="parameter"><code>write list = maryo, root</code></em></td></tr><tr><td><a class="indexterm" name="id2557419"></a><em class="parameter"><code>printer admin = maryo, root</code></em></td></tr><tr><td># Needed to support domain logons</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[netlogon]</code></em></td></tr><tr><td><a class="indexterm" name="id2557441"></a><em class="parameter"><code>comment = Network Logon Service</code></em></td></tr><tr><td><a class="indexterm" name="id2557452"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2557463"></a><em class="parameter"><code>admin users = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2557474"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557484"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td># For profiles to work, create a user directory under the path</td></tr><tr><td>#  shown. i.e., mkdir -p /var/lib/samba/profiles/maryo</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[Profiles]</code></em></td></tr><tr><td><a class="indexterm" name="id2557512"></a><em class="parameter"><code>comment = Roaming Profile Share</code></em></td></tr><tr><td><a class="indexterm" name="id2557523"></a><em class="parameter"><code>path = /var/lib/samba/profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2557534"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2557544"></a><em class="parameter"><code>profile acls = Yes</code></em></td></tr><tr><td># Other resource (share/printer) definitions would follow below.</td></tr></table></div></div><br class="example-break"><ol type="1"><li><p>
     523                </p><div class="procedure"><div class="example"><a name="fast-engoffice-global"></a><p class="title"><b>Example 2.7. Engineering Office smb.conf (globals)</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2563034"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2563044"></a><em class="parameter"><code>netbios name = FRODO</code></em></td></tr><tr><td><a class="indexterm" name="id2563055"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2563065"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2563076"></a><em class="parameter"><code>add user script = /usr/sbin/useradd -m %u</code></em></td></tr><tr><td><a class="indexterm" name="id2563087"></a><em class="parameter"><code>delete user script = /usr/sbin/userdel -r %u</code></em></td></tr><tr><td><a class="indexterm" name="id2563098"></a><em class="parameter"><code>add group script = /usr/sbin/groupadd %g</code></em></td></tr><tr><td><a class="indexterm" name="id2563109"></a><em class="parameter"><code>delete group script = /usr/sbin/groupdel %g</code></em></td></tr><tr><td><a class="indexterm" name="id2563120"></a><em class="parameter"><code>add user to group script = /usr/sbin/groupmod -A %u %g</code></em></td></tr><tr><td><a class="indexterm" name="id2563132"></a><em class="parameter"><code>delete user from group script = /usr/sbin/groupmod -R %u %g</code></em></td></tr><tr><td><a class="indexterm" name="id2563144"></a><em class="parameter"><code>add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody %u</code></em></td></tr><tr><td># Note: The following specifies the default logon script.</td></tr><tr><td># Per user logon scripts can be specified in the user account using pdbedit </td></tr><tr><td><a class="indexterm" name="id2563165"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td># This sets the default profile path. Set per user paths with pdbedit</td></tr><tr><td><a class="indexterm" name="id2563180"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2563191"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2563202"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2563212"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563223"></a><em class="parameter"><code>os level = 35</code></em></td></tr><tr><td><a class="indexterm" name="id2563233"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563243"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563254"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2563264"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2563275"></a><em class="parameter"><code>printing = cups</code></em></td></tr></table></div></div><br class="example-break"><div class="example"><a name="fast-engoffice-shares"></a><p class="title"><b>Example 2.8. Engineering Office smb.conf (shares and services)</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="id2563308"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2563318"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2563329"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2563339"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td># Printing auto-share (makes printers available thru CUPS)</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2563362"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2563373"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2563383"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2563393"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2563404"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563414"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563425"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[print$]</code></em></td></tr><tr><td><a class="indexterm" name="id2563443"></a><em class="parameter"><code>comment = Printer Drivers Share</code></em></td></tr><tr><td><a class="indexterm" name="id2563454"></a><em class="parameter"><code>path = /var/lib/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2563466"></a><em class="parameter"><code>write list = maryo, root</code></em></td></tr><tr><td><a class="indexterm" name="id2563476"></a><em class="parameter"><code>printer admin = maryo, root</code></em></td></tr><tr><td># Needed to support domain logons</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[netlogon]</code></em></td></tr><tr><td><a class="indexterm" name="id2563499"></a><em class="parameter"><code>comment = Network Logon Service</code></em></td></tr><tr><td><a class="indexterm" name="id2563510"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2563521"></a><em class="parameter"><code>admin users = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2563531"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563542"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td># For profiles to work, create a user directory under the path</td></tr><tr><td>#  shown. i.e., mkdir -p /var/lib/samba/profiles/maryo</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[Profiles]</code></em></td></tr><tr><td><a class="indexterm" name="id2563569"></a><em class="parameter"><code>comment = Roaming Profile Share</code></em></td></tr><tr><td><a class="indexterm" name="id2563580"></a><em class="parameter"><code>path = /var/lib/samba/profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2563591"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2563602"></a><em class="parameter"><code>profile acls = Yes</code></em></td></tr><tr><td># Other resource (share/printer) definitions would follow below.</td></tr></table></div></div><br class="example-break"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    524524                        A working PDC configuration using the tdbsam
    525525                        password backend can be found in <a class="link" href="FastStart.html#fast-engoffice-global" title="Example 2.7. Engineering Office smb.conf (globals)">Engineering Office smb.conf
    526526                        (globals)</a> together with <a class="link" href="FastStart.html#fast-engoffice-shares" title="Example 2.8. Engineering Office smb.conf (shares and services)">Engineering Office smb.conf
    527527                        (shares and services)</a>:
    528                         <a class="indexterm" name="id2556948"></a>
    529                         </p></li><li><p>
     528                        <a class="indexterm" name="id2563005"></a>
     529                        </p></li><li class="step" title="Step 2"><p>
    530530                        Create UNIX group accounts as needed using a suitable operating system tool:
    531531</p><pre class="screen">
     
    535535<code class="prompt">root# </code><strong class="userinput"><code>groupadd qateam</code></strong>
    536536</pre><p>
    537                         </p></li><li><p>
     537                        </p></li><li class="step" title="Step 3"><p>
    538538                        Create user accounts on the system using the appropriate tool
    539539                        provided with the operating system. Make sure all user home directories
     
    541541                        on files, directories, printers, and as required for use in the Samba
    542542                        environment.
    543                         </p></li><li><p>
    544                         <a class="indexterm" name="id2557627"></a>
    545                         <a class="indexterm" name="id2557635"></a>
     543                        </p></li><li class="step" title="Step 4"><p>
     544                        <a class="indexterm" name="id2563684"></a>
     545                        <a class="indexterm" name="id2563693"></a>
    546546                        Assign each of the UNIX groups to NT groups by executing this shell script
    547547                        (You could name the script <code class="filename">initGroups.sh</code>):
     
    560560net groupmap add ntgroup="QA Team"   unixgroup=qateam    type=d
    561561</pre><p>
    562                         </p></li><li><p>
     562                        </p></li><li class="step" title="Step 5"><p>
    563563                        Create the <code class="filename">scripts</code> directory for use in the
    564564                        <em class="parameter"><code>[NETLOGON]</code></em> share:
     
    571571                The above configuration provides a functional PDC
    572572                system to which must be added file shares and printers as required.
    573                 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2557706"></a>A Big Organization</h4></div></div></div><p>
     573                </p></div><div class="sect3" title="A Big Organization"><div class="titlepage"><div><div><h4 class="title"><a name="id2563764"></a>A Big Organization</h4></div></div></div><p>
    574574                In this section we finally get to review in brief a Samba-3 configuration that
    575575                uses a Lightweight Directory Access (LDAP)-based authentication backend. The
     
    577577                and Backup Domain Control (BDC), as well as to enable a higher degree of
    578578                scalability to meet the needs of a very distributed environment.
    579                 </p><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2557721"></a>The Primary Domain Controller</h5></div></div></div><p>
     579                </p><div class="sect4" title="The Primary Domain Controller"><div class="titlepage"><div><div><h5 class="title"><a name="id2563779"></a>The Primary Domain Controller</h5></div></div></div><p>
    580580                        This is an example of a minimal configuration to run a Samba-3 PDC
    581581                        using an LDAP authentication backend. It is assumed that the operating system
     
    588588                        <code class="filename">/usr/share/doc/packages/sambaXXXXXX/examples/LDAP/smbldap-tools</code> directory.
    589589                        Idealx scripts version <code class="constant">smbldap-tools-0.9.1</code> are known to work well.
    590                         </p><div class="procedure"><div class="example"><a name="fast-ldap"></a><p class="title"><b>Example 2.9. LDAP backend smb.conf for PDC</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="id2557948"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2557958"></a><em class="parameter"><code>netbios name = FRODO</code></em></td></tr><tr><td><a class="indexterm" name="id2557969"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://localhost</code></em></td></tr><tr><td><a class="indexterm" name="id2557980"></a><em class="parameter"><code>username map = /etc/samba/smbusers</code></em></td></tr><tr><td><a class="indexterm" name="id2557991"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2558001"></a><em class="parameter"><code>add user script = /usr/local/sbin/smbldap-useradd -m '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2558013"></a><em class="parameter"><code>delete user script = /usr/local/sbin/smbldap-userdel %u</code></em></td></tr><tr><td><a class="indexterm" name="id2558024"></a><em class="parameter"><code>add group script = /usr/local/sbin/smbldap-groupadd -p '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2558036"></a><em class="parameter"><code>delete group script = /usr/local/sbin/smbldap-groupdel '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2558047"></a><em class="parameter"><code>add user to group script = /usr/local/sbin/smbldap-groupmod -m '%u' '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2558059"></a><em class="parameter"><code>delete user from group script = /usr/local/sbin/smbldap-groupmod -x '%u' '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2558072"></a><em class="parameter"><code>set primary group script = /usr/local/sbin/smbldap-usermod -g '%g' '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2558083"></a><em class="parameter"><code>add machine script = /usr/local/sbin/smbldap-useradd -w '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2558095"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2558106"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2558117"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2558127"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2558138"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2558148"></a><em class="parameter"><code>os level = 35</code></em></td></tr><tr><td><a class="indexterm" name="id2558159"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2558169"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2558179"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2558190"></a><em class="parameter"><code>ldap machine suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558202"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558213"></a><em class="parameter"><code>ldap group suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558224"></a><em class="parameter"><code>ldap idmap suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558235"></a><em class="parameter"><code>ldap admin dn = cn=Manager,dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2558246"></a><em class="parameter"><code>ldap ssl = no</code></em></td></tr><tr><td><a class="indexterm" name="id2558256"></a><em class="parameter"><code>ldap passwd sync = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2558267"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2558277"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2558288"></a><em class="parameter"><code>printing = cups</code></em></td></tr></table></div></div><br class="example-break"><ol type="1"><li><p>
     590                        </p><div class="procedure"><div class="example"><a name="fast-ldap"></a><p class="title"><b>Example 2.9. LDAP backend smb.conf for PDC</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="id2564005"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2564016"></a><em class="parameter"><code>netbios name = FRODO</code></em></td></tr><tr><td><a class="indexterm" name="id2564026"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://localhost</code></em></td></tr><tr><td><a class="indexterm" name="id2564037"></a><em class="parameter"><code>username map = /etc/samba/smbusers</code></em></td></tr><tr><td><a class="indexterm" name="id2564048"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2564059"></a><em class="parameter"><code>add user script = /usr/local/sbin/smbldap-useradd -m '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2564070"></a><em class="parameter"><code>delete user script = /usr/local/sbin/smbldap-userdel %u</code></em></td></tr><tr><td><a class="indexterm" name="id2564082"></a><em class="parameter"><code>add group script = /usr/local/sbin/smbldap-groupadd -p '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2564093"></a><em class="parameter"><code>delete group script = /usr/local/sbin/smbldap-groupdel '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2564105"></a><em class="parameter"><code>add user to group script = /usr/local/sbin/smbldap-groupmod -m '%u' '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2564116"></a><em class="parameter"><code>delete user from group script = /usr/local/sbin/smbldap-groupmod -x '%u' '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2564129"></a><em class="parameter"><code>set primary group script = /usr/local/sbin/smbldap-usermod -g '%g' '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2564141"></a><em class="parameter"><code>add machine script = /usr/local/sbin/smbldap-useradd -w '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2564152"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2564163"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2564174"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2564185"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2564195"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564206"></a><em class="parameter"><code>os level = 35</code></em></td></tr><tr><td><a class="indexterm" name="id2564216"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564226"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564237"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2564248"></a><em class="parameter"><code>ldap machine suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2564259"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2564270"></a><em class="parameter"><code>ldap group suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2564281"></a><em class="parameter"><code>ldap idmap suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2564292"></a><em class="parameter"><code>ldap admin dn = cn=Manager,dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2564303"></a><em class="parameter"><code>ldap ssl = no</code></em></td></tr><tr><td><a class="indexterm" name="id2564314"></a><em class="parameter"><code>ldap passwd sync = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564324"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2564334"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2564345"></a><em class="parameter"><code>printing = cups</code></em></td></tr></table></div></div><br class="example-break"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    591591                                Obtain from the Samba sources <code class="filename">~/examples/LDAP/samba.schema</code>
    592592                                and copy it to the <code class="filename">/etc/openldap/schema/</code> directory.
    593                                 </p></li><li><p>
     593                                </p></li><li class="step" title="Step 2"><p>
    594594                                Set up the LDAP server. This example is suitable for OpenLDAP 2.1.x.
    595595                                The <code class="filename">/etc/openldap/slapd.conf</code> file.
    596                                 <a class="indexterm" name="id2557790"></a>
     596                                <a class="indexterm" name="id2563848"></a>
    597597<span style="color: red">&lt;title&gt;Example slapd.conf File&lt;/title&gt;</span>
    598598</p><pre class="screen">
     
    628628index   default               sub
    629629</pre><p>
    630                                 </p></li><li><p>
     630                                </p></li><li class="step" title="Step 3"><p>
    631631                                Create the following file <code class="filename">initdb.ldif</code>:
    632                                 <a class="indexterm" name="id2557834"></a>
     632                                <a class="indexterm" name="id2563892"></a>
    633633</p><pre class="programlisting">
    634634# Organization for SambaXP Demo
     
    661661# The password for above is 'mordonL8'
    662662</pre><p>
    663                                 </p></li><li><p>
     663                                </p></li><li class="step" title="Step 4"><p>
    664664                                Load the initial data above into the LDAP database:
    665665</p><pre class="screen">
    666666<code class="prompt">root# </code><strong class="userinput"><code>slapadd -v -l initdb.ldif</code></strong>
    667667</pre><p>
    668                                 </p></li><li><p>
     668                                </p></li><li class="step" title="Step 5"><p>
    669669                                Start the LDAP server using the appropriate tool or method for
    670670                                the operating system platform on which it is installed.
    671                                 </p></li><li><p>
     671                                </p></li><li class="step" title="Step 6"><p>
    672672                                Install the Idealx script files in the <code class="filename">/usr/local/sbin</code> directory,
    673673                                then configure the smbldap_conf.pm file to match your system configuration.
    674                                 </p></li><li><p>
     674                                </p></li><li class="step" title="Step 7"><p>
    675675                                The <code class="filename">smb.conf</code> file that drives this backend can be found in example <a class="link" href="FastStart.html#fast-ldap" title="Example 2.9. LDAP backend smb.conf for PDC">LDAP backend smb.conf for PDC</a>. Add additional stanzas
    676676                                as required.
    677                                 </p></li><li><p>
     677                                </p></li><li class="step" title="Step 8"><p>
    678678                                Add the LDAP password to the <code class="filename">secrets.tdb</code> file so Samba can update
    679679                                the LDAP database:
     
    681681<code class="prompt">root# </code><strong class="userinput"><code>smbpasswd -w mordonL8</code></strong>
    682682</pre><p>
    683                                 </p></li><li><p>
     683                                </p></li><li class="step" title="Step 9"><p>
    684684                                Add users and groups as required. Users and groups added using Samba tools
    685685                                will automatically be added to both the LDAP backend and the operating
    686686                                system as required.
    687                                 </p></li></ol></div></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2558338"></a>Backup Domain Controller</h5></div></div></div><p>
     687                                </p></li></ol></div></div><div class="sect4" title="Backup Domain Controller"><div class="titlepage"><div><div><h5 class="title"><a name="id2564396"></a>Backup Domain Controller</h5></div></div></div><p>
    688688                        <a class="link" href="FastStart.html#fast-bdc" title="Example 2.10. Remote LDAP BDC smb.conf">&#8220;Remote LDAP BDC smb.conf&#8221;</a> shows the example configuration for the BDC. Note that
    689689                        the <code class="filename">smb.conf</code> file does not specify the smbldap-tools scripts  they are
    690690                        not needed on a BDC. Add additional stanzas for shares and printers as required.
    691                         </p><div class="procedure"><div class="example"><a name="fast-bdc"></a><p class="title"><b>Example 2.10. Remote LDAP BDC smb.conf</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="id2558410"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2558420"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2558430"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://frodo.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2558442"></a><em class="parameter"><code>username map = /etc/samba/smbusers</code></em></td></tr><tr><td><a class="indexterm" name="id2558452"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2558463"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2558474"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2558485"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2558495"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2558506"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2558516"></a><em class="parameter"><code>os level = 33</code></em></td></tr><tr><td><a class="indexterm" name="id2558526"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2558537"></a><em class="parameter"><code>domain master = No</code></em></td></tr><tr><td><a class="indexterm" name="id2558547"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2558558"></a><em class="parameter"><code>ldap machine suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558569"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558580"></a><em class="parameter"><code>ldap group suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558591"></a><em class="parameter"><code>ldap idmap suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558602"></a><em class="parameter"><code>ldap admin dn = cn=Manager,dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2558614"></a><em class="parameter"><code>ldap ssl = no</code></em></td></tr><tr><td><a class="indexterm" name="id2558624"></a><em class="parameter"><code>ldap passwd sync = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2558634"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2558645"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2558655"></a><em class="parameter"><code>printing = cups</code></em></td></tr></table></div></div><br class="example-break"><ol type="1"><li><p>
     691                        </p><div class="procedure"><div class="example"><a name="fast-bdc"></a><p class="title"><b>Example 2.10. Remote LDAP BDC smb.conf</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="id2564467"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2564477"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2564488"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://frodo.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2564499"></a><em class="parameter"><code>username map = /etc/samba/smbusers</code></em></td></tr><tr><td><a class="indexterm" name="id2564510"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2564520"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2564531"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2564542"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2564552"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2564563"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564573"></a><em class="parameter"><code>os level = 33</code></em></td></tr><tr><td><a class="indexterm" name="id2564584"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564594"></a><em class="parameter"><code>domain master = No</code></em></td></tr><tr><td><a class="indexterm" name="id2564604"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2564616"></a><em class="parameter"><code>ldap machine suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2564627"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2564638"></a><em class="parameter"><code>ldap group suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2564649"></a><em class="parameter"><code>ldap idmap suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2564660"></a><em class="parameter"><code>ldap admin dn = cn=Manager,dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2564671"></a><em class="parameter"><code>ldap ssl = no</code></em></td></tr><tr><td><a class="indexterm" name="id2564681"></a><em class="parameter"><code>ldap passwd sync = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564692"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2564702"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2564713"></a><em class="parameter"><code>printing = cups</code></em></td></tr></table></div></div><br class="example-break"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    692692                                Decide if the BDC should have its own LDAP server or not. If the BDC is to be
    693693                                the LDAP server, change the following <code class="filename">smb.conf</code> as indicated. The default
    694694                                configuration in <a class="link" href="FastStart.html#fast-bdc" title="Example 2.10. Remote LDAP BDC smb.conf">Remote LDAP BDC smb.conf</a>
    695695                                uses a central LDAP server.
    696                                 </p></li><li><p>
     696                                </p></li><li class="step" title="Step 2"><p>
    697697                                Configure the NETLOGON and PROFILES directory as for the PDC in <a class="link" href="FastStart.html#fast-bdc" title="Example 2.10. Remote LDAP BDC smb.conf">&#8220;Remote LDAP BDC smb.conf&#8221;</a>.
    698698                                </p></li></ol></div></div></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="install.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="introduction.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="type.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 1. How to Install and Test SAMBA </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Part II. Server Configuration Basics</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/InterdomainTrusts.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 19. Interdomain Trust Relationships</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="securing-samba.html" title="Chapter 18. Securing Samba"><link rel="next" href="msdfs.html" title="Chapter 20. Hosting a Microsoft Distributed File System Tree"></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 19. Interdomain Trust Relationships</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="securing-samba.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="msdfs.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="InterdomainTrusts"></a>Chapter 19. Interdomain Trust Relationships</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Rafal</span> <span class="orgname">Samba Team</span> <span class="surname">Szczesniak</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:mimir@samba.org">mimir@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><span class="contrib">drawing</span> <div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Stephen</span> <span class="surname">Langasek</span></h3><div class="affiliation"><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:vorlon@netexpress.net">vorlon@netexpress.net</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">April 3, 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="InterdomainTrusts.html#id2619747">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2620105">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620141">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620238">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620323">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2620532">Configuring Samba NT-Style Domain Trusts</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2621219">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2621232">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2621278">Problems with LDAP ldapsam and Older Versions of smbldap-tools</a></span></dt></dl></dd></dl></div><p>
    2 <a class="indexterm" name="id2619527"></a>
    3 <a class="indexterm" name="id2619534"></a>
    4 <a class="indexterm" name="id2619541"></a>
    5 <a class="indexterm" name="id2619548"></a>
    6 <a class="indexterm" name="id2619555"></a>
    7 <a class="indexterm" name="id2619562"></a>
    8 <a class="indexterm" name="id2619569"></a>
    9 <a class="indexterm" name="id2619576"></a>
    10 <a class="indexterm" name="id2619582"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 19. Interdomain Trust Relationships</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="securing-samba.html" title="Chapter 18. Securing Samba"><link rel="next" href="msdfs.html" title="Chapter 20. Hosting a Microsoft Distributed File System Tree"></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 19. Interdomain Trust Relationships</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="securing-samba.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="msdfs.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 19. Interdomain Trust Relationships"><div class="titlepage"><div><div><h2 class="title"><a name="InterdomainTrusts"></a>Chapter 19. Interdomain Trust Relationships</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Rafal</span> <span class="surname">Szczesniak</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:mimir@samba.org">mimir@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><span class="contrib">drawing</span> <div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Stephen</span> <span class="surname">Langasek</span></h3><div class="affiliation"><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:vorlon@netexpress.net">vorlon@netexpress.net</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">April 3, 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="InterdomainTrusts.html#id2625845">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2626202">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626238">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626335">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626421">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2626630">Configuring Samba NT-Style Domain Trusts</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2627316">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2627329">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2627375">Problems with LDAP ldapsam and Older Versions of smbldap-tools</a></span></dt></dl></dd></dl></div><p>
     2<a class="indexterm" name="id2625625"></a>
     3<a class="indexterm" name="id2625632"></a>
     4<a class="indexterm" name="id2625638"></a>
     5<a class="indexterm" name="id2625645"></a>
     6<a class="indexterm" name="id2625652"></a>
     7<a class="indexterm" name="id2625659"></a>
     8<a class="indexterm" name="id2625666"></a>
     9<a class="indexterm" name="id2625673"></a>
     10<a class="indexterm" name="id2625680"></a>
    1111Samba-3 supports NT4-style domain trust relationships. This is a feature that many sites
    1212will want to use if they migrate to Samba-3 from an NT4-style domain and do not want to
     
    1616trusts.
    1717</p><p>
    18 <a class="indexterm" name="id2619600"></a>
    19 <a class="indexterm" name="id2619607"></a>
    20 <a class="indexterm" name="id2619614"></a>
    21 <a class="indexterm" name="id2619620"></a>
    22 <a class="indexterm" name="id2619627"></a>
     18<a class="indexterm" name="id2625697"></a>
     19<a class="indexterm" name="id2625704"></a>
     20<a class="indexterm" name="id2625711"></a>
     21<a class="indexterm" name="id2625718"></a>
     22<a class="indexterm" name="id2625725"></a>
    2323The use of interdomain trusts requires use of <code class="literal">winbind</code>, so the
    2424<code class="literal">winbindd</code> daemon must be running. Winbind operation in this mode is
    2525dependent on the specification of a valid UID range and a valid GID range in the <code class="filename">smb.conf</code> file.
    2626These are specified respectively using:
    27 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2619661"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2619673"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr></table><p>
    28 <a class="indexterm" name="id2619685"></a>
    29 <a class="indexterm" name="id2619692"></a>
    30 <a class="indexterm" name="id2619699"></a>
    31 <a class="indexterm" name="id2619706"></a>
     27</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2625759"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2625770"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr></table><p>
     28<a class="indexterm" name="id2625782"></a>
     29<a class="indexterm" name="id2625789"></a>
     30<a class="indexterm" name="id2625796"></a>
     31<a class="indexterm" name="id2625803"></a>
    3232The range of values specified must not overlap values used by the host operating system and must
    3333not overlap values used in the passdb backend for POSIX user accounts. The maximum value is
     
    3535limited parameter. Linux kernel 2.6-based systems support a maximum value of 4294967295
    3636(32-bit unsigned variable).
    37 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    38 <a class="indexterm" name="id2619724"></a>
    39 <a class="indexterm" name="id2619730"></a>
    40 <a class="indexterm" name="id2619737"></a>
     37</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     38<a class="indexterm" name="id2625821"></a>
     39<a class="indexterm" name="id2625828"></a>
     40<a class="indexterm" name="id2625835"></a>
    4141The use of winbind is necessary only when Samba is the trusting domain, not when it is the
    4242trusted domain.
    43 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2619747"></a>Features and Benefits</h2></div></div></div><p>
    44 <a class="indexterm" name="id2619755"></a>
    45 <a class="indexterm" name="id2619762"></a>
     43</p></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2625845"></a>Features and Benefits</h2></div></div></div><p>
     44<a class="indexterm" name="id2625853"></a>
     45<a class="indexterm" name="id2625859"></a>
    4646Samba-3 can participate in Samba-to-Samba as well as in Samba-to-MS Windows NT4-style
    4747trust relationships. This imparts to Samba scalability similar to that with MS Windows NT4.
    4848</p><p>
    49 <a class="indexterm" name="id2619775"></a>
    50 <a class="indexterm" name="id2619782"></a>
    51 <a class="indexterm" name="id2619789"></a>
    52 <a class="indexterm" name="id2619796"></a>
    53 <a class="indexterm" name="id2619803"></a>
     49<a class="indexterm" name="id2625873"></a>
     50<a class="indexterm" name="id2625880"></a>
     51<a class="indexterm" name="id2625887"></a>
     52<a class="indexterm" name="id2625893"></a>
     53<a class="indexterm" name="id2625900"></a>
    5454Given that Samba-3 can function with a scalable backend authentication database such as LDAP, and given its
    5555ability to run in primary as well as backup domain control modes, the administrator would be well-advised to
     
    5757function, this system is fragile.  That was, after all, a key reason for the development and adoption of
    5858Microsoft Active Directory.
    59 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2619819"></a>Trust Relationship Background</h2></div></div></div><p>
    60 <a class="indexterm" name="id2619828"></a>
    61 <a class="indexterm" name="id2619834"></a>
    62 <a class="indexterm" name="id2619841"></a>
    63 <a class="indexterm" name="id2619848"></a>
    64 <a class="indexterm" name="id2619855"></a>
    65 <a class="indexterm" name="id2619862"></a>
     59</p></div><div class="sect1" title="Trust Relationship Background"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2625917"></a>Trust Relationship Background</h2></div></div></div><p>
     60<a class="indexterm" name="id2625925"></a>
     61<a class="indexterm" name="id2625932"></a>
     62<a class="indexterm" name="id2625939"></a>
     63<a class="indexterm" name="id2625946"></a>
     64<a class="indexterm" name="id2625953"></a>
     65<a class="indexterm" name="id2625959"></a>
    6666MS Windows NT3/4-type security domains employ a nonhierarchical security structure.
    6767The limitations of this architecture as it effects the scalability of MS Windows networking
     
    7070large and diverse organizations.
    7171</p><p>
    72 <a class="indexterm" name="id2619879"></a>
    73 <a class="indexterm" name="id2619886"></a>
    74 <a class="indexterm" name="id2619892"></a>
    75 <a class="indexterm" name="id2619899"></a>
    76 <a class="indexterm" name="id2619906"></a>
     72<a class="indexterm" name="id2625976"></a>
     73<a class="indexterm" name="id2625983"></a>
     74<a class="indexterm" name="id2625990"></a>
     75<a class="indexterm" name="id2625996"></a>
     76<a class="indexterm" name="id2626003"></a>
    7777Microsoft developed Active Directory Service (ADS), based on Kerberos and LDAP, as a means
    7878of circumventing the limitations of the older technologies. Not every organization is ready
     
    8181desire to go through a disruptive change to adopt ADS.
    8282</p><p>
    83 <a class="indexterm" name="id2619923"></a>
    84 <a class="indexterm" name="id2619930"></a>
    85 <a class="indexterm" name="id2619937"></a>
    86 <a class="indexterm" name="id2619944"></a>
    87 <a class="indexterm" name="id2619951"></a>
    88 <a class="indexterm" name="id2619958"></a>
    89 <a class="indexterm" name="id2619965"></a>
     83<a class="indexterm" name="id2626021"></a>
     84<a class="indexterm" name="id2626028"></a>
     85<a class="indexterm" name="id2626034"></a>
     86<a class="indexterm" name="id2626041"></a>
     87<a class="indexterm" name="id2626048"></a>
     88<a class="indexterm" name="id2626055"></a>
     89<a class="indexterm" name="id2626062"></a>
    9090With Windows NT, Microsoft introduced the ability to allow different security domains
    9191to effect a mechanism so users from one domain may be given access rights and privileges
     
    9898necessary to establish two relationships, one in each direction.
    9999</p><p>
    100 <a class="indexterm" name="id2620002"></a>
    101 <a class="indexterm" name="id2620009"></a>
    102 <a class="indexterm" name="id2620016"></a>
    103 <a class="indexterm" name="id2620023"></a>
    104 <a class="indexterm" name="id2620030"></a>
     100<a class="indexterm" name="id2626100"></a>
     101<a class="indexterm" name="id2626106"></a>
     102<a class="indexterm" name="id2626113"></a>
     103<a class="indexterm" name="id2626120"></a>
     104<a class="indexterm" name="id2626127"></a>
    105105Further, in an NT4-style MS security domain, all trusts are nontransitive. This means that if there are three
    106106domains (let's call them red, white, and blue), where red and white have a trust relationship, and white and
     
    108108Relationships are explicit and not transitive.
    109109</p><p>
    110 <a class="indexterm" name="id2620046"></a>
    111 <a class="indexterm" name="id2620053"></a>
    112 <a class="indexterm" name="id2620060"></a>
    113 <a class="indexterm" name="id2620067"></a>
    114 <a class="indexterm" name="id2620074"></a>
    115 <a class="indexterm" name="id2620081"></a>
    116 <a class="indexterm" name="id2620088"></a>
     110<a class="indexterm" name="id2626144"></a>
     111<a class="indexterm" name="id2626150"></a>
     112<a class="indexterm" name="id2626157"></a>
     113<a class="indexterm" name="id2626164"></a>
     114<a class="indexterm" name="id2626171"></a>
     115<a class="indexterm" name="id2626178"></a>
     116<a class="indexterm" name="id2626185"></a>
    117117New to MS Windows 2000 ADS security contexts is the fact that trust relationships are two-way by default.
    118118Also, all inter-ADS domain trusts are transitive. In the case of the red, white, and blue domains, with
     
    120120domains. Samba-3 implements MS Windows NT4-style interdomain trusts and interoperates with MS Windows 200x ADS
    121121security domains in similar manner to MS Windows NT4-style domains.
    122 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2620105"></a>Native MS Windows NT4 Trusts Configuration</h2></div></div></div><p>
    123 <a class="indexterm" name="id2620112"></a>
    124 <a class="indexterm" name="id2620122"></a>
    125 <a class="indexterm" name="id2620129"></a>
     122</p></div><div class="sect1" title="Native MS Windows NT4 Trusts Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2626202"></a>Native MS Windows NT4 Trusts Configuration</h2></div></div></div><p>
     123<a class="indexterm" name="id2626210"></a>
     124<a class="indexterm" name="id2626219"></a>
     125<a class="indexterm" name="id2626226"></a>
    126126There are two steps to creating an interdomain trust relationship. To effect a two-way trust
    127127relationship, it is necessary for each domain administrator to create a trust account for the
    128128other domain to use in verifying security credentials.
    129 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2620141"></a>Creating an NT4 Domain Trust</h3></div></div></div><p>
    130 <a class="indexterm" name="id2620149"></a>
    131 <a class="indexterm" name="id2620156"></a>
    132 <a class="indexterm" name="id2620163"></a>
    133 <a class="indexterm" name="id2620170"></a>
    134 <a class="indexterm" name="id2620177"></a>
     129</p><div class="sect2" title="Creating an NT4 Domain Trust"><div class="titlepage"><div><div><h3 class="title"><a name="id2626238"></a>Creating an NT4 Domain Trust</h3></div></div></div><p>
     130<a class="indexterm" name="id2626247"></a>
     131<a class="indexterm" name="id2626254"></a>
     132<a class="indexterm" name="id2626260"></a>
     133<a class="indexterm" name="id2626268"></a>
     134<a class="indexterm" name="id2626275"></a>
    135135For MS Windows NT4, all domain trust relationships are configured using the
    136136<span class="application">Domain User Manager</span>. This is done from the Domain User Manager Policies
     
    143143trusting domain will use when authenticating users from the trusted domain.
    144144The password needs to be typed twice (for standard confirmation).
    145 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2620238"></a>Completing an NT4 Domain Trust</h3></div></div></div><p>
    146 <a class="indexterm" name="id2620246"></a>
    147 <a class="indexterm" name="id2620253"></a>
    148 <a class="indexterm" name="id2620260"></a>
    149 <a class="indexterm" name="id2620267"></a>
    150 <a class="indexterm" name="id2620274"></a>
    151 <a class="indexterm" name="id2620281"></a>
     145</p></div><div class="sect2" title="Completing an NT4 Domain Trust"><div class="titlepage"><div><div><h3 class="title"><a name="id2626335"></a>Completing an NT4 Domain Trust</h3></div></div></div><p>
     146<a class="indexterm" name="id2626344"></a>
     147<a class="indexterm" name="id2626350"></a>
     148<a class="indexterm" name="id2626357"></a>
     149<a class="indexterm" name="id2626364"></a>
     150<a class="indexterm" name="id2626371"></a>
     151<a class="indexterm" name="id2626378"></a>
    152152A trust relationship will work only when the other (trusting) domain makes the appropriate connections
    153153with the trusted domain. To consummate the trust relationship, the administrator launches the
     
    156156next to the box that is labeled <span class="guilabel">Trusted Domains</span>. A panel opens in which
    157157must be entered the name of the remote domain as well as the password assigned to that trust.
    158 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2620323"></a>Interdomain Trust Facilities</h3></div></div></div><p>
    159 <a class="indexterm" name="id2620331"></a>
    160 <a class="indexterm" name="id2620338"></a>
    161 <a class="indexterm" name="id2620345"></a>
    162 <a class="indexterm" name="id2620352"></a>
    163 <a class="indexterm" name="id2620359"></a>
    164 <a class="indexterm" name="id2620366"></a>
     158</p></div><div class="sect2" title="Interdomain Trust Facilities"><div class="titlepage"><div><div><h3 class="title"><a name="id2626421"></a>Interdomain Trust Facilities</h3></div></div></div><p>
     159<a class="indexterm" name="id2626429"></a>
     160<a class="indexterm" name="id2626436"></a>
     161<a class="indexterm" name="id2626443"></a>
     162<a class="indexterm" name="id2626450"></a>
     163<a class="indexterm" name="id2626456"></a>
     164<a class="indexterm" name="id2626463"></a>
    165165A two-way trust relationship is created when two one-way trusts are created, one in each direction.
    166166Where a one-way trust has been established between two MS Windows NT4 domains (let's call them
    167167DomA and DomB), the following facilities are created:
    168 </p><div class="figure"><a name="trusts1"></a><p class="title"><b>Figure 19.1. Trusts overview.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/trusts1.png" alt="Trusts overview."></div></div></div><br class="figure-break"><div class="itemizedlist"><ul type="disc"><li><p>
     168</p><div class="figure"><a name="trusts1"></a><p class="title"><b>Figure 19.1. Trusts overview.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/trusts1.png" alt="Trusts overview."></div></div></div><br class="figure-break"><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    169169        DomA (completes the trust connection) <em class="parameter"><code>Trusts</code></em> DomB.
    170         </p></li><li><p>
     170        </p></li><li class="listitem"><p>
    171171        DomA is the <em class="parameter"><code>Trusting</code></em> domain.
    172         </p></li><li><p>
     172        </p></li><li class="listitem"><p>
    173173        DomB is the <em class="parameter"><code>Trusted</code></em> domain (originates the trust account).
    174         </p></li><li><p>
     174        </p></li><li class="listitem"><p>
    175175        Users in DomB can access resources in DomA.
    176         </p></li><li><p>
     176        </p></li><li class="listitem"><p>
    177177        Users in DomA cannot access resources in DomB.
    178         </p></li><li><p>
     178        </p></li><li class="listitem"><p>
    179179        Global groups from DomB can be used in DomA.
    180         </p></li><li><p>
     180        </p></li><li class="listitem"><p>
    181181        Global groups from DomA cannot be used in DomB.
    182         </p></li><li><p>
     182        </p></li><li class="listitem"><p>
    183183        DomB does appear in the logon dialog box on client workstations in DomA.
    184         </p></li><li><p>
     184        </p></li><li class="listitem"><p>
    185185        DomA does not appear in the logon dialog box on client workstations in DomB.
    186         </p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p>
     186        </p></li></ul></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    187187        Users and groups in a trusting domain cannot be granted rights, permissions, or access
    188188        to a trusted domain.
    189         </p></li><li><p>
     189        </p></li><li class="listitem"><p>
    190190        The trusting domain can access and use accounts (users/global groups) in the
    191191        trusted domain.
    192         </p></li><li><p>
     192        </p></li><li class="listitem"><p>
    193193        Administrators of the trusted domain can be granted administrative rights in the
    194194        trusting domain.
    195         </p></li><li><p>
     195        </p></li><li class="listitem"><p>
    196196        Users in a trusted domain can be given rights and privileges in the trusting
    197197        domain.
    198         </p></li><li><p>
     198        </p></li><li class="listitem"><p>
    199199        Trusted domain global groups can be given rights and permissions in the trusting
    200200        domain.
    201         </p></li><li><p>
     201        </p></li><li class="listitem"><p>
    202202        Global groups from the trusted domain can be made members in local groups on
    203203        MS Windows domain member machines.
    204         </p></li></ul></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2620532"></a>Configuring Samba NT-Style Domain Trusts</h2></div></div></div><p>
    205 <a class="indexterm" name="id2620541"></a>
     204        </p></li></ul></div></div></div><div class="sect1" title="Configuring Samba NT-Style Domain Trusts"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2626630"></a>Configuring Samba NT-Style Domain Trusts</h2></div></div></div><p>
     205<a class="indexterm" name="id2626638"></a>
    206206This description is meant to be a fairly short introduction about how to set up a Samba server so
    207207that it can participate in interdomain trust relationships. Trust relationship support in Samba
    208208is at an early stage, so do not be surprised if something does not function as it should.
    209209</p><p>
    210 <a class="indexterm" name="id2620556"></a>
    211 <a class="indexterm" name="id2620562"></a>
    212 <a class="indexterm" name="id2620569"></a>
    213 <a class="indexterm" name="id2620576"></a>
     210<a class="indexterm" name="id2626653"></a>
     211<a class="indexterm" name="id2626660"></a>
     212<a class="indexterm" name="id2626667"></a>
     213<a class="indexterm" name="id2626674"></a>
    214214Each of the procedures described next assumes the peer domain in the trust relationship is controlled by a
    215215Windows NT4 server. However, the remote end could just as well be another Samba-3  domain. It can be clearly
    216216seen, after reading this document, that combining Samba-specific parts of what's written in the following
    217217sections leads to trust between domains in a purely Samba environment.
    218 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="samba-trusted-domain"></a>Samba as the Trusted Domain</h3></div></div></div><p>
    219 <a class="indexterm" name="id2620604"></a>
    220 <a class="indexterm" name="id2620610"></a>
    221 <a class="indexterm" name="id2620617"></a>
    222 <a class="indexterm" name="id2620624"></a>
    223 <a class="indexterm" name="id2620631"></a>
     218</p><div class="sect2" title="Samba as the Trusted Domain"><div class="titlepage"><div><div><h3 class="title"><a name="samba-trusted-domain"></a>Samba as the Trusted Domain</h3></div></div></div><p>
     219<a class="indexterm" name="id2626701"></a>
     220<a class="indexterm" name="id2626708"></a>
     221<a class="indexterm" name="id2626715"></a>
     222<a class="indexterm" name="id2626722"></a>
     223<a class="indexterm" name="id2626728"></a>
    224224In order to set the Samba PDC to be the trusted party of the relationship, you first need
    225225to create a special account for the domain that will be the trusting party. To do that,
     
    237237
    238238where <code class="option">-a</code> means to add a new account into the
    239 passdb database and <code class="option">-i</code> means to &#8220;<span class="quote">create this
    240 account with the Interdomain trust flag</span>&#8221;.
    241 </p><p>
    242 <a class="indexterm" name="id2620700"></a>
    243 <a class="indexterm" name="id2620707"></a>
    244 <a class="indexterm" name="id2620714"></a>
    245 <a class="indexterm" name="id2620721"></a>
    246 The account name will be &#8220;<span class="quote">rumba$</span>&#8221; (the name of the remote domain).
     239passdb database and <code class="option">-i</code> means to <span class="quote">&#8220;<span class="quote">create this
     240account with the Interdomain trust flag</span>&#8221;</span>.
     241</p><p>
     242<a class="indexterm" name="id2626798"></a>
     243<a class="indexterm" name="id2626805"></a>
     244<a class="indexterm" name="id2626812"></a>
     245<a class="indexterm" name="id2626819"></a>
     246The account name will be <span class="quote">&#8220;<span class="quote">rumba$</span>&#8221;</span> (the name of the remote domain).
    247247If this fails, you should check that the trust account has been added to the system
    248248password database (<code class="filename">/etc/passwd</code>). If it has not been added, you
    249249can add it manually and then repeat the previous step.
    250250</p><p>
    251 <a class="indexterm" name="id2620745"></a>
    252 <a class="indexterm" name="id2620752"></a>
    253 <a class="indexterm" name="id2620759"></a>
    254 <a class="indexterm" name="id2620766"></a>
     251<a class="indexterm" name="id2626842"></a>
     252<a class="indexterm" name="id2626849"></a>
     253<a class="indexterm" name="id2626856"></a>
     254<a class="indexterm" name="id2626863"></a>
    255255After issuing this command, you will be asked to enter the password for the account. You can use any password
    256256you want, but be aware that Windows NT will not change this password until 7 days following account creation.
    257257After the command returns successfully, you can look at the entry for the new account (in the standard way as
    258258appropriate for your configuration) and see that the account's name is really RUMBA$ and it has the
    259 &#8220;<span class="quote">I</span>&#8221; flag set in the flags field. Now you are ready to confirm the trust by establishing it from
     259<span class="quote">&#8220;<span class="quote">I</span>&#8221;</span> flag set in the flags field. Now you are ready to confirm the trust by establishing it from
    260260Windows NT Server.
    261261</p><p>
    262 <a class="indexterm" name="id2620788"></a>
    263 <a class="indexterm" name="id2620795"></a>
    264 <a class="indexterm" name="id2620802"></a>
    265 <a class="indexterm" name="id2620809"></a>
    266 <a class="indexterm" name="id2620816"></a>
     262<a class="indexterm" name="id2626886"></a>
     263<a class="indexterm" name="id2626892"></a>
     264<a class="indexterm" name="id2626899"></a>
     265<a class="indexterm" name="id2626906"></a>
     266<a class="indexterm" name="id2626913"></a>
    267267Open <span class="application">User Manager for Domains</span> and from the <span class="guimenu">Policies</span> menu, select
    268268<span class="guimenuitem">Trust Relationships...</span>.  Beside the <span class="guilabel">Trusted domains</span> list box,
     
    271271time of account creation.  Click on <span class="guibutton">OK</span> and, if everything went without incident, you
    272272will see the <code class="computeroutput">Trusted domain relationship successfully established</code> message.
    273 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2620873"></a>Samba as the Trusting Domain</h3></div></div></div><p>
    274 <a class="indexterm" name="id2620882"></a>
    275 <a class="indexterm" name="id2620889"></a>
     273</p></div><div class="sect2" title="Samba as the Trusting Domain"><div class="titlepage"><div><div><h3 class="title"><a name="id2626971"></a>Samba as the Trusting Domain</h3></div></div></div><p>
     274<a class="indexterm" name="id2626979"></a>
     275<a class="indexterm" name="id2626986"></a>
    276276This time activities are somewhat reversed. Again, we'll assume that your domain
    277277controlled by the Samba PDC is called SAMBA and the NT-controlled domain is called RUMBA.
     
    279279The very first step is to add an account for the SAMBA domain on RUMBA's PDC.
    280280</p><p>
    281 <a class="indexterm" name="id2620906"></a>
    282 <a class="indexterm" name="id2620913"></a>
    283 <a class="indexterm" name="id2620920"></a>
     281<a class="indexterm" name="id2627003"></a>
     282<a class="indexterm" name="id2627010"></a>
     283<a class="indexterm" name="id2627017"></a>
    284284Launch the <span class="application">Domain User Manager</span>, then from the menu select
    285285<span class="guimenu">Policies</span>, <span class="guimenuitem">Trust Relationships</span>.
     
    288288the relationship.
    289289</p><p>
    290 <a class="indexterm" name="id2620963"></a>
    291 <a class="indexterm" name="id2620969"></a>
     290<a class="indexterm" name="id2627060"></a>
     291<a class="indexterm" name="id2627067"></a>
    292292The password can be arbitrarily chosen. It is easy to change the password from the Samba server whenever you
    293293want. After you confirm the password, your account is ready for use. Now its Samba's turn.
    294294</p><p>
    295295Using your favorite shell while logged in as root, issue this command:
    296 <a class="indexterm" name="id2620984"></a>
     296<a class="indexterm" name="id2627082"></a>
    297297</p><p>
    298298<code class="prompt">root# </code><strong class="userinput"><code>net rpc trustdom establish rumba</code></strong>
    299299</p><p>
    300 <a class="indexterm" name="id2621013"></a>
    301 <a class="indexterm" name="id2621020"></a>
    302 <a class="indexterm" name="id2621027"></a>
     300<a class="indexterm" name="id2627110"></a>
     301<a class="indexterm" name="id2627117"></a>
     302<a class="indexterm" name="id2627124"></a>
    303303You will be prompted for the password you just typed on your Windows NT4 Server box.
    304304An error message, <code class="literal">"NT_STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT,"</code>
     
    309309the <code class="literal">Success</code> message. Congratulations! Your trust
    310310relationship has just been established.
    311 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     311</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    312312You have to run this command as root because you must have write access to
    313313the <code class="filename">secrets.tdb</code> file.
    314 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2621070"></a>NT4-Style Domain Trusts with Windows 2000</h2></div></div></div><p>
    315 <a class="indexterm" name="id2621078"></a>
    316 <a class="indexterm" name="id2621085"></a>
    317 <a class="indexterm" name="id2621092"></a>
    318 <a class="indexterm" name="id2621099"></a>
     314</p></div></div></div><div class="sect1" title="NT4-Style Domain Trusts with Windows 2000"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2627167"></a>NT4-Style Domain Trusts with Windows 2000</h2></div></div></div><p>
     315<a class="indexterm" name="id2627175"></a>
     316<a class="indexterm" name="id2627182"></a>
     317<a class="indexterm" name="id2627189"></a>
     318<a class="indexterm" name="id2627196"></a>
    319319Although <span class="application">Domain User Manager</span> is not present in Windows 2000, it is
    320320also possible to establish an NT4-style trust relationship with a Windows 2000 domain
     
    322322Samba to trust a Windows 2000 server; however, more testing is still needed in this area.
    323323</p><p>
    324 <a class="indexterm" name="id2621120"></a>
    325 <a class="indexterm" name="id2621127"></a>
    326 <a class="indexterm" name="id2621134"></a>
    327 <a class="indexterm" name="id2621141"></a>
     324<a class="indexterm" name="id2627217"></a>
     325<a class="indexterm" name="id2627224"></a>
     326<a class="indexterm" name="id2627231"></a>
     327<a class="indexterm" name="id2627238"></a>
    328328After <a class="link" href="InterdomainTrusts.html#samba-trusted-domain" title="Samba as the Trusted Domain">creating the interdomain trust account on the Samba server</a>
    329329as described previously, open <span class="application">Active Directory Domains and Trusts</span> on the AD
     
    339339<code class="computeroutput">The trusted domain has been added and the trust has been verified.</code> Your
    340340Samba users can now be granted access to resources in the AD domain.
    341 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2621219"></a>Common Errors</h2></div></div></div><p>
     341</p></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2627316"></a>Common Errors</h2></div></div></div><p>
    342342Interdomain trust relationships should not be attempted on networks that are unstable
    343343or that suffer regular outages. Network stability and integrity are key concerns with
    344344distributed trusted domains.
    345 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2621232"></a>Browsing of Trusted Domain Fails</h3></div></div></div><p>
     345</p><div class="sect2" title="Browsing of Trusted Domain Fails"><div class="titlepage"><div><div><h3 class="title"><a name="id2627329"></a>Browsing of Trusted Domain Fails</h3></div></div></div><p>
    346346<span class="emphasis"><em>Browsing from a machine in a trusted Windows 200x domain to a Windows 200x member of
    347347a trusting Samba domain, I get the following error:</em></span>
     
    361361the domain.  If you are running as an account that has privileges to do this
    362362when you unjoin the machine, it is done; otherwise it is not done.
    363 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2621278"></a>Problems with LDAP ldapsam and Older Versions of smbldap-tools</h3></div></div></div><p>
     363</p></div><div class="sect2" title="Problems with LDAP ldapsam and Older Versions of smbldap-tools"><div class="titlepage"><div><div><h3 class="title"><a name="id2627375"></a>Problems with LDAP ldapsam and Older Versions of smbldap-tools</h3></div></div></div><p>
    364364If you use the <code class="literal">smbldap-useradd</code> script to create a trust
    365365account to set up interdomain trusts, the process of setting up the trust will
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/IntroSMB.html

    r274 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Introduction</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="TOSHpreface.html" title="Preface"><link rel="next" href="introduction.html" title="Part I. General Installation"></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">Introduction</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="TOSHpreface.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="introduction.html">Next</a></td></tr></table><hr></div><div class="preface" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="IntroSMB"></a>Introduction</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">June 29, 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="IntroSMB.html#id2551378">What Is Samba?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2498886">Why This Book?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2551674">Book Structure and Layout</a></span></dt></dl></div><p>&#8220;<span class="quote">
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Introduction</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="TOSHpreface.html" title="Preface"><link rel="next" href="introduction.html" title="Part I. General Installation"></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">Introduction</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="TOSHpreface.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="introduction.html">Next</a></td></tr></table><hr></div><div class="preface" title="Introduction"><div class="titlepage"><div><div><h2 class="title"><a name="IntroSMB"></a>Introduction</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">June 29, 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="IntroSMB.html#id2557435">What Is Samba?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2504941">Why This Book?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2557731">Book Structure and Layout</a></span></dt></dl></div><p><span class="quote">&#8220;<span class="quote">
    22A man's gift makes room for him before great men. Gifts are like hooks that can catch
    33hold of the mind taking it beyond the reach of forces that otherwise might constrain it.
    4 </span>&#8221; --- Anon.
     4</span>&#8221;</span> --- Anon.
    55</p><p>
    66This is a book about Samba. It is a tool, a derived work of the labors
     
    1616If you are a UNIX or Linux administrator, there is no need to feel badly  you
    1717should have no difficulty finding answers to your current concerns also.
    18 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2551378"></a>What Is Samba?</h2></div></div></div><p>
     18</p><div class="sect1" title="What Is Samba?"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2557435"></a>What Is Samba?</h2></div></div></div><p>
    1919        Samba is a big, complex project. The Samba project is ambitious and exciting.
    2020        The team behind Samba is a group of some thirty individuals who are spread
     
    4646        a huge amount of work done as a result of user requests, suggestions and direct
    4747        code contributions.
    48         </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2498886"></a>Why This Book?</h2></div></div></div><p>
     48        </p></div><div class="sect1" title="Why This Book?"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2504941"></a>Why This Book?</h2></div></div></div><p>
    4949        There is admittedly a large number of Samba books on the market today and
    5050        each book has its place. Despite the apparent plethora of books, Samba
     
    9898        arranged and the information presented from the perspective of someone with previous
    9999        Microsoft Windows network administrative training and experience.
    100         </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2551674"></a>Book Structure and Layout</h2></div></div></div><p>
     100        </p></div><div class="sect1" title="Book Structure and Layout"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2557731"></a>Book Structure and Layout</h2></div></div></div><p>
    101101        This book is presented in six parts:
    102102        </p><div class="variablelist"><dl><dt><span class="term">General Installation</span></dt><dd><p>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/NT4Migration.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 36. Migration from NT4 PDC to Samba-3 PDC</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="migration.html" title="Part IV. Migration and Updating"><link rel="prev" href="upgrading-to-3.0.html" title="Chapter 35. Updating and Upgrading Samba"><link rel="next" href="SWAT.html" title="Chapter 37. SWAT: The Samba Web Administration Tool"></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 36. Migration from NT4 PDC to Samba-3 PDC</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="upgrading-to-3.0.html">Prev</a> </td><th width="60%" align="center">Part IV. Migration and Updating</th><td width="20%" align="right"> <a accesskey="n" href="SWAT.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="NT4Migration"></a>Chapter 36. Migration from NT4 PDC to Samba-3 PDC</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">April 3, 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="NT4Migration.html#id2679090">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2679125">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2680070">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2680306">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2680392">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></span></dt></dl></dd></dl></div><p>
    2 <a class="indexterm" name="id2679074"></a>
    3 <a class="indexterm" name="id2679080"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 36. Migration from NT4 PDC to Samba-3 PDC</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="migration.html" title="Part IV. Migration and Updating"><link rel="prev" href="upgrading-to-3.0.html" title="Chapter 35. Updating and Upgrading Samba"><link rel="next" href="SWAT.html" title="Chapter 37. SWAT: The Samba Web Administration Tool"></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 36. Migration from NT4 PDC to Samba-3 PDC</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="upgrading-to-3.0.html">Prev</a> </td><th width="60%" align="center">Part IV. Migration and Updating</th><td width="20%" align="right"> <a accesskey="n" href="SWAT.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 36. Migration from NT4 PDC to Samba-3 PDC"><div class="titlepage"><div><div><h2 class="title"><a name="NT4Migration"></a>Chapter 36. Migration from NT4 PDC to Samba-3 PDC</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">April 3, 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="NT4Migration.html#id2685152">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2685187">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2686132">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2686367">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2686454">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></span></dt></dl></dd></dl></div><p>
     2<a class="indexterm" name="id2685135"></a>
     3<a class="indexterm" name="id2685142"></a>
    44This is a rough guide to assist those wishing to migrate from NT4 domain control to
    55Samba-3-based domain control.
    6 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2679090"></a>Planning and Getting Started</h2></div></div></div><p>
    7 <a class="indexterm" name="id2679098"></a>
     6</p><div class="sect1" title="Planning and Getting Started"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2685152"></a>Planning and Getting Started</h2></div></div></div><p>
     7<a class="indexterm" name="id2685160"></a>
    88In the IT world there is often a saying that all problems are encountered because of
    99poor planning. The corollary to this saying is that not all problems can be anticipated
    1010and planned for. Then again, good planning will anticipate most show-stopper-type situations.
    1111</p><p>
    12 <a class="indexterm" name="id2679113"></a>
     12<a class="indexterm" name="id2685175"></a>
    1313Those wishing to migrate from MS Windows NT4 domain control to a Samba-3 domain control
    1414environment would do well to develop a detailed migration plan. So here are a few pointers to
    1515help migration get underway.
    16 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2679125"></a>Objectives</h3></div></div></div><p>
    17 <a class="indexterm" name="id2679133"></a>
     16</p><div class="sect2" title="Objectives"><div class="titlepage"><div><div><h3 class="title"><a name="id2685187"></a>Objectives</h3></div></div></div><p>
     17<a class="indexterm" name="id2685194"></a>
    1818The key objective for most organizations is to make the migration from MS Windows NT4
    1919to Samba-3 domain control as painless as possible. One of the challenges you may experience
     
    2222pressure to return to a Microsoft-based platform solution at the first sign of trouble.
    2323</p><p>
    24 <a class="indexterm" name="id2679150"></a>
     24<a class="indexterm" name="id2685212"></a>
    2525Before attempting a migration to a Samba-3-controlled network, make every possible effort to
    2626gain all-round commitment to the change. Know precisely <span class="emphasis"><em>why</em></span> the change
    2727is important for the organization. Possible motivations to make a change include:
    28 </p><a class="indexterm" name="id2679166"></a><a class="indexterm" name="id2679173"></a><a class="indexterm" name="id2679180"></a><a class="indexterm" name="id2679187"></a><a class="indexterm" name="id2679194"></a><div class="itemizedlist"><ul type="disc"><li><p>Improve network manageability.</p></li><li><p>Obtain better user-level functionality.</p></li><li><p>Reduce network operating costs.</p></li><li><p>Reduce exposure caused by Microsoft withdrawal of NT4 support.</p></li><li><p>Avoid MS License 6 implications.</p></li><li><p>Reduce organization's dependency on Microsoft.</p></li></ul></div><p>
    29 <a class="indexterm" name="id2679237"></a>
    30 <a class="indexterm" name="id2679244"></a>
    31 <a class="indexterm" name="id2679251"></a>
    32 <a class="indexterm" name="id2679258"></a>
    33 <a class="indexterm" name="id2679264"></a>
    34 <a class="indexterm" name="id2679271"></a>
     28</p><a class="indexterm" name="id2685228"></a><a class="indexterm" name="id2685235"></a><a class="indexterm" name="id2685242"></a><a class="indexterm" name="id2685249"></a><a class="indexterm" name="id2685256"></a><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Improve network manageability.</p></li><li class="listitem"><p>Obtain better user-level functionality.</p></li><li class="listitem"><p>Reduce network operating costs.</p></li><li class="listitem"><p>Reduce exposure caused by Microsoft withdrawal of NT4 support.</p></li><li class="listitem"><p>Avoid MS License 6 implications.</p></li><li class="listitem"><p>Reduce organization's dependency on Microsoft.</p></li></ul></div><p>
     29<a class="indexterm" name="id2685299"></a>
     30<a class="indexterm" name="id2685306"></a>
     31<a class="indexterm" name="id2685312"></a>
     32<a class="indexterm" name="id2685319"></a>
     33<a class="indexterm" name="id2685326"></a>
     34<a class="indexterm" name="id2685333"></a>
    3535Make sure everyone knows that Samba-3 is not MS Windows NT4. Samba-3 offers
    3636an alternative solution that is both different from MS Windows NT4 and offers
     
    4040</p><p>
    4141What are the features that Samba-3 cannot provide?
    42 </p><a class="indexterm" name="id2679290"></a><a class="indexterm" name="id2679297"></a><a class="indexterm" name="id2679304"></a><a class="indexterm" name="id2679311"></a><a class="indexterm" name="id2679318"></a><div class="itemizedlist"><ul type="disc"><li><p>Active Directory Server.</p></li><li><p>Group Policy Objects (in Active Directory).</p></li><li><p>Machine Policy Objects.</p></li><li><p>Logon Scripts in Active Directory.</p></li><li><p>Software Application and Access Controls in Active Directory.</p></li></ul></div><p>
     42</p><a class="indexterm" name="id2685351"></a><a class="indexterm" name="id2685358"></a><a class="indexterm" name="id2685366"></a><a class="indexterm" name="id2685373"></a><a class="indexterm" name="id2685380"></a><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Active Directory Server.</p></li><li class="listitem"><p>Group Policy Objects (in Active Directory).</p></li><li class="listitem"><p>Machine Policy Objects.</p></li><li class="listitem"><p>Logon Scripts in Active Directory.</p></li><li class="listitem"><p>Software Application and Access Controls in Active Directory.</p></li></ul></div><p>
    4343The features that Samba-3 does provide and that may be of compelling interest to your site
    4444include:
    45 </p><a class="indexterm" name="id2679358"></a><a class="indexterm" name="id2679365"></a><a class="indexterm" name="id2679372"></a><a class="indexterm" name="id2679379"></a><a class="indexterm" name="id2679386"></a><a class="indexterm" name="id2679393"></a><a class="indexterm" name="id2679400"></a><a class="indexterm" name="id2679407"></a><a class="indexterm" name="id2679413"></a><a class="indexterm" name="id2679420"></a><a class="indexterm" name="id2679427"></a><a class="indexterm" name="id2679434"></a><a class="indexterm" name="id2679441"></a><a class="indexterm" name="id2679448"></a><a class="indexterm" name="id2679455"></a><div class="itemizedlist"><ul type="disc"><li><p>Lower cost of ownership.</p></li><li><p>Global availability of support with no strings attached.</p></li><li><p>Dynamic SMB servers (can run more than one SMB/CIFS server per UNIX/Linux system).</p></li><li><p>Creation of on-the-fly logon scripts.</p></li><li><p>Creation of on-the-fly policy files.</p></li><li><p>Greater stability, reliability, performance, and availability.</p></li><li><p>Manageability via an SSH connection.</p></li><li><p>Flexible choices of backend authentication technologies (tdbsam, ldapsam).</p></li><li><p>Ability to implement a full single-sign-on architecture.</p></li><li><p>Ability to distribute authentication systems for absolute minimum wide-area network bandwidth demand.</p></li></ul></div><p>
    46 <a class="indexterm" name="id2679521"></a>
     45</p><a class="indexterm" name="id2685420"></a><a class="indexterm" name="id2685427"></a><a class="indexterm" name="id2685434"></a><a class="indexterm" name="id2685441"></a><a class="indexterm" name="id2685448"></a><a class="indexterm" name="id2685455"></a><a class="indexterm" name="id2685462"></a><a class="indexterm" name="id2685468"></a><a class="indexterm" name="id2685475"></a><a class="indexterm" name="id2685482"></a><a class="indexterm" name="id2685489"></a><a class="indexterm" name="id2685496"></a><a class="indexterm" name="id2685503"></a><a class="indexterm" name="id2685510"></a><a class="indexterm" name="id2685517"></a><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Lower cost of ownership.</p></li><li class="listitem"><p>Global availability of support with no strings attached.</p></li><li class="listitem"><p>Dynamic SMB servers (can run more than one SMB/CIFS server per UNIX/Linux system).</p></li><li class="listitem"><p>Creation of on-the-fly logon scripts.</p></li><li class="listitem"><p>Creation of on-the-fly policy files.</p></li><li class="listitem"><p>Greater stability, reliability, performance, and availability.</p></li><li class="listitem"><p>Manageability via an SSH connection.</p></li><li class="listitem"><p>Flexible choices of backend authentication technologies (tdbsam, ldapsam).</p></li><li class="listitem"><p>Ability to implement a full single-sign-on architecture.</p></li><li class="listitem"><p>Ability to distribute authentication systems for absolute minimum wide-area network bandwidth demand.</p></li></ul></div><p>
     46<a class="indexterm" name="id2685583"></a>
    4747Before migrating a network from MS Windows NT4 to Samba-3, consider all necessary factors. Users
    4848should be educated about changes they may experience so the change will be a welcome one
    4949and not become an obstacle to the work they need to do. The following sections explain factors that will
    5050help ensure a successful migration.
    51 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2679535"></a>Domain Layout</h4></div></div></div><p>
    52 <a class="indexterm" name="id2679543"></a>
    53 <a class="indexterm" name="id2679550"></a>
    54 <a class="indexterm" name="id2679557"></a>
    55 <a class="indexterm" name="id2679564"></a>
    56 <a class="indexterm" name="id2679571"></a>
    57 <a class="indexterm" name="id2679578"></a>
    58 <a class="indexterm" name="id2679584"></a>
    59 <a class="indexterm" name="id2679591"></a>
    60 <a class="indexterm" name="id2679598"></a>
    61 <a class="indexterm" name="id2679605"></a>
    62 <a class="indexterm" name="id2679612"></a>
    63 <a class="indexterm" name="id2679619"></a>
    64 <a class="indexterm" name="id2679626"></a>
    65 <a class="indexterm" name="id2679633"></a>
    66 <a class="indexterm" name="id2679640"></a>
    67 <a class="indexterm" name="id2679646"></a>
     51</p><div class="sect3" title="Domain Layout"><div class="titlepage"><div><div><h4 class="title"><a name="id2685596"></a>Domain Layout</h4></div></div></div><p>
     52<a class="indexterm" name="id2685604"></a>
     53<a class="indexterm" name="id2685611"></a>
     54<a class="indexterm" name="id2685618"></a>
     55<a class="indexterm" name="id2685625"></a>
     56<a class="indexterm" name="id2685632"></a>
     57<a class="indexterm" name="id2685639"></a>
     58<a class="indexterm" name="id2685646"></a>
     59<a class="indexterm" name="id2685653"></a>
     60<a class="indexterm" name="id2685660"></a>
     61<a class="indexterm" name="id2685666"></a>
     62<a class="indexterm" name="id2685673"></a>
     63<a class="indexterm" name="id2685680"></a>
     64<a class="indexterm" name="id2685687"></a>
     65<a class="indexterm" name="id2685694"></a>
     66<a class="indexterm" name="id2685701"></a>
     67<a class="indexterm" name="id2685708"></a>
    6868Samba-3 can be configured as a domain controller, a backup domain controller (probably best called
    6969a secondary controller), a domain member, or a standalone server. The Windows network security
     
    7575a master server and multiple slave servers) that can simultaneously serve multiple domains.
    7676</p><p>
    77 <a class="indexterm" name="id2679670"></a>
     77<a class="indexterm" name="id2685731"></a>
    7878From a design perspective, the number of users per server as well as the number of servers per
    7979domain should be scaled taking into consideration server capacity and network bandwidth.
    8080</p><p>
    81 <a class="indexterm" name="id2679683"></a>
    82 <a class="indexterm" name="id2679690"></a>
    83 <a class="indexterm" name="id2679697"></a>
    84 <a class="indexterm" name="id2679704"></a>
    85 <a class="indexterm" name="id2679711"></a>
    86 <a class="indexterm" name="id2679717"></a>
     81<a class="indexterm" name="id2685745"></a>
     82<a class="indexterm" name="id2685752"></a>
     83<a class="indexterm" name="id2685759"></a>
     84<a class="indexterm" name="id2685766"></a>
     85<a class="indexterm" name="id2685772"></a>
     86<a class="indexterm" name="id2685779"></a>
    8787A physical network segment may house several domains. Each may span multiple network segments.
    8888Where domains span routed network segments, consider and test the performance implications of
     
    9191response time (ping timing) between the remote segment and the PDC. If it's long (more than 100 ms),
    9292locate a BDC on the remote segment to serve as the local authentication and access control server.
    93 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2679736"></a>Server Share and Directory Layout</h4></div></div></div><p>
    94 <a class="indexterm" name="id2679744"></a>
    95 <a class="indexterm" name="id2679751"></a>
     93</p></div><div class="sect3" title="Server Share and Directory Layout"><div class="titlepage"><div><div><h4 class="title"><a name="id2685798"></a>Server Share and Directory Layout</h4></div></div></div><p>
     94<a class="indexterm" name="id2685806"></a>
     95<a class="indexterm" name="id2685813"></a>
    9696There are cardinal rules to effective network design that cannot be broken with impunity.
    9797The most important rule: Simplicity is king in every well-controlled network. Every part of
     
    9999of keeping systems secure and functional.
    100100</p><p>
    101 <a class="indexterm" name="id2679767"></a>
    102 <a class="indexterm" name="id2679774"></a>
    103 <a class="indexterm" name="id2679780"></a>
    104 <a class="indexterm" name="id2679787"></a>
    105 <a class="indexterm" name="id2679794"></a>
    106 <a class="indexterm" name="id2679801"></a>
     101<a class="indexterm" name="id2685828"></a>
     102<a class="indexterm" name="id2685835"></a>
     103<a class="indexterm" name="id2685842"></a>
     104<a class="indexterm" name="id2685849"></a>
     105<a class="indexterm" name="id2685856"></a>
     106<a class="indexterm" name="id2685863"></a>
    107107Keep in mind the nature of how data must be shared. Physical disk space layout should be considered
    108108carefully. Some data must be backed up. The simpler the disk layout, the easier it will be to
     
    112112backup, test, and validate every backup; create a disaster recovery plan and prove that it works.
    113113</p><p>
    114 <a class="indexterm" name="id2679830"></a>
    115 <a class="indexterm" name="id2679838"></a>
    116 <a class="indexterm" name="id2679844"></a>
     114<a class="indexterm" name="id2685892"></a>
     115<a class="indexterm" name="id2685899"></a>
     116<a class="indexterm" name="id2685906"></a>
    117117Users should be grouped according to data access control needs. File and directory access
    118 is best controlled via group permissions, and the use of the &#8220;<span class="quote">sticky bit</span>&#8221; on group-controlled
     118is best controlled via group permissions, and the use of the <span class="quote">&#8220;<span class="quote">sticky bit</span>&#8221;</span> on group-controlled
    119119directories may substantially avoid file access complaints from Samba share users.
    120120</p><p>
    121 <a class="indexterm" name="id2679862"></a>
    122 <a class="indexterm" name="id2679870"></a>
    123 <a class="indexterm" name="id2679876"></a>
    124 <a class="indexterm" name="id2679884"></a>
    125 <a class="indexterm" name="id2679890"></a>
     121<a class="indexterm" name="id2685924"></a>
     122<a class="indexterm" name="id2685931"></a>
     123<a class="indexterm" name="id2685938"></a>
     124<a class="indexterm" name="id2685945"></a>
     125<a class="indexterm" name="id2685952"></a>
    126126Inexperienced  network administrators often attempt elaborate techniques to set access
    127127controls on files, directories, shares, as well as in share definitions.
     
    132132controls simple and effective, and make sure that users will never be interrupted by obtuse
    133133complexity.
    134 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2679910"></a>Logon Scripts</h4></div></div></div><p>
    135 <a class="indexterm" name="id2679918"></a>
     134</p></div><div class="sect3" title="Logon Scripts"><div class="titlepage"><div><div><h4 class="title"><a name="id2685972"></a>Logon Scripts</h4></div></div></div><p>
     135<a class="indexterm" name="id2685980"></a>
    136136Logon scripts can help to ensure that all users gain the share and printer connections they need.
    137137</p><p>
     
    141141the <a class="link" href="smb.conf.5.html#ROOTPREEXEC" target="_top">root preexec</a> parameters to the <em class="parameter"><code>NETLOGON</code></em> share.
    142142</p><p>
    143 <a class="indexterm" name="id2679957"></a>
     143<a class="indexterm" name="id2686019"></a>
    144144Some sites prefer to use a tool such as <code class="literal">kixstart</code> to establish a controlled
    145145user environment. In any case, you may wish to do a Google search for logon script process controls.
    146146In particular, you may wish to explore the use of the Microsoft Knowledge Base article KB189105 that
    147147deals with how to add printers without user intervention via the logon script process.
    148 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2679977"></a>Profile Migration/Creation</h4></div></div></div><p>
     148</p></div><div class="sect3" title="Profile Migration/Creation"><div class="titlepage"><div><div><h4 class="title"><a name="id2686039"></a>Profile Migration/Creation</h4></div></div></div><p>
    149149User and group profiles may be migrated using the tools described in the section titled Desktop Profile
    150150Management.
    151151</p><p>
    152 <a class="indexterm" name="id2679990"></a>
    153 <a class="indexterm" name="id2679997"></a>
     152<a class="indexterm" name="id2686052"></a>
     153<a class="indexterm" name="id2686059"></a>
    154154Profiles may also be managed using the Samba-3 tool <code class="literal">profiles</code>. This tool allows the MS
    155155Windows NT-style security identifiers (SIDs) that are stored inside the profile
    156156<code class="filename">NTuser.DAT</code> file to be changed to the SID of the Samba-3 domain.
    157 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2680021"></a>User and Group Accounts</h4></div></div></div><p>
    158 <a class="indexterm" name="id2680029"></a>
    159 <a class="indexterm" name="id2680036"></a>
    160 <a class="indexterm" name="id2680043"></a>
    161 <a class="indexterm" name="id2680050"></a>
     157</p></div><div class="sect3" title="User and Group Accounts"><div class="titlepage"><div><div><h4 class="title"><a name="id2686083"></a>User and Group Accounts</h4></div></div></div><p>
     158<a class="indexterm" name="id2686091"></a>
     159<a class="indexterm" name="id2686098"></a>
     160<a class="indexterm" name="id2686105"></a>
     161<a class="indexterm" name="id2686112"></a>
    162162It is possible to migrate all account settings from an MS Windows NT4 domain to Samba-3. Before
    163163attempting to migrate user and group accounts, you are STRONGLY advised to create in Samba-3 the
     
    165165suitable UNIX/Linux groups. By following this simple advice, all user and group attributes
    166166should migrate painlessly.
    167 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2680070"></a>Steps in Migration Process</h3></div></div></div><p>
     167</p></div></div><div class="sect2" title="Steps in Migration Process"><div class="titlepage"><div><div><h3 class="title"><a name="id2686132"></a>Steps in Migration Process</h3></div></div></div><p>
    168168The approximate migration process is described below.
    169 </p><div class="itemizedlist"><ul type="disc"><li><p>
     169</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    170170        You have an NT4 PDC that has the users, groups, policies, and profiles to be migrated.
    171         </p></li><li><p>
    172 <a class="indexterm" name="id2680092"></a>
    173 <a class="indexterm" name="id2680098"></a>
    174 <a class="indexterm" name="id2680105"></a>
     171        </p></li><li class="listitem"><p>
     172<a class="indexterm" name="id2686153"></a>
     173<a class="indexterm" name="id2686160"></a>
     174<a class="indexterm" name="id2686167"></a>
    175175        Samba-3 is set up as a domain controller with netlogon share, profile share, and so on. Configure the <code class="filename">smb.conf</code> file
    176176        to function as a BDC: <em class="parameter"><code>domain master = No</code></em>.
    177         </p></li></ul></div><div class="procedure"><a name="id2680128"></a><p class="title"><b>Procedure 36.1. The Account Migration Process</b></p><a class="indexterm" name="id2680216"></a><ol type="1"><li><p>
    178         <a class="indexterm" name="id2680140"></a>
     177        </p></li></ul></div><div class="procedure" title="Procedure 36.1. The Account Migration Process"><a name="id2686190"></a><p class="title"><b>Procedure 36.1. The Account Migration Process</b></p><a class="indexterm" name="id2686278"></a><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
     178        <a class="indexterm" name="id2686201"></a>
    179179        Create a BDC account in the old NT4 domain for the Samba server using NT Server Manager.
    180180        <span class="emphasis"><em>Samba must not be running.</em></span>
    181         </p></li><li><p>
    182         <a class="indexterm" name="id2680158"></a>
     181        </p></li><li class="step" title="Step 2"><p>
     182        <a class="indexterm" name="id2686220"></a>
    183183        <strong class="userinput"><code>net rpc join -S <em class="replaceable"><code>NT4PDC</code></em> -w <em class="replaceable"><code>DOMNAME</code></em> -U
    184184        Administrator%<em class="replaceable"><code>passwd</code></em></code></strong>
    185         </p></li><li><p>
    186 <a class="indexterm" name="id2680192"></a>
     185        </p></li><li class="step" title="Step 3"><p>
     186<a class="indexterm" name="id2686254"></a>
    187187        <strong class="userinput"><code>net rpc vampire -S <em class="replaceable"><code>NT4PDC</code></em> -U
    188188        administrator%<em class="replaceable"><code>passwd</code></em></code></strong>
    189         </p></li><li><p><strong class="userinput"><code>pdbedit -L</code></strong></p><p>Note: Did the users migrate?</p></li><li><p>
    190         <a class="indexterm" name="id2680244"></a>
    191         <a class="indexterm" name="id2680253"></a>
     189        </p></li><li class="step" title="Step 4"><p><strong class="userinput"><code>pdbedit -L</code></strong></p><p>Note: Did the users migrate?</p></li><li class="step" title="Step 5"><p>
     190        <a class="indexterm" name="id2686305"></a>
     191        <a class="indexterm" name="id2686314"></a>
    192192        Now assign each of the UNIX groups to NT groups:
    193193        (It may be useful to copy this text to a script called <code class="filename">initGroups.sh</code>)
     
    206206net groupmap add ntgroup="QA Team"   unixgroup=qateam    type=d
    207207</pre><p>
    208         </p></li><li><p><strong class="userinput"><code>net groupmap list</code></strong></p><p>Check that all groups are recognized.
     208        </p></li><li class="step" title="Step 6"><p><strong class="userinput"><code>net groupmap list</code></strong></p><p>Check that all groups are recognized.
    209209        </p></li></ol></div><p>
    210210Migrate all the profiles, then migrate all policy files.
    211 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2680306"></a>Migration Options</h2></div></div></div><p>
     211</p></div></div><div class="sect1" title="Migration Options"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2686367"></a>Migration Options</h2></div></div></div><p>
    212212Sites that wish to migrate from MS Windows NT4 domain control to a Samba-based solution
    213213generally fit into three basic categories. <a class="link" href="NT4Migration.html#majtypes" title="Table 36.1. The Three Major Site Types">Following table</a> shows the possibilities.
    214214</p><div class="table"><a name="majtypes"></a><p class="title"><b>Table 36.1. The Three Major Site Types</b></p><div class="table-contents"><table summary="The Three Major Site Types" border="1"><colgroup><col align="left"><col align="justify"></colgroup><thead><tr><th align="left">Number of Users</th><th align="justify">Description</th></tr></thead><tbody><tr><td align="left">&lt; 50</td><td align="justify"><p>Want simple conversion with no pain.</p></td></tr><tr><td align="left">50 - 250</td><td align="justify"><p>Want new features; can manage some inhouse complexity.</p></td></tr><tr><td align="left">&gt; 250</td><td align="justify"><p>Solution/implementation must scale well; complex needs.
    215                 Cross-departmental decision process. Local expertise in most areas.</p></td></tr></tbody></table></div></div><br class="table-break"><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2680392"></a>Planning for Success</h3></div></div></div><p>
     215                Cross-departmental decision process. Local expertise in most areas.</p></td></tr></tbody></table></div></div><br class="table-break"><div class="sect2" title="Planning for Success"><div class="titlepage"><div><div><h3 class="title"><a name="id2686454"></a>Planning for Success</h3></div></div></div><p>
    216216There are three basic choices for sites that intend to migrate from MS Windows NT4
    217217to Samba-3:
    218 </p><div class="itemizedlist"><ul type="disc"><li><p>
     218</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    219219        Simple conversion (total replacement).
    220         </p></li><li><p>
     220        </p></li><li class="listitem"><p>
    221221        Upgraded conversion (could be one of integration).
    222         </p></li><li><p>
     222        </p></li><li class="listitem"><p>
    223223        Complete redesign (completely new solution).
    224224        </p></li></ul></div><p>
    225225Minimize downstream problems by:
    226 </p><div class="itemizedlist"><ul type="disc"><li><p>
     226</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    227227        Taking sufficient time.
    228         </p></li><li><p>
     228        </p></li><li class="listitem"><p>
    229229        Avoiding panic.
    230         </p></li><li><p>
     230        </p></li><li class="listitem"><p>
    231231        Testing all assumptions.
    232         </p></li><li><p>
     232        </p></li><li class="listitem"><p>
    233233        Testing the full roll-out program, including workstation deployment.
    234234        </p></li></ul></div><p><a class="link" href="NT4Migration.html#natconchoices" title="Table 36.2. Nature of the Conversion Choices">Following table</a> lists the conversion choices given the type of migration
    235235being contemplated.
    236 </p><div class="table"><a name="natconchoices"></a><p class="title"><b>Table 36.2. Nature of the Conversion Choices</b></p><div class="table-contents"><table summary="Nature of the Conversion Choices" border="1"><colgroup><col align="justify"><col align="justify"><col align="justify"></colgroup><thead><tr><th align="justify">Simple Install</th><th align="justify">Upgrade Decisions</th><th align="justify">Redesign Decisions</th></tr></thead><tbody><tr><td align="justify"><p>Make use of minimal OS-specific features</p></td><td align="justify"><p>Translate NT4 features to new host OS features</p></td><td align="justify"><p>Improve on NT4 functionality, enhance management capabilities</p></td></tr><tr><td align="justify"><p>Move all accounts from NT4 into Samba-3</p></td><td align="justify"><p>Copy and improve</p></td><td align="justify"><p>Authentication regime (database location and access)</p></td></tr><tr><td align="justify"><p>Make least number of operational changes</p></td><td align="justify"><p>Make progressive improvements</p></td><td align="justify"><p>Desktop management methods</p></td></tr><tr><td align="justify"><p>Take least amount of time to migrate</p></td><td align="justify"><p>Minimize user impact</p></td><td align="justify"><p>Better control of Desktops/Users</p></td></tr><tr><td align="justify"><p>Live versus isolated conversion</p></td><td align="justify"><p>Maximize functionality</p></td><td align="justify"><p>Identify Needs for: <span class="emphasis"><em>Manageability, Scalability, Security, Availability</em></span></p></td></tr><tr><td align="justify"><p>Integrate Samba-3, then migrate while users are active, then change of control (swap out)</p></td><td align="justify"><p>Take advantage of lower maintenance opportunity</p></td><td align="justify"><p></p></td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2680625"></a>Samba-3 Implementation Choices</h3></div></div></div><div class="variablelist"><dl><dt><span class="term">Authentication Database/Backend</span></dt><dd><p>
     236</p><div class="table"><a name="natconchoices"></a><p class="title"><b>Table 36.2. Nature of the Conversion Choices</b></p><div class="table-contents"><table summary="Nature of the Conversion Choices" border="1"><colgroup><col align="justify"><col align="justify"><col align="justify"></colgroup><thead><tr><th align="justify">Simple Install</th><th align="justify">Upgrade Decisions</th><th align="justify">Redesign Decisions</th></tr></thead><tbody><tr><td align="justify"><p>Make use of minimal OS-specific features</p></td><td align="justify"><p>Translate NT4 features to new host OS features</p></td><td align="justify"><p>Improve on NT4 functionality, enhance management capabilities</p></td></tr><tr><td align="justify"><p>Move all accounts from NT4 into Samba-3</p></td><td align="justify"><p>Copy and improve</p></td><td align="justify"><p>Authentication regime (database location and access)</p></td></tr><tr><td align="justify"><p>Make least number of operational changes</p></td><td align="justify"><p>Make progressive improvements</p></td><td align="justify"><p>Desktop management methods</p></td></tr><tr><td align="justify"><p>Take least amount of time to migrate</p></td><td align="justify"><p>Minimize user impact</p></td><td align="justify"><p>Better control of Desktops/Users</p></td></tr><tr><td align="justify"><p>Live versus isolated conversion</p></td><td align="justify"><p>Maximize functionality</p></td><td align="justify"><p>Identify Needs for: <span class="emphasis"><em>Manageability, Scalability, Security, Availability</em></span></p></td></tr><tr><td align="justify"><p>Integrate Samba-3, then migrate while users are active, then change of control (swap out)</p></td><td align="justify"><p>Take advantage of lower maintenance opportunity</p></td><td align="justify"><p></p></td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect2" title="Samba-3 Implementation Choices"><div class="titlepage"><div><div><h3 class="title"><a name="id2686687"></a>Samba-3 Implementation Choices</h3></div></div></div><div class="variablelist"><dl><dt><span class="term">Authentication Database/Backend</span></dt><dd><p>
    237237                Samba-3 can use an external authentication backend:
    238238                </p><p>
    239                 </p><div class="itemizedlist"><ul type="disc"><li><p>Winbind (external Samba or NT4/200x server).</p></li><li><p>External server could use Active Directory or NT4 domain.</p></li><li><p>Can use pam_mkhomedir.so to autocreate home directories.</p></li><li><p> Samba-3 can use a local authentication backend: <em class="parameter"><code>smbpasswd</code></em>,
     239                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Winbind (external Samba or NT4/200x server).</p></li><li class="listitem"><p>External server could use Active Directory or NT4 domain.</p></li><li class="listitem"><p>Can use pam_mkhomedir.so to autocreate home directories.</p></li><li class="listitem"><p> Samba-3 can use a local authentication backend: <em class="parameter"><code>smbpasswd</code></em>,
    240240                                <em class="parameter"><code>tdbsam</code></em>, <em class="parameter"><code>ldapsam</code></em>
    241241                        </p></li></ul></div></dd><dt><span class="term">Access Control Points</span></dt><dd><p>
    242242                Samba permits Access Control points to be set:
    243                 </p><a class="indexterm" name="id2680699"></a><a class="indexterm" name="id2680706"></a><a class="indexterm" name="id2680712"></a><a class="indexterm" name="id2680719"></a><div class="itemizedlist"><ul type="disc"><li><p>On the share itself  using share ACLs.</p></li><li><p>On the file system  using UNIX permissions on files and directories.</p><p>Note: Can enable Posix ACLs in file system also.</p></li><li><p>Through Samba share parameters  not recommended except as last resort.</p></li></ul></div></dd><dt><span class="term">Policies (migrate or create new ones)</span></dt><dd><p>
    244 <a class="indexterm" name="id2680767"></a>
    245 <a class="indexterm" name="id2680774"></a>
     243                </p><a class="indexterm" name="id2686760"></a><a class="indexterm" name="id2686767"></a><a class="indexterm" name="id2686774"></a><a class="indexterm" name="id2686781"></a><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>On the share itself  using share ACLs.</p></li><li class="listitem"><p>On the file system  using UNIX permissions on files and directories.</p><p>Note: Can enable Posix ACLs in file system also.</p></li><li class="listitem"><p>Through Samba share parameters  not recommended except as last resort.</p></li></ul></div></dd><dt><span class="term">Policies (migrate or create new ones)</span></dt><dd><p>
     244<a class="indexterm" name="id2686829"></a>
     245<a class="indexterm" name="id2686835"></a>
    246246                Exercise great caution when making registry changes; use the right tool and be aware
    247247                that changes made through NT4-style <code class="filename">NTConfig.POL</code> files can leave
    248248                permanent changes.
    249 <a class="indexterm" name="id2680790"></a>
    250 <a class="indexterm" name="id2680796"></a>
    251 <a class="indexterm" name="id2680803"></a>
    252                 </p><div class="itemizedlist"><ul type="disc"><li><p>Using Group Policy Editor (NT4).</p></li><li><p>Watch out for tattoo effect.</p></li></ul></div></dd><dt><span class="term">User and Group Profiles</span></dt><dd><p>
    253 <a class="indexterm" name="id2680835"></a>
    254 <a class="indexterm" name="id2680841"></a>
     249<a class="indexterm" name="id2686851"></a>
     250<a class="indexterm" name="id2686858"></a>
     251<a class="indexterm" name="id2686865"></a>
     252                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Using Group Policy Editor (NT4).</p></li><li class="listitem"><p>Watch out for tattoo effect.</p></li></ul></div></dd><dt><span class="term">User and Group Profiles</span></dt><dd><p>
     253<a class="indexterm" name="id2686896"></a>
     254<a class="indexterm" name="id2686903"></a>
    255255                Platform-specific, so use platform tool to change from a local to a roaming profile.
    256256                Can use new profiles tool to change SIDs (<code class="filename">NTUser.DAT</code>).
     
    258258                Know how they work.
    259259                </p></dd><dt><span class="term">User and Group Mapping to UNIX/Linux</span></dt><dd><p>
    260                 <a class="indexterm" name="id2680880"></a>
     260                <a class="indexterm" name="id2686941"></a>
    261261                User and group mapping code is new. Many problems have been experienced as network administrators
    262262                who are familiar with Samba-2.2.x migrate to Samba-3. Carefully study the chapters that document
    263263                the new password backend behavior and the new group mapping functionality.
    264                 </p><div class="itemizedlist"><ul type="disc"><li><p>The <em class="parameter"><code>username map</code></em> facility may be needed.</p></li><li><p>Use <code class="literal">net groupmap</code> to connect NT4 groups to UNIX groups.</p></li><li><p>
     264                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>The <em class="parameter"><code>username map</code></em> facility may be needed.</p></li><li class="listitem"><p>Use <code class="literal">net groupmap</code> to connect NT4 groups to UNIX groups.</p></li><li class="listitem"><p>
    265265                                        Use <code class="literal">pdbedit</code> to set/change user configuration.
    266266                                        </p><p>
     
    271271                that were based on the experience of the designer and may have side effects that were not
    272272                anticipated. Limitations that may bite the Windows network administrator include:
    273                 </p><div class="itemizedlist"><ul type="disc"><li><p>Add/Delete Users: Note OS limits on size of name
    274                                 (Linux 8 chars, NT4 up to 254 chars).</p></li><li><p>Add/Delete Machines: Applied only to domain members
    275                                 (Note: machine names may be limited to 16 characters).</p></li><li><p>Use <code class="literal">net groupmap</code> to connect NT4 groups to UNIX groups.</p></li><li><p>Add/Delete Groups: Note OS limits on size and nature.
     273                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Add/Delete Users: Note OS limits on size of name
     274                                (Linux 8 chars, NT4 up to 254 chars).</p></li><li class="listitem"><p>Add/Delete Machines: Applied only to domain members
     275                                (Note: machine names may be limited to 16 characters).</p></li><li class="listitem"><p>Use <code class="literal">net groupmap</code> to connect NT4 groups to UNIX groups.</p></li><li class="listitem"><p>Add/Delete Groups: Note OS limits on size and nature.
    276276                                Linux limit is 16 char, no spaces, and no uppercase chars (<code class="literal">groupadd</code>).</p></li></ul></div></dd><dt><span class="term">Migration Tools</span></dt><dd><p>
    277                                 <a class="indexterm" name="id2680997"></a>
     277                                <a class="indexterm" name="id2687059"></a>
    278278                                Domain Control (NT4-Style) Profiles, Policies, Access Controls, Security
    279                                 </p><div class="itemizedlist"><ul type="disc"><li><p>Samba: <code class="literal">net, rpcclient, smbpasswd, pdbedit, profiles</code></p></li><li><p>Windows: <code class="literal">NT4 Domain User Manager, Server Manager (NEXUS)</code></p></li></ul></div></dd></dl></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="upgrading-to-3.0.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="migration.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="SWAT.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 35. Updating and Upgrading Samba </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 37. SWAT: The Samba Web Administration Tool</td></tr></table></div></body></html>
     279                                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Samba: <code class="literal">net, rpcclient, smbpasswd, pdbedit, profiles</code></p></li><li class="listitem"><p>Windows: <code class="literal">NT4 Domain User Manager, Server Manager (NEXUS)</code></p></li></ul></div></dd></dl></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="upgrading-to-3.0.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="migration.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="SWAT.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 35. Updating and Upgrading Samba </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 37. SWAT: The Samba Web Administration Tool</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/NetCommand.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 13. Remote and Local Management: The Net Command</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="groupmapping.html" title="Chapter 12. Group Mapping: MS Windows and UNIX"><link rel="next" href="idmapper.html" title="Chapter 14. Identity Mapping (IDMAP)"></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 13. Remote and Local Management: The Net Command</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="groupmapping.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="idmapper.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="NetCommand"></a>Chapter 13. Remote and Local Management: The Net Command</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Volker</span> <span class="orgname">Samba Team</span> <span class="surname">Lendecke</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:Volker.Lendecke@SerNet.DE">Volker.Lendecke@SerNet.DE</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Guenther</span> <span class="orgname">SuSE</span> <span class="surname">Deschner</span></h3><div class="affiliation"><span class="orgname">SuSE<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:gd@suse.de">gd@suse.de</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">May 9, 2005</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="NetCommand.html#id2599024">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2599319">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2599558">Adding, Renaming, or Deletion of Group Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#nestedgrpmgmgt">Nested Group Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2600928">UNIX and Windows User Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#sbeuseraddn">Adding User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601139">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601187">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601256">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2601684">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2601699">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602068">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2602524">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2602569">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602757">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602787">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2603410">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2603661">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603680">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603746">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603862">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603879">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2603923">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2603958">Restoring the IDMAP Database Dump File</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></span></dt></dl></div><p>
    2 <a class="indexterm" name="id2598886"></a>
    3 <a class="indexterm" name="id2598892"></a>
    4 <a class="indexterm" name="id2598899"></a>
    5 <a class="indexterm" name="id2598906"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 13. Remote and Local Management: The Net Command</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="groupmapping.html" title="Chapter 12. Group Mapping: MS Windows and UNIX"><link rel="next" href="idmapper.html" title="Chapter 14. Identity Mapping (IDMAP)"></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 13. Remote and Local Management: The Net Command</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="groupmapping.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="idmapper.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 13. Remote and Local Management: The Net Command"><div class="titlepage"><div><div><h2 class="title"><a name="NetCommand"></a>Chapter 13. Remote and Local Management: The Net Command</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Volker</span> <span class="surname">Lendecke</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:Volker.Lendecke@SerNet.DE">Volker.Lendecke@SerNet.DE</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Guenther</span> <span class="surname">Deschner</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:gd@samba.org">gd@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">May 9, 2005</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="NetCommand.html#id2605091">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2605385">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2605625">Adding, Renaming, or Deletion of Group Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#nestedgrpmgmgt">Nested Group Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2606994">UNIX and Windows User Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#sbeuseraddn">Adding User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2607206">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2607254">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2607322">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2607751">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2607766">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2608135">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2608591">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2608636">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2608824">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2608854">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2609477">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2609728">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609747">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609812">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609928">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609946">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2609990">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2610025">Restoring the IDMAP Database Dump File</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></span></dt></dl></div><p>
     2<a class="indexterm" name="id2604952"></a>
     3<a class="indexterm" name="id2604959"></a>
     4<a class="indexterm" name="id2604966"></a>
     5<a class="indexterm" name="id2604973"></a>
    66The <code class="literal">net</code> command is one of the new features of Samba-3 and is an attempt to provide a useful
    77tool for the majority of remote management operations necessary for common tasks. The <code class="literal">net</code>
    88tool is flexible by design and is intended for command-line use as well as for scripted control application.
    99</p><p>
    10 <a class="indexterm" name="id2598932"></a>
    11 <a class="indexterm" name="id2598939"></a>
    12 <a class="indexterm" name="id2598946"></a>
    13 <a class="indexterm" name="id2598953"></a>
     10<a class="indexterm" name="id2604999"></a>
     11<a class="indexterm" name="id2605006"></a>
     12<a class="indexterm" name="id2605013"></a>
     13<a class="indexterm" name="id2605020"></a>
    1414Originally introduced with the intent to mimic the Microsoft Windows command that has the same name, the
    1515<code class="literal">net</code> command has morphed into a very powerful instrument that has become an essential part
     
    2323A Samba-3 administrator cannot afford to gloss over this chapter because to do so will almost certainly cause
    2424the infliction of self-induced pain, agony, and desperation. Be warned: this is an important chapter.
    25 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2599024"></a>Overview</h2></div></div></div><p>
    26 <a class="indexterm" name="id2599032"></a>
    27 <a class="indexterm" name="id2599039"></a>
    28 <a class="indexterm" name="id2599046"></a>
    29 <a class="indexterm" name="id2599052"></a>
    30 <a class="indexterm" name="id2599059"></a>
    31 <a class="indexterm" name="id2599065"></a>
     25</p><div class="sect1" title="Overview"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2605091"></a>Overview</h2></div></div></div><p>
     26<a class="indexterm" name="id2605099"></a>
     27<a class="indexterm" name="id2605106"></a>
     28<a class="indexterm" name="id2605113"></a>
     29<a class="indexterm" name="id2605119"></a>
     30<a class="indexterm" name="id2605126"></a>
     31<a class="indexterm" name="id2605132"></a>
    3232        The tasks that follow the installation of a Samba-3 server, whether standalone or domain member, of a
    3333        domain controller (PDC or BDC) begins with the need to create administrative rights. Of course, the
     
    3636        the central domain authentication backend.
    3737        </p><p>
    38 <a class="indexterm" name="id2599083"></a>
    39 <a class="indexterm" name="id2599090"></a>
    40 <a class="indexterm" name="id2599097"></a>
    41 <a class="indexterm" name="id2599104"></a>
    42 <a class="indexterm" name="id2599111"></a>
    43 <a class="indexterm" name="id2599117"></a>
    44 <a class="indexterm" name="id2599124"></a>
    45 <a class="indexterm" name="id2599131"></a>
     38<a class="indexterm" name="id2605150"></a>
     39<a class="indexterm" name="id2605157"></a>
     40<a class="indexterm" name="id2605164"></a>
     41<a class="indexterm" name="id2605170"></a>
     42<a class="indexterm" name="id2605177"></a>
     43<a class="indexterm" name="id2605184"></a>
     44<a class="indexterm" name="id2605190"></a>
     45<a class="indexterm" name="id2605197"></a>
    4646        Regardless of the type of server being installed, local UNIX groups must be mapped to the Windows
    4747        networking domain global group accounts. Do you ask why? Because Samba always limits its access to
     
    5151        Samba. Such mappings are implemented using the <code class="literal">net</code> command.
    5252        </p><p>
    53 <a class="indexterm" name="id2599155"></a>
    54 <a class="indexterm" name="id2599162"></a>
    55 <a class="indexterm" name="id2599168"></a>
    56 <a class="indexterm" name="id2599175"></a>
    57 <a class="indexterm" name="id2599182"></a>
    58 <a class="indexterm" name="id2599189"></a>
    59 <a class="indexterm" name="id2599196"></a>
     53<a class="indexterm" name="id2605222"></a>
     54<a class="indexterm" name="id2605229"></a>
     55<a class="indexterm" name="id2605235"></a>
     56<a class="indexterm" name="id2605242"></a>
     57<a class="indexterm" name="id2605249"></a>
     58<a class="indexterm" name="id2605256"></a>
     59<a class="indexterm" name="id2605263"></a>
    6060        UNIX systems that are hosting a Samba-3 server that is running as a member (PDC, BDC, or DMS) must have
    6161        a machine security account in the domain authentication database (or directory). The creation of such
    6262        security (or trust) accounts is also handled using the <code class="literal">net</code> command.
    6363        </p><p>
    64 <a class="indexterm" name="id2599216"></a>
    65 <a class="indexterm" name="id2599223"></a>
    66 <a class="indexterm" name="id2599229"></a>
    67 <a class="indexterm" name="id2599236"></a>
    68 <a class="indexterm" name="id2599243"></a>
    69 <a class="indexterm" name="id2599250"></a>
    70 <a class="indexterm" name="id2599257"></a>
    71 <a class="indexterm" name="id2599264"></a>
    72 <a class="indexterm" name="id2599271"></a>
     64<a class="indexterm" name="id2605283"></a>
     65<a class="indexterm" name="id2605290"></a>
     66<a class="indexterm" name="id2605296"></a>
     67<a class="indexterm" name="id2605303"></a>
     68<a class="indexterm" name="id2605310"></a>
     69<a class="indexterm" name="id2605317"></a>
     70<a class="indexterm" name="id2605324"></a>
     71<a class="indexterm" name="id2605331"></a>
     72<a class="indexterm" name="id2605338"></a>
    7373        The establishment of interdomain trusts is achieved using the <code class="literal">net</code> command also, as
    7474        may a plethora of typical administrative duties such as user management, group management, share and
    7575        printer management, file and printer migration, security identifier management, and so on.
    7676        </p><p>
    77 <a class="indexterm" name="id2599292"></a>
    78 <a class="indexterm" name="id2599298"></a>
     77<a class="indexterm" name="id2605358"></a>
     78<a class="indexterm" name="id2605365"></a>
    7979        The overall picture should be clear now: the <code class="literal">net</code> command plays a central role
    8080        on the Samba-3 stage. This role will continue to be developed. The inclusion of this chapter is
    8181        evidence of its importance, one that has grown in complexity to the point that it is no longer considered
    8282        prudent to cover its use fully in the online UNIX man pages.
    83         </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2599319"></a>Administrative Tasks and Methods</h2></div></div></div><p>
    84 <a class="indexterm" name="id2599327"></a>
    85 <a class="indexterm" name="id2599333"></a>
    86 <a class="indexterm" name="id2599340"></a>
    87 <a class="indexterm" name="id2599349"></a>
     83        </p></div><div class="sect1" title="Administrative Tasks and Methods"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2605385"></a>Administrative Tasks and Methods</h2></div></div></div><p>
     84<a class="indexterm" name="id2605394"></a>
     85<a class="indexterm" name="id2605400"></a>
     86<a class="indexterm" name="id2605407"></a>
     87<a class="indexterm" name="id2605416"></a>
    8888        The basic operations of the <code class="literal">net</code> command are documented here. This documentation is not
    8989        exhaustive, and thus it is incomplete. Since the primary focus is on migration from Windows servers to a Samba
     
    9595        <code class="constant">rap</code> modes.  Please refer to the man page for a more comprehensive overview of the
    9696        capabilities of this utility.
    97         </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2599400"></a>UNIX and Windows Group Management</h2></div></div></div><p>
    98 <a class="indexterm" name="id2599408"></a>
    99 <a class="indexterm" name="id2599415"></a>
    100 <a class="indexterm" name="id2599423"></a>
    101 <a class="indexterm" name="id2599432"></a>
    102 <a class="indexterm" name="id2599441"></a>
     97        </p></div><div class="sect1" title="UNIX and Windows Group Management"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2605466"></a>UNIX and Windows Group Management</h2></div></div></div><p>
     98<a class="indexterm" name="id2605475"></a>
     99<a class="indexterm" name="id2605482"></a>
     100<a class="indexterm" name="id2605490"></a>
     101<a class="indexterm" name="id2605499"></a>
     102<a class="indexterm" name="id2605508"></a>
    103103        As stated, the focus in most of this chapter is on use of the <code class="literal">net rpc</code> family of
    104104        operations that are supported by Samba. Most of them are supported by the <code class="literal">net ads</code>
     
    107107        earlier SMB servers.
    108108        </p><p>
    109 <a class="indexterm" name="id2599474"></a>
    110 <a class="indexterm" name="id2599480"></a>
    111 <a class="indexterm" name="id2599487"></a>
     109<a class="indexterm" name="id2605541"></a>
     110<a class="indexterm" name="id2605547"></a>
     111<a class="indexterm" name="id2605554"></a>
    112112        Samba's <code class="literal">net</code> tool implements sufficient capability to permit all common administrative
    113113        tasks to be completed from the command line. In this section each of the essential user and group management
    114114        facilities are explored.
    115115        </p><p>
    116 <a class="indexterm" name="id2599507"></a>
    117 <a class="indexterm" name="id2599514"></a>
    118 <a class="indexterm" name="id2599523"></a>
    119 <a class="indexterm" name="id2599532"></a>
     116<a class="indexterm" name="id2605574"></a>
     117<a class="indexterm" name="id2605581"></a>
     118<a class="indexterm" name="id2605590"></a>
     119<a class="indexterm" name="id2605599"></a>
    120120        Samba-3 recognizes two types of groups: <span class="emphasis"><em>domain groups</em></span> and <span class="emphasis"><em>local
    121121        groups</em></span>. Domain groups can contain (have as members) only domain user accounts. Local groups
     
    124124        The purpose of a local group is to permit file permission to be set for a group account that, like the
    125125        usual UNIX/Linux group, is persistent across redeployment of a Windows file server.
    126         </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2599558"></a>Adding, Renaming, or Deletion of Group Accounts</h3></div></div></div><p>
     126        </p><div class="sect2" title="Adding, Renaming, or Deletion of Group Accounts"><div class="titlepage"><div><div><h3 class="title"><a name="id2605625"></a>Adding, Renaming, or Deletion of Group Accounts</h3></div></div></div><p>
    127127        Samba provides file and print services to Windows clients. The file system resources it makes available
    128128        to the Windows environment must, of necessity, be provided in a manner that is compatible with the
     
    144144        show how UNIX group members automatically pass-through to Windows group membership as soon as a logical
    145145        mapping has been created.
    146         </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2599600"></a>Adding or Creating a New Group</h4></div></div></div><p>
     146        </p><div class="sect3" title="Adding or Creating a New Group"><div class="titlepage"><div><div><h4 class="title"><a name="id2605667"></a>Adding or Creating a New Group</h4></div></div></div><p>
    147147        Before attempting to add a Windows group account, the currently available groups can be listed as shown
    148148        here:
    149 <a class="indexterm" name="id2599610"></a>
    150 <a class="indexterm" name="id2599621"></a>
     149<a class="indexterm" name="id2605677"></a>
     150<a class="indexterm" name="id2605688"></a>
    151151</p><pre class="screen">
    152152<code class="prompt">root# </code> net rpc group list -Uroot%not24get
     
    162162</pre><p>
    163163        </p><p>
    164         A Windows group account called &#8220;<span class="quote">SupportEngrs</span>&#8221; can be added by executing the following
     164        A Windows group account called <span class="quote">&#8220;<span class="quote">SupportEngrs</span>&#8221;</span> can be added by executing the following
    165165command:
    166 <a class="indexterm" name="id2599657"></a>
     166<a class="indexterm" name="id2605724"></a>
    167167</p><pre class="screen">
    168168<code class="prompt">root# </code> net rpc group add "SupportEngrs" -Uroot%not24get
     
    184184</pre><p>
    185185        </p><p>
    186 <a class="indexterm" name="id2599700"></a>
    187 <a class="indexterm" name="id2599707"></a>
    188 <a class="indexterm" name="id2599714"></a>
     186<a class="indexterm" name="id2605767"></a>
     187<a class="indexterm" name="id2605774"></a>
     188<a class="indexterm" name="id2605781"></a>
    189189        The following demonstrates that the POSIX (UNIX/Linux system account) group has been created by calling
    190190        the <a class="link" href="smb.conf.5.html#ADDGROUPSCRIPT" target="_top">add group script = /opt/IDEALX/sbin/smbldap-groupadd -p "%g"</a> interface
     
    206206results in immediate mapping of the POSIX group that has been created to the Windows group account as shown
    207207here:
    208 <a class="indexterm" name="id2599760"></a>
     208<a class="indexterm" name="id2605827"></a>
    209209</p><pre class="screen">
    210210<code class="prompt">root# </code> net groupmap list
     
    219219SupportEngrs (S-1-5-21-72630-4128915-11681869-3007) -&gt; SupportEngrs
    220220</pre><p>
    221         </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2599802"></a>Mapping Windows Groups to UNIX Groups</h4></div></div></div><p>
    222 <a class="indexterm" name="id2599809"></a>
    223 <a class="indexterm" name="id2599816"></a>
    224 <a class="indexterm" name="id2599823"></a>
    225 <a class="indexterm" name="id2599830"></a>
     221        </p></div><div class="sect3" title="Mapping Windows Groups to UNIX Groups"><div class="titlepage"><div><div><h4 class="title"><a name="id2605869"></a>Mapping Windows Groups to UNIX Groups</h4></div></div></div><p>
     222<a class="indexterm" name="id2605876"></a>
     223<a class="indexterm" name="id2605883"></a>
     224<a class="indexterm" name="id2605890"></a>
     225<a class="indexterm" name="id2605897"></a>
    226226        Windows groups must be mapped to UNIX system (POSIX) groups so that file system access controls
    227227        can be asserted in a manner that is consistent with the methods appropriate to the operating
    228228        system that is hosting the Samba server.
    229229        </p><p>
    230 <a class="indexterm" name="id2599844"></a>
    231 <a class="indexterm" name="id2599851"></a>
    232 <a class="indexterm" name="id2599858"></a>
    233 <a class="indexterm" name="id2599864"></a>
     230<a class="indexterm" name="id2605911"></a>
     231<a class="indexterm" name="id2605918"></a>
     232<a class="indexterm" name="id2605924"></a>
     233<a class="indexterm" name="id2605931"></a>
    234234        All file system (file and directory) access controls, within the file system of a UNIX/Linux server that is
    235235        hosting a Samba server, are implemented using a UID/GID identity tuple. Samba does not in any way override
     
    239239        command does not call any RPC-functions here but directly accesses the passdb.
    240240        </p><p>
    241 <a class="indexterm" name="id2599890"></a>
    242 <a class="indexterm" name="id2599897"></a>
    243 <a class="indexterm" name="id2599904"></a>
    244 <a class="indexterm" name="id2599910"></a>
    245 <a class="indexterm" name="id2599917"></a>
    246 <a class="indexterm" name="id2599924"></a>
    247 <a class="indexterm" name="id2599931"></a>
     241<a class="indexterm" name="id2605956"></a>
     242<a class="indexterm" name="id2605963"></a>
     243<a class="indexterm" name="id2605970"></a>
     244<a class="indexterm" name="id2605977"></a>
     245<a class="indexterm" name="id2605984"></a>
     246<a class="indexterm" name="id2605991"></a>
     247<a class="indexterm" name="id2605998"></a>
    248248        Samba depends on default mappings for the <code class="constant">Domain Admins, Domain Users</code>, and
    249249        <code class="constant">Domain Guests</code> global groups. Additional groups may be added as shown in the
     
    252252        of creation of the mapping.
    253253        </p><p>
    254 <a class="indexterm" name="id2599955"></a>
    255 <a class="indexterm" name="id2599966"></a>
    256 <a class="indexterm" name="id2599977"></a>
     254<a class="indexterm" name="id2606021"></a>
     255<a class="indexterm" name="id2606033"></a>
     256<a class="indexterm" name="id2606044"></a>
    257257        The operations that are permitted include: <code class="constant">add</code>, <code class="constant">modify</code>,
    258258        and <code class="constant">delete</code>. An example of each operation is shown here.
    259         </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     259        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    260260        Commencing with Samba-3.0.23 Windows Domain Groups must be explicitly created. By default, all
    261261        UNIX groups are exposed to Windows networking as Windows local groups.
     
    291291        treated as local to the individual Samba server. Local groups can be used with Samba to enable multiple
    292292        nested group support.
    293         </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2600110"></a>Deleting a Group Account</h4></div></div></div><p>
    294 <a class="indexterm" name="id2600118"></a>
     293        </p></div><div class="sect3" title="Deleting a Group Account"><div class="titlepage"><div><div><h4 class="title"><a name="id2606176"></a>Deleting a Group Account</h4></div></div></div><p>
     294<a class="indexterm" name="id2606184"></a>
    295295        A group account may be deleted by executing the following command:
    296296</p><pre class="screen">
     
    299299        </p><p>
    300300        Validation of the deletion is advisable. The same commands may be executed as shown above.
    301         </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2600150"></a>Rename Group Accounts</h4></div></div></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     301        </p></div><div class="sect3" title="Rename Group Accounts"><div class="titlepage"><div><div><h4 class="title"><a name="id2606216"></a>Rename Group Accounts</h4></div></div></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    302302        This command is not documented in the man pages; it is implemented in the source code, but it does not
    303303        work at this time. The example given documents, from the source code, how it should work. Watch the
     
    306306        Sometimes it is necessary to rename a group account. Good administrators know how painful some managers'
    307307        demands can be if this simple request is ignored. The following command demonstrates how the Windows group
    308         &#8220;<span class="quote">SupportEngrs</span>&#8221; can be renamed to &#8220;<span class="quote">CustomerSupport</span>&#8221;:
    309 <a class="indexterm" name="id2600178"></a>
     308        <span class="quote">&#8220;<span class="quote">SupportEngrs</span>&#8221;</span> can be renamed to <span class="quote">&#8220;<span class="quote">CustomerSupport</span>&#8221;</span>:
     309<a class="indexterm" name="id2606245"></a>
    310310</p><pre class="screen">
    311311<code class="prompt">root# </code> net rpc group rename SupportEngrs \
    312312    CustomerSupport -Uroot%not24get
    313313</pre><p>
    314         </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="grpmemshipchg"></a>Manipulating Group Memberships</h3></div></div></div><p>
     314        </p></div></div><div class="sect2" title="Manipulating Group Memberships"><div class="titlepage"><div><div><h3 class="title"><a name="grpmemshipchg"></a>Manipulating Group Memberships</h3></div></div></div><p>
    315315        Three operations can be performed regarding group membership. It is possible to (1) add Windows users
    316316        to a Windows group, to (2) delete Windows users from Windows groups, and to (3) list the Windows users that are
     
    350350        group mapping, a member of the Windows group, an attempt to add this account again should fail. This is
    351351        demonstrated here:
    352 <a class="indexterm" name="id2600309"></a>
     352<a class="indexterm" name="id2606376"></a>
    353353</p><pre class="screen">
    354354<code class="prompt">root# </code> net rpc group addmem "MIDEARTH\Engineers" ajt -Uroot%not24get
     
    360360        To permit the user <code class="constant">ajt</code> to be added using the <code class="literal">net rpc group</code> utility,
    361361        this account must first be removed. The removal and confirmation of its effect is shown here:
    362 <a class="indexterm" name="id2600351"></a>
     362<a class="indexterm" name="id2606418"></a>
    363363</p><pre class="screen">
    364364<code class="prompt">root# </code> net rpc group delmem "MIDEARTH\Engineers" ajt -Uroot%not24get
     
    384384        the <code class="literal">net rpc group</code> utility. Note the this contents of the UNIX/Linux group was shown
    385385        four paragraphs earlier. The Windows (domain) group membership is shown here:
    386 <a class="indexterm" name="id2600448"></a>
     386<a class="indexterm" name="id2606515"></a>
    387387</p><pre class="screen">
    388388<code class="prompt">root# </code> net rpc group members "Domain Users" -Uroot%not24get
     
    403403MIDEARTH\vlendecke
    404404</pre><p>
    405         </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     405        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    406406        An attempt to specify the group name as <code class="constant">MIDEARTH\Domain Users</code> in place of
    407407        just simply <code class="constant">Domain Users</code> will fail. The default behavior of the net rpc group
     
    409409        If it is necessary to query another machine, its name can be specified using the <code class="constant">-S
    410410        servername</code> parameter to the <code class="literal">net</code> command.
    411         </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="nestedgrpmgmgt"></a>Nested Group Support</h3></div></div></div><p>
     411        </p></div></div><div class="sect2" title="Nested Group Support"><div class="titlepage"><div><div><h3 class="title"><a name="nestedgrpmgmgt"></a>Nested Group Support</h3></div></div></div><p>
    412412        It is possible in Windows (and now in Samba also) to create a local group that has members (contains),
    413413        domain users, and domain global groups.  Creation of the local group <code class="constant">demo</code> is
     
    422422        Addition and removal of group members can be achieved using the <code class="constant">addmem</code> and
    423423        <code class="constant">delmem</code> subcommands of <code class="literal">net rpc group</code> command. For example,
    424         addition of &#8220;<span class="quote">DOM\Domain Users</span>&#8221; to the local group <code class="constant">demo</code> would be
     424        addition of <span class="quote">&#8220;<span class="quote">DOM\Domain Users</span>&#8221;</span> to the local group <code class="constant">demo</code> would be
    425425        done by executing:
    426426</p><pre class="screen">
     
    441441<code class="prompt">root# </code> net rpc group delmem demo "DOM\jht" -Uroot%not24get
    442442</pre><p>
    443         </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2600629"></a>Managing Nest Groups on Workstations from the Samba Server</h4></div></div></div><p>
     443        </p><div class="sect3" title="Managing Nest Groups on Workstations from the Samba Server"><div class="titlepage"><div><div><h4 class="title"><a name="id2606695"></a>Managing Nest Groups on Workstations from the Samba Server</h4></div></div></div><p>
    444444        Windows network administrators often ask on the Samba mailing list how it is possible to grant everyone
    445445        administrative rights on their own workstation. This is of course a very bad practice, but commonly done
    446446        to avoid user complaints. Here is how it can be done remotely from a Samba PDC or BDC:
    447 <a class="indexterm" name="id2600642"></a>
     447<a class="indexterm" name="id2606709"></a>
    448448</p><pre class="screen">
    449449<code class="prompt">root# </code> net rpc group addmem "Administrators" "Domain Users" \
     
    453453        This can be scripted, and can therefore be performed as a user logs onto the domain from a Windows
    454454        workstation. Here is a simple example that shows how this can be done.
    455         </p><div class="procedure"><a name="id2600674"></a><p class="title"><b>Procedure 13.1. Automating User Addition to the Workstation Power Users Group</b></p><div class="example"><a name="autopoweruserscript"></a><p class="title"><b>Example 13.1. Script to Auto-add Domain Users to Workstation Power Users Group</b></p><div class="example-contents"><pre class="screen">
     455        </p><div class="procedure" title="Procedure 13.1. Automating User Addition to the Workstation Power Users Group"><a name="id2606741"></a><p class="title"><b>Procedure 13.1. Automating User Addition to the Workstation Power Users Group</b></p><div class="example"><a name="autopoweruserscript"></a><p class="title"><b>Example 13.1. Script to Auto-add Domain Users to Workstation Power Users Group</b></p><div class="example-contents"><pre class="screen">
    456456#!/bin/bash
    457457
     
    460460
    461461exit 0
    462 </pre></div></div><br class="example-break"><div class="example"><a name="magicnetlogon"></a><p class="title"><b>Example 13.2. A Magic Netlogon Share</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[netlogon]</code></em></td></tr><tr><td><a class="indexterm" name="id2600830"></a><em class="parameter"><code>comment = Netlogon Share</code></em></td></tr><tr><td><a class="indexterm" name="id2600841"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2600853"></a><em class="parameter"><code>root preexec = /etc/samba/scripts/autopoweruser.sh %U %m</code></em></td></tr><tr><td><a class="indexterm" name="id2600865"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2600877"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr></table></div></div><br class="example-break"><ol type="1"><li><p>
     462</pre></div></div><br class="example-break"><div class="example"><a name="magicnetlogon"></a><p class="title"><b>Example 13.2. A Magic Netlogon Share</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[netlogon]</code></em></td></tr><tr><td><a class="indexterm" name="id2606896"></a><em class="parameter"><code>comment = Netlogon Share</code></em></td></tr><tr><td><a class="indexterm" name="id2606908"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2606920"></a><em class="parameter"><code>root preexec = /etc/samba/scripts/autopoweruser.sh %U %m</code></em></td></tr><tr><td><a class="indexterm" name="id2606932"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2606944"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr></table></div></div><br class="example-break"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    463463                Create the script shown in <a class="link" href="NetCommand.html#autopoweruserscript" title="Example 13.1. Script to Auto-add Domain Users to Workstation Power Users Group">&#8220;Script to Auto-add Domain Users to Workstation Power Users Group&#8221;</a> and locate it in
    464464                the directory <code class="filename">/etc/samba/scripts</code>, named as <code class="filename">autopoweruser.sh</code>.
    465 <a class="indexterm" name="id2600706"></a>
    466 <a class="indexterm" name="id2600717"></a>
    467 <a class="indexterm" name="id2600724"></a>
    468                 </p></li><li><p>
     465<a class="indexterm" name="id2606773"></a>
     466<a class="indexterm" name="id2606784"></a>
     467<a class="indexterm" name="id2606791"></a>
     468                </p></li><li class="step" title="Step 2"><p>
    469469                Set the permissions on this script to permit it to be executed as part of the logon process:
    470470</p><pre class="screen">
     
    472472<code class="prompt">root# </code> chmod 755 /etc/samba/autopoweruser.sh
    473473</pre><p>
    474                 </p></li><li><p>
     474                </p></li><li class="step" title="Step 3"><p>
    475475                Modify the <code class="filename">smb.conf</code> file so the <code class="literal">NETLOGON</code> stanza contains the parameters
    476476                shown in <a class="link" href="NetCommand.html#magicnetlogon" title="Example 13.2. A Magic Netlogon Share">the Netlogon Example smb.conf file</a>.
    477                 </p></li><li><p>
     477                </p></li><li class="step" title="Step 4"><p>
    478478                Ensure that every Windows workstation Administrator account has the same password that you
    479479                have used in the script shown in <a class="link" href="NetCommand.html#magicnetlogon" title="Example 13.2. A Magic Netlogon Share">the Netlogon Example smb.conf
     
    485485        for the use of this method is that it will guarantee that all users have appropriate rights on
    486486        the workstation.
    487         </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2600928"></a>UNIX and Windows User Management</h2></div></div></div><p>
    488 <a class="indexterm" name="id2600936"></a>
    489 <a class="indexterm" name="id2600942"></a>
    490 <a class="indexterm" name="id2600949"></a>
    491 <a class="indexterm" name="id2600956"></a>
    492 <a class="indexterm" name="id2600963"></a>
    493 <a class="indexterm" name="id2600970"></a>
    494 <a class="indexterm" name="id2600977"></a>
    495 <a class="indexterm" name="id2600983"></a>
     487        </p></div></div></div><div class="sect1" title="UNIX and Windows User Management"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2606994"></a>UNIX and Windows User Management</h2></div></div></div><p>
     488<a class="indexterm" name="id2607002"></a>
     489<a class="indexterm" name="id2607009"></a>
     490<a class="indexterm" name="id2607016"></a>
     491<a class="indexterm" name="id2607023"></a>
     492<a class="indexterm" name="id2607030"></a>
     493<a class="indexterm" name="id2607036"></a>
     494<a class="indexterm" name="id2607043"></a>
     495<a class="indexterm" name="id2607050"></a>
    496496        Every Windows network user account must be translated to a UNIX/Linux user account. In actual fact,
    497497        the only account information the UNIX/Linux Samba server needs is a UID.  The UID is available either
     
    504504        different name. Refer to the man page for the <code class="filename">smb.conf</code> file for more information regarding this
    505505        facility. User name mappings cannot be managed using the <code class="literal">net</code> utility.
    506         </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="sbeuseraddn"></a>Adding User Accounts</h3></div></div></div><p>
     506        </p><div class="sect2" title="Adding User Accounts"><div class="titlepage"><div><div><h3 class="title"><a name="sbeuseraddn"></a>Adding User Accounts</h3></div></div></div><p>
    507507        The syntax for adding a user account via the <code class="literal">net</code> (according to the man page) is shown
    508508        here:
     
    517517        </p><p>
    518518        The following demonstrates the addition of an account to the server <code class="constant">FRODO</code>:
    519 <a class="indexterm" name="id2601081"></a>
    520 <a class="indexterm" name="id2601092"></a>
     519<a class="indexterm" name="id2607148"></a>
     520<a class="indexterm" name="id2607159"></a>
    521521</p><pre class="screen">
    522522<code class="prompt">root# </code> net rpc user add jacko -S FRODO -Uroot%not24get
     
    529529    -S FRODO -Uroot%not24get
    530530</pre><p>
    531         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2601139"></a>Deletion of User Accounts</h3></div></div></div><p>
     531        </p></div><div class="sect2" title="Deletion of User Accounts"><div class="titlepage"><div><div><h3 class="title"><a name="id2607206"></a>Deletion of User Accounts</h3></div></div></div><p>
    532532        Deletion of a user account can be done using the following syntax:
    533533</p><pre class="screen">
     
    535535</pre><p>
    536536        The following command will delete the user account <code class="constant">jacko</code>:
    537 <a class="indexterm" name="id2601162"></a>
     537<a class="indexterm" name="id2607228"></a>
    538538</p><pre class="screen">
    539539<code class="prompt">root# </code> net rpc user delete jacko -Uroot%not24get
    540540Deleted user account
    541541</pre><p>
    542         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2601187"></a>Managing User Accounts</h3></div></div></div><p>
     542        </p></div><div class="sect2" title="Managing User Accounts"><div class="titlepage"><div><div><h3 class="title"><a name="id2607254"></a>Managing User Accounts</h3></div></div></div><p>
    543543        Two basic user account operations are routinely used: change of password and querying which groups a user
    544544        is a member of. The change of password operation is shown in <a class="link" href="NetCommand.html#sbeuseraddn" title="Adding User Accounts">&#8220;Adding User Accounts&#8221;</a>.
     
    546546        The ability to query Windows group membership can be essential. Here is how a remote server may be
    547547        interrogated to find which groups a user is a member of:
    548 <a class="indexterm" name="id2601210"></a>
     548<a class="indexterm" name="id2607277"></a>
    549549</p><pre class="screen">
    550550<code class="prompt">root# </code> net rpc user info jacko -S SAURON -Uroot%not24get
     
    559559        </p><p>
    560560        It is also possible to rename user accounts:
    561 <a class="indexterm" name="id2601240"></a>oldusername newusername
     561<a class="indexterm" name="id2607306"></a>oldusername newusername
    562562        Note that this operation does not yet work against Samba Servers. It is, however, possible to rename useraccounts on
    563563        Windows Servers.
    564564
    565         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2601256"></a>User Mapping</h3></div></div></div><p>
    566 <a class="indexterm" name="id2601264"></a>
    567 <a class="indexterm" name="id2601270"></a>
    568 <a class="indexterm" name="id2601277"></a>
     565        </p></div><div class="sect2" title="User Mapping"><div class="titlepage"><div><div><h3 class="title"><a name="id2607322"></a>User Mapping</h3></div></div></div><p>
     566<a class="indexterm" name="id2607330"></a>
     567<a class="indexterm" name="id2607337"></a>
     568<a class="indexterm" name="id2607344"></a>
    569569        In some situations it is unavoidable that a user's Windows logon name will differ from the login ID
    570570        that user has on the Samba server. It is possible to create a special file on the Samba server that
     
    579579marygee: geeringm
    580580</pre><p>
    581         In this example the Windows user account &#8220;<span class="quote">William Parsons</span>&#8221; will be mapped to the UNIX user
    582         <code class="constant">parsonsw</code>, and the Windows user account &#8220;<span class="quote">geeringm</span>&#8221; will be mapped to the
     581        In this example the Windows user account <span class="quote">&#8220;<span class="quote">William Parsons</span>&#8221;</span> will be mapped to the UNIX user
     582        <code class="constant">parsonsw</code>, and the Windows user account <span class="quote">&#8220;<span class="quote">geeringm</span>&#8221;</span> will be mapped to the
    583583        UNIX user <code class="constant">marygee</code>.
    584         </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2601339"></a>Administering User Rights and Privileges</h2></div></div></div><p>
    585 <a class="indexterm" name="id2601347"></a>
    586 <a class="indexterm" name="id2601354"></a>
    587 <a class="indexterm" name="id2601361"></a>
    588 <a class="indexterm" name="id2601368"></a>
    589 <a class="indexterm" name="id2601375"></a>
     584        </p></div></div><div class="sect1" title="Administering User Rights and Privileges"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2607406"></a>Administering User Rights and Privileges</h2></div></div></div><p>
     585<a class="indexterm" name="id2607414"></a>
     586<a class="indexterm" name="id2607421"></a>
     587<a class="indexterm" name="id2607428"></a>
     588<a class="indexterm" name="id2607435"></a>
     589<a class="indexterm" name="id2607442"></a>
    590590        With all versions of Samba earlier than 3.0.11 the only account on a Samba server that could
    591591        manage users, groups, shares, printers, and such was the <code class="constant">root</code> account. This caused
     
    593593        credentials for the most security-sensitive account on a UNIX/Linux system.
    594594        </p><p>
    595 <a class="indexterm" name="id2601394"></a>
    596 <a class="indexterm" name="id2601402"></a>
    597 <a class="indexterm" name="id2601408"></a>
    598 <a class="indexterm" name="id2601416"></a>
    599 <a class="indexterm" name="id2601423"></a>
     595<a class="indexterm" name="id2607461"></a>
     596<a class="indexterm" name="id2607468"></a>
     597<a class="indexterm" name="id2607475"></a>
     598<a class="indexterm" name="id2607482"></a>
     599<a class="indexterm" name="id2607489"></a>
    600600        New to Samba version 3.0.11 is the ability to delegate administrative privileges as necessary to either
    601601        a normal user or to groups of users. The significance of the administrative privileges is documented
    602602        in <a class="link" href="rights.html" title="Chapter 15. User Rights and Privileges">&#8220;User Rights and Privileges&#8221;</a>. Examples of use of the <code class="literal">net</code> for user rights and privilege
    603603        management is appropriate to this chapter.
    604         </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     604        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    605605        When user rights and privileges are correctly set, there is no longer a need for a Windows
    606606        network account for the <code class="constant">root</code> user (nor for any synonym of it) with a UNIX UID=0.
     
    633633        The <code class="literal">net</code> command can be used to obtain the currently supported capabilities for rights
    634634        and privileges using this method:
    635 <a class="indexterm" name="id2601496"></a>
    636 <a class="indexterm" name="id2601503"></a>
    637 <a class="indexterm" name="id2601510"></a>
    638 <a class="indexterm" name="id2601517"></a>
    639 <a class="indexterm" name="id2601524"></a>
    640 <a class="indexterm" name="id2601531"></a>
    641 <a class="indexterm" name="id2601538"></a>
    642 <a class="indexterm" name="id2601545"></a>
    643 <a class="indexterm" name="id2601552"></a>
     635<a class="indexterm" name="id2607563"></a>
     636<a class="indexterm" name="id2607570"></a>
     637<a class="indexterm" name="id2607577"></a>
     638<a class="indexterm" name="id2607584"></a>
     639<a class="indexterm" name="id2607591"></a>
     640<a class="indexterm" name="id2607598"></a>
     641<a class="indexterm" name="id2607605"></a>
     642<a class="indexterm" name="id2607612"></a>
     643<a class="indexterm" name="id2607619"></a>
    644644</p><pre class="screen">
    645645<code class="prompt">root# </code> net rpc rights list -U root%not24get
     
    660660        idea since members of this group are generally expected to be all-powerful. This assignment makes that
    661661        the reality:
    662 <a class="indexterm" name="id2601598"></a>
     662<a class="indexterm" name="id2607665"></a>
    663663</p><pre class="screen">
    664664<code class="prompt">root# </code> net rpc rights grant "MIDEARTH\Domain Admins" \
     
    679679        </p><p>
    680680        The following step permits validation of the changes just made:
    681 <a class="indexterm" name="id2601650"></a>
     681<a class="indexterm" name="id2607716"></a>
    682682</p><pre class="screen">
    683683<code class="prompt">root# </code> net rpc rights list accounts -U root%not24get
     
    713713SeDiskOperatorPrivilege
    714714</pre><p>
    715         </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2601684"></a>Managing Trust Relationships</h2></div></div></div><p>
     715        </p></div><div class="sect1" title="Managing Trust Relationships"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2607751"></a>Managing Trust Relationships</h2></div></div></div><p>
    716716        There are essentially two types of trust relationships: the first is between domain controllers and domain
    717717        member machines (network clients), the second is between domains (called interdomain trusts). All
    718718        Samba servers that participate in domain security require a domain membership trust account, as do like
    719719        Windows NT/200x/XP workstations.
    720         </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2601699"></a>Machine Trust Accounts</h3></div></div></div><p>
     720        </p><div class="sect2" title="Machine Trust Accounts"><div class="titlepage"><div><div><h3 class="title"><a name="id2607766"></a>Machine Trust Accounts</h3></div></div></div><p>
    721721        The net command looks in the <code class="filename">smb.conf</code> file to obtain its own configuration settings. Thus, the following
    722722        command 'knows' which domain to join from the <code class="filename">smb.conf</code> file.
    723723        </p><p>
    724724        A Samba server domain trust account can be validated as shown in this example:
    725 <a class="indexterm" name="id2601726"></a>
     725<a class="indexterm" name="id2607793"></a>
    726726</p><pre class="screen">
    727727<code class="prompt">root# </code> net rpc testjoin
     
    736736        </p><p>
    737737        The equivalent command for joining a Samba server to a Windows ADS domain is shown here:
    738 <a class="indexterm" name="id2601764"></a>
     738<a class="indexterm" name="id2607830"></a>
    739739</p><pre class="screen">
    740740<code class="prompt">root# </code> net ads testjoin
     
    751751        The following demonstrates the process of creating a machine trust account in the target domain for the
    752752        Samba server from which the command is executed:
    753 <a class="indexterm" name="id2601809"></a>
     753<a class="indexterm" name="id2607876"></a>
    754754</p><pre class="screen">
    755755<code class="prompt">root# </code> net rpc join -S FRODO -Uroot%not24get
     
    766766        purely as a workstation, in which case the S is replaced with a W (indicating a workstation account). The
    767767        following command can be used to affect this:
    768 <a class="indexterm" name="id2601853"></a>
     768<a class="indexterm" name="id2607920"></a>
    769769</p><pre class="screen">
    770770<code class="prompt">root# </code> net rpc join member -S FRODO -Uroot%not24get
     
    774774        the type is deduced from the <code class="filename">smb.conf</code> file configuration. To specifically join as a PDC or BDC, the
    775775        command-line parameter will be <code class="constant">[PDC | BDC]</code>. For example:
    776 <a class="indexterm" name="id2601894"></a>
     776<a class="indexterm" name="id2607960"></a>
    777777</p><pre class="screen">
    778778<code class="prompt">root# </code> net rpc join bdc -S FRODO -Uroot%not24get
     
    782782        </p><p>
    783783        The command to join a Samba server to a Windows ADS domain is shown here:
    784 <a class="indexterm" name="id2601929"></a>
     784<a class="indexterm" name="id2607996"></a>
    785785</p><pre class="screen">
    786786<code class="prompt">root# </code> net ads join -UAdministrator%not24get
     
    793793        either. Inactive domain member accounts can be removed using any convenient tool. If necessary, the
    794794        machine account can be removed using the following <code class="literal">net</code> command:
    795 <a class="indexterm" name="id2601969"></a>
     795<a class="indexterm" name="id2608036"></a>
    796796</p><pre class="screen">
    797797<code class="prompt">root# </code> net rpc user delete HERRING\$ -Uroot%not24get
     
    803803        A Samba-3 server that is a Windows ADS domain member can execute the following command to detach from the
    804804        domain:
    805 <a class="indexterm" name="id2602002"></a>
     805<a class="indexterm" name="id2608068"></a>
    806806</p><pre class="screen">
    807807<code class="prompt">root# </code> net ads leave
     
    810810        Detailed information regarding an ADS domain can be obtained by a Samba DMS machine by executing the
    811811        following:
    812 <a class="indexterm" name="id2602030"></a>
     812<a class="indexterm" name="id2608096"></a>
    813813</p><pre class="screen">
    814814<code class="prompt">root# </code> net ads status
    815815</pre><p>
    816         The volume of information is extensive. Please refer to the book &#8220;<span class="quote">Samba-3 by Example</span>&#8221;,
     816        The volume of information is extensive. Please refer to the book <span class="quote">&#8220;<span class="quote">Samba-3 by Example</span>&#8221;</span>,
    817817        Chapter 7 for more information regarding its use. This book may be obtained either in print or online from
    818818        the <a class="ulink" href="http://www.samba.org/samba/docs/Samba3-ByExample.pdf" target="_top">Samba-3 by Example</a>.
    819         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2602068"></a>Interdomain Trusts</h3></div></div></div><p>
     819        </p></div><div class="sect2" title="Interdomain Trusts"><div class="titlepage"><div><div><h3 class="title"><a name="id2608135"></a>Interdomain Trusts</h3></div></div></div><p>
    820820        Interdomain trust relationships form the primary mechanism by which users from one domain can be granted
    821821        access rights and privileges in another domain.
    822822        </p><p>
    823823        To discover what trust relationships are in effect, execute this command:
    824 <a class="indexterm" name="id2602083"></a>
     824<a class="indexterm" name="id2608150"></a>
    825825</p><pre class="screen">
    826826<code class="prompt">root# </code> net rpc trustdom list -Uroot%not24get
     
    838838        create a trusted connection with this account. That means that the foreign domain is being trusted
    839839        to access resources in the local domain. This command creates the local trust account:
    840 <a class="indexterm" name="id2602118"></a>
     840<a class="indexterm" name="id2608184"></a>
    841841</p><pre class="screen">
    842842<code class="prompt">root# </code> net rpc trustdom add DAMNATION f00db4r -Uroot%not24get
     
    851851        </p><p>
    852852        If the trusting domain is not capable of being reached, the following command will fail:
    853 <a class="indexterm" name="id2602168"></a>
     853<a class="indexterm" name="id2608235"></a>
    854854</p><pre class="screen">
    855855<code class="prompt">root# </code> net rpc trustdom list -Uroot%not24get
     
    877877        the foreign account. In the process it creates a one-way trust to the resources on the remote domain. This
    878878        command achieves the objective of joining the trust relationship:
    879 <a class="indexterm" name="id2602212"></a>
     879<a class="indexterm" name="id2608279"></a>
    880880</p><pre class="screen">
    881881<code class="prompt">root# </code> net rpc trustdom establish DAMNATION
     
    898898        Sometimes it is necessary to remove the ability for local users to access a foreign domain. The trusting
    899899        connection can be revoked as shown here:
    900 <a class="indexterm" name="id2602260"></a>
     900<a class="indexterm" name="id2608327"></a>
    901901</p><pre class="screen">
    902902<code class="prompt">root# </code> net rpc trustdom revoke DAMNATION -Uroot%not24get
     
    908908</pre><p>
    909909
    910         </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2602302"></a>Managing Security Identifiers (SIDS)</h2></div></div></div><p>
    911 <a class="indexterm" name="id2602310"></a>
    912 <a class="indexterm" name="id2602317"></a>
    913 <a class="indexterm" name="id2602324"></a>
    914 <a class="indexterm" name="id2602331"></a>
    915 <a class="indexterm" name="id2602338"></a>
     910        </p></div></div><div class="sect1" title="Managing Security Identifiers (SIDS)"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2608369"></a>Managing Security Identifiers (SIDS)</h2></div></div></div><p>
     911<a class="indexterm" name="id2608377"></a>
     912<a class="indexterm" name="id2608384"></a>
     913<a class="indexterm" name="id2608390"></a>
     914<a class="indexterm" name="id2608397"></a>
     915<a class="indexterm" name="id2608404"></a>
    916916        The basic security identifier that is used by all Windows networking operations is the Windows security
    917917        identifier (SID). All Windows network machines (servers and workstations), users, and groups are
     
    919919        are specific to the SID of the domain to which the user belongs.
    920920        </p><p>
    921 <a class="indexterm" name="id2602354"></a>
    922 <a class="indexterm" name="id2602361"></a>
    923 <a class="indexterm" name="id2602368"></a>
    924 <a class="indexterm" name="id2602374"></a>
     921<a class="indexterm" name="id2608421"></a>
     922<a class="indexterm" name="id2608428"></a>
     923<a class="indexterm" name="id2608434"></a>
     924<a class="indexterm" name="id2608441"></a>
    925925        It is truly prudent to store the machine and/or domain SID in a file for safekeeping. Why? Because
    926926        a change in hostname or in the domain (workgroup) name may result in a change in the SID. When you
     
    930930        First, do not forget to store the local SID in a file. It is a good idea to put this in the directory
    931931        in which the <code class="filename">smb.conf</code> file is also stored. Here is a simple action to achieve this:
    932 <a class="indexterm" name="id2602400"></a>
     932<a class="indexterm" name="id2608467"></a>
    933933</p><pre class="screen">
    934934<code class="prompt">root# </code> net getlocalsid &gt; /etc/samba/my-sid
     
    946946        file, simply copy the SID (the string of characters that begins with <code class="constant">S-1-5-21</code>) to
    947947        the command line shown here:
    948 <a class="indexterm" name="id2602462"></a>
     948<a class="indexterm" name="id2608529"></a>
    949949</p><pre class="screen">
    950950<code class="prompt">root# </code> net setlocalsid S-1-5-21-1385457007-882775198-1210191635
     
    957957        any potential namespace collision. Here is the way that the BDC SID can be synchronized to that
    958958        of the PDC (this is the default NT4 domain practice also):
    959 <a class="indexterm" name="id2602494"></a>
     959<a class="indexterm" name="id2608561"></a>
    960960</p><pre class="screen">
    961961<code class="prompt">root# </code> net rpc getsid -S FRODO -Uroot%not24get
     
    965965        Usually it is not necessary to specify the target server (-S FRODO) or the administrator account
    966966        credentials (-Uroot%not24get).
    967         </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2602524"></a>Share Management</h2></div></div></div><p>
     967        </p></div><div class="sect1" title="Share Management"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2608591"></a>Share Management</h2></div></div></div><p>
    968968        Share management is central to all file serving operations. Typical share operations include:
    969         </p><div class="itemizedlist"><ul type="disc"><li><p>Creation/change/deletion of shares</p></li><li><p>Setting/changing ACLs on shares</p></li><li><p>Moving shares from one server to another</p></li><li><p>Change of permissions of share contents</p></li></ul></div><p>
     969        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Creation/change/deletion of shares</p></li><li class="listitem"><p>Setting/changing ACLs on shares</p></li><li class="listitem"><p>Moving shares from one server to another</p></li><li class="listitem"><p>Change of permissions of share contents</p></li></ul></div><p>
    970970        Each of these are dealt with here insofar as they involve the use of the <code class="literal">net</code>
    971971        command. Operations outside of this command are covered elsewhere in this document.
    972         </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2602569"></a>Creating, Editing, and Removing Shares</h3></div></div></div><p>
     972        </p><div class="sect2" title="Creating, Editing, and Removing Shares"><div class="titlepage"><div><div><h3 class="title"><a name="id2608636"></a>Creating, Editing, and Removing Shares</h3></div></div></div><p>
    973973        A share can be added using the <code class="literal">net rpc share</code> command capabilities.
    974974        The target machine may be local or remote and is specified by the -S option. It must be noted
     
    983983        file system is the directory <code class="filename">/data</code>. The command that can be executed to perform the
    984984        addition of this share is shown here:
    985 <a class="indexterm" name="id2602665"></a>
     985<a class="indexterm" name="id2608732"></a>
    986986</p><pre class="screen">
    987987<code class="prompt">root# </code> net rpc share add Bulge=/data -S MERLIN -Uroot%not24get
     
    10041004        Often it is desirable also to permit a share to be removed using a command-line tool.
    10051005        The following step permits the share that was previously added to be removed:
    1006 <a class="indexterm" name="id2602717"></a>
     1006<a class="indexterm" name="id2608783"></a>
    10071007</p><pre class="screen">
    10081008<code class="prompt">root# </code> net rpc share delete Bulge -S MERLIN -Uroot%not24get
     
    10201020kyocera
    10211021</pre><p>
    1022         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2602757"></a>Creating and Changing Share ACLs</h3></div></div></div><p>
     1022        </p></div><div class="sect2" title="Creating and Changing Share ACLs"><div class="titlepage"><div><div><h3 class="title"><a name="id2608824"></a>Creating and Changing Share ACLs</h3></div></div></div><p>
    10231023        At this time the <code class="literal">net</code> tool cannot be used to manage ACLs on Samba shares. In MS Windows
    10241024        language this is called Share Permissions.
     
    10271027        or using the Computer Management MMC snap-in. Neither is covered here,
    10281028        but see <a class="link" href="AccessControls.html" title="Chapter 16. File, Directory, and Share Access Controls">&#8220;File, Directory, and Share Access Controls&#8221;</a>.
    1029         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2602787"></a>Share, Directory, and File Migration</h3></div></div></div><p>
    1030 <a class="indexterm" name="id2602795"></a>
     1029        </p></div><div class="sect2" title="Share, Directory, and File Migration"><div class="titlepage"><div><div><h3 class="title"><a name="id2608854"></a>Share, Directory, and File Migration</h3></div></div></div><p>
     1030<a class="indexterm" name="id2608862"></a>
    10311031        Shares and files can be migrated in the same manner as user, machine, and group accounts.
    10321032        It is possible to preserve access control settings (ACLs) as well as security settings
     
    10591059        </p><p>
    10601060        There are two known limitations to the migration process:
    1061         </p><div class="orderedlist"><ol type="1"><li><p>
     1061        </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
    10621062                The <code class="literal">net</code> command requires that the user credentials provided exist on both
    10631063                the migration source and the migration target.
    1064                 </p></li><li><p>
     1064                </p></li><li class="listitem"><p>
    10651065                Printer settings may not be fully or may be incorrectly migrated. This might in particular happen
    10661066                when migrating a Windows 2003 print server to Samba.
    1067                 </p></li></ol></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2602897"></a>Share Migration</h4></div></div></div><p>
     1067                </p></li></ol></div><div class="sect3" title="Share Migration"><div class="titlepage"><div><div><h4 class="title"><a name="id2608964"></a>Share Migration</h4></div></div></div><p>
    10681068        The <code class="literal">net rpc share migrate</code> command operation permits the migration of plain
    10691069        share stanzas. A stanza contains the parameters within which a file or print share are defined.
     
    10921092        large list of available shares on the system that is being migrated can be limited using the
    10931093        <em class="parameter"><code>--exclude</code></em> switch. For example:
    1094 <a class="indexterm" name="id2603011"></a>
     1094<a class="indexterm" name="id2609077"></a>
    10951095</p><pre class="screen">
    10961096<code class="prompt">root# </code> net rpc share migrate shares myshare\
     
    11051105        to validate that the migrated accounts (on the Samba server) have the needed rights and privileges.
    11061106        This can be done as shown here:
    1107 <a class="indexterm" name="id2603065"></a>
     1107<a class="indexterm" name="id2609132"></a>
    11081108</p><pre class="screen">
    11091109<code class="prompt">root# </code> net rpc right list accounts -Uroot%not24get
     
    11111111        The steps taken so far perform only the migration of shares. Directories and directory contents
    11121112        are not migrated by the steps covered up to this point.
    1113         </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2603094"></a>File and Directory Migration</h4></div></div></div><p>
     1113        </p></div><div class="sect3" title="File and Directory Migration"><div class="titlepage"><div><div><h4 class="title"><a name="id2609160"></a>File and Directory Migration</h4></div></div></div><p>
    11141114        Everything covered to this point has been done in preparation for the migration of file and directory
    11151115        data. For many people preparation is potentially boring and the real excitement only begins when file
     
    11481148        <em class="parameter"><code>--timestamps</code></em> switch, and the DOS file attributes (i.e., hidden, archive, etc.) can
    11491149        be preserved by specifying the <em class="parameter"><code>--attrs</code></em> switch.
    1150         </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     1150        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    11511151        The ability to preserve ACLs depends on appropriate support for ACLs as well as the general file system
    11521152        semantics of the host operating system on the target server. A migration from one Windows file server to
     
    11621162        An example for migration of files from a machine called <code class="constant">nt4box</code> to the Samba server
    11631163        from which the process will be handled is shown here:
    1164 <a class="indexterm" name="id2603269"></a>
     1164<a class="indexterm" name="id2609336"></a>
    11651165</p><pre class="screen">
    11661166<code class="prompt">root# </code> net rpc share migrate files -S nt4box --acls \
     
    11711171        <code class="constant">nt4box</code> to the Samba server from which migration is initiated. Files that are group-owned
    11721172        will be owned by the user account <code class="constant">administrator</code>.
    1173         </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2603309"></a>Share-ACL Migration</h4></div></div></div><p>
     1173        </p></div><div class="sect3" title="Share-ACL Migration"><div class="titlepage"><div><div><h4 class="title"><a name="id2609375"></a>Share-ACL Migration</h4></div></div></div><p>
    11741174        It is possible to have share-ACLs (security descriptors) that won't allow you, even as Administrator, to
    11751175        copy any files or directories into it. Therefor the migration of the share-ACLs has been put into a separate
    11761176        function:
    1177 <a class="indexterm" name="id2603320"></a>
     1177<a class="indexterm" name="id2609387"></a>
    11781178</p><pre class="screen">
    11791179<code class="prompt">root# </code> net rpc share migrate security -S nt4box -U administrator%secret
     
    11811181        </p><p>
    11821182        This command will only copy the share-ACL of each share on nt4box to your local samba-system.
    1183         </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2603351"></a>Simultaneous Share and File Migration</h4></div></div></div><p>
     1183        </p></div><div class="sect3" title="Simultaneous Share and File Migration"><div class="titlepage"><div><div><h4 class="title"><a name="id2609418"></a>Simultaneous Share and File Migration</h4></div></div></div><p>
    11841184        The operating mode shown here is just a combination of the previous three. It first migrates
    11851185        share definitions and then all shared files and directories and finally migrates the share-ACLs:
     
    11901190        </p><p>
    11911191        An example of simultaneous migration is shown here:
    1192 <a class="indexterm" name="id2603376"></a>
     1192<a class="indexterm" name="id2609443"></a>
    11931193</p><pre class="screen">
    11941194<code class="prompt">root# </code> net rpc share migrate all -S w2k3server -U administrator%secret
    11951195</pre><p>
    11961196        This will generate a complete server clone of the <em class="parameter"><code>w2k3server</code></em> server.
    1197         </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2603410"></a>Printer Migration</h3></div></div></div><p>
     1197        </p></div></div><div class="sect2" title="Printer Migration"><div class="titlepage"><div><div><h3 class="title"><a name="id2609477"></a>Printer Migration</h3></div></div></div><p>
    11981198        The installation of a new server, as with the migration to a new network environment, often is similar to
    11991199        building a house; progress is very rapid from the laying of foundations up to the stage at which
     
    12141214        </p><p>
    12151215        The migration of an existing printing architecture involves the following:
    1216         </p><div class="itemizedlist"><ul type="disc"><li><p>Establishment of print queues.</p></li><li><p>Installation of printer drivers (both for the print server and for Windows clients.</p></li><li><p>Configuration of printing forms.</p></li><li><p>Implementation of security settings.</p></li><li><p>Configuration of printer settings.</p></li></ul></div><p>
     1216        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Establishment of print queues.</p></li><li class="listitem"><p>Installation of printer drivers (both for the print server and for Windows clients.</p></li><li class="listitem"><p>Configuration of printing forms.</p></li><li class="listitem"><p>Implementation of security settings.</p></li><li class="listitem"><p>Configuration of printer settings.</p></li></ul></div><p>
    12171217        The Samba <code class="literal">net</code> utility permits printer migration from one Windows print server
    12181218        to another. When this tool is used to migrate printers to a Samba server <code class="literal">smbd</code>,
     
    12321232        Printer migration from a Windows print server (NT4 or 200x) is shown. This instruction causes the
    12331233        printer share to be created together with the underlying print queue:
    1234 <a class="indexterm" name="id2603546"></a>
     1234<a class="indexterm" name="id2609612"></a>
    12351235</p><pre class="screen">
    12361236net rpc printer MIGRATE PRINTERS [printer] [misc. options] [targets]
     
    12381238        Printer drivers can be migrated from the Windows print server to the Samba server using this
    12391239        command-line instruction:
    1240 <a class="indexterm" name="id2603566"></a>
     1240<a class="indexterm" name="id2609632"></a>
    12411241</p><pre class="screen">
    12421242net rpc printer MIGRATE DRIVERS [printer] [misc. options] [targets]
    12431243</pre><p>
    12441244        Printer forms can be migrated with the following operation:
    1245 <a class="indexterm" name="id2603585"></a>
     1245<a class="indexterm" name="id2609652"></a>
    12461246</p><pre class="screen">
    12471247net rpc printer MIGRATE FORMS [printer] [misc. options] [targets]
    12481248</pre><p>
    12491249        Printer security settings (ACLs) can be migrated from the Windows server to the Samba server using this command:
    1250 <a class="indexterm" name="id2603605"></a>
     1250<a class="indexterm" name="id2609672"></a>
    12511251</p><pre class="screen">
    12521252net rpc printer MIGRATE SECURITY [printer] [misc. options] [targets]
     
    12541254        Printer configuration settings include factors such as paper size and default paper orientation.
    12551255        These can be migrated from the Windows print server to the Samba server with this command:
    1256 <a class="indexterm" name="id2603627"></a>
     1256<a class="indexterm" name="id2609694"></a>
    12571257</p><pre class="screen">
    12581258net rpc printer MIGRATE SETTINGS [printer] [misc. options] [targets]
     
    12641264net rpc printer MIGRATE ALL [printer] [misc. options] [targets]
    12651265</pre><p>
    1266         </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2603661"></a>Controlling Open Files</h2></div></div></div><p>
     1266        </p></div></div><div class="sect1" title="Controlling Open Files"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2609728"></a>Controlling Open Files</h2></div></div></div><p>
    12671267        The man page documents the <code class="literal">net file</code> function suite, which provides the tools to
    12681268        close open files using either RAP or RPC function calls. Please refer to the man page for specific
    12691269        usage information.
    1270         </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2603680"></a>Session and Connection Management</h2></div></div></div><p>
     1270        </p></div><div class="sect1" title="Session and Connection Management"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2609747"></a>Session and Connection Management</h2></div></div></div><p>
    12711271        The session management interface of the <code class="literal">net session</code> command uses the old RAP
    12721272        method to obtain the list of connections to the Samba server, as shown here:
    1273 <a class="indexterm" name="id2603696"></a>
     1273<a class="indexterm" name="id2609763"></a>
    12741274</p><pre class="screen">
    12751275<code class="prompt">root# </code> net rap session -S MERLIN -Uroot%not24get
     
    12861286<code class="prompt">root# </code> net rap session close marvel -Uroot%not24get
    12871287</pre><p>
    1288         </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2603746"></a>Printers and ADS</h2></div></div></div><p>
     1288        </p></div><div class="sect1" title="Printers and ADS"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2609812"></a>Printers and ADS</h2></div></div></div><p>
    12891289        When Samba-3 is used within an MS Windows ADS environment, printers shared via Samba will not be browseable
    12901290        until they have been published to the ADS domain. Information regarding published printers may be obtained
    12911291        from the ADS server by executing the <code class="literal">net ads print info</code> command following this syntax:
    1292 <a class="indexterm" name="id2603764"></a>
     1292<a class="indexterm" name="id2609831"></a>
    12931293</p><pre class="screen">
    12941294net ads printer info &lt;printer_name&gt; &lt;server_name&gt; -Uadministrator%secret
     
    12981298        </p><p>
    12991299        To publish (make available) a printer to ADS, execute the following command:
    1300 <a class="indexterm" name="id2603790"></a>
     1300<a class="indexterm" name="id2609857"></a>
    13011301</p><pre class="screen">
    13021302net ads printer publish &lt;printer_name&gt; -Uadministrator%secret
     
    13051305        </p><p>
    13061306        Removal of a Samba printer from ADS is achieved by executing this command:
    1307 <a class="indexterm" name="id2603815"></a>
     1307<a class="indexterm" name="id2609882"></a>
    13081308</p><pre class="screen">
    13091309net ads printer remove &lt;printer_name&gt; -Uadministrator%secret
     
    13111311        </p><p>
    13121312        A generic search (query) can also be made to locate a printer across the entire ADS domain by executing:
    1313 <a class="indexterm" name="id2603840"></a>
     1313<a class="indexterm" name="id2609907"></a>
    13141314</p><pre class="screen">
    13151315net ads printer search &lt;printer_name&gt; -Uadministrator%secret
    13161316</pre><p>
    1317         </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2603862"></a>Manipulating the Samba Cache</h2></div></div></div><p>
     1317        </p></div><div class="sect1" title="Manipulating the Samba Cache"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2609928"></a>Manipulating the Samba Cache</h2></div></div></div><p>
    13181318        Please refer to the <code class="literal">net</code> command man page for information regarding cache management.
    1319         </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2603879"></a>Managing IDMAP UID/SID Mappings</h2></div></div></div><p>
     1319        </p></div><div class="sect1" title="Managing IDMAP UID/SID Mappings"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2609946"></a>Managing IDMAP UID/SID Mappings</h2></div></div></div><p>
    13201320        The IDMAP UID to SID, and SID to UID, mappings that are created by <code class="literal">winbindd</code> can be
    13211321        backed up to a text file. The text file can be manually edited, although it is highly recommended that
     
    13281328        Winbind must be shut down to dump the IDMAP file. Before restoring a dump file, shut down
    13291329        <code class="literal">winbindd</code> and delete the old <code class="filename">winbindd_idmap.tdb</code> file.
    1330         </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2603923"></a>Creating an IDMAP Database Dump File</h3></div></div></div><p>
     1330        </p><div class="sect2" title="Creating an IDMAP Database Dump File"><div class="titlepage"><div><div><h3 class="title"><a name="id2609990"></a>Creating an IDMAP Database Dump File</h3></div></div></div><p>
    13311331        The IDMAP database can be dumped to a text file as shown here:
    13321332</p><pre class="screen">
     
    13381338net idmap dump /var/lib/samba/winbindd_idmap.tdb &gt; idmap_dump.txt
    13391339</pre><p>
    1340         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2603958"></a>Restoring the IDMAP Database Dump File</h3></div></div></div><p>
     1340        </p></div><div class="sect2" title="Restoring the IDMAP Database Dump File"><div class="titlepage"><div><div><h3 class="title"><a name="id2610025"></a>Restoring the IDMAP Database Dump File</h3></div></div></div><p>
    13411341        The IDMAP dump file can be restored using the following command:
    13421342</p><pre class="screen">
     
    13481348net idmap restore /var/lib/samba/winbindd_idmap.tdb &lt; idmap_dump.txt
    13491349</pre><p>
    1350         </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="netmisc1"></a>Other Miscellaneous Operations</h2></div></div></div><p>
     1350        </p></div></div><div class="sect1" title="Other Miscellaneous Operations"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="netmisc1"></a>Other Miscellaneous Operations</h2></div></div></div><p>
    13511351        The following command is useful for obtaining basic statistics regarding a Samba domain. This command does
    13521352        not work with current Windows XP Professional clients.
    1353 <a class="indexterm" name="id2604008"></a>
     1353<a class="indexterm" name="id2610075"></a>
    13541354</p><pre class="screen">
    13551355<code class="prompt">root# </code> net rpc info
     
    13641364        Another useful tool is the <code class="literal">net time</code> tool set. This tool may be used to query the
    13651365        current time on the target server as shown here:
    1366 <a class="indexterm" name="id2604044"></a>
     1366<a class="indexterm" name="id2610111"></a>
    13671367</p><pre class="screen">
    13681368<code class="prompt">root# </code> net time -S SAURON
     
    13721372        <code class="literal">/bin/time</code>, it is a good idea to obtain the time from the target server in a format
    13731373        that is ready to be passed through. This may be done by executing:
    1374 <a class="indexterm" name="id2604075"></a>
     1374<a class="indexterm" name="id2610142"></a>
    13751375</p><pre class="screen">
    13761376<code class="prompt">root# </code> net time system -S FRODO
     
    13781378</pre><p>
    13791379        The time can be set on a target server by executing:
    1380 <a class="indexterm" name="id2604100"></a>
     1380<a class="indexterm" name="id2610167"></a>
    13811381</p><pre class="screen">
    13821382<code class="prompt">root# </code> net time set -S MAGGOT -U Administrator%not24get
     
    13841384</pre><p>
    13851385        It is possible to obtain the time zone of a server by executing the following command against it:
    1386 <a class="indexterm" name="id2604126"></a>
     1386<a class="indexterm" name="id2610192"></a>
    13871387</p><pre class="screen">
    13881388<code class="prompt">root# </code> net time zone -S SAURON
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/NetworkBrowsing.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 10. Network Browsing</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="ChangeNotes.html" title="Chapter 9. Important and Critical Change Notes for the Samba 3.x Series"><link rel="next" href="passdb.html" title="Chapter 11. Account Information Databases"></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 10. Network Browsing</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ChangeNotes.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="passdb.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="NetworkBrowsing"></a>Chapter 10. Network Browsing</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jonathan</span> <span class="orgname">Sutinen Consulting, Inc.</span> <span class="surname">Johnson</span></h3><div class="affiliation"><span class="orgname">Sutinen Consulting, Inc.<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jon@sutinen.com">jon@sutinen.com</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">July 5, 1998</p></div><div><p class="pubdate">Updated: September 20, 2006</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579539">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579723">What Is Browsing?</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#netdiscuss">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583150">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583358">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583498">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584183">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2584468">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584620">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2584823">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2585107">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2586371">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586398">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586471">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586519">I Get an "Unable to browse the network" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586766">Invalid Cached Share References Affects Network Browsing</a></span></dt></dl></dd></dl></div><p>
    2 <a class="indexterm" name="id2579449"></a>
    3 <a class="indexterm" name="id2579456"></a>
    4 <a class="indexterm" name="id2579464"></a>
    5 <a class="indexterm" name="id2579471"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 10. Network Browsing</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="ChangeNotes.html" title="Chapter 9. Important and Critical Change Notes for the Samba 3.x Series"><link rel="next" href="passdb.html" title="Chapter 11. Account Information Databases"></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 10. Network Browsing</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ChangeNotes.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="passdb.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 10. Network Browsing"><div class="titlepage"><div><div><h2 class="title"><a name="NetworkBrowsing"></a>Chapter 10. Network Browsing</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jonathan</span> <span class="surname">Johnson</span></h3><div class="affiliation"><span class="orgname">Sutinen Consulting, Inc.<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jon@sutinen.com">jon@sutinen.com</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">July 5, 1998</p></div><div><p class="pubdate">Updated: September 20, 2006</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="NetworkBrowsing.html#id2585610">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2585793">What Is Browsing?</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#netdiscuss">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589216">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589424">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589564">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590249">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2590534">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590686">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2590890">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2591173">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2592438">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592464">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592537">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592585">I Get an "<span class="errorname">Unable to browse the network</span>" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592832">Invalid Cached Share References Affects Network Browsing</a></span></dt></dl></dd></dl></div><p>
     2<a class="indexterm" name="id2585520"></a>
     3<a class="indexterm" name="id2585527"></a>
     4<a class="indexterm" name="id2585534"></a>
     5<a class="indexterm" name="id2585541"></a>
    66This chapter contains detailed information as well as a fast-track guide to
    77implementing browsing across subnets and/or across workgroups (or domains).
    88WINS is the best tool for resolution of NetBIOS names to IP addresses; however, WINS is
    99not involved in browse list handling except by way of name-to-address resolution.
    10 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    11 <a class="indexterm" name="id2579487"></a>
     10</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     11<a class="indexterm" name="id2585558"></a>
    1212What is WINS?
    1313</p><p>
    1414WINS is a facility that provides resolution of a NetBIOS name to its IP address. WINS is like a
    1515Dynamic-DNS service for NetBIOS networking names.
    16 </p></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    17 <a class="indexterm" name="id2579504"></a>
    18 <a class="indexterm" name="id2579511"></a>
    19 <a class="indexterm" name="id2579518"></a>
    20 <a class="indexterm" name="id2579525"></a>
     16</p></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     17<a class="indexterm" name="id2585575"></a>
     18<a class="indexterm" name="id2585582"></a>
     19<a class="indexterm" name="id2585589"></a>
     20<a class="indexterm" name="id2585596"></a>
    2121MS Windows 2000 and later versions can be configured to operate with no NetBIOS
    2222over TCP/IP. Samba-3 and later versions also support this mode of operation.
     
    2424means for resolution of MS Windows machine names is via DNS and Active Directory.
    2525The following information assumes that your site is running NetBIOS over TCP/IP.
    26 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2579539"></a>Features and Benefits</h2></div></div></div><p>
    27 Charles Dickens once referred to the past in these words: &#8220;<span class="quote"><span class="emphasis"><em>It was the best of times,
    28 it was the worst of times.</em></span></span>&#8221; The more we look back, the more we long for what was and
     26</p></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2585610"></a>Features and Benefits</h2></div></div></div><p>
     27Charles Dickens once referred to the past in these words: <span class="quote">&#8220;<span class="quote"><span class="emphasis"><em>It was the best of times,
     28it was the worst of times.</em></span></span>&#8221;</span> The more we look back, the more we long for what was and
    2929hope it never returns.
    3030</p><p>
    31 <a class="indexterm" name="id2579558"></a>
    32 <a class="indexterm" name="id2579565"></a>
    33 <a class="indexterm" name="id2579572"></a>
     31<a class="indexterm" name="id2585629"></a>
     32<a class="indexterm" name="id2585636"></a>
     33<a class="indexterm" name="id2585643"></a>
    3434For many MS Windows network administrators, that statement sums up their feelings about
    3535NetBIOS networking precisely. For those who mastered NetBIOS networking, its fickle
     
    4444features that make it such a persistent weed.
    4545</p><p>
    46 <a class="indexterm" name="id2579602"></a>
    47 <a class="indexterm" name="id2579611"></a>
    48 <a class="indexterm" name="id2579618"></a>
    49 <a class="indexterm" name="id2579624"></a>
    50 <a class="indexterm" name="id2579631"></a>
     46<a class="indexterm" name="id2585672"></a>
     47<a class="indexterm" name="id2585682"></a>
     48<a class="indexterm" name="id2585688"></a>
     49<a class="indexterm" name="id2585695"></a>
     50<a class="indexterm" name="id2585702"></a>
    5151In this chapter we explore vital aspects of Server Message Block (SMB) networking with
    5252a particular focus on SMB as implemented through running NetBIOS (Network Basic
     
    5555remember to use nothing but TCP/IP on all our MS Windows network clients.
    5656</p><p>
    57 <a class="indexterm" name="id2579649"></a>
    58 <a class="indexterm" name="id2579655"></a>
     57<a class="indexterm" name="id2585719"></a>
     58<a class="indexterm" name="id2585726"></a>
    5959Samba provides the ability to implement a WINS (Windows Internetworking Name Server)
    6060and implements extensions to Microsoft's implementation of WINS. These extensions
    6161help Samba to effect stable WINS operations beyond the normal scope of MS WINS.
    6262</p><p>
    63 <a class="indexterm" name="id2579670"></a>
    64 <a class="indexterm" name="id2579677"></a>
    65 <a class="indexterm" name="id2579684"></a>
     63<a class="indexterm" name="id2585740"></a>
     64<a class="indexterm" name="id2585747"></a>
     65<a class="indexterm" name="id2585754"></a>
    6666WINS is exclusively a service that applies only to those systems
    6767that run NetBIOS over TCP/IP. MS Windows 200x/XP have the capacity to operate with
    6868support for NetBIOS disabled, in which case WINS is of no relevance. Samba supports this also.
    6969</p><p>
    70 <a class="indexterm" name="id2579698"></a>
    71 <a class="indexterm" name="id2579705"></a>
    72 <a class="indexterm" name="id2579711"></a>
     70<a class="indexterm" name="id2585769"></a>
     71<a class="indexterm" name="id2585776"></a>
     72<a class="indexterm" name="id2585782"></a>
    7373For those networks on which NetBIOS has been disabled (i.e., WINS is not required),
    7474the use of DNS is necessary for hostname resolution.
    75 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2579723"></a>What Is Browsing?</h2></div></div></div><p>
    76 <a class="indexterm" name="id2579730"></a>
    77 <a class="indexterm" name="id2579737"></a>
    78 <a class="indexterm" name="id2579744"></a>
    79 <a class="indexterm" name="id2579751"></a>
     75</p></div><div class="sect1" title="What Is Browsing?"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2585793"></a>What Is Browsing?</h2></div></div></div><p>
     76<a class="indexterm" name="id2585801"></a>
     77<a class="indexterm" name="id2585808"></a>
     78<a class="indexterm" name="id2585815"></a>
     79<a class="indexterm" name="id2585822"></a>
    8080To most people, browsing means they can see the MS Windows and Samba servers
    8181in the Network Neighborhood, and when the computer icon for a particular server is
     
    8484What seems so simple is in fact a complex interaction of different technologies.
    8585The technologies (or methods) employed in making all of this work include:
    86 </p><div class="itemizedlist"><ul type="disc"><li><p>MS Windows machines register their presence to the network.</p></li><li><p>Machines announce themselves to other machines on the network.</p></li><li><p>One or more machines on the network collate the local announcements.</p></li><li><p>The client machine finds the machine that has the collated list of machines.</p></li><li><p>The client machine is able to resolve the machine names to IP addresses.</p></li><li><p>The client machine is able to connect to a target machine.</p></li></ul></div><p>
    87 <a class="indexterm" name="id2579808"></a>
    88 <a class="indexterm" name="id2579815"></a>
    89 <a class="indexterm" name="id2579822"></a>
     86</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>MS Windows machines register their presence to the network.</p></li><li class="listitem"><p>Machines announce themselves to other machines on the network.</p></li><li class="listitem"><p>One or more machines on the network collate the local announcements.</p></li><li class="listitem"><p>The client machine finds the machine that has the collated list of machines.</p></li><li class="listitem"><p>The client machine is able to resolve the machine names to IP addresses.</p></li><li class="listitem"><p>The client machine is able to connect to a target machine.</p></li></ul></div><p>
     87<a class="indexterm" name="id2585879"></a>
     88<a class="indexterm" name="id2585886"></a>
     89<a class="indexterm" name="id2585893"></a>
    9090The Samba application that controls browse list management and name resolution is
    9191called <code class="filename">nmbd</code>. The configuration parameters involved in nmbd's operation are:
    9292</p><p>
    9393Browsing options:
    94 </p><div class="itemizedlist"><ul type="disc"><li><a class="link" href="smb.conf.5.html#OSLEVEL" target="_top">os level</a></li><li><a class="link" href="smb.conf.5.html#LMANNOUNCE" target="_top">lm announce</a></li><li><a class="link" href="smb.conf.5.html#LMINTERVAL" target="_top">lm interval</a></li><li><a class="link" href="smb.conf.5.html#PREFERREDMASTER" target="_top">preferred master</a>(*)</li><li><a class="link" href="smb.conf.5.html#LOCALMASTER" target="_top">local master</a>(*)</li><li><a class="link" href="smb.conf.5.html#DOMAINMASTER" target="_top">domain master</a>(*)</li><li><a class="link" href="smb.conf.5.html#BROWSELIST" target="_top">browse list</a></li><li><a class="link" href="smb.conf.5.html#ENHANCEDBROWSING" target="_top">enhanced browsing</a></li></ul></div><p>
     94</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><a class="link" href="smb.conf.5.html#OSLEVEL" target="_top">os level</a></li><li class="listitem"><a class="link" href="smb.conf.5.html#LMANNOUNCE" target="_top">lm announce</a></li><li class="listitem"><a class="link" href="smb.conf.5.html#LMINTERVAL" target="_top">lm interval</a></li><li class="listitem"><a class="link" href="smb.conf.5.html#PREFERREDMASTER" target="_top">preferred master</a>(*)</li><li class="listitem"><a class="link" href="smb.conf.5.html#LOCALMASTER" target="_top">local master</a>(*)</li><li class="listitem"><a class="link" href="smb.conf.5.html#DOMAINMASTER" target="_top">domain master</a>(*)</li><li class="listitem"><a class="link" href="smb.conf.5.html#BROWSELIST" target="_top">browse list</a></li><li class="listitem"><a class="link" href="smb.conf.5.html#ENHANCEDBROWSING" target="_top">enhanced browsing</a></li></ul></div><p>
    9595Name Resolution Method:
    96 </p><div class="itemizedlist"><ul type="disc"><li><a class="link" href="smb.conf.5.html#NAMERESOLVEORDER" target="_top">name resolve order</a>(*)</li></ul></div><p>
     96</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><a class="link" href="smb.conf.5.html#NAMERESOLVEORDER" target="_top">name resolve order</a>(*)</li></ul></div><p>
    9797WINS options:
    98 </p><div class="itemizedlist"><ul type="disc"><li><a class="link" href="smb.conf.5.html#DNSPROXY" target="_top">dns proxy</a></li><li><a class="link" href="smb.conf.5.html#WINSPROXY" target="_top">wins proxy</a></li><li><a class="link" href="smb.conf.5.html#WINSSERVER" target="_top">wins server</a>(*)</li><li><a class="link" href="smb.conf.5.html#WINSSUPPORT" target="_top">wins support</a>(*)</li><li><a class="link" href="smb.conf.5.html#WINSHOOK" target="_top">wins hook</a></li></ul></div><p>
     98</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><a class="link" href="smb.conf.5.html#DNSPROXY" target="_top">dns proxy</a></li><li class="listitem"><a class="link" href="smb.conf.5.html#WINSPROXY" target="_top">wins proxy</a></li><li class="listitem"><a class="link" href="smb.conf.5.html#WINSSERVER" target="_top">wins server</a>(*)</li><li class="listitem"><a class="link" href="smb.conf.5.html#WINSSUPPORT" target="_top">wins support</a>(*)</li><li class="listitem"><a class="link" href="smb.conf.5.html#WINSHOOK" target="_top">wins hook</a></li></ul></div><p>
    9999Those marked with an (*) are the only options that commonly may need to be modified. Even if none of these
    100100parameters is set, <code class="filename">nmbd</code> will still do its job.
    101101</p><p>
    102 <a class="indexterm" name="id2580060"></a>
    103 <a class="indexterm" name="id2580067"></a>
    104 <a class="indexterm" name="id2580074"></a>
    105 <a class="indexterm" name="id2580081"></a>
    106 <a class="indexterm" name="id2580088"></a>
     102<a class="indexterm" name="id2586131"></a>
     103<a class="indexterm" name="id2586138"></a>
     104<a class="indexterm" name="id2586145"></a>
     105<a class="indexterm" name="id2586152"></a>
     106<a class="indexterm" name="id2586159"></a>
    107107For Samba, the WINS Server and WINS Support are mutually exclusive options. When <code class="literal">nmbd</code> is
    108108started it will fail to execute if both options are set in the <code class="filename">smb.conf</code> file. The <code class="literal">nmbd</code>
    109109understands that when it spawns an instance of itself to run as a WINS server that it has to use its own WINS
    110110server also.
    111 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="netdiscuss"></a>Discussion</h2></div></div></div><p>
    112 <a class="indexterm" name="id2580130"></a>
    113 <a class="indexterm" name="id2580137"></a>
    114 <a class="indexterm" name="id2580144"></a>
    115 <a class="indexterm" name="id2580151"></a>
     111</p></div><div class="sect1" title="Discussion"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="netdiscuss"></a>Discussion</h2></div></div></div><p>
     112<a class="indexterm" name="id2586201"></a>
     113<a class="indexterm" name="id2586208"></a>
     114<a class="indexterm" name="id2586215"></a>
     115<a class="indexterm" name="id2586222"></a>
    116116All MS Windows networking uses SMB-based messaging.  SMB messaging may be implemented with or without NetBIOS.
    117117MS Windows 200x supports NetBIOS over TCP/IP for backwards compatibility. Microsoft appears intent on phasing
    118118out NetBIOS support.
    119 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2580163"></a>NetBIOS over TCP/IP</h3></div></div></div><p>
    120 <a class="indexterm" name="id2580171"></a>
    121 <a class="indexterm" name="id2580178"></a>
    122 <a class="indexterm" name="id2580184"></a>
    123 <a class="indexterm" name="id2580191"></a>
     119</p><div class="sect2" title="NetBIOS over TCP/IP"><div class="titlepage"><div><div><h3 class="title"><a name="id2586234"></a>NetBIOS over TCP/IP</h3></div></div></div><p>
     120<a class="indexterm" name="id2586242"></a>
     121<a class="indexterm" name="id2586248"></a>
     122<a class="indexterm" name="id2586255"></a>
     123<a class="indexterm" name="id2586262"></a>
    124124Samba implements NetBIOS, as does MS Windows NT/200x/XP, by encapsulating it over TCP/IP.
    125125NetBIOS-based networking uses broadcast messaging to effect browse list management. When running NetBIOS over
    126126TCP/IP, this uses UDP-based messaging.  UDP messages can be broadcast or unicast.
    127127</p><p>
    128 <a class="indexterm" name="id2580206"></a>
     128<a class="indexterm" name="id2586277"></a>
    129129Normally, only unicast UDP messaging can be forwarded by routers. The <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE" target="_top">remote announce</a>
    130130parameter to smb.conf helps to project browse announcements to remote network segments via unicast UDP.
     
    134134The methods used by MS Windows to perform name lookup requests (name resolution) is determined by a
    135135configuration parameter called the NetBIOS node-type. There are four basic NetBIOS node types:
    136 </p><a class="indexterm" name="id2580255"></a><a class="indexterm" name="id2580261"></a><a class="indexterm" name="id2580268"></a><a class="indexterm" name="id2580275"></a><a class="indexterm" name="id2580282"></a><a class="indexterm" name="id2580289"></a><a class="indexterm" name="id2580295"></a><a class="indexterm" name="id2580302"></a><div class="itemizedlist"><ul type="disc"><li><p><span class="emphasis"><em>b-node (type 0x01):</em></span> The Windows client will use only
    137         NetBIOS broadcast requests using UDP broadcast.</p></li><li><p><span class="emphasis"><em>p-node (type 0x02):</em></span> The Windows client will use point-to-point
    138         (NetBIOS unicast) requests using UDP unicast directed to a WINS server.</p></li><li><p><span class="emphasis"><em>m-node (type 0x04):</em></span> The Windows client will first use
     136</p><a class="indexterm" name="id2586325"></a><a class="indexterm" name="id2586332"></a><a class="indexterm" name="id2586339"></a><a class="indexterm" name="id2586346"></a><a class="indexterm" name="id2586353"></a><a class="indexterm" name="id2586359"></a><a class="indexterm" name="id2586366"></a><a class="indexterm" name="id2586373"></a><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><span class="emphasis"><em>b-node (type 0x01):</em></span> The Windows client will use only
     137        NetBIOS broadcast requests using UDP broadcast.</p></li><li class="listitem"><p><span class="emphasis"><em>p-node (type 0x02):</em></span> The Windows client will use point-to-point
     138        (NetBIOS unicast) requests using UDP unicast directed to a WINS server.</p></li><li class="listitem"><p><span class="emphasis"><em>m-node (type 0x04):</em></span> The Windows client will first use
    139139        NetBIOS broadcast requests using UDP broadcast, then it will use (NetBIOS unicast)
    140         requests using UDP unicast directed to a WINS server.</p></li><li><p><span class="emphasis"><em>h-node (type 0x08):</em></span> The Windows client will use
     140        requests using UDP unicast directed to a WINS server.</p></li><li class="listitem"><p><span class="emphasis"><em>h-node (type 0x08):</em></span> The Windows client will use
    141141        (NetBIOS unicast) requests using UDP unicast directed to a WINS server, then it will use
    142142        NetBIOS broadcast requests using UDP broadcast.</p></li></ul></div><p>
    143 <a class="indexterm" name="id2580351"></a>
    144 <a class="indexterm" name="id2580358"></a>
    145 <a class="indexterm" name="id2580365"></a>
    146 <a class="indexterm" name="id2580372"></a>
    147 <a class="indexterm" name="id2580379"></a>
    148 <a class="indexterm" name="id2580386"></a>
     143<a class="indexterm" name="id2586422"></a>
     144<a class="indexterm" name="id2586429"></a>
     145<a class="indexterm" name="id2586436"></a>
     146<a class="indexterm" name="id2586443"></a>
     147<a class="indexterm" name="id2586449"></a>
     148<a class="indexterm" name="id2586456"></a>
    149149The default Windows network client (or server) network configuration enables NetBIOS over TCP/IP
    150150and b-node configuration. The use of WINS makes most sense with h-node (hybrid mode) operation so that
    151151in the event of a WINS breakdown or non-availability, the client can use broadcast-based name resolution.
    152152</p><p>
    153 <a class="indexterm" name="id2580401"></a>
    154 <a class="indexterm" name="id2580410"></a>
    155 <a class="indexterm" name="id2580417"></a>
    156 <a class="indexterm" name="id2580424"></a>
    157 <a class="indexterm" name="id2580430"></a>
    158 <a class="indexterm" name="id2580437"></a>
    159 <a class="indexterm" name="id2580444"></a>
     153<a class="indexterm" name="id2586472"></a>
     154<a class="indexterm" name="id2586481"></a>
     155<a class="indexterm" name="id2586488"></a>
     156<a class="indexterm" name="id2586494"></a>
     157<a class="indexterm" name="id2586501"></a>
     158<a class="indexterm" name="id2586508"></a>
     159<a class="indexterm" name="id2586515"></a>
    160160In those networks where Samba is the only SMB server technology, wherever possible <code class="filename">nmbd</code>
    161161should be configured on one machine as the WINS server. This makes it easy to manage the browsing environment.
     
    163163browsing to work is by using the <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE" target="_top">remote announce</a> and the <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC" target="_top">remote browse sync</a> parameters to your <code class="filename">smb.conf</code> file.
    164164</p><p>
    165 <a class="indexterm" name="id2580495"></a>
     165<a class="indexterm" name="id2586566"></a>
    166166If only one WINS server is used for an entire multisegment network, then
    167167the use of the <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE" target="_top">remote announce</a> and the
    168168<a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC" target="_top">remote browse sync</a> parameters should not be necessary.
    169169</p><p>
    170 <a class="indexterm" name="id2580530"></a>
     170<a class="indexterm" name="id2586601"></a>
    171171As of Samba-3, WINS replication is being worked on. The bulk of the code has been committed, but it still
    172172needs maturation. This is not a supported feature of the Samba-3.0.20 release. Hopefully, this will become a
     
    174174not been of sufficient significance to inspire someone to pay a developer to complete it.
    175175</p><p>
    176 <a class="indexterm" name="id2580549"></a>
    177 <a class="indexterm" name="id2580556"></a>
    178 <a class="indexterm" name="id2580563"></a>
    179 <a class="indexterm" name="id2580570"></a>
    180 <a class="indexterm" name="id2580576"></a>
    181 <a class="indexterm" name="id2580583"></a>
    182 <a class="indexterm" name="id2580590"></a>
    183 <a class="indexterm" name="id2580597"></a>
     176<a class="indexterm" name="id2586620"></a>
     177<a class="indexterm" name="id2586627"></a>
     178<a class="indexterm" name="id2586634"></a>
     179<a class="indexterm" name="id2586640"></a>
     180<a class="indexterm" name="id2586647"></a>
     181<a class="indexterm" name="id2586654"></a>
     182<a class="indexterm" name="id2586661"></a>
     183<a class="indexterm" name="id2586668"></a>
    184184Right now Samba WINS does not support MS-WINS replication. This means that when setting up Samba as a WINS
    185185server, there must only be one <code class="filename">nmbd</code> configured as a WINS server on the network. Some
     
    189189configured to use DNS to resolve names on other subnets in order to resolve the IP addresses of the servers
    190190they can see on other subnets. This setup is not recommended but is mentioned as a practical consideration
    191 (i.e., an &#8220;<span class="quote">if all else fails</span>&#8221; scenario). NetBIOS over TCP/IP is an ugly and difficult to manage
     191(i.e., an <span class="quote">&#8220;<span class="quote">if all else fails</span>&#8221;</span> scenario). NetBIOS over TCP/IP is an ugly and difficult to manage
    192192protocol. Its replacement, NetBIOSless SMB over TCP/IP is not without its own manageability concerns. NetBIOS
    193193based networking is a life of compromise and trade-offs. WINS stores information that cannot be stored in
     
    195195clients are designed to use WINS.
    196196</p><p>
    197 <a class="indexterm" name="id2580659"></a>
    198 <a class="indexterm" name="id2580665"></a>
    199 <a class="indexterm" name="id2580672"></a>
     197<a class="indexterm" name="id2586729"></a>
     198<a class="indexterm" name="id2586736"></a>
     199<a class="indexterm" name="id2586743"></a>
    200200Lastly, take note that browse lists are a collection of unreliable broadcast
    201201messages that are repeated at intervals of not more than 15 minutes. This means
     
    203203minutes to stabilize, particularly across network segments.
    204204</p><p>
    205 <a class="indexterm" name="id2580687"></a>
     205<a class="indexterm" name="id2586758"></a>
    206206When an MS Windows 200x/XP system attempts to resolve a host name to an IP address, it follows a defined path:
    207 </p><div class="orderedlist"><ol type="1"><li><p>
     207</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
    208208        Checks the <code class="filename">hosts</code> file. It is located in <code class="filename">%SystemRoot%\System32\Drivers\etc</code>.
    209         </p></li><li><p>
     209        </p></li><li class="listitem"><p>
    210210        Does a DNS lookup.
    211         </p></li><li><p>
     211        </p></li><li class="listitem"><p>
    212212        Checks the NetBIOS name cache.
    213         </p></li><li><p>
     213        </p></li><li class="listitem"><p>
    214214        Queries the WINS server.
    215         </p></li><li><p>
     215        </p></li><li class="listitem"><p>
    216216        Does a broadcast name lookup over UDP.
    217         </p></li><li><p>
     217        </p></li><li class="listitem"><p>
    218218        Looks up entries in LMHOSTS, located in <code class="filename">%SystemRoot%\System32\Drivers\etc</code>.
    219219        </p></li></ol></div><p>
    220 <a class="indexterm" name="id2580754"></a>
    221 <a class="indexterm" name="id2580761"></a>
    222 <a class="indexterm" name="id2580768"></a>
    223 <a class="indexterm" name="id2580775"></a>
     220<a class="indexterm" name="id2586825"></a>
     221<a class="indexterm" name="id2586832"></a>
     222<a class="indexterm" name="id2586839"></a>
     223<a class="indexterm" name="id2586846"></a>
    224224Given the nature of how the NetBIOS over TCP/IP protocol is implemented, only WINS is capable of resolving
    225225with any reliability name lookups for service-oriented names such as TEMPTATION&lt;1C&gt;  a NetBIOS
     
    228228service-oriented DNS entries. This type of facility is not implemented and is not supported for the NetBIOS
    229229over TCP/IP protocol namespace.
    230 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2580799"></a>TCP/IP without NetBIOS</h3></div></div></div><p>
    231 <a class="indexterm" name="id2580807"></a>
    232 <a class="indexterm" name="id2580813"></a>
    233 <a class="indexterm" name="id2580820"></a>
     230</p></div><div class="sect2" title="TCP/IP without NetBIOS"><div class="titlepage"><div><div><h3 class="title"><a name="id2586870"></a>TCP/IP without NetBIOS</h3></div></div></div><p>
     231<a class="indexterm" name="id2586877"></a>
     232<a class="indexterm" name="id2586884"></a>
     233<a class="indexterm" name="id2586891"></a>
    234234All TCP/IP-enabled systems use various forms of hostname resolution. The primary
    235235methods for TCP/IP hostname resolution involve either a static file (<code class="filename">/etc/hosts</code>)
     
    238238TCP/IP-enabled systems. Only a few embedded TCP/IP systems do not support DNS.
    239239</p><p>
    240 <a class="indexterm" name="id2580842"></a>
    241 <a class="indexterm" name="id2580849"></a>
    242 <a class="indexterm" name="id2580856"></a>
    243 <a class="indexterm" name="id2580862"></a>
     240<a class="indexterm" name="id2586913"></a>
     241<a class="indexterm" name="id2586920"></a>
     242<a class="indexterm" name="id2586926"></a>
     243<a class="indexterm" name="id2586933"></a>
    244244Windows 200x/XP can register its hostname with a Dynamic DNS server (DDNS). It is possible to force register with a
    245245dynamic DNS server in Windows 200x/XP using <code class="literal">ipconfig /registerdns</code>.
    246246</p><p>
    247 <a class="indexterm" name="id2580884"></a>
    248 <a class="indexterm" name="id2580890"></a>
    249 <a class="indexterm" name="id2580897"></a>
     247<a class="indexterm" name="id2586954"></a>
     248<a class="indexterm" name="id2586961"></a>
     249<a class="indexterm" name="id2586968"></a>
    250250With Active Directory, a correctly functioning DNS server is absolutely essential. In the absence of a working
    251251DNS server that has been correctly configured, MS Windows clients and servers will be unable to locate each
    252252other, so network services consequently will be severely impaired.
    253253</p><p>
    254 <a class="indexterm" name="id2580912"></a>
    255 <a class="indexterm" name="id2580919"></a>
    256 <a class="indexterm" name="id2580926"></a>
    257 <a class="indexterm" name="id2580932"></a>
    258 <a class="indexterm" name="id2580940"></a>
    259 <a class="indexterm" name="id2580946"></a>
     254<a class="indexterm" name="id2586983"></a>
     255<a class="indexterm" name="id2586990"></a>
     256<a class="indexterm" name="id2586996"></a>
     257<a class="indexterm" name="id2587003"></a>
     258<a class="indexterm" name="id2587010"></a>
     259<a class="indexterm" name="id2587017"></a>
    260260Use of raw SMB over TCP/IP (No NetBIOS layer) can be done only with Active Directory domains. Samba is not an
    261261Active Directory domain controller: ergo, it is not possible to run Samba as a domain controller and at the same
     
    265265appropriate DNS entries for the Samba DMS because they will not be automatically generated either by Samba, or
    266266by the ADS environment.
    267 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="adsdnstech"></a>DNS and Active Directory</h3></div></div></div><p>
    268 <a class="indexterm" name="id2580981"></a>
    269 <a class="indexterm" name="id2580990"></a>
    270 <a class="indexterm" name="id2580997"></a>
    271 <a class="indexterm" name="id2581003"></a>
    272 <a class="indexterm" name="id2581010"></a>
     267</p></div><div class="sect2" title="DNS and Active Directory"><div class="titlepage"><div><div><h3 class="title"><a name="adsdnstech"></a>DNS and Active Directory</h3></div></div></div><p>
     268<a class="indexterm" name="id2587052"></a>
     269<a class="indexterm" name="id2587061"></a>
     270<a class="indexterm" name="id2587068"></a>
     271<a class="indexterm" name="id2587074"></a>
     272<a class="indexterm" name="id2587081"></a>
    273273Occasionally we hear from UNIX network administrators who want to use a UNIX-based DDNS server in place
    274274of the Microsoft DNS server. While this might be desirable to some, the MS Windows 200x DNS server is
     
    278278Active Directory requires:
    279279</p><p>
    280 <a class="indexterm" name="id2581032"></a>
    281 <a class="indexterm" name="id2581038"></a>
    282 <a class="indexterm" name="id2581045"></a>
     280<a class="indexterm" name="id2587102"></a>
     281<a class="indexterm" name="id2587109"></a>
     282<a class="indexterm" name="id2587116"></a>
    283283The use of DDNS is highly recommended with Active Directory, in which case the use of BIND9 is preferred for
    284284its ability to adequately support the SRV (service) records that are needed for Active Directory. Of course,
     
    300300        Specific entries used by Microsoft clients to locate essential services for an example domain
    301301        called <code class="constant">quenya.org</code> include:
    302         </p><div class="itemizedlist"><ul type="disc"><li><p>
     302        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    303303                _kerberos._udp.quenya.org  Used to contact the KDC server via UDP.
    304304                This entry must list port 88 for each KDC.
    305                 </p></li><li><p>
     305                </p></li><li class="listitem"><p>
    306306                _kpasswd._udp.quenya.org  Used to locate the <code class="constant">kpasswd</code> server
    307307                when a user password change must be processed. This record must list port 464 on the
    308308                master KDC.
    309                 </p></li><li><p>
     309                </p></li><li class="listitem"><p>
    310310                _kerberos._tcp.quenya.org  Used to locate the KDC server via TCP.
    311311                This entry must list port 88 for each KDC.
    312                 </p></li><li><p>
     312                </p></li><li class="listitem"><p>
    313313                _ldap._tcp.quenya.org  Used to locate the LDAP service on the PDC.
    314314                This record must list port 389 for the PDC.
    315                 </p></li><li><p>
     315                </p></li><li class="listitem"><p>
    316316                _kpasswd._tcp.quenya.org  Used to locate the <code class="constant">kpasswd</code> server
    317317                to permit user password changes to be processed. This must list port 464.
    318                 </p></li><li><p>
     318                </p></li><li class="listitem"><p>
    319319                _gc._tcp.quenya.org  Used to locate the global catalog server  for the
    320320                top of the domain. This must list port 3268.
     
    322322        The following records are also used by the Windows domain member client to locate vital
    323323        services on the Windows ADS domain controllers.
    324         </p><div class="itemizedlist"><ul type="disc"><li><p>
     324        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    325325                _ldap._tcp.pdc._msdcs.quenya.org
    326                 </p></li><li><p>
     326                </p></li><li class="listitem"><p>
    327327                _ldap.gc._msdcs.quenya.org
    328                 </p></li><li><p>
     328                </p></li><li class="listitem"><p>
    329329                _ldap.default-first-site-name._sites.gc._msdcs.quenya.org
    330                 </p></li><li><p>
     330                </p></li><li class="listitem"><p>
    331331                _ldap.{SecID}.domains._msdcs.quenya.org
    332                 </p></li><li><p>
     332                </p></li><li class="listitem"><p>
    333333                _ldap._tcp.dc._msdcs.quenya.org
    334                 </p></li><li><p>
     334                </p></li><li class="listitem"><p>
    335335                _kerberos._tcp.dc._msdcs.quenya.org
    336                 </p></li><li><p>
     336                </p></li><li class="listitem"><p>
    337337                _ldap.default-first-site-name._sites.dc._msdcs.quenya.org
    338                 </p></li><li><p>
     338                </p></li><li class="listitem"><p>
    339339                _kerberos.default-first-site-name._sites.dc._msdcs.queyna.org
    340                 </p></li><li><p>
     340                </p></li><li class="listitem"><p>
    341341                SecID._msdcs.quenya.org
    342342                </p></li></ul></div><p>
     
    371371;; MSG SIZE  rcvd: 171
    372372</pre><p>
    373         </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2581358"></a>How Browsing Functions</h2></div></div></div><p>
    374 <a class="indexterm" name="id2581366"></a>
    375 <a class="indexterm" name="id2581373"></a>
    376 <a class="indexterm" name="id2581380"></a>
    377 <a class="indexterm" name="id2581386"></a>
    378 <a class="indexterm" name="id2581393"></a>
     373        </p></div></div><div class="sect1" title="How Browsing Functions"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2587429"></a>How Browsing Functions</h2></div></div></div><p>
     374<a class="indexterm" name="id2587437"></a>
     375<a class="indexterm" name="id2587444"></a>
     376<a class="indexterm" name="id2587451"></a>
     377<a class="indexterm" name="id2587457"></a>
     378<a class="indexterm" name="id2587464"></a>
    379379MS Windows machines register their NetBIOS names (i.e., the machine name for each service type in operation)
    380380on startup.  The exact method by which this name registration takes place is determined by whether or not the
     
    382382whether or not DNS for NetBIOS name resolution is enabled, and so on.
    383383</p><p>
    384 <a class="indexterm" name="id2581410"></a>
    385 <a class="indexterm" name="id2581417"></a>
    386 <a class="indexterm" name="id2581424"></a>
     384<a class="indexterm" name="id2587481"></a>
     385<a class="indexterm" name="id2587488"></a>
     386<a class="indexterm" name="id2587495"></a>
    387387In the case where there is no WINS server, all name registrations as well as name lookups are done by UDP
    388388broadcast. This isolates name resolution to the local subnet, unless LMHOSTS is used to list all names and IP
     
    391391parameter).
    392392</p><p>
    393 <a class="indexterm" name="id2581453"></a>
    394 <a class="indexterm" name="id2581459"></a>
    395 <a class="indexterm" name="id2581466"></a>
     393<a class="indexterm" name="id2587524"></a>
     394<a class="indexterm" name="id2587530"></a>
     395<a class="indexterm" name="id2587537"></a>
    396396Where a WINS server is used, the MS Windows client will use UDP unicast to register with the WINS server. Such
    397397packets can be routed, and thus WINS allows name resolution to function across routed networks.
    398398</p><p>
    399 <a class="indexterm" name="id2581480"></a>
    400 <a class="indexterm" name="id2581486"></a>
    401 <a class="indexterm" name="id2581495"></a>
    402 <a class="indexterm" name="id2581502"></a>
    403 <a class="indexterm" name="id2581509"></a>
    404 <a class="indexterm" name="id2581515"></a>
    405 <a class="indexterm" name="id2581522"></a>
    406 <a class="indexterm" name="id2581529"></a>
     399<a class="indexterm" name="id2587550"></a>
     400<a class="indexterm" name="id2587557"></a>
     401<a class="indexterm" name="id2587566"></a>
     402<a class="indexterm" name="id2587573"></a>
     403<a class="indexterm" name="id2587580"></a>
     404<a class="indexterm" name="id2587586"></a>
     405<a class="indexterm" name="id2587593"></a>
     406<a class="indexterm" name="id2587600"></a>
    407407During the startup process, an election takes place to create a local master browser (LMB) if one does not
    408408already exist. On each NetBIOS network one machine will be elected to function as the domain master browser
     
    414414criteria, will win the election as DMB.
    415415</p><p>
    416 <a class="indexterm" name="id2581566"></a>
    417 <a class="indexterm" name="id2581573"></a>
    418 <a class="indexterm" name="id2581579"></a>
    419 <a class="indexterm" name="id2581586"></a>
    420 <a class="indexterm" name="id2581593"></a>
    421 <a class="indexterm" name="id2581600"></a>
    422 <a class="indexterm" name="id2581607"></a>
    423 <a class="indexterm" name="id2581614"></a>
     416<a class="indexterm" name="id2587637"></a>
     417<a class="indexterm" name="id2587644"></a>
     418<a class="indexterm" name="id2587650"></a>
     419<a class="indexterm" name="id2587657"></a>
     420<a class="indexterm" name="id2587664"></a>
     421<a class="indexterm" name="id2587671"></a>
     422<a class="indexterm" name="id2587678"></a>
     423<a class="indexterm" name="id2587685"></a>
    424424Where a WINS server is used, the DMB registers its IP address with the WINS server using the name of the
    425425domain and the NetBIOS name type 1B (e.g., DOMAIN&lt;1B&gt;). All LMBs register their IP addresses with the WINS
     
    429429they are on. The DMB is responsible for synchronizing the browse lists it obtains from the LMBs.
    430430</p><p>
    431 <a class="indexterm" name="id2581650"></a>
     431<a class="indexterm" name="id2587721"></a>
    432432Clients wishing to browse the network make use of this list but also depend on the availability of correct
    433433name resolution to the respective IP address or addresses.
    434434</p><p>
    435 <a class="indexterm" name="id2581663"></a>
     435<a class="indexterm" name="id2587734"></a>
    436436Any configuration that breaks name resolution and/or browsing intrinsics will annoy users because they will
    437437have to put up with protracted inability to use the network services.
    438438</p><p>
    439 <a class="indexterm" name="id2581676"></a>
    440 <a class="indexterm" name="id2581683"></a>
    441 <a class="indexterm" name="id2581690"></a>
    442 <a class="indexterm" name="id2581697"></a>
    443 <a class="indexterm" name="id2581704"></a>
    444 <a class="indexterm" name="id2581710"></a>
     439<a class="indexterm" name="id2587747"></a>
     440<a class="indexterm" name="id2587754"></a>
     441<a class="indexterm" name="id2587761"></a>
     442<a class="indexterm" name="id2587768"></a>
     443<a class="indexterm" name="id2587775"></a>
     444<a class="indexterm" name="id2587781"></a>
    445445Samba supports a feature that allows forced synchronization of browse lists across routed networks using the
    446446<a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC" target="_top">remote browse sync</a> parameter in the <code class="filename">smb.conf</code> file. This causes Samba to contact the
     
    451451for cross-subnet browsing to function correctly, it is essential that a name-to-address resolution mechanism
    452452be provided. This mechanism could be via DNS, <code class="filename">/etc/hosts</code>, and so on.
    453 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="DMB"></a>Configuring Workgroup Browsing</h3></div></div></div><p>
    454 <a class="indexterm" name="id2581779"></a>
    455 <a class="indexterm" name="id2581786"></a>
    456 <a class="indexterm" name="id2581793"></a>
    457 <a class="indexterm" name="id2581799"></a>
    458 <a class="indexterm" name="id2581806"></a>
    459 <a class="indexterm" name="id2581813"></a>
     453</p><div class="sect2" title="Configuring Workgroup Browsing"><div class="titlepage"><div><div><h3 class="title"><a name="DMB"></a>Configuring Workgroup Browsing</h3></div></div></div><p>
     454<a class="indexterm" name="id2587850"></a>
     455<a class="indexterm" name="id2587857"></a>
     456<a class="indexterm" name="id2587864"></a>
     457<a class="indexterm" name="id2587870"></a>
     458<a class="indexterm" name="id2587877"></a>
     459<a class="indexterm" name="id2587884"></a>
    460460To configure cross-subnet browsing on a network containing machines in a workgroup, not an NT domain, you need
    461461to set up one Samba server to be the DMB (note that this is not the same as a Primary Domain Controller,
     
    465465presence of a DMB that makes cross-subnet browsing possible for a workgroup.
    466466</p><p>
    467 <a class="indexterm" name="id2581833"></a>
     467<a class="indexterm" name="id2587904"></a>
    468468In a workgroup environment the DMB must be a Samba server, and there must only be one DMB per workgroup name.
    469469To set up a Samba server as a DMB, set the following option in the <em class="parameter"><code>[global]</code></em> section
    470470of the <code class="filename">smb.conf</code> file:
    471471</p><p>
    472 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2581863"></a><em class="parameter"><code>domain master = yes</code></em></td></tr></table><p>
    473 </p><p>
    474 <a class="indexterm" name="id2581878"></a>
    475 <a class="indexterm" name="id2581884"></a>
     472</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2587934"></a><em class="parameter"><code>domain master = yes</code></em></td></tr></table><p>
     473</p><p>
     474<a class="indexterm" name="id2587949"></a>
     475<a class="indexterm" name="id2587955"></a>
    476476The DMB should preferably be the LMB for its own subnet. In order to achieve this, set the following options
    477477in the <em class="parameter"><code>[global]</code></em> section of the <code class="filename">smb.conf</code> file as shown in <a class="link" href="NetworkBrowsing.html#dmbexample" title="Example 10.1. Domain Master Browser smb.conf">Domain Master Browser smb.conf</a>
    478 </p><div class="example"><a name="dmbexample"></a><p class="title"><b>Example 10.1. Domain Master Browser smb.conf</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2581939"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2581951"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2581962"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2581974"></a><em class="parameter"><code>os level = 65</code></em></td></tr></table></div></div><br class="example-break"><p>
    479 <a class="indexterm" name="id2581989"></a>
    480 <a class="indexterm" name="id2581996"></a>
     478</p><div class="example"><a name="dmbexample"></a><p class="title"><b>Example 10.1. Domain Master Browser smb.conf</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2588010"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2588021"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2588033"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2588045"></a><em class="parameter"><code>os level = 65</code></em></td></tr></table></div></div><br class="example-break"><p>
     479<a class="indexterm" name="id2588060"></a>
     480<a class="indexterm" name="id2588066"></a>
    481481The DMB may be the same machine as the WINS server, if necessary.
    482482</p><p>
    483 <a class="indexterm" name="id2582007"></a>
    484 <a class="indexterm" name="id2582014"></a>
    485 <a class="indexterm" name="id2582020"></a>
     483<a class="indexterm" name="id2588078"></a>
     484<a class="indexterm" name="id2588084"></a>
     485<a class="indexterm" name="id2588091"></a>
    486486Next, you should ensure that each of the subnets contains a machine that can act as an LMB for the workgroup.
    487487Any MS Windows NT/200x/XP machine should be able to do this, as will Windows 9x/Me machines (although these
     
    489489set the following options in the <em class="parameter"><code>[global]</code></em> section of the <code class="filename">smb.conf</code> file as shown in
    490490<a class="link" href="NetworkBrowsing.html#lmbexample" title="Example 10.2. Local master browser smb.conf">Local master browser smb.conf</a>
    491 </p><div class="example"><a name="lmbexample"></a><p class="title"><b>Example 10.2. Local master browser smb.conf</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2582078"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2582090"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2582101"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2582113"></a><em class="parameter"><code>os level = 65</code></em></td></tr></table></div></div><br class="example-break"><p>
    492 <a class="indexterm" name="id2582128"></a>
     491</p><div class="example"><a name="lmbexample"></a><p class="title"><b>Example 10.2. Local master browser smb.conf</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2588149"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2588160"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2588172"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2588184"></a><em class="parameter"><code>os level = 65</code></em></td></tr></table></div></div><br class="example-break"><p>
     492<a class="indexterm" name="id2588199"></a>
    493493Do not do this for more than one Samba server on each subnet, or they will war with
    494494each other over which is to be the LMB.
    495495</p><p>
    496 <a class="indexterm" name="id2582140"></a>
    497 <a class="indexterm" name="id2582146"></a>
     496<a class="indexterm" name="id2588211"></a>
     497<a class="indexterm" name="id2588217"></a>
    498498The <a class="link" href="smb.conf.5.html#LOCALMASTER" target="_top">local master</a> parameter allows Samba to act as a
    499499LMB. The <a class="link" href="smb.conf.5.html#PREFERREDMASTER" target="_top">preferred master</a> causes <code class="literal">nmbd</code>
     
    501501parameter sets Samba high enough so it should win any browser elections.
    502502</p><p>
    503 <a class="indexterm" name="id2582200"></a>
     503<a class="indexterm" name="id2588271"></a>
    504504If you have an NT machine on the subnet that you wish to be the LMB, you can disable Samba from
    505505becoming an LMB by setting the following options in the <em class="parameter"><code>[global]</code></em> section of the
    506506<code class="filename">smb.conf</code> file as shown in <a class="link" href="NetworkBrowsing.html#nombexample" title="Example 10.3. smb.conf for Not Being a Master Browser">smb.conf for Not Being a Master Browser</a>.
    507507</p><p>
    508 </p><div class="example"><a name="nombexample"></a><p class="title"><b>Example 10.3. smb.conf for Not Being a Master Browser</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2582255"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2582267"></a><em class="parameter"><code>local master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2582278"></a><em class="parameter"><code>preferred master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2582290"></a><em class="parameter"><code>os level = 0</code></em></td></tr></table></div></div><p><br class="example-break">
    509 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2582305"></a>Domain Browsing Configuration</h3></div></div></div><p>
    510 <a class="indexterm" name="id2582313"></a>
    511 <a class="indexterm" name="id2582320"></a>
    512 <a class="indexterm" name="id2582326"></a>
    513 <a class="indexterm" name="id2582333"></a>
     508</p><div class="example"><a name="nombexample"></a><p class="title"><b>Example 10.3. smb.conf for Not Being a Master Browser</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2588326"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2588338"></a><em class="parameter"><code>local master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2588349"></a><em class="parameter"><code>preferred master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2588361"></a><em class="parameter"><code>os level = 0</code></em></td></tr></table></div></div><p><br class="example-break">
     509</p></div><div class="sect2" title="Domain Browsing Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="id2588376"></a>Domain Browsing Configuration</h3></div></div></div><p>
     510<a class="indexterm" name="id2588384"></a>
     511<a class="indexterm" name="id2588391"></a>
     512<a class="indexterm" name="id2588397"></a>
     513<a class="indexterm" name="id2588404"></a>
    514514If you are adding Samba servers to a Windows NT domain, then you must not set up a Samba server as a DMB.  By
    515515default, a Windows NT PDC for a domain is also the DMB for that domain. Network browsing may break if a Samba
     
    517517WINS.
    518518</p><p>
    519 <a class="indexterm" name="id2582352"></a>
     519<a class="indexterm" name="id2588423"></a>
    520520For subnets other than the one containing the Windows NT PDC, you may set up Samba servers as LMBs as
    521521described. To make a Samba server a Local Master Browser, set the following options in the <em class="parameter"><code>[global]</code></em> section of the <code class="filename">smb.conf</code> file as shown in <a class="link" href="NetworkBrowsing.html#remsmb" title="Example 10.4. Local Master Browser smb.conf">Local Master Browser
    522522smb.conf</a>
    523 </p><div class="example"><a name="remsmb"></a><p class="title"><b>Example 10.4. Local Master Browser smb.conf</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2582408"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2582420"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2582431"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2582443"></a><em class="parameter"><code>os level = 65</code></em></td></tr></table></div></div><br class="example-break"><p>
    524 <a class="indexterm" name="id2582458"></a>
    525 <a class="indexterm" name="id2582465"></a>
     523</p><div class="example"><a name="remsmb"></a><p class="title"><b>Example 10.4. Local Master Browser smb.conf</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2588479"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2588490"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2588502"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2588514"></a><em class="parameter"><code>os level = 65</code></em></td></tr></table></div></div><br class="example-break"><p>
     524<a class="indexterm" name="id2588529"></a>
     525<a class="indexterm" name="id2588536"></a>
    526526If you wish to have a Samba server fight the election with machines on the same subnet, you may set the
    527527<a class="link" href="smb.conf.5.html#OSLEVEL" target="_top">os level</a> parameter to lower levels.  By doing this you can tune the order of machines
    528528that will become LMBs if they are running. For more details on this, refer to <a class="link" href="NetworkBrowsing.html#browse-force-master" title="Forcing Samba to Be the Master">Forcing Samba to Be the Master</a>.
    529529</p><p>
    530 <a class="indexterm" name="id2582500"></a>
    531 <a class="indexterm" name="id2582506"></a>
    532 <a class="indexterm" name="id2582513"></a>
     530<a class="indexterm" name="id2588570"></a>
     531<a class="indexterm" name="id2588577"></a>
     532<a class="indexterm" name="id2588584"></a>
    533533If you have Windows NT machines that are members of the domain on all subnets and you are sure they will
    534534always be running, you can disable Samba from taking part in browser elections and ever becoming an LMB by
     
    537537</p><p>
    538538</p><div class="example"><a name="xremmb"></a><p class="title"><b>Example 10.5. <code class="filename">smb.conf</code> for Not Being a master browser</b></p><div class="example-contents"><em class="parameter"><code>[global]</code></em><a class="link" href="smb.conf.5.html#DOMAINMASTER" target="_top">domain master = no</a><a class="link" href="smb.conf.5.html#LOCALMASTER" target="_top">local master = no</a><a class="link" href="smb.conf.5.html#PREFERREDMASTER" target="_top">preferred master = no</a><a class="link" href="smb.conf.5.html#OSLEVEL" target="_top">os level = 0</a></div></div><p><br class="example-break">
    539 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="browse-force-master"></a>Forcing Samba to Be the Master</h3></div></div></div><p>
    540 <a class="indexterm" name="id2582631"></a>
    541 <a class="indexterm" name="id2582637"></a>
    542 <a class="indexterm" name="id2582644"></a>
    543 <a class="indexterm" name="id2582650"></a>
    544 <a class="indexterm" name="id2582657"></a>
    545 <a class="indexterm" name="id2582664"></a>
    546 <a class="indexterm" name="id2582671"></a>
     539</p></div><div class="sect2" title="Forcing Samba to Be the Master"><div class="titlepage"><div><div><h3 class="title"><a name="browse-force-master"></a>Forcing Samba to Be the Master</h3></div></div></div><p>
     540<a class="indexterm" name="id2588702"></a>
     541<a class="indexterm" name="id2588708"></a>
     542<a class="indexterm" name="id2588714"></a>
     543<a class="indexterm" name="id2588721"></a>
     544<a class="indexterm" name="id2588728"></a>
     545<a class="indexterm" name="id2588735"></a>
     546<a class="indexterm" name="id2588742"></a>
    547547Who becomes the master browser is determined by an election process using broadcasts. Each election packet
    548548contains a number of parameters that determine what precedence (bias) a host should have in the election. By
     
    558558level is 255.
    559559</p><p>
    560 <a class="indexterm" name="id2582728"></a>
    561 <a class="indexterm" name="id2582734"></a>
    562 <a class="indexterm" name="id2582742"></a>
    563 <a class="indexterm" name="id2582748"></a>
     560<a class="indexterm" name="id2588799"></a>
     561<a class="indexterm" name="id2588805"></a>
     562<a class="indexterm" name="id2588812"></a>
     563<a class="indexterm" name="id2588819"></a>
    564564If you want Samba to force an election on startup, set the <a class="link" href="smb.conf.5.html#PREFERREDMASTER" target="_top">preferred master</a> global
    565565option in <code class="filename">smb.conf</code> to <code class="constant">yes</code>.  Samba will then have a slight advantage over other
     
    569569they will force an election in order to become the LMB.
    570570</p><p>
    571 <a class="indexterm" name="id2582806"></a>
    572 <a class="indexterm" name="id2582812"></a>
    573 <a class="indexterm" name="id2582819"></a>
    574 <a class="indexterm" name="id2582826"></a>
    575 <a class="indexterm" name="id2582833"></a>
     571<a class="indexterm" name="id2588872"></a>
     572<a class="indexterm" name="id2588879"></a>
     573<a class="indexterm" name="id2588886"></a>
     574<a class="indexterm" name="id2588893"></a>
     575<a class="indexterm" name="id2588899"></a>
    576576If you want Samba to be a <span class="emphasis"><em>DMB</em></span>, then it is recommended that you also set <a class="link" href="smb.conf.5.html#PREFERREDMASTER" target="_top">preferred master</a> to <code class="constant">yes</code>, because Samba will not become a DMB for the whole of
    577577your LAN or WAN if it is not also a LMB on its own broadcast isolated subnet.
    578578</p><p>
    579 <a class="indexterm" name="id2582865"></a>
    580 <a class="indexterm" name="id2582871"></a>
    581 <a class="indexterm" name="id2582878"></a>
    582 <a class="indexterm" name="id2582885"></a>
    583 <a class="indexterm" name="id2582892"></a>
     579<a class="indexterm" name="id2588931"></a>
     580<a class="indexterm" name="id2588938"></a>
     581<a class="indexterm" name="id2588945"></a>
     582<a class="indexterm" name="id2588951"></a>
     583<a class="indexterm" name="id2588958"></a>
    584584It is possible to configure two Samba servers to attempt to become the DMB for a domain. The first server that
    585585comes up will be the DMB. All other Samba servers will attempt to become the DMB every 5 minutes. They will
     
    587587current DMB fail. The network bandwidth overhead of browser elections is relatively small, requiring
    588588approximately four UDP packets per machine per election. The maximum size of a UDP packet is 576 bytes.
    589 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2582910"></a>Making Samba the Domain Master</h3></div></div></div><p>
    590 <a class="indexterm" name="id2582917"></a>
    591 <a class="indexterm" name="id2582924"></a>
    592 <a class="indexterm" name="id2582931"></a>
    593 <a class="indexterm" name="id2582938"></a>
     589</p></div><div class="sect2" title="Making Samba the Domain Master"><div class="titlepage"><div><div><h3 class="title"><a name="id2588976"></a>Making Samba the Domain Master</h3></div></div></div><p>
     590<a class="indexterm" name="id2588984"></a>
     591<a class="indexterm" name="id2588990"></a>
     592<a class="indexterm" name="id2588997"></a>
     593<a class="indexterm" name="id2589004"></a>
    594594The domain master browser is responsible for collating the browse lists of multiple subnets so browsing can
    595595occur between subnets. You can make Samba act as the domain master browser by setting <a class="link" href="smb.conf.5.html#DOMAINMASTER" target="_top">domain master = yes</a> in <code class="filename">smb.conf</code>. By default it will not be a domain master browser.
    596596</p><p>
    597 <a class="indexterm" name="id2582970"></a>
    598 <a class="indexterm" name="id2582977"></a>
     597<a class="indexterm" name="id2589036"></a>
     598<a class="indexterm" name="id2589043"></a>
    599599Do not set Samba to be the domain master for a workgroup that has the same name as an NT/200x domain.  If
    600600Samba is configured to be the domain master for a workgroup that is present on the same network as a Windows
     
    604604every 12 minutes) from LMBs on other subnets and then contact them to synchronize browse lists.
    605605</p><p>
    606 <a class="indexterm" name="id2582999"></a>
    607 <a class="indexterm" name="id2583006"></a>
     606<a class="indexterm" name="id2589066"></a>
     607<a class="indexterm" name="id2589072"></a>
    608608If you want Samba to be the domain master, you should also set the <a class="link" href="smb.conf.5.html#OSLEVEL" target="_top">os level</a> high
    609609enough to make sure it wins elections, and set <a class="link" href="smb.conf.5.html#PREFERREDMASTER" target="_top">preferred master</a> to
    610610<code class="constant">yes</code>, to get Samba to force an election on startup.
    611611</p><p>
    612 <a class="indexterm" name="id2583045"></a>
    613 <a class="indexterm" name="id2583052"></a>
     612<a class="indexterm" name="id2589112"></a>
     613<a class="indexterm" name="id2589118"></a>
    614614All servers (including Samba) and clients should be using a WINS server to resolve NetBIOS names. If your
    615615clients are only using broadcasting to resolve NetBIOS names, then two things will occur:
    616 </p><div class="orderedlist"><ol type="1"><li><p>
    617 <a class="indexterm" name="id2583074"></a>
    618 <a class="indexterm" name="id2583081"></a>
     616</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
     617<a class="indexterm" name="id2589141"></a>
     618<a class="indexterm" name="id2589147"></a>
    619619        LMBs will be unable to find a DMB because they will be looking only on the local subnet.
    620         </p></li><li><p>
    621 <a class="indexterm" name="id2583096"></a>
     620        </p></li><li class="listitem"><p>
     621<a class="indexterm" name="id2589162"></a>
    622622        If a client happens to get hold of a domain-wide browse list and a user attempts to access a
    623623        host in that list, it will be unable to resolve the NetBIOS name of that host.
    624624        </p></li></ol></div><p>
    625 <a class="indexterm" name="id2583111"></a>
     625<a class="indexterm" name="id2589177"></a>
    626626If, however, both Samba and your clients are using a WINS server, then:
    627 </p><div class="orderedlist"><ol type="1"><li><p>
     627</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
    628628        LMBs will contact the WINS server and, as long as Samba has registered that it is a DMB with the WINS
    629629        server, the LMB will receive Samba's IP address as its DMB.
    630         </p></li><li><p>
     630        </p></li><li class="listitem"><p>
    631631        When a client receives a domain-wide browse list and a user attempts to access a host in that list, it will
    632632        contact the WINS server to resolve the NetBIOS name of that host. As long as that host has registered its
    633633        NetBIOS name with the same WINS server, the user will be able to see that host..
    634         </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2583150"></a>Note about Broadcast Addresses</h3></div></div></div><p>
    635 <a class="indexterm" name="id2583158"></a>
     634        </p></li></ol></div></div><div class="sect2" title="Note about Broadcast Addresses"><div class="titlepage"><div><div><h3 class="title"><a name="id2589216"></a>Note about Broadcast Addresses</h3></div></div></div><p>
     635<a class="indexterm" name="id2589224"></a>
    636636If your network uses a zero-based broadcast address (for example, if it ends in a 0), then you will strike
    637637problems. Windows for Workgroups does not seem to support a zeros broadcast, and you will probably find that
    638638browsing and name lookups will not work.
    639 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2583172"></a>Multiple Interfaces</h3></div></div></div><p>
    640 <a class="indexterm" name="id2583180"></a>
     639</p></div><div class="sect2" title="Multiple Interfaces"><div class="titlepage"><div><div><h3 class="title"><a name="id2589238"></a>Multiple Interfaces</h3></div></div></div><p>
     640<a class="indexterm" name="id2589246"></a>
    641641Samba supports machines with multiple network interfaces. If you have multiple interfaces, you will
    642642need to use the <a class="link" href="smb.conf.5.html#INTERFACES" target="_top">interfaces</a> option in <code class="filename">smb.conf</code> to configure them. For example, the
     
    645645<code class="literal">eth4</code> should be used by Samba. In this case, the following <code class="filename">smb.conf</code> file entries would
    646646permit that intent:
    647 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2583256"></a><em class="parameter"><code>interfaces = eth1, eth4</code></em></td></tr><tr><td><a class="indexterm" name="id2583268"></a><em class="parameter"><code>bind interfaces only = Yes</code></em></td></tr></table><p>
    648 <a class="indexterm" name="id2583280"></a>
    649 <a class="indexterm" name="id2583287"></a>
    650 <a class="indexterm" name="id2583293"></a>
    651 <a class="indexterm" name="id2583300"></a>
    652 <a class="indexterm" name="id2583307"></a>
    653 <a class="indexterm" name="id2583314"></a>
    654 <a class="indexterm" name="id2583320"></a>
     647</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2589322"></a><em class="parameter"><code>interfaces = eth1, eth4</code></em></td></tr><tr><td><a class="indexterm" name="id2589334"></a><em class="parameter"><code>bind interfaces only = Yes</code></em></td></tr></table><p>
     648<a class="indexterm" name="id2589346"></a>
     649<a class="indexterm" name="id2589353"></a>
     650<a class="indexterm" name="id2589360"></a>
     651<a class="indexterm" name="id2589366"></a>
     652<a class="indexterm" name="id2589373"></a>
     653<a class="indexterm" name="id2589380"></a>
     654<a class="indexterm" name="id2589387"></a>
    655655The <a class="link" href="smb.conf.5.html#BINDINTERFACESONLY" target="_top">bind interfaces only = Yes</a> is necessary to exclude TCP/IP session
    656656services (ports 135, 139, and 445) over the interfaces that are not specified. Please be aware that
     
    659659ethernet interface requires the use of a firewall to block ports 137 and 138 (UDP), and ports 135, 139, and
    660660445 (TCP) on all network interfaces that must not be able to access the Samba server.
    661 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2583358"></a>Use of the Remote Announce Parameter</h3></div></div></div><p>
     661</p></div><div class="sect2" title="Use of the Remote Announce Parameter"><div class="titlepage"><div><div><h3 class="title"><a name="id2589424"></a>Use of the Remote Announce Parameter</h3></div></div></div><p>
    662662The <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE" target="_top">remote announce</a> parameter of <code class="filename">smb.conf</code> can be used to forcibly ensure that all
    663663the NetBIOS names on a network get announced to a remote network.  The syntax of the <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE" target="_top">remote announce</a> parameter is:
    664 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2583403"></a><em class="parameter"><code>remote announce = 192.168.12.23 [172.16.21.255] ...</code></em></td></tr></table><p>
     664</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2589469"></a><em class="parameter"><code>remote announce = 192.168.12.23 [172.16.21.255] ...</code></em></td></tr></table><p>
    665665<span class="emphasis"><em>or</em></span>
    666 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2583424"></a><em class="parameter"><code>remote announce = 192.168.12.23/MIDEARTH [172.16.21.255/ELVINDORF] ...</code></em></td></tr></table><p>
     666</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2589490"></a><em class="parameter"><code>remote announce = 192.168.12.23/MIDEARTH [172.16.21.255/ELVINDORF] ...</code></em></td></tr></table><p>
    667667
    668668where:
    669669</p><div class="variablelist"><dl><dt><span class="term"><em class="replaceable"><code>192.168.12.23</code></em> and <em class="replaceable"><code>172.16.21.255</code></em></span></dt><dd><p>
    670 <a class="indexterm" name="id2583451"></a>
    671 <a class="indexterm" name="id2583461"></a>
     670<a class="indexterm" name="id2589518"></a>
     671<a class="indexterm" name="id2589527"></a>
    672672                is either the LMB IP address or the broadcast address of the remote network.
    673673                That is, the LMB is at 192.168.1.23, or the address could be given as 172.16.21.255 where the netmask
     
    679679                they belong to that workgroup. This may cause name resolution problems and should be avoided.
    680680                </p></dd></dl></div><p>
    681 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2583498"></a>Use of the Remote Browse Sync Parameter</h3></div></div></div><p>
    682 <a class="indexterm" name="id2583505"></a>
    683 <a class="indexterm" name="id2583512"></a>
     681</p></div><div class="sect2" title="Use of the Remote Browse Sync Parameter"><div class="titlepage"><div><div><h3 class="title"><a name="id2589564"></a>Use of the Remote Browse Sync Parameter</h3></div></div></div><p>
     682<a class="indexterm" name="id2589572"></a>
     683<a class="indexterm" name="id2589578"></a>
    684684The <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC" target="_top">remote browse sync</a> parameter of <code class="filename">smb.conf</code> is used to announce to another LMB that
    685685it must synchronize its NetBIOS name list with our Samba LMB. This works only if the Samba server that has
     
    688688The syntax of the <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC" target="_top">remote browse sync</a> parameter is:
    689689
    690 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2583562"></a></td></tr></table><p>
    691 <a class="indexterm" name="id2583568"></a>
    692 <a class="indexterm" name="id2583575"></a>
     690</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2589628"></a></td></tr></table><p>
     691<a class="indexterm" name="id2589634"></a>
     692<a class="indexterm" name="id2589641"></a>
    693693where <em class="replaceable"><code>192.168.10.40</code></em> is either the IP address of the
    694694remote LMB or the network broadcast address of the remote segment.
    695 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2583591"></a>WINS: The Windows Internetworking Name Server</h2></div></div></div><p>
    696 <a class="indexterm" name="id2583599"></a>
    697 <a class="indexterm" name="id2583606"></a>
    698 <a class="indexterm" name="id2583613"></a>
     695</p></div></div><div class="sect1" title="WINS: The Windows Internetworking Name Server"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2589657"></a>WINS: The Windows Internetworking Name Server</h2></div></div></div><p>
     696<a class="indexterm" name="id2589665"></a>
     697<a class="indexterm" name="id2589672"></a>
     698<a class="indexterm" name="id2589679"></a>
    699699Use of WINS (either Samba WINS or MS Windows NT Server WINS) is highly
    700700recommended. Every NetBIOS machine registers its name together with a
     
    705705by registering the server (the type 0x20) name.
    706706</p><p>
    707 <a class="indexterm" name="id2583631"></a>
    708 <a class="indexterm" name="id2583638"></a>
     707<a class="indexterm" name="id2589697"></a>
     708<a class="indexterm" name="id2589704"></a>
    709709All NetBIOS names are up to 15 characters in length. The name_type variable
    710710is added to the end of the name, thus creating a 16 character name. Any
     
    713713name_type information).
    714714</p><p>
    715 <a class="indexterm" name="id2583653"></a>
    716 <a class="indexterm" name="id2583660"></a>
    717 <a class="indexterm" name="id2583667"></a>
    718 <a class="indexterm" name="id2583674"></a>
     715<a class="indexterm" name="id2589720"></a>
     716<a class="indexterm" name="id2589726"></a>
     717<a class="indexterm" name="id2589733"></a>
     718<a class="indexterm" name="id2589740"></a>
    719719WINS can store these 16-character names as they get registered. A client
    720720that wants to log onto the network can ask the WINS server for a list
     
    726726absence of WINS.
    727727</p><p>
    728 <a class="indexterm" name="id2583698"></a>
    729 <a class="indexterm" name="id2583705"></a>
    730 <a class="indexterm" name="id2583712"></a>
    731 <a class="indexterm" name="id2583718"></a>
    732 <a class="indexterm" name="id2583725"></a>
     728<a class="indexterm" name="id2589764"></a>
     729<a class="indexterm" name="id2589771"></a>
     730<a class="indexterm" name="id2589778"></a>
     731<a class="indexterm" name="id2589784"></a>
     732<a class="indexterm" name="id2589791"></a>
    733733WINS also forces browse list synchronization by all LMBs. LMBs must synchronize their browse list with the
    734734DMB, and WINS helps the LMB to identify its DMB. By definition this will work only within a single workgroup.
     
    737737only.
    738738</p><p>
    739 <a class="indexterm" name="id2583742"></a>
    740 <a class="indexterm" name="id2583749"></a>
    741 <a class="indexterm" name="id2583756"></a>
    742 <a class="indexterm" name="id2583763"></a>
     739<a class="indexterm" name="id2589809"></a>
     740<a class="indexterm" name="id2589816"></a>
     741<a class="indexterm" name="id2589823"></a>
     742<a class="indexterm" name="id2589830"></a>
    743743WINS will work correctly only if every client TCP/IP protocol stack
    744744is configured to use the WINS servers. Any client that is not
     
    754754</p><p>
    755755To configure Samba to register with a WINS server, just add <a class="link" href="smb.conf.5.html#WINSSERVER" target="_top">wins server = 10.0.0.18</a> to your <code class="filename">smb.conf</code> file <em class="parameter"><code>[global]</code></em> section.
    756 </p><div class="important" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Important</h3><p>
     756</p><div class="important" title="Important" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Important</h3><p>
    757757Never use <a class="link" href="smb.conf.5.html#WINSSUPPORT" target="_top">wins support = yes</a> together with <a class="link" href="smb.conf.5.html#WINSSERVER" target="_top">wins server = 10.0.0.18</a> particularly not using its own IP address. Specifying both will cause <span class="application">nmbd</span>
    758758to refuse to start!
    759 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2583862"></a>WINS Server Configuration</h3></div></div></div><p>
    760 <a class="indexterm" name="id2583870"></a>
     759</p></div><div class="sect2" title="WINS Server Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="id2589928"></a>WINS Server Configuration</h3></div></div></div><p>
     760<a class="indexterm" name="id2589936"></a>
    761761Either a Samba server or a Windows NT server machine may be set up
    762762as a WINS server. To configure a Samba server to be a WINS server, you must
     
    764764the <em class="parameter"><code>[global]</code></em> section:
    765765</p><p>
    766 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2583901"></a><em class="parameter"><code>wins support = yes</code></em></td></tr></table><p>
    767 </p><p>
    768 <a class="indexterm" name="id2583916"></a>
     766</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2589967"></a><em class="parameter"><code>wins support = yes</code></em></td></tr></table><p>
     767</p><p>
     768<a class="indexterm" name="id2589982"></a>
    769769Versions of Samba prior to 1.9.17 had this parameter default to
    770770yes. If you have any older versions of Samba on your network, it is
    771771strongly suggested you upgrade to a recent version, or at the very
    772 least set the parameter to &#8220;<span class="quote">no</span>&#8221; on all these machines.
     772least set the parameter to <span class="quote">&#8220;<span class="quote">no</span>&#8221;</span> on all these machines.
    773773</p><p>
    774774Machines configured with <a class="link" href="smb.conf.5.html#WINSSUPPORT" target="_top">wins support = yes</a> will keep a list of
    775775all NetBIOS names registered with them, acting as a DNS for NetBIOS names.
    776776</p><p>
    777 <a class="indexterm" name="id2583950"></a>
     777<a class="indexterm" name="id2590017"></a>
    778778It is strongly recommended to set up only one WINS server. Do not set the <a class="link" href="smb.conf.5.html#WINSSUPPORT" target="_top">wins support = yes</a> option on more than one Samba server on a network.
    779779</p><p>
    780 <a class="indexterm" name="id2583974"></a>
    781 <a class="indexterm" name="id2583983"></a>
    782 <a class="indexterm" name="id2583990"></a>
    783 <a class="indexterm" name="id2583996"></a>
    784 <a class="indexterm" name="id2584004"></a>
     780<a class="indexterm" name="id2590040"></a>
     781<a class="indexterm" name="id2590049"></a>
     782<a class="indexterm" name="id2590056"></a>
     783<a class="indexterm" name="id2590063"></a>
     784<a class="indexterm" name="id2590070"></a>
    785785To configure Windows NT/200x Server as a WINS server, install and configure the WINS service. See the Windows
    786786NT/200x documentation for details.  Windows NT/200x WINS servers can replicate to each other, allowing more
     
    790790as a WINS server.  Currently only one Samba server should have the <a class="link" href="smb.conf.5.html#WINSSUPPORT" target="_top">wins support = yes</a> parameter set.
    791791</p><p>
    792 <a class="indexterm" name="id2584036"></a>
    793 <a class="indexterm" name="id2584042"></a>
     792<a class="indexterm" name="id2590102"></a>
     793<a class="indexterm" name="id2590108"></a>
    794794After the WINS server has been configured, you must ensure that all machines participating on the network are
    795795configured with the address of this WINS server. If your WINS server is a Samba machine, fill in the Samba
     
    797797Panel-&gt;Network-&gt;Protocols-&gt;TCP-&gt;WINS Server</span> dialogs in Windows 9x/Me or Windows NT/200x. To tell a
    798798Samba server the IP address of the WINS server, add the following line to the <em class="parameter"><code>[global]</code></em> section of all <code class="filename">smb.conf</code> files:
    799 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2584086"></a><em class="parameter"><code>wins server = &lt;name or IP address&gt;</code></em></td></tr></table><p>
     799</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2590153"></a><em class="parameter"><code>wins server = &lt;name or IP address&gt;</code></em></td></tr></table><p>
    800800where &lt;name or IP address&gt; is either the DNS name of the WINS server
    801801machine or its IP address.
     
    807807<code class="literal">nmbd</code> will fail to start.
    808808</p><p>
    809 <a class="indexterm" name="id2584147"></a>
    810 <a class="indexterm" name="id2584154"></a>
    811 <a class="indexterm" name="id2584161"></a>
    812 <a class="indexterm" name="id2584168"></a>
     809<a class="indexterm" name="id2590214"></a>
     810<a class="indexterm" name="id2590221"></a>
     811<a class="indexterm" name="id2590228"></a>
     812<a class="indexterm" name="id2590234"></a>
    813813There are two possible scenarios for setting up cross-subnet browsing.
    814814The first details setting up cross-subnet browsing on a network containing
     
    816816part of a Windows NT domain. The second details setting up cross-subnet
    817817browsing on networks that contain NT domains.
    818 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2584183"></a>WINS Replication</h3></div></div></div><p>
    819 <a class="indexterm" name="id2584191"></a>
    820 <a class="indexterm" name="id2584200"></a>
     818</p></div><div class="sect2" title="WINS Replication"><div class="titlepage"><div><div><h3 class="title"><a name="id2590249"></a>WINS Replication</h3></div></div></div><p>
     819<a class="indexterm" name="id2590257"></a>
     820<a class="indexterm" name="id2590266"></a>
    821821Samba-3 does not support native WINS replication. There was an approach to implement it, called
    822822<code class="filename">wrepld</code>, but it was never ready for action and the development is now discontinued.
     
    826826<code class="filename">samba4WINS</code> are available at http://ftp.sernet.de/pub/samba4WINS.
    827827
    828 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2584236"></a>Static WINS Entries</h3></div></div></div><p>
    829 <a class="indexterm" name="id2584244"></a>
    830 <a class="indexterm" name="id2584251"></a>
    831 <a class="indexterm" name="id2584258"></a>
    832 <a class="indexterm" name="id2584265"></a>
     828</p></div><div class="sect2" title="Static WINS Entries"><div class="titlepage"><div><div><h3 class="title"><a name="id2590302"></a>Static WINS Entries</h3></div></div></div><p>
     829<a class="indexterm" name="id2590310"></a>
     830<a class="indexterm" name="id2590317"></a>
     831<a class="indexterm" name="id2590324"></a>
     832<a class="indexterm" name="id2590331"></a>
    833833Adding static entries to your Samba WINS server is actually fairly easy.  All you have to do is add a line to
    834834<code class="filename">wins.dat</code>, typically located in <code class="filename">/usr/local/samba/var/locks</code> or <code class="filename">/var/run/samba</code>.
     
    838838"NAME#TYPE" TTL ADDRESS+ FLAGS
    839839</pre><p>
    840 <a class="indexterm" name="id2584310"></a>
    841 <a class="indexterm" name="id2584317"></a>
     840<a class="indexterm" name="id2590377"></a>
     841<a class="indexterm" name="id2590384"></a>
    842842where NAME is the NetBIOS name, TYPE is the NetBIOS type, TTL is the time-to-live as an absolute time in
    843843seconds, ADDRESS+ is one or more addresses corresponding to the registration, and FLAGS are the NetBIOS flags
    844844for the registration.
    845 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     845</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    846846A change that has been made to the <code class="filename">wins.dat</code> will not take effect until <span class="application">nmbd</span> has been
    847847restarted. It should be noted that since the <code class="filename">wins.dat</code> file changes dynamically, <span class="application">nmbd</span>
     
    857857</pre><p>
    858858</p><p>
    859 <a class="indexterm" name="id2584390"></a>
    860 <a class="indexterm" name="id2584397"></a>
    861 <a class="indexterm" name="id2584404"></a>
    862 <a class="indexterm" name="id2584410"></a>
    863 <a class="indexterm" name="id2584417"></a>
    864 <a class="indexterm" name="id2584424"></a>
    865 <a class="indexterm" name="id2584431"></a>
     859<a class="indexterm" name="id2590456"></a>
     860<a class="indexterm" name="id2590463"></a>
     861<a class="indexterm" name="id2590470"></a>
     862<a class="indexterm" name="id2590477"></a>
     863<a class="indexterm" name="id2590484"></a>
     864<a class="indexterm" name="id2590490"></a>
     865<a class="indexterm" name="id2590497"></a>
    866866The NetBIOS flags may be interpreted as additive hexadecimal values: 00 - Broadcast node registration, 20 -
    867867Peer node registration, 40 - Meta node registration, 60 - Hybrid node registration, 02 - Permanent name, 04 -
     
    870870file from the Samba source code repository. These are the values for the NB flags.
    871871</p><p>
    872 <a class="indexterm" name="id2584455"></a>
     872<a class="indexterm" name="id2590521"></a>
    873873Though this method works with early Samba-3 versions, there is a possibility that it may change in future
    874874versions if WINS replication is added.
    875 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2584468"></a>Helpful Hints</h2></div></div></div><p>
     875</p></div></div><div class="sect1" title="Helpful Hints"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2590534"></a>Helpful Hints</h2></div></div></div><p>
    876876The following hints should be carefully considered because they are stumbling points
    877877for many new network administrators.
    878 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2584479"></a>Windows Networking Protocols</h3></div></div></div><p>
    879 <a class="indexterm" name="id2584487"></a>
    880 <a class="indexterm" name="id2584494"></a>
     878</p><div class="sect2" title="Windows Networking Protocols"><div class="titlepage"><div><div><h3 class="title"><a name="id2590545"></a>Windows Networking Protocols</h3></div></div></div><p>
     879<a class="indexterm" name="id2590553"></a>
     880<a class="indexterm" name="id2590560"></a>
    881881A common cause of browsing problems results from the installation of more than one protocol on an MS Windows
    882882machine.
    883 </p><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
     883</p><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
    884884Do not use more than one protocol on MS Windows clients.
    885885</p></div><p>
    886 <a class="indexterm" name="id2584512"></a>
    887 <a class="indexterm" name="id2584518"></a>
     886<a class="indexterm" name="id2590578"></a>
     887<a class="indexterm" name="id2590584"></a>
    888888Every NetBIOS machine takes part in a process of electing the LMB (and DMB)
    889889every 15 minutes. A set of election criteria is used to determine the order
     
    892892win and thus retain its role.
    893893</p><p>
    894 <a class="indexterm" name="id2584534"></a>
    895 <a class="indexterm" name="id2584541"></a>
    896 <a class="indexterm" name="id2584547"></a>
    897 <a class="indexterm" name="id2584554"></a>
    898 <a class="indexterm" name="id2584561"></a>
    899 <a class="indexterm" name="id2584568"></a>
     894<a class="indexterm" name="id2590600"></a>
     895<a class="indexterm" name="id2590607"></a>
     896<a class="indexterm" name="id2590614"></a>
     897<a class="indexterm" name="id2590621"></a>
     898<a class="indexterm" name="id2590627"></a>
     899<a class="indexterm" name="id2590634"></a>
    900900The election process is <span class="emphasis"><em>fought out, so to speak</em></span> over every NetBIOS network interface. In
    901901the case of a Windows 9x/Me machine that has both TCP/IP and IPX installed and has NetBIOS enabled over both
     
    905905cease to function as an LMB, and browse list operation on all TCP/IP-only machines will therefore fail.
    906906</p><p>
    907 <a class="indexterm" name="id2584592"></a>
    908 <a class="indexterm" name="id2584599"></a>
     907<a class="indexterm" name="id2590658"></a>
     908<a class="indexterm" name="id2590665"></a>
    909909Windows 95, 98, 98se, and Me are referred to generically as Windows 9x/Me.  The Windows NT4, 200x, and XP use
    910910common protocols. These are roughly referred to as the Windows NT family, but it should be recognized that
     
    914914</p><p>
    915915The safest rule of all to follow is: Use only one protocol!
    916 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2584620"></a>Name Resolution Order</h3></div></div></div><p>
    917 <a class="indexterm" name="id2584628"></a>
    918 <a class="indexterm" name="id2584635"></a>
     916</p></div><div class="sect2" title="Name Resolution Order"><div class="titlepage"><div><div><h3 class="title"><a name="id2590686"></a>Name Resolution Order</h3></div></div></div><p>
     917<a class="indexterm" name="id2590694"></a>
     918<a class="indexterm" name="id2590701"></a>
    919919Resolution of NetBIOS names to IP addresses can take place using a number
    920920of methods. The only ones that can provide NetBIOS name_type information
    921921are:
    922 </p><div class="itemizedlist"><ul type="disc"><li><p>WINS  the best tool.</p></li><li><p>LMHOSTS  static and hard to maintain.</p></li><li><p>Broadcast  uses UDP and cannot resolve names across remote segments.</p></li></ul></div><p>
     922</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>WINS  the best tool.</p></li><li class="listitem"><p>LMHOSTS  static and hard to maintain.</p></li><li class="listitem"><p>Broadcast  uses UDP and cannot resolve names across remote segments.</p></li></ul></div><p>
    923923Alternative means of name resolution include:
    924 </p><div class="itemizedlist"><ul type="disc"><li><p>Static <code class="filename">/etc/hosts</code>   hard to maintain and lacks name_type info.</p></li><li><p>DNS  is a good choice but lacks essential NetBIOS name_type information.</p></li></ul></div><p>
    925 <a class="indexterm" name="id2584704"></a>
    926 <a class="indexterm" name="id2584710"></a>
     924</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Static <code class="filename">/etc/hosts</code>   hard to maintain and lacks name_type info.</p></li><li class="listitem"><p>DNS  is a good choice but lacks essential NetBIOS name_type information.</p></li></ul></div><p>
     925<a class="indexterm" name="id2590770"></a>
     926<a class="indexterm" name="id2590776"></a>
    927927Many sites want to restrict DNS lookups and avoid broadcast name
    928928resolution traffic. The <em class="parameter"><code>name resolve order</code></em> parameter is of great help here.
    929929The syntax of the <em class="parameter"><code>name resolve order</code></em> parameter is:
    930 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2584737"></a><em class="parameter"><code>name resolve order = wins lmhosts bcast host</code></em></td></tr></table><p>
     930</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2590804"></a><em class="parameter"><code>name resolve order = wins lmhosts bcast host</code></em></td></tr></table><p>
    931931<span class="emphasis"><em>or</em></span>
    932 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2584758"></a><em class="parameter"><code>name resolve order = wins lmhosts          (eliminates bcast and host)</code></em></td></tr></table><p>
     932</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2590825"></a><em class="parameter"><code>name resolve order = wins lmhosts          (eliminates bcast and host)</code></em></td></tr></table><p>
    933933The default is:
    934 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2584777"></a><em class="parameter"><code>name resolve order = host lmhost wins bcast</code></em></td></tr></table><p>
    935 <a class="indexterm" name="id2584789"></a>
    936 where &#8220;<span class="quote">host</span>&#8221; refers to the native methods used by the UNIX system to implement the
     934</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2590843"></a><em class="parameter"><code>name resolve order = host lmhost wins bcast</code></em></td></tr></table><p>
     935<a class="indexterm" name="id2590855"></a>
     936where <span class="quote">&#8220;<span class="quote">host</span>&#8221;</span> refers to the native methods used by the UNIX system to implement the
    937937gethostbyname() function call. This is normally controlled by <code class="filename">/etc/host.conf</code>,
    938938<code class="filename">/etc/nsswitch.conf</code> and <code class="filename">/etc/resolv.conf</code>.
    939 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2584823"></a>Technical Overview of Browsing</h2></div></div></div><p>
    940 <a class="indexterm" name="id2584831"></a>
     939</p></div></div><div class="sect1" title="Technical Overview of Browsing"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2590890"></a>Technical Overview of Browsing</h2></div></div></div><p>
     940<a class="indexterm" name="id2590898"></a>
    941941SMB networking provides a mechanism by which clients can access a list
    942942of machines in a network called <a class="link" href="smb.conf.5.html#BROWSELIST" target="_top">browse list</a>. This list
     
    948948document.
    949949</p><p>
    950 <a class="indexterm" name="id2584861"></a>
    951 <a class="indexterm" name="id2584867"></a>
    952 <a class="indexterm" name="id2584874"></a>
     950<a class="indexterm" name="id2590927"></a>
     951<a class="indexterm" name="id2590934"></a>
     952<a class="indexterm" name="id2590941"></a>
    953953MS Windows 2000 and later versions, as with Samba-3 and later versions, can be
    954954configured to not use NetBIOS over TCP/IP. When configured this way,
     
    957957from SMB machine names to IP addresses does not function correctly.
    958958</p><p>
    959 <a class="indexterm" name="id2584890"></a>
    960 <a class="indexterm" name="id2584897"></a>
     959<a class="indexterm" name="id2590957"></a>
     960<a class="indexterm" name="id2590964"></a>
    961961Where NetBIOS over TCP/IP is enabled, use of a WINS server is highly
    962962recommended to aid the resolution of NetBIOS (SMB) names to IP addresses.
    963963WINS allows remote segment clients to obtain NetBIOS name_type information
    964964that cannot be provided by any other means of name resolution.
    965 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2584910"></a>Browsing Support in Samba</h3></div></div></div><p>
    966 <a class="indexterm" name="id2584918"></a>
    967 <a class="indexterm" name="id2584925"></a>
    968 <a class="indexterm" name="id2584931"></a>
    969 <a class="indexterm" name="id2584938"></a>
     965</p><div class="sect2" title="Browsing Support in Samba"><div class="titlepage"><div><div><h3 class="title"><a name="id2590976"></a>Browsing Support in Samba</h3></div></div></div><p>
     966<a class="indexterm" name="id2590984"></a>
     967<a class="indexterm" name="id2590991"></a>
     968<a class="indexterm" name="id2590998"></a>
     969<a class="indexterm" name="id2591005"></a>
    970970Samba facilitates browsing. The browsing is supported by <span class="application">nmbd</span>
    971971and is also controlled by options in the <code class="filename">smb.conf</code> file.
     
    973973to support domain logons and scripts is now available.
    974974</p><p>
    975 <a class="indexterm" name="id2584963"></a>
    976 <a class="indexterm" name="id2584970"></a>
    977 <a class="indexterm" name="id2584976"></a>
     975<a class="indexterm" name="id2591029"></a>
     976<a class="indexterm" name="id2591036"></a>
     977<a class="indexterm" name="id2591043"></a>
    978978Samba can also act as a DMB for a workgroup. This
    979979means that it will collate lists from LMBs into a
     
    982982both Samba and your clients use a WINS server.
    983983</p><p>
    984 <a class="indexterm" name="id2584991"></a>
     984<a class="indexterm" name="id2591058"></a>
    985985Do not set Samba to be the domain master for a workgroup that has the same
    986986name as an NT Domain. On each wide-area network, you must only ever have one
    987987DMB per workgroup, regardless of whether it is NT, Samba,
    988988or any other type of domain master that is providing this service.
    989 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    990 <a class="indexterm" name="id2585007"></a>
    991 <a class="indexterm" name="id2585014"></a>
     989</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     990<a class="indexterm" name="id2591074"></a>
     991<a class="indexterm" name="id2591080"></a>
    992992<code class="literal">nmbd</code> can be configured as a WINS server, but it is not
    993993necessary to specifically use Samba as your WINS server. MS Windows
     
    998998recommended that you use one and only one Samba server as the WINS server.
    999999</p></div><p>
    1000 <a class="indexterm" name="id2585037"></a>
     1000<a class="indexterm" name="id2591103"></a>
    10011001To get browsing to work, you need to run <code class="literal">nmbd</code> as usual, but must
    10021002use the <a class="link" href="smb.conf.5.html#WORKGROUP" target="_top">workgroup</a> option in <code class="filename">smb.conf</code>
    10031003to control what workgroup Samba becomes a part of.
    10041004</p><p>
    1005 <a class="indexterm" name="id2585073"></a>
     1005<a class="indexterm" name="id2591139"></a>
    10061006Samba also has a useful option for a Samba server to offer itself for browsing on another subnet. It is
    1007 recommended that this option is used only for &#8220;<span class="quote">unusual</span>&#8221; purposes: announcements over the
     1007recommended that this option is used only for <span class="quote">&#8220;<span class="quote">unusual</span>&#8221;</span> purposes: announcements over the
    10081008Internet, for example. See <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE" target="_top">remote announce</a> in the <code class="filename">smb.conf</code> man page.
    1009 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2585107"></a>Problem Resolution</h3></div></div></div><p>
    1010 <a class="indexterm" name="id2585115"></a>
    1011 <a class="indexterm" name="id2585121"></a>
     1009</p></div><div class="sect2" title="Problem Resolution"><div class="titlepage"><div><div><h3 class="title"><a name="id2591173"></a>Problem Resolution</h3></div></div></div><p>
     1010<a class="indexterm" name="id2591181"></a>
     1011<a class="indexterm" name="id2591188"></a>
    10121012If something does not work, the <code class="filename">log.nmbd</code> file will help
    10131013to track down the problem. Try a <a class="link" href="smb.conf.5.html#LOGLEVEL" target="_top">log level</a> of 2 or 3 for finding
     
    10151015in text form in a file called <code class="filename">browse.dat</code>.
    10161016</p><p>
    1017 <a class="indexterm" name="id2585157"></a>
    1018 <a class="indexterm" name="id2585164"></a>
     1017<a class="indexterm" name="id2591224"></a>
     1018<a class="indexterm" name="id2591230"></a>
    10191019If it does not work, you should still be able to
    10201020type the server name as <code class="filename">\\SERVER</code> in <code class="literal">filemanager</code>, then
    10211021press enter, and <code class="literal">filemanager</code> should display the list of available shares.
    10221022</p><p>
    1023 <a class="indexterm" name="id2585194"></a>
    1024 <a class="indexterm" name="id2585201"></a>
     1023<a class="indexterm" name="id2591261"></a>
     1024<a class="indexterm" name="id2591268"></a>
    10251025Some people find browsing fails because they do not have the global
    10261026<a class="link" href="smb.conf.5.html#GUESTACCOUNT" target="_top">guest account</a> set to a valid account. Remember that the
    10271027IPC$ connection that lists the shares is done as guest and so you must have a valid guest account.
    1028 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    1029 <a class="indexterm" name="id2585228"></a>
    1030 <a class="indexterm" name="id2585235"></a>
    1031 <a class="indexterm" name="id2585242"></a>
    1032 <a class="indexterm" name="id2585249"></a>
    1033 <a class="indexterm" name="id2585256"></a>
     1028</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     1029<a class="indexterm" name="id2591295"></a>
     1030<a class="indexterm" name="id2591301"></a>
     1031<a class="indexterm" name="id2591308"></a>
     1032<a class="indexterm" name="id2591315"></a>
     1033<a class="indexterm" name="id2591322"></a>
    10341034The <code class="literal">IPC$</code> share is used by all SMB/CIFS clients to obtain the list of resources that is
    10351035available on the server. This is the source of the list of shares and printers when browsing an SMB/CIFS
     
    10391039connection to the <code class="literal">\\server\share</code>.
    10401040</p></div><p>
    1041 <a class="indexterm" name="id2585292"></a>
    1042 <a class="indexterm" name="id2585299"></a>
    1043 <a class="indexterm" name="id2585306"></a>
    1044 <a class="indexterm" name="id2585313"></a>
     1041<a class="indexterm" name="id2591358"></a>
     1042<a class="indexterm" name="id2591365"></a>
     1043<a class="indexterm" name="id2591372"></a>
     1044<a class="indexterm" name="id2591379"></a>
    10451045MS Windows 2000 and later (as with Samba) can be configured to disallow
    10461046anonymous (i.e., guest account) access to the IPC$ share. In that case, the
     
    10501050server resources.
    10511051</p><p>
    1052 <a class="indexterm" name="id2585330"></a>
     1052<a class="indexterm" name="id2591396"></a>
    10531053The other big problem people have is that their broadcast address,
    10541054netmask, or IP address is wrong (specified with the <a class="link" href="smb.conf.5.html#INTERFACES" target="_top">interfaces</a> option
    10551055in <code class="filename">smb.conf</code>)
    1056 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2585358"></a>Cross-Subnet Browsing</h3></div></div></div><p>
    1057 <a class="indexterm" name="id2585366"></a>
    1058 <a class="indexterm" name="id2585375"></a>
     1056</p></div><div class="sect2" title="Cross-Subnet Browsing"><div class="titlepage"><div><div><h3 class="title"><a name="id2591424"></a>Cross-Subnet Browsing</h3></div></div></div><p>
     1057<a class="indexterm" name="id2591432"></a>
     1058<a class="indexterm" name="id2591442"></a>
    10591059Since the release of Samba 1.9.17 (alpha1), Samba has supported the replication of browse lists across subnet
    10601060boundaries. This section describes how to set this feature up in different settings.
    10611061</p><p>
    1062 <a class="indexterm" name="id2585389"></a>
    1063 <a class="indexterm" name="id2585396"></a>
    1064 <a class="indexterm" name="id2585403"></a>
    1065 <a class="indexterm" name="id2585409"></a>
    1066 <a class="indexterm" name="id2585416"></a>
    1067 <a class="indexterm" name="id2585423"></a>
     1062<a class="indexterm" name="id2591455"></a>
     1063<a class="indexterm" name="id2591462"></a>
     1064<a class="indexterm" name="id2591469"></a>
     1065<a class="indexterm" name="id2591476"></a>
     1066<a class="indexterm" name="id2591483"></a>
     1067<a class="indexterm" name="id2591490"></a>
    10681068To see browse lists that span TCP/IP subnets (i.e., networks separated by routers that do not pass broadcast
    10691069traffic), you must set up at least one WINS server. The WINS server acts as a DNS for NetBIOS names. This will
     
    10771077considered last resort methods.
    10781078</p><p>
    1079 <a class="indexterm" name="id2585460"></a>
    1080 <a class="indexterm" name="id2585467"></a>
    1081 <a class="indexterm" name="id2585474"></a>
    1082 <a class="indexterm" name="id2585481"></a>
     1079<a class="indexterm" name="id2591527"></a>
     1080<a class="indexterm" name="id2591533"></a>
     1081<a class="indexterm" name="id2591540"></a>
     1082<a class="indexterm" name="id2591547"></a>
    10831083Remember, for browsing across subnets to work correctly, all machines, be they Windows 95, Windows NT, or
    10841084Samba servers, must have the IP address of a WINS server given to them by a DHCP server or by manual
     
    10861086settings; for Samba, this is in the <code class="filename">smb.conf</code> file.
    10871087</p><p>
    1088 <a class="indexterm" name="id2585503"></a>
    1089 <a class="indexterm" name="id2585510"></a>
    1090 <a class="indexterm" name="id2585516"></a>
     1088<a class="indexterm" name="id2591569"></a>
     1089<a class="indexterm" name="id2591576"></a>
     1090<a class="indexterm" name="id2591583"></a>
    10911091It is possible to operate Samba-3 without NetBIOS over TCP/IP. If you do this, be warned that if used outside
    10921092of MS ADS, this will forgo network browsing support. ADS permits network browsing support through DNS,
    10931093providing appropriate DNS records are inserted for all Samba servers.
    1094 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2585529"></a>Behavior of Cross-Subnet Browsing</h4></div></div></div><p>
    1095 <a class="indexterm" name="id2585537"></a>
    1096 <a class="indexterm" name="id2585544"></a>
     1094</p><div class="sect3" title="Behavior of Cross-Subnet Browsing"><div class="titlepage"><div><div><h4 class="title"><a name="id2591595"></a>Behavior of Cross-Subnet Browsing</h4></div></div></div><p>
     1095<a class="indexterm" name="id2591604"></a>
     1096<a class="indexterm" name="id2591611"></a>
    10971097Cross-subnet browsing is a complicated dance, containing multiple moving parts. It has taken Microsoft several
    10981098years to get the code that correctly achieves this, and Samba lags behind in some areas.  Samba is capable of
     
    11011101Consider a network set up as in <a class="link" href="NetworkBrowsing.html#browsing1" title="Figure 10.1. Cross-Subnet Browsing Example.">Cross-Subnet Browsing Example</a>.
    11021102</p><div class="figure"><a name="browsing1"></a><p class="title"><b>Figure 10.1. Cross-Subnet Browsing Example.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/browsing1.png" width="216" alt="Cross-Subnet Browsing Example."></div></div></div><br class="figure-break"><p>
    1103 <a class="indexterm" name="id2585612"></a>
    1104 <a class="indexterm" name="id2585618"></a>
    1105 <a class="indexterm" name="id2585625"></a>
     1103<a class="indexterm" name="id2591678"></a>
     1104<a class="indexterm" name="id2591685"></a>
     1105<a class="indexterm" name="id2591691"></a>
    11061106This consists of three subnets (1, 2, 3) connected by two routers (R1, R2), which do not pass broadcasts.
    11071107Subnet 1 has five machines on it, subnet 2 has four machines, and subnet 3 has four machines. Assume for the
     
    11111111it.
    11121112</p><p>
    1113 <a class="indexterm" name="id2585644"></a>
    1114 <a class="indexterm" name="id2585651"></a>
    1115 <a class="indexterm" name="id2585658"></a>
     1113<a class="indexterm" name="id2591711"></a>
     1114<a class="indexterm" name="id2591718"></a>
     1115<a class="indexterm" name="id2591724"></a>
    11161116As these machines are booted up, elections for master browsers
    11171117take place on each of the three subnets. Assume that machine
     
    11211121LMB on subnet 1 because it is set up as DMB.
    11221122</p><p>
    1123 <a class="indexterm" name="id2585673"></a>
    1124 <a class="indexterm" name="id2585680"></a>
     1123<a class="indexterm" name="id2591740"></a>
     1124<a class="indexterm" name="id2591746"></a>
    11251125On each of the three networks, machines that are configured to offer sharing services will broadcast that they
    11261126are offering these services. The LMB on each subnet will receive these broadcasts and keep a record of the
     
    11291129list.
    11301130</p><p>
    1131 <a class="indexterm" name="id2585697"></a>
    1132 <a class="indexterm" name="id2585704"></a>
    1133 <a class="indexterm" name="id2585711"></a>
    1134 <a class="indexterm" name="id2585718"></a>
    1135 <a class="indexterm" name="id2585724"></a>
     1131<a class="indexterm" name="id2591764"></a>
     1132<a class="indexterm" name="id2591770"></a>
     1133<a class="indexterm" name="id2591777"></a>
     1134<a class="indexterm" name="id2591784"></a>
     1135<a class="indexterm" name="id2591791"></a>
    11361136For each network, the LMB on that network is
    11371137considered <span class="emphasis"><em>authoritative</em></span> for all the names it receives via
     
    11441144called <span class="emphasis"><em>non-authoritative.</em></span>
    11451145</p><p>
    1146 <a class="indexterm" name="id2585756"></a>
     1146<a class="indexterm" name="id2591822"></a>
    11471147At this point the browse lists appear as shown in <a class="link" href="NetworkBrowsing.html#browsubnet" title="Table 10.1. Browse Subnet Example 1">Browse Subnet Example 1</a>
    11481148(these are the machines you would see in your network neighborhood if you looked in it on a particular network
     
    11531153At this point all the subnets are separate, and no machine is seen across any of the subnets.
    11541154</p><p>
    1155 <a class="indexterm" name="id2585850"></a>
    1156 <a class="indexterm" name="id2585857"></a>
    1157 <a class="indexterm" name="id2585863"></a>
    1158 <a class="indexterm" name="id2585870"></a>
     1155<a class="indexterm" name="id2591916"></a>
     1156<a class="indexterm" name="id2591923"></a>
     1157<a class="indexterm" name="id2591930"></a>
     1158<a class="indexterm" name="id2591936"></a>
    11591159Now examine subnet 2 in <a class="link" href="NetworkBrowsing.html#brsbex" title="Table 10.2. Browse Subnet Example 2">Browse Subnet Example 2</a>.  As soon as N2_B has become the
    11601160LMB, it looks for a DMB with which to synchronize its browse list. It does this by querying the WINS server
     
    11621162the DMB (N1_C) with the WINS server as soon as it was started.
    11631163</p><p>
    1164 <a class="indexterm" name="id2585896"></a>
    1165 <a class="indexterm" name="id2585902"></a>
    1166 <a class="indexterm" name="id2585909"></a>
    1167 <a class="indexterm" name="id2585916"></a>
     1164<a class="indexterm" name="id2591962"></a>
     1165<a class="indexterm" name="id2591969"></a>
     1166<a class="indexterm" name="id2591976"></a>
     1167<a class="indexterm" name="id2591983"></a>
    11681168Once N2_B knows the address of the DMB, it tells the DMB that it is the LMB
    11691169for subnet 2 by sending the DMB a
     
    11781178N2_A(*), N2_B(*), N2_C(*), N2_D(*)</td></tr><tr><td align="left">Subnet2</td><td align="left">N2_B</td><td align="justify">N2_A, N2_B, N2_C, N2_D, N1_A(*),
    11791179N1_B(*), N1_C(*), N1_D(*), N1_E(*)</td></tr><tr><td align="left">Subnet3</td><td align="left">N3_D</td><td align="justify">N3_A, N3_B, N3_C, N3_D</td></tr></tbody></table></div></div><br class="table-break"><p>
    1180 <a class="indexterm" name="id2586031"></a>
     1180<a class="indexterm" name="id2592097"></a>
    11811181Servers with an (*) after them are non-authoritative names.
    11821182</p><p>
    1183 <a class="indexterm" name="id2586042"></a>
     1183<a class="indexterm" name="id2592108"></a>
    11841184At this point users looking in their Network Neighborhood on subnets 1 or 2 will see all the servers on both;
    11851185users on subnet 3 will still see only the servers on their own subnet.
    11861186</p><p>
    1187 <a class="indexterm" name="id2586056"></a>
     1187<a class="indexterm" name="id2592122"></a>
    11881188The same sequence of events that occurred for N2_B now occurs for the LMB on subnet 3 (N3_D). When it
    11891189synchronizes browse lists with the DMB (N1_A) it gets both the server entries on subnet 1 and those on subnet
     
    11991199subnet 2 will still see only the servers on subnets 1 and 2, but not 3.
    12001200</p><p>
    1201 <a class="indexterm" name="id2586172"></a>
    1202 <a class="indexterm" name="id2586179"></a>
    1203 <a class="indexterm" name="id2586185"></a>
     1201<a class="indexterm" name="id2592239"></a>
     1202<a class="indexterm" name="id2592245"></a>
     1203<a class="indexterm" name="id2592252"></a>
    12041204Finally, the LMB for subnet 2 (N2_B) will sync again
    12051205with the DMB (N1_C) and will receive the missing
     
    12211221</p><p>
    12221222If either router R1 or R2 fails, the following will occur:
    1223 </p><div class="orderedlist"><ol type="1"><li><p>
    1224 <a class="indexterm" name="id2586315"></a>
     1223</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
     1224<a class="indexterm" name="id2592382"></a>
    12251225        Names of computers on each side of the inaccessible network fragments
    12261226        will be maintained for as long as 36 minutes in the Network Neighborhood
    12271227        lists.
    1228         </p></li><li><p>
     1228        </p></li><li class="listitem"><p>
    12291229        Attempts to connect to these inaccessible computers will fail, but the
    12301230        names will not be removed from the Network Neighborhood lists.
    1231         </p></li><li><p>
    1232 <a class="indexterm" name="id2586340"></a>
    1233 <a class="indexterm" name="id2586347"></a>
    1234 <a class="indexterm" name="id2586354"></a>
     1231        </p></li><li class="listitem"><p>
     1232<a class="indexterm" name="id2592406"></a>
     1233<a class="indexterm" name="id2592413"></a>
     1234<a class="indexterm" name="id2592420"></a>
    12351235        If one of the fragments is cut off from the WINS server, it will only
    12361236        be able to access servers on its local subnet using subnet-isolated
    12371237        broadcast NetBIOS name resolution. The effect is similar to that of
    12381238        losing access to a DNS server.
    1239         </p></li></ol></div></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2586371"></a>Common Errors</h2></div></div></div><p>
    1240 <a class="indexterm" name="id2586379"></a>
    1241 <a class="indexterm" name="id2586386"></a>
     1239        </p></li></ol></div></div></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2592438"></a>Common Errors</h2></div></div></div><p>
     1240<a class="indexterm" name="id2592446"></a>
     1241<a class="indexterm" name="id2592452"></a>
    12421242Many questions are asked on the mailing lists regarding browsing. The majority of browsing
    12431243problems originate from incorrect configuration of NetBIOS name resolution. Some are of
    12441244particular note.
    1245 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2586398"></a>Flushing the Samba NetBIOS Name Cache</h3></div></div></div><p>
     1245</p><div class="sect2" title="Flushing the Samba NetBIOS Name Cache"><div class="titlepage"><div><div><h3 class="title"><a name="id2592464"></a>Flushing the Samba NetBIOS Name Cache</h3></div></div></div><p>
    12461246How Can One Flush the Samba NetBIOS Name Cache without Restarting Samba?
    12471247</p><p>
    1248 <a class="indexterm" name="id2586410"></a>
    1249 <a class="indexterm" name="id2586417"></a>
    1250 <a class="indexterm" name="id2586424"></a>
    1251 <a class="indexterm" name="id2586431"></a>
     1248<a class="indexterm" name="id2592477"></a>
     1249<a class="indexterm" name="id2592484"></a>
     1250<a class="indexterm" name="id2592490"></a>
     1251<a class="indexterm" name="id2592497"></a>
    12521252Samba's <code class="literal">nmbd</code> process controls all browse list handling. Under normal circumstances it is
    12531253safe to restart <code class="literal">nmbd</code>. This will effectively flush the Samba NetBIOS name cache and cause it
     
    12591259other thing you can do is wait until the entry times out and is then flushed from the list.
    12601260This may take a long time on some networks (perhaps months).
    1261 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2586471"></a>Server Resources Cannot Be Listed</h3></div></div></div><p>&#8220;<span class="quote">My Client Reports "&#8216;<span class="quote">This server is not configured to list shared resources."</span>&#8217;</span>&#8221;</p><p>
     1261</p></div><div class="sect2" title="Server Resources Cannot Be Listed"><div class="titlepage"><div><div><h3 class="title"><a name="id2592537"></a>Server Resources Cannot Be Listed</h3></div></div></div><p><span class="quote">&#8220;<span class="quote">My Client Reports "<span class="quote">&#8216;<span class="quote">This server is not configured to list shared resources."</span>&#8217;</span></span>&#8221;</span></p><p>
    12621262Your guest account is probably invalid for some reason. Samba uses the
    12631263guest account for browsing in <code class="literal">smbd</code>. Check that your guest account is
    12641264valid.
    1265 </p><p>Also see <a class="link" href="smb.conf.5.html#GUESTACCOUNT" target="_top">guest account</a> in the <code class="filename">smb.conf</code> man page.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2586519"></a>I Get an "<span class="errorname">Unable to browse the network</span>" Error</h3></div></div></div><p>This error can have multiple causes:
    1266 <a class="indexterm" name="id2586531"></a>
    1267         </p><div class="itemizedlist"><ul type="disc"><li><p>There is no LMB. Configure <span class="application">nmbd</span>
    1268                         or any other machine to serve as LMB.</p></li><li><p>You cannot log onto the machine that is the LMB.
    1269                         Can you log on to it as a guest user? </p></li><li><p>There is no IP connectivity to the LMB.
    1270                         Can you reach it by broadcast?</p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2586566"></a>Browsing of Shares and Directories is Very Slow</h3></div></div></div><p>&#8220;<span class="quote">
    1271 <a class="indexterm" name="id2586575"></a>
     1265</p><p>Also see <a class="link" href="smb.conf.5.html#GUESTACCOUNT" target="_top">guest account</a> in the <code class="filename">smb.conf</code> man page.</p></div><div class="sect2" title='I Get an "Unable to browse the network" Error'><div class="titlepage"><div><div><h3 class="title"><a name="id2592585"></a>I Get an "<span class="errorname">Unable to browse the network</span>" Error</h3></div></div></div><p>This error can have multiple causes:
     1266<a class="indexterm" name="id2592597"></a>
     1267        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>There is no LMB. Configure <span class="application">nmbd</span>
     1268                        or any other machine to serve as LMB.</p></li><li class="listitem"><p>You cannot log onto the machine that is the LMB.
     1269                        Can you log on to it as a guest user? </p></li><li class="listitem"><p>There is no IP connectivity to the LMB.
     1270                        Can you reach it by broadcast?</p></li></ul></div></div><div class="sect2" title="Browsing of Shares and Directories is Very Slow"><div class="titlepage"><div><div><h3 class="title"><a name="id2592632"></a>Browsing of Shares and Directories is Very Slow</h3></div></div></div><p><span class="quote">&#8220;<span class="quote">
     1271<a class="indexterm" name="id2592642"></a>
    12721272There are only two machines on a test network. One is a Samba server, the other a Windows XP machine.
    12731273Authentication and logons work perfectly, but when I try to explore shares on the Samba server, the
    12741274Windows XP client becomes unresponsive. Sometimes it does not respond for some minutes. Eventually,
    12751275Windows Explorer will respond and displays files and directories without problem.
    1276 </span>&#8221;
    1277 </p><p>&#8220;<span class="quote">
    1278 <a class="indexterm" name="id2586594"></a>
     1276</span>&#8221;</span>
     1277</p><p><span class="quote">&#8220;<span class="quote">
     1278<a class="indexterm" name="id2592660"></a>
    12791279But, the share is immediately available from a command shell (<code class="literal">cmd</code>, followed by
    12801280exploration with DOS command. Is this a Samba problem, or is it a Windows problem? How can I solve this?
    1281 </span>&#8221;</p><p>
     1281</span>&#8221;</span></p><p>
    12821282Here are a few possibilities:
    12831283</p><div class="variablelist"><dl><dt><span class="term">Bad Networking Hardware</span></dt><dd><p>
    1284 <a class="indexterm" name="id2586626"></a>
    1285 <a class="indexterm" name="id2586632"></a>
    1286 <a class="indexterm" name="id2586639"></a>
    1287 <a class="indexterm" name="id2586646"></a>
    1288 <a class="indexterm" name="id2586653"></a>
     1284<a class="indexterm" name="id2592692"></a>
     1285<a class="indexterm" name="id2592699"></a>
     1286<a class="indexterm" name="id2592706"></a>
     1287<a class="indexterm" name="id2592713"></a>
     1288<a class="indexterm" name="id2592720"></a>
    12891289                Most common defective hardware problems center around low cost or defective hubs, routers,
    12901290                network interface controllers (NICs), and bad wiring. If one piece of hardware is defective,
     
    12931293                but not all.
    12941294                </p></dd><dt><span class="term">The Windows XP WebClient</span></dt><dd><p>
    1295 <a class="indexterm" name="id2586678"></a>
     1295<a class="indexterm" name="id2592744"></a>
    12961296                A number of sites have reported similar slow network browsing problems and found that when
    12971297                the WebClient service is turned off, the problem disappears. This is certainly something
    12981298                that should be explored because it is a simple solution  if it works.
    12991299                </p></dd><dt><span class="term">Inconsistent WINS Configuration</span></dt><dd><p>
    1300 <a class="indexterm" name="id2586704"></a>
    1301 <a class="indexterm" name="id2586710"></a>
     1300<a class="indexterm" name="id2592770"></a>
     1301<a class="indexterm" name="id2592777"></a>
    13021302                This type of problem is common when one client is configured to use a WINS server (that is
    13031303                a TCP/IP configuration setting) and there is no WINS server on the network. Alternatively,
     
    13071307                server, nor should it be configured to use one.
    13081308                </p></dd><dt><span class="term">Incorrect DNS Configuration</span></dt><dd><p>
    1309 <a class="indexterm" name="id2586737"></a>
    1310 <a class="indexterm" name="id2586744"></a>
     1309<a class="indexterm" name="id2592804"></a>
     1310<a class="indexterm" name="id2592810"></a>
    13111311                If use of NetBIOS over TCP/IP is disabled, Active Directory is in use and the DNS server
    13121312                has been incorrectly configured. For further information refer to
    13131313                <a class="link" href="NetworkBrowsing.html#adsdnstech" title="DNS and Active Directory">DNS and Active Directory</a>.
    1314                 </p></dd></dl></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2586766"></a>Invalid Cached Share References Affects Network Browsing</h3></div></div></div><p>
    1315 <a class="indexterm" name="id2586774"></a>
    1316 <a class="indexterm" name="id2586781"></a>
     1314                </p></dd></dl></div></div><div class="sect2" title="Invalid Cached Share References Affects Network Browsing"><div class="titlepage"><div><div><h3 class="title"><a name="id2592832"></a>Invalid Cached Share References Affects Network Browsing</h3></div></div></div><p>
     1315<a class="indexterm" name="id2592840"></a>
     1316<a class="indexterm" name="id2592847"></a>
    13171317Cached references on your MS Windows client (workstation or server) to shares or servers that no longer exist
    13181318can cause MS Windows Explorer to appear unresponsive as it tries to connect to these shares. After a delay
     
    13271327and earlier). Remove all keys named <code class="literal">\\server\share</code> (where 'server' and 'share' refer to a
    13281328non-existent server or share).
    1329 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     1329</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    13301330Removal of stale network links needs to be done on a per-user basis. Alternately, you can delete the
    13311331shortcuts from the MS Windows Explorer in <code class="literal">My Network Places</code> just by right-clicking them and
    13321332selecting <span class="emphasis"><em>Delete.</em></span>
    13331333</p></div><p>
    1334 <a class="indexterm" name="id2586854"></a>
     1334<a class="indexterm" name="id2592920"></a>
    13351335Samba users have reported that these stale references negatively affect network browsing with Windows, Samba,
    13361336and Novell servers. It is suspected to be a universal problem not directly related to the Samba
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/Other-Clients.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 44. Samba and Other CIFS Clients</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="Portability.html" title="Chapter 43. Portability"><link rel="next" href="speed.html" title="Chapter 45. Samba Performance Tuning"></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 44. Samba and Other CIFS Clients</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Portability.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="speed.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="Other-Clients"></a>Chapter 44. Samba and Other CIFS Clients</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Dan</span> <span class="orgname">Samba Team</span> <span class="surname">Shearer</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:dan@samba.org">dan@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jim</span> <span class="orgname">IBM</span> <span class="surname">McDonough</span></h3><span class="contrib">OS/2</span> <div class="affiliation"><span class="orgname">IBM<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jmcd@us.ibm.com">jmcd@us.ibm.com</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">5 Mar 2001</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="Other-Clients.html#id2689706">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2689790">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2689796">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2689915">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2689972">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690065">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2690071">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690154">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690180">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690238">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690270">Use TCP/IP as Default Protocol</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#speedimpr">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690327">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2690396">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690417">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2690613">Windows NT 3.1</a></span></dt></dl></div><p>This chapter contains client-specific information.</p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2689706"></a>Macintosh Clients</h2></div></div></div><p>
    2 <a class="indexterm" name="id2689714"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 44. Samba and Other CIFS Clients</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="Portability.html" title="Chapter 43. Portability"><link rel="next" href="speed.html" title="Chapter 45. Samba Performance Tuning"></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 44. Samba and Other CIFS Clients</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Portability.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="speed.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 44. Samba and Other CIFS Clients"><div class="titlepage"><div><div><h2 class="title"><a name="Other-Clients"></a>Chapter 44. Samba and Other CIFS Clients</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Dan</span> <span class="surname">Shearer</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:dan@samba.org">dan@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jim</span> <span class="surname">McDonough</span></h3><span class="contrib">OS/2</span> <div class="affiliation"><span class="orgname">IBM<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jmcd@us.ibm.com">jmcd@us.ibm.com</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">5 Mar 2001</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="Other-Clients.html#id2695763">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2695847">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2695852">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2695972">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696028">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2696122">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2696128">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696211">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696237">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696295">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696326">Use TCP/IP as Default Protocol</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#speedimpr">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2696384">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2696453">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2696474">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2696670">Windows NT 3.1</a></span></dt></dl></div><p>This chapter contains client-specific information.</p><div class="sect1" title="Macintosh Clients"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2695763"></a>Macintosh Clients</h2></div></div></div><p>
     2<a class="indexterm" name="id2695770"></a>
    33Yes. <a class="ulink" href="http://www.thursby.com/" target="_top">Thursby</a> has a CIFS client/server called <a class="ulink" href="http://www.thursby.com/products/dave.html" target="_top">DAVE</a>.  They test it against Windows 95, Windows
    44NT/200x/XP, and Samba for compatibility issues. At the time of this writing, DAVE was at version 5.1. Please
    55refer to Thursby's Web site for more information regarding this product.
    66</p><p>
    7 <a class="indexterm" name="id2689741"></a>
    8 <a class="indexterm" name="id2689748"></a>
     7<a class="indexterm" name="id2695798"></a>
     8<a class="indexterm" name="id2695804"></a>
    99Alternatives include two free implementations of AppleTalk for several kinds of UNIX machines and several more
    1010commercial ones.  These products allow you to run file services and print services natively to Macintosh
     
    1212packages offer to Macs.  For more info on these packages, Samba, and Linux (and other UNIX-based systems), see
    1313<a class="ulink" href="http://www.eats.com/linux_mac_win.html" target="_top">http://www.eats.com/linux_mac_win.html.</a>
    14 </p><p>Newer versions of the Macintosh (Mac OS X) include Samba.</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2689790"></a>OS2 Client</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2689796"></a>Configuring OS/2 Warp Connect or OS/2 Warp 4</h3></div></div></div><p>Basically, you need three components:</p><div class="itemizedlist"><ul type="disc"><li><p>The File and Print Client (IBM peer)</p></li><li><p>TCP/IP (Internet support) </p></li><li><p>The &#8220;<span class="quote">NetBIOS over TCP/IP</span>&#8221; driver (TCPBEUI)</p></li></ul></div><p>Installing the first two together with the base operating
     14</p><p>Newer versions of the Macintosh (Mac OS X) include Samba.</p></div><div class="sect1" title="OS2 Client"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2695847"></a>OS2 Client</h2></div></div></div><div class="sect2" title="Configuring OS/2 Warp Connect or OS/2 Warp 4"><div class="titlepage"><div><div><h3 class="title"><a name="id2695852"></a>Configuring OS/2 Warp Connect or OS/2 Warp 4</h3></div></div></div><p>Basically, you need three components:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>The File and Print Client (IBM peer)</p></li><li class="listitem"><p>TCP/IP (Internet support) </p></li><li class="listitem"><p>The <span class="quote">&#8220;<span class="quote">NetBIOS over TCP/IP</span>&#8221;</span> driver (TCPBEUI)</p></li></ul></div><p>Installing the first two together with the base operating
    1515                system on a blank system is explained in the Warp manual. If Warp
    1616                has already been installed, but you now want to install the
    17                 networking support, use the &#8220;<span class="quote">Selective Install for Networking</span>&#8221;
    18                 object in the &#8220;<span class="quote">System Setup</span>&#8221; folder.</p><p>Adding the &#8220;<span class="quote">NetBIOS over TCP/IP</span>&#8221; driver is not described
     17                networking support, use the <span class="quote">&#8220;<span class="quote">Selective Install for Networking</span>&#8221;</span>
     18                object in the <span class="quote">&#8220;<span class="quote">System Setup</span>&#8221;</span> folder.</p><p>Adding the <span class="quote">&#8220;<span class="quote">NetBIOS over TCP/IP</span>&#8221;</span> driver is not described
    1919                in the manual and just barely in the online documentation. Start
    2020                <code class="literal">MPTS.EXE</code>, click on <span class="guiicon">OK</span>, click on <span class="guimenu">Configure LAPS</span>, and click
     
    2727                Nameserver in IBM and RFC terminology). For Warp Connect, you
    2828                may need to download an update for <code class="constant">IBM Peer</code> to bring it on
    29                 the same level as Warp 4. See the IBM OS/2 Warp Web page</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2689915"></a>Configuring Other Versions of OS/2</h3></div></div></div><p>This sections deals with configuring OS/2 Warp 3 (not Connect), OS/2 1.2, 1.3 or 2.x.</p><p>You can use the free Microsoft LAN Manager 2.2c Client for OS/2 that is
     29                the same level as Warp 4. See the IBM OS/2 Warp Web page</p></div><div class="sect2" title="Configuring Other Versions of OS/2"><div class="titlepage"><div><div><h3 class="title"><a name="id2695972"></a>Configuring Other Versions of OS/2</h3></div></div></div><p>This sections deals with configuring OS/2 Warp 3 (not Connect), OS/2 1.2, 1.3 or 2.x.</p><p>You can use the free Microsoft LAN Manager 2.2c Client for OS/2 that is
    3030                available from
    3131                <a class="ulink" href="ftp://ftp.microsoft.com/BusSys/Clients/LANMAN.OS2/" target="_top">
     
    3838                Try the NE2000 or NS2000 driver from <a class="ulink" href="ftp://ftp.cdrom.com/pub/os2/network/ndis/" target="_top">
    3939                ftp://ftp.cdrom.com/pub/os2/network/ndis/</a> instead.
    40                 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2689972"></a>Printer Driver Download for OS/2 Clients</h3></div></div></div><p>Create a share called <em class="parameter"><code>[PRINTDRV]</code></em> that is
     40                </p></div><div class="sect2" title="Printer Driver Download for OS/2 Clients"><div class="titlepage"><div><div><h3 class="title"><a name="id2696028"></a>Printer Driver Download for OS/2 Clients</h3></div></div></div><p>Create a share called <em class="parameter"><code>[PRINTDRV]</code></em> that is
    4141                world-readable. Copy your OS/2 driver files there. The <code class="filename">.EA_</code>
    4242                files must still be separate, so you will need to use the original install files
     
    5151                will work. This is fixed simply by adding the device name
    5252                 to the mapping, after which it will work on the first attempt.
    53                 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2690065"></a>Windows for Workgroups</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2690071"></a>Latest TCP/IP Stack from Microsoft</h3></div></div></div><p>Use the latest TCP/IP stack from Microsoft if you use Windows
     53                </p></div></div><div class="sect1" title="Windows for Workgroups"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2696122"></a>Windows for Workgroups</h2></div></div></div><div class="sect2" title="Latest TCP/IP Stack from Microsoft"><div class="titlepage"><div><div><h3 class="title"><a name="id2696128"></a>Latest TCP/IP Stack from Microsoft</h3></div></div></div><p>Use the latest TCP/IP stack from Microsoft if you use Windows
    5454for Workgroups. The early TCP/IP stacks had lots of bugs.</p><p>
    5555Microsoft has released an incremental upgrade to its TCP/IP 32-bit VxD drivers. The latest release can be
     
    6161</p><p>
    6262More information about this patch is available in <a class="ulink" href="http://support.microsoft.com/kb/q99891/" target="_top">Knowledge Base article 99891</a>.
    63 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2690154"></a>Delete .pwl Files After Password Change</h3></div></div></div><p>
     63</p></div><div class="sect2" title="Delete .pwl Files After Password Change"><div class="titlepage"><div><div><h3 class="title"><a name="id2696211"></a>Delete .pwl Files After Password Change</h3></div></div></div><p>
    6464Windows for Workgroups does a lousy job with passwords. When you change passwords on either
    6565the UNIX box or the PC, the safest thing to do is delete the .pwl files in the Windows
     
    7171</p><p>
    7272Often Windows for Workgroups will totally ignore a password you give it in a dialog box.
    73 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2690180"></a>Configuring Windows for Workgroups Password Handling</h3></div></div></div><p>
    74 <a class="indexterm" name="id2690189"></a>
     73</p></div><div class="sect2" title="Configuring Windows for Workgroups Password Handling"><div class="titlepage"><div><div><h3 class="title"><a name="id2696237"></a>Configuring Windows for Workgroups Password Handling</h3></div></div></div><p>
     74<a class="indexterm" name="id2696245"></a>
    7575There is a program call <code class="filename">admincfg.exe</code> on the last disk (disk 8) of the WFW 3.11 disk set.
    7676To install it, type <strong class="userinput"><code>EXPAND A:\ADMINCFG.EX_ C:\WINDOWS\ADMINCFG.EXE</code></strong>.  Then add an icon
    7777for it via the <span class="application">Program Manager</span> <span class="guimenu">New</span> menu.  This program allows
    7878you to control how WFW handles passwords, Disable Password Caching and so on, for use with <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = user</a>.
    79 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2690238"></a>Password Case Sensitivity</h3></div></div></div><p>Windows for Workgroups uppercases the password before sending it to the server.
     79</p></div><div class="sect2" title="Password Case Sensitivity"><div class="titlepage"><div><div><h3 class="title"><a name="id2696295"></a>Password Case Sensitivity</h3></div></div></div><p>Windows for Workgroups uppercases the password before sending it to the server.
    8080UNIX passwords can be case-sensitive though. Check the <code class="filename">smb.conf</code> information on
    8181<a class="link" href="smb.conf.5.html#PASSWORDLEVEL" target="_top">password level</a> to specify what characters
    82 Samba should try to uppercase when checking.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2690270"></a>Use TCP/IP as Default Protocol</h3></div></div></div><p>To support print queue reporting, you may find
     82Samba should try to uppercase when checking.</p></div><div class="sect2" title="Use TCP/IP as Default Protocol"><div class="titlepage"><div><div><h3 class="title"><a name="id2696326"></a>Use TCP/IP as Default Protocol</h3></div></div></div><p>To support print queue reporting, you may find
    8383that you have to use TCP/IP as the default protocol under
    8484Windows for Workgroups. For some reason, if you leave NetBEUI as the default,
    8585it may break the print queue reporting on some systems.
    86 It is presumably a Windows for Workgroups bug.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="speedimpr"></a>Speed Improvement</h3></div></div></div><p>
     86It is presumably a Windows for Workgroups bug.</p></div><div class="sect2" title="Speed Improvement"><div class="titlepage"><div><div><h3 class="title"><a name="speedimpr"></a>Speed Improvement</h3></div></div></div><p>
    8787Note that some people have found that setting <em class="parameter"><code>DefaultRcvWindow</code></em> in
    8888the <em class="parameter"><code>[MSTCP]</code></em> section of the
     
    9595person even reported a speed drop of a factor of 30 when he went from
    96963072 to 8192.
    97 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2690327"></a>Windows 95/98</h2></div></div></div><p>
     97</p></div></div><div class="sect1" title="Windows 95/98"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2696384"></a>Windows 95/98</h2></div></div></div><p>
    9898When using Windows 95 OEM SR2, the following updates are recommended where Samba
    9999is being used. Please note that the changes documented in
     
    104104Microsoft Web site for all currently available updates to your specific version
    105105of Windows 95.
    106 </p><table class="simplelist" border="0" summary="Simple list"><tr><td>Kernel Update: KRNLUPD.EXE</td></tr><tr><td>Ping Fix: PINGUPD.EXE</td></tr><tr><td>RPC Update: RPCRTUPD.EXE</td></tr><tr><td>TCP/IP Update: VIPUPD.EXE</td></tr><tr><td>Redirector Update: VRDRUPD.EXE</td></tr></table><p>
     106</p><table border="0" summary="Simple list" class="simplelist"><tr><td>Kernel Update: KRNLUPD.EXE</td></tr><tr><td>Ping Fix: PINGUPD.EXE</td></tr><tr><td>RPC Update: RPCRTUPD.EXE</td></tr><tr><td>TCP/IP Update: VIPUPD.EXE</td></tr><tr><td>Redirector Update: VRDRUPD.EXE</td></tr></table><p>
    107107Also, if using <span class="application">MS Outlook,</span> it is desirable to
    108108install the <code class="literal">OLEUPD.EXE</code> fix. This
     
    110110Outlook, and you may notice a significant speedup when accessing network
    111111neighborhood services.
    112 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2690396"></a>Speed Improvement</h3></div></div></div><p>
     112</p><div class="sect2" title="Speed Improvement"><div class="titlepage"><div><div><h3 class="title"><a name="id2696453"></a>Speed Improvement</h3></div></div></div><p>
    113113Configure the Windows 95 TCP/IP registry settings to give better
    114114performance. I use a program called <code class="literal">MTUSPEED.exe</code> that I got off the
    115115Internet. There are various other utilities of this type freely available.
    116 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2690417"></a>Windows 2000 Service Pack 2</h2></div></div></div><p>
     116</p></div></div><div class="sect1" title="Windows 2000 Service Pack 2"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2696474"></a>Windows 2000 Service Pack 2</h2></div></div></div><p>
    117117There are several annoyances with Windows 2000 SP2, one of which
    118118only appears when using a Samba server to host user profiles
     
    134134</p><p>
    135135<a class="link" href="Other-Clients.html#minimalprofile" title="Example 44.1. Minimal Profile Share">Following example</a> provides a minimal profile share.
    136 </p><div class="example"><a name="minimalprofile"></a><p class="title"><b>Example 44.1. Minimal Profile Share</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[profile]</code></em></td></tr><tr><td><a class="indexterm" name="id2690508"></a><em class="parameter"><code>path = /export/profile</code></em></td></tr><tr><td><a class="indexterm" name="id2690520"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2690531"></a><em class="parameter"><code>directory mask = 0700</code></em></td></tr><tr><td><a class="indexterm" name="id2690543"></a><em class="parameter"><code>nt acl support = no</code></em></td></tr><tr><td><a class="indexterm" name="id2690555"></a><em class="parameter"><code>read only = no</code></em></td></tr></table></div></div><br class="example-break"><p>
     136</p><div class="example"><a name="minimalprofile"></a><p class="title"><b>Example 44.1. Minimal Profile Share</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[profile]</code></em></td></tr><tr><td><a class="indexterm" name="id2696565"></a><em class="parameter"><code>path = /export/profile</code></em></td></tr><tr><td><a class="indexterm" name="id2696576"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2696588"></a><em class="parameter"><code>directory mask = 0700</code></em></td></tr><tr><td><a class="indexterm" name="id2696600"></a><em class="parameter"><code>nt acl support = no</code></em></td></tr><tr><td><a class="indexterm" name="id2696611"></a><em class="parameter"><code>read only = no</code></em></td></tr></table></div></div><br class="example-break"><p>
    137137The reason for this bug is that the Windows 200x SP2 client copies
    138138the security descriptor for the profile that contains
     
    145145the Windows 200x client a response to the QuerySecurityDescriptor trans2 call, which causes the client
    146146to set a default ACL for the profile. This default ACL includes:
    147 </p><p><span class="emphasis"><em>DOMAIN\user   &#8220;<span class="quote">Full Control</span>&#8221;</em></span>&gt;</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This bug does not occur when using Winbind to
    148 create accounts on the Samba host for Domain users.</p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2690613"></a>Windows NT 3.1</h2></div></div></div><p>If you have problems communicating across routers with Windows
     147</p><p><span class="emphasis"><em>DOMAIN\user   <span class="quote">&#8220;<span class="quote">Full Control</span>&#8221;</span></em></span>&gt;</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This bug does not occur when using Winbind to
     148create accounts on the Samba host for Domain users.</p></div></div><div class="sect1" title="Windows NT 3.1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2696670"></a>Windows NT 3.1</h2></div></div></div><p>If you have problems communicating across routers with Windows
    149149NT 3.1 workstations, read <a class="ulink" href="http://support.microsoft.com/default.aspx?scid=kb;Q103765" target="_top">this Microsoft Knowledge Base article:</a>.
    150150
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/PolicyMgmt.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 26. System and Account Policies</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="AdvancedNetworkManagement.html" title="Chapter 25. Advanced Network Management"><link rel="next" href="ProfileMgmt.html" title="Chapter 27. Desktop Profile Management"></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 26. System and Account Policies</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="AdvancedNetworkManagement.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="ProfileMgmt.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="PolicyMgmt"></a>Chapter 26. System and Account Policies</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">April 3 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="PolicyMgmt.html#id2658804">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2659098">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2660133">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2660146">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2660228">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2660268">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2660333">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2660490">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2660502">Policy Does Not Work</a></span></dt></dl></dd></dl></div><p>
    2 <a class="indexterm" name="id2658790"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 26. System and Account Policies</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="AdvancedNetworkManagement.html" title="Chapter 25. Advanced Network Management"><link rel="next" href="ProfileMgmt.html" title="Chapter 27. Desktop Profile Management"></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 26. System and Account Policies</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="AdvancedNetworkManagement.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="ProfileMgmt.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 26. System and Account Policies"><div class="titlepage"><div><div><h2 class="title"><a name="PolicyMgmt"></a>Chapter 26. System and Account Policies</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">April 3 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="PolicyMgmt.html#id2664856">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2665151">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2666185">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2666198">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2666280">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2666320">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2666385">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2666542">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2666554">Policy Does Not Work</a></span></dt></dl></dd></dl></div><p>
     2<a class="indexterm" name="id2664842"></a>
    33This chapter summarizes the current state of knowledge derived from personal
    44practice and knowledge from Samba mailing list subscribers. Before reproduction
     
    66Where additional information was uncovered through this validation, it is provided
    77also.
    8 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2658804"></a>Features and Benefits</h2></div></div></div><p>
    9 <a class="indexterm" name="id2658812"></a>
    10 <a class="indexterm" name="id2658819"></a>
    11 <a class="indexterm" name="id2658826"></a>
     8</p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2664856"></a>Features and Benefits</h2></div></div></div><p>
     9<a class="indexterm" name="id2664864"></a>
     10<a class="indexterm" name="id2664871"></a>
     11<a class="indexterm" name="id2664878"></a>
    1212When MS Windows NT 3.5 was introduced, the hot new topic was the ability to implement
    1313Group Policies for users and groups. Then along came MS Windows NT4 and a few sites
    14 started to adopt this capability. How do we know that? By the number of &#8220;<span class="quote">boo-boos</span>&#8221;
     14started to adopt this capability. How do we know that? By the number of <span class="quote">&#8220;<span class="quote">boo-boos</span>&#8221;</span>
    1515(or mistakes) administrators made and then requested help to resolve.
    1616</p><p>
    17 <a class="indexterm" name="id2658844"></a>
    18 <a class="indexterm" name="id2658851"></a>
    19 <a class="indexterm" name="id2658861"></a>
    20 <a class="indexterm" name="id2658867"></a>
    21 <a class="indexterm" name="id2658874"></a>
     17<a class="indexterm" name="id2664897"></a>
     18<a class="indexterm" name="id2664904"></a>
     19<a class="indexterm" name="id2664913"></a>
     20<a class="indexterm" name="id2664920"></a>
     21<a class="indexterm" name="id2664926"></a>
    2222By the time that MS Windows 2000 and Active Directory was released, administrators
    2323got the message: Group Policies are a good thing! They can help reduce administrative
     
    2828how to replicate them in a Samba environment.
    2929</p><p>
    30 <a class="indexterm" name="id2658896"></a>
     30<a class="indexterm" name="id2664948"></a>
    3131Judging by the traffic volume since mid 2002, GPOs have become a standard part of
    3232the deployment in many sites. This chapter reviews techniques and methods that can
    3333be used to exploit opportunities for automation of control over user desktops and
    3434network client workstations.
    35 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2658910"></a>Creating and Managing System Policies</h2></div></div></div><p>
    36 <a class="indexterm" name="id2658918"></a>
    37 <a class="indexterm" name="id2658925"></a>
    38 <a class="indexterm" name="id2658932"></a>
    39 <a class="indexterm" name="id2658938"></a>
     35</p></div><div class="sect1" title="Creating and Managing System Policies"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2664962"></a>Creating and Managing System Policies</h2></div></div></div><p>
     36<a class="indexterm" name="id2664970"></a>
     37<a class="indexterm" name="id2664977"></a>
     38<a class="indexterm" name="id2664984"></a>
     39<a class="indexterm" name="id2664990"></a>
    4040Under MS Windows platforms, particularly those following the release of MS Windows
    4141NT4 and MS Windows 95, it is possible to create a type of file that would be placed
     
    4545affect users, groups of users, or machines.
    4646</p><p>
    47 <a class="indexterm" name="id2658956"></a>
    48 <a class="indexterm" name="id2658963"></a>
    49 <a class="indexterm" name="id2658970"></a>
     47<a class="indexterm" name="id2665008"></a>
     48<a class="indexterm" name="id2665015"></a>
     49<a class="indexterm" name="id2665022"></a>
    5050For MS Windows 9x/Me, this file must be called <code class="filename">Config.POL</code> and may
    5151be generated using a tool called <code class="filename">poledit.exe</code>, better known as the
     
    5555a part of the MS Windows Me Resource Kit.
    5656</p><p>
    57 <a class="indexterm" name="id2658998"></a>
     57<a class="indexterm" name="id2665050"></a>
    5858MS Windows NT4 server products include the <span class="emphasis"><em>System Policy Editor</em></span>
    5959under <span class="guimenu">Start -&gt; Programs -&gt; Administrative Tools</span>.
    6060For MS Windows NT4 and later clients, this file must be called <code class="filename">NTConfig.POL</code>.
    6161</p><p>
    62 <a class="indexterm" name="id2659027"></a>
     62<a class="indexterm" name="id2665079"></a>
    6363New with the introduction of MS Windows 2000 was the Microsoft Management Console
    6464or MMC. This tool is the new wave in the ever-changing landscape of Microsoft
     
    6868be a step forward, but improved functionality comes at a great price.
    6969</p><p>
    70 <a class="indexterm" name="id2659045"></a>
    71 <a class="indexterm" name="id2659052"></a>
    72 <a class="indexterm" name="id2659059"></a>
    73 <a class="indexterm" name="id2659066"></a>
     70<a class="indexterm" name="id2665097"></a>
     71<a class="indexterm" name="id2665104"></a>
     72<a class="indexterm" name="id2665111"></a>
     73<a class="indexterm" name="id2665118"></a>
    7474Before embarking on the configuration of network and system policies, it is highly
    7575advisable to read the documentation available from Microsoft's Web site regarding
     
    7777Implementing Profiles and Policies in Windows NT 4.0</a>.
    7878There are a large number of documents in addition to this old one that should also
    79 be read and understood. Try searching on the Microsoft Web site for &#8220;<span class="quote">Group Policies</span>&#8221;.
     79be read and understood. Try searching on the Microsoft Web site for <span class="quote">&#8220;<span class="quote">Group Policies</span>&#8221;</span>.
    8080</p><p>
    8181What follows is a brief discussion with some helpful notes. The information provided
    8282here is incomplete  you are warned.
    83 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2659098"></a>Windows 9x/ME Policies</h3></div></div></div><p>
    84 <a class="indexterm" name="id2659106"></a>
    85 <a class="indexterm" name="id2659113"></a>
     83</p><div class="sect2" title="Windows 9x/ME Policies"><div class="titlepage"><div><div><h3 class="title"><a name="id2665151"></a>Windows 9x/ME Policies</h3></div></div></div><p>
     84<a class="indexterm" name="id2665159"></a>
     85<a class="indexterm" name="id2665165"></a>
    8686        You need the Windows 98 Group Policy Editor to set up Group Profiles under Windows 9x/Me.
    8787        It can be found on the original full-product Windows 98 installation CD-ROM under
     
    8989        Add/Remove Programs facility, and then click on <span class="guiicon">Have Disk</span>.
    9090        </p><p>
    91 <a class="indexterm" name="id2659140"></a>
    92 <a class="indexterm" name="id2659147"></a>
     91<a class="indexterm" name="id2665192"></a>
     92<a class="indexterm" name="id2665199"></a>
    9393        Use the Group Policy Editor to create a policy file that specifies the location of
    9494        user profiles and/or <code class="filename">My Documents</code>, and so on. Then save these
     
    100100        Further details are covered in the Windows 98 Resource Kit documentation.
    101101        </p><p>
    102 <a class="indexterm" name="id2659186"></a>
     102<a class="indexterm" name="id2665238"></a>
    103103        If you do not take the correct steps, then every so often Windows 9x/Me will check the
    104104        integrity of the registry and restore its settings from the backup
     
    106106        occasionally notice things changing back to the original settings.
    107107        </p><p>
    108 <a class="indexterm" name="id2659201"></a>
    109 <a class="indexterm" name="id2659208"></a>
     108<a class="indexterm" name="id2665253"></a>
     109<a class="indexterm" name="id2665260"></a>
    110110        Install the Group Policy handler for Windows 9x/Me to pick up Group Policies. Look on the
    111111        Windows 98 CD-ROM in <code class="filename">\tools\reskit\netadmin\poledit</code>.
     
    114114        if Windows 98 picks up Group Policies. Unfortunately, this needs to be done on every
    115115        Windows 9x/Me machine that uses Group Policies.
    116         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2659235"></a>Windows NT4-Style Policy Files</h3></div></div></div><p>
    117 <a class="indexterm" name="id2659244"></a>
    118 <a class="indexterm" name="id2659250"></a>
    119 <a class="indexterm" name="id2659257"></a>
    120 <a class="indexterm" name="id2659264"></a>
     116        </p></div><div class="sect2" title="Windows NT4-Style Policy Files"><div class="titlepage"><div><div><h3 class="title"><a name="id2665288"></a>Windows NT4-Style Policy Files</h3></div></div></div><p>
     117<a class="indexterm" name="id2665296"></a>
     118<a class="indexterm" name="id2665303"></a>
     119<a class="indexterm" name="id2665309"></a>
     120<a class="indexterm" name="id2665316"></a>
    121121        To create or edit <code class="filename">ntconfig.pol</code>, you must use the NT Server
    122122        Policy Editor, <code class="literal">poledit.exe</code>, which is included with NT4 Server
     
    127127        the NT Server will run happily enough on an NT4 workstation.
    128128        </p><p>
    129 <a class="indexterm" name="id2659294"></a>
    130 <a class="indexterm" name="id2659301"></a>
    131 <a class="indexterm" name="id2659308"></a>
    132 <a class="indexterm" name="id2659314"></a>
     129<a class="indexterm" name="id2665346"></a>
     130<a class="indexterm" name="id2665353"></a>
     131<a class="indexterm" name="id2665360"></a>
     132<a class="indexterm" name="id2665367"></a>
    133133        You need <code class="filename">poledit.exe</code>, <code class="filename">common.adm</code>, and <code class="filename">winnt.adm</code>.
    134134        It is convenient to put the two <code class="filename">*.adm</code> files in  the <code class="filename">c:\winnt\inf</code>
    135135        directory, which is where the binary will look for them unless told otherwise. This
    136         directory is normally &#8220;<span class="quote">hidden.</span>&#8221;
    137         </p><p>
    138 <a class="indexterm" name="id2659360"></a>
    139 <a class="indexterm" name="id2659367"></a>
    140 <a class="indexterm" name="id2659374"></a>
    141 <a class="indexterm" name="id2659381"></a>
     136        directory is normally <span class="quote">&#8220;<span class="quote">hidden.</span>&#8221;</span>
     137        </p><p>
     138<a class="indexterm" name="id2665413"></a>
     139<a class="indexterm" name="id2665420"></a>
     140<a class="indexterm" name="id2665426"></a>
     141<a class="indexterm" name="id2665433"></a>
    142142        The Windows NT Policy Editor is also included with the Service Pack 3 (and
    143143        later) for Windows NT 4.0. Extract the files using <code class="literal">servicepackname /x</code>
     
    147147        files for Office97 and get a copy of the Policy Editor. Another possible
    148148        location is with the Zero Administration Kit available for download from Microsoft.
    149         </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2659418"></a>Registry Spoiling</h4></div></div></div><p>
    150 <a class="indexterm" name="id2659425"></a>
    151 <a class="indexterm" name="id2659432"></a>
     149        </p><div class="sect3" title="Registry Spoiling"><div class="titlepage"><div><div><h4 class="title"><a name="id2665470"></a>Registry Spoiling</h4></div></div></div><p>
     150<a class="indexterm" name="id2665478"></a>
     151<a class="indexterm" name="id2665484"></a>
    152152                        With NT4-style registry-based policy changes, a large number of settings are not
    153153                        automatically reversed as the user logs off. The settings that were in the
     
    156156                        as tattooing. It can have serious consequences downstream, and the administrator must
    157157                        be extremely careful not to lock out the ability to manage the machine at a later date.
    158                         </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2659457"></a>MS Windows 200x/XP Professional Policies</h3></div></div></div><p>
    159 <a class="indexterm" name="id2659465"></a>
     158                        </p></div></div><div class="sect2" title="MS Windows 200x/XP Professional Policies"><div class="titlepage"><div><div><h3 class="title"><a name="id2665509"></a>MS Windows 200x/XP Professional Policies</h3></div></div></div><p>
     159<a class="indexterm" name="id2665517"></a>
    160160        Windows NT4 system policies allow the setting of registry parameters specific to
    161161        users, groups, and computers (client workstations) that are members of the NT4-style
     
    166166        to create them is different, and the mechanism for implementing them is much improved.
    167167        </p><p>
    168         <a class="indexterm" name="id2659487"></a>
    169 <a class="indexterm" name="id2659494"></a>
     168        <a class="indexterm" name="id2665540"></a>
     169<a class="indexterm" name="id2665546"></a>
    170170        The older NT4-style registry-based policies are known as <span class="emphasis"><em>Administrative Templates</em></span>
    171171        in MS Windows 2000/XP GPOs. The latter includes the ability to set various security
     
    176176        users and/or groups.
    177177        </p><p>
    178 <a class="indexterm" name="id2659523"></a>
    179 <a class="indexterm" name="id2659530"></a>
    180 <a class="indexterm" name="id2659537"></a>
     178<a class="indexterm" name="id2665575"></a>
     179<a class="indexterm" name="id2665582"></a>
     180<a class="indexterm" name="id2665589"></a>
    181181        Remember, NT4 policy files are named <code class="filename">NTConfig.POL</code> and are stored in the root
    182182        of the NETLOGON share on the domain controllers. A Windows NT4 user enters a username and password
     
    185185        the authenticating server and modifies the local registry values according to the settings in this file.
    186186        </p><p>
    187 <a class="indexterm" name="id2659566"></a>
    188 <a class="indexterm" name="id2659573"></a>
    189 <a class="indexterm" name="id2659580"></a>
    190 <a class="indexterm" name="id2659587"></a>
    191 <a class="indexterm" name="id2659593"></a>
    192 <a class="indexterm" name="id2659600"></a>
    193 <a class="indexterm" name="id2659610"></a>
    194 <a class="indexterm" name="id2659620"></a>
     187<a class="indexterm" name="id2665619"></a>
     188<a class="indexterm" name="id2665625"></a>
     189<a class="indexterm" name="id2665632"></a>
     190<a class="indexterm" name="id2665639"></a>
     191<a class="indexterm" name="id2665646"></a>
     192<a class="indexterm" name="id2665652"></a>
     193<a class="indexterm" name="id2665662"></a>
     194<a class="indexterm" name="id2665672"></a>
    195195        Windows 200x GPOs are feature-rich. They are not stored in the NETLOGON share, but rather part of
    196196        a Windows 200x policy file is stored in the Active Directory itself and the other part is stored
     
    200200        known as the Group Policy Template (GPT).
    201201        </p><p>
    202 <a class="indexterm" name="id2659639"></a>
     202<a class="indexterm" name="id2665691"></a>
    203203        With NT4 clients, the policy file is read and executed only as each user logs onto the network.
    204204        MS Windows 200x policies are much more complex  GPOs are processed and applied at client machine
     
    208208        the administrator to also set filters over the policy settings. No such equivalent capability
    209209        exists with NT4-style policy files.
    210         </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2659660"></a>Administration of Windows 200x/XP Policies</h4></div></div></div><p>
    211                 <a class="indexterm" name="id2659669"></a>
    212                 <a class="indexterm" name="id2659675"></a>
    213 <a class="indexterm" name="id2659682"></a>
    214 <a class="indexterm" name="id2659689"></a>
    215 <a class="indexterm" name="id2659696"></a>
     210        </p><div class="sect3" title="Administration of Windows 200x/XP Policies"><div class="titlepage"><div><div><h4 class="title"><a name="id2665713"></a>Administration of Windows 200x/XP Policies</h4></div></div></div><p>
     211                <a class="indexterm" name="id2665721"></a>
     212                <a class="indexterm" name="id2665727"></a>
     213<a class="indexterm" name="id2665734"></a>
     214<a class="indexterm" name="id2665741"></a>
     215<a class="indexterm" name="id2665748"></a>
    216216                Instead of using the tool called <span class="application">the System Policy Editor</span>, commonly called Poledit (from the
    217217                executable name <code class="literal">poledit.exe</code>), <acronym class="acronym">GPOs</acronym> are created and managed using a
    218                 <span class="application">Microsoft Management Console</span> <acronym class="acronym">(MMC)</acronym> snap-in as follows:</p><div class="procedure"><ol type="1"><li><p>
     218                <span class="application">Microsoft Management Console</span> <acronym class="acronym">(MMC)</acronym> snap-in as follows:</p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    219219                        Go to the Windows 200x/XP menu <span class="guimenu">Start-&gt;Programs-&gt;Administrative Tools</span>
    220220                        and select the MMC snap-in called <span class="guimenuitem">Active Directory Users and Computers</span>
    221                         </p></li><li><p>
    222 <a class="indexterm" name="id2659760"></a>
     221                        </p></li><li class="step" title="Step 2"><p>
     222<a class="indexterm" name="id2665812"></a>
    223223                        Select the domain or organizational unit (OU) that you wish to manage, then right-click
    224224                        to open the context menu for that object, and select the <span class="guibutton">Properties</span>.
    225                         </p></li><li><p>
     225                        </p></li><li class="step" title="Step 3"><p>
    226226                        Left-click on the <span class="guilabel">Group Policy</span> tab, then
    227227                        left-click on the New tab. Type a name
    228228                        for the new policy you will create.
    229                         </p></li><li><p>
     229                        </p></li><li class="step" title="Step 4"><p>
    230230                         Left-click on the <span class="guilabel">Edit</span> tab to commence the steps needed to create the GPO.
    231231                        </p></li></ol></div><p>
     
    237237                refer to the Microsoft Windows Resource Kit for your particular
    238238                version of MS Windows.
    239                 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    240 <a class="indexterm" name="id2659825"></a>
    241 <a class="indexterm" name="id2659832"></a>
    242 <a class="indexterm" name="id2659839"></a>
     239                </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     240<a class="indexterm" name="id2665878"></a>
     241<a class="indexterm" name="id2665884"></a>
     242<a class="indexterm" name="id2665891"></a>
    243243                The MS Windows 2000 Resource Kit contains a tool called <code class="literal">gpolmig.exe</code>. This tool can be used
    244244                to migrate an NT4 <code class="filename">NTConfig.POL</code> file into a Windows 200x style GPO. Be VERY careful how you
    245245                use this powerful tool. Please refer to the resource kit manuals for specific usage information.
    246                 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2659866"></a>Custom System Policy Templates</h4></div></div></div><p>
     246                </p></div></div><div class="sect3" title="Custom System Policy Templates"><div class="titlepage"><div><div><h4 class="title"><a name="id2665918"></a>Custom System Policy Templates</h4></div></div></div><p>
    247247                Over the past year, there has been a bit of talk regarding the creation of customized
    248248                templates for the Windows Sytem Policy Editor. A recent announcement on the Samba mailing
     
    257257                For further information please see the <a class="ulink" href="http://www.pcc-services.com/custom_poledit.html" target="_top">Petersen</a> Computer Consulting web site. There is
    258258                a download link for the template file.
    259                 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2659906"></a>Managing Account/User Policies</h2></div></div></div><p>
    260 <a class="indexterm" name="id2659914"></a>
    261 <a class="indexterm" name="id2659921"></a>
    262 <a class="indexterm" name="id2659928"></a>
     259                </p></div></div></div><div class="sect1" title="Managing Account/User Policies"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2665958"></a>Managing Account/User Policies</h2></div></div></div><p>
     260<a class="indexterm" name="id2665966"></a>
     261<a class="indexterm" name="id2665973"></a>
     262<a class="indexterm" name="id2665980"></a>
    263263Policies can define a specific user's settings or the settings for a group of users. The resulting
    264264policy file contains the registry settings for all users, groups, and computers that will be using
    265265the policy file. Separate policy files for each user, group, or computer are not necessary.
    266266</p><p>
    267 <a class="indexterm" name="id2659943"></a>
     267<a class="indexterm" name="id2665995"></a>
    268268If you create a policy that will be automatically downloaded from validating domain controllers,
    269269you should name the file <code class="filename">NTConfig.POL</code>. As system administrator, you have the option of renaming the
     
    273273but if a change is necessary to all machines, it must be made individually to each workstation.
    274274</p><p>
    275 <a class="indexterm" name="id2659969"></a>
    276 <a class="indexterm" name="id2659976"></a>
     275<a class="indexterm" name="id2666021"></a>
     276<a class="indexterm" name="id2666028"></a>
    277277When a Windows NT4/200x/XP machine logs onto the network, the client looks in the NETLOGON share on
    278278the authenticating domain controller for the presence of the <code class="filename">NTConfig.POL</code> file. If one exists, it is
    279279downloaded, parsed, and then applied to the user's part of the registry.
    280280</p><p>
    281 <a class="indexterm" name="id2659997"></a>
    282 <a class="indexterm" name="id2660003"></a>
    283 <a class="indexterm" name="id2660010"></a>
    284 <a class="indexterm" name="id2660017"></a>
     281<a class="indexterm" name="id2666049"></a>
     282<a class="indexterm" name="id2666056"></a>
     283<a class="indexterm" name="id2666062"></a>
     284<a class="indexterm" name="id2666069"></a>
    285285MS Windows 200x/XP clients that log onto an MS Windows Active Directory security domain may additionally
    286286acquire policy settings through GPOs that are defined and stored in Active Directory
     
    288288This has considerable advantage compared with the use of <code class="filename">NTConfig.POL</code> (NT4) style policy updates.
    289289</p><p>
    290 <a class="indexterm" name="id2660043"></a>
    291 <a class="indexterm" name="id2660050"></a>
     290<a class="indexterm" name="id2666095"></a>
     291<a class="indexterm" name="id2666102"></a>
    292292In addition to user access controls that may be imposed or applied via system and/or group policies
    293293in a manner that works in conjunction with user profiles, the user management environment under
     
    295295Common restrictions that are frequently used include:
    296296</p><p>
    297 <a class="indexterm" name="id2660066"></a>
    298 </p><div class="itemizedlist"><ul type="disc"><li><p>Logon hours</p></li><li><p>Password aging</p></li><li><p>Permitted logon from certain machines only</p></li><li><p>Account type (local or global)</p></li><li><p>User rights</p></li></ul></div><p>
    299 </p><p>
    300 <a class="indexterm" name="id2660103"></a>
    301 <a class="indexterm" name="id2660110"></a>
     297<a class="indexterm" name="id2666118"></a>
     298</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Logon hours</p></li><li class="listitem"><p>Password aging</p></li><li class="listitem"><p>Permitted logon from certain machines only</p></li><li class="listitem"><p>Account type (local or global)</p></li><li class="listitem"><p>User rights</p></li></ul></div><p>
     299</p><p>
     300<a class="indexterm" name="id2666155"></a>
     301<a class="indexterm" name="id2666162"></a>
    302302Samba-3.0.20 does not yet implement all account controls that are common to MS Windows NT4/200x/XP.
    303303While it is possible to set many controls using the Domain User Manager for MS Windows NT4, only password
     
    305305that may eventually be completed to provide actual control. Do not be misled by the fact that a
    306306parameter can be set using the NT4 Domain User Manager or in the <code class="filename">NTConfig.POL</code>.
    307 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2660133"></a>Management Tools</h2></div></div></div><p>
     307</p></div><div class="sect1" title="Management Tools"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2666185"></a>Management Tools</h2></div></div></div><p>
    308308Anyone who wishes to create or manage Group Policies will need to be familiar with a number of tools.
    309309The following sections describe a few key tools that will help you to create a low-maintenance user
    310310environment.
    311 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2660146"></a>Samba Editreg Toolset</h3></div></div></div><p>
    312         <a class="indexterm" name="id2660154"></a>
    313         <a class="indexterm" name="id2660160"></a>
    314         <a class="indexterm" name="id2660167"></a>
     311</p><div class="sect2" title="Samba Editreg Toolset"><div class="titlepage"><div><div><h3 class="title"><a name="id2666198"></a>Samba Editreg Toolset</h3></div></div></div><p>
     312        <a class="indexterm" name="id2666206"></a>
     313        <a class="indexterm" name="id2666212"></a>
     314        <a class="indexterm" name="id2666219"></a>
    315315        A new tool called <code class="literal">editreg</code> is under development. This tool can be used
    316316        to edit registry files (called <code class="filename">NTUser.DAT</code>) that are stored in user
     
    321321        to realize this capability, so do not be surprised if this feature does not materialize. Formal
    322322        capabilities will be announced at the time that this tool is released for production use.
    323         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2660228"></a>Windows NT4/200x</h3></div></div></div><p>
    324 <a class="indexterm" name="id2660236"></a>
    325 <a class="indexterm" name="id2660242"></a>
    326 <a class="indexterm" name="id2660249"></a>
     323        </p></div><div class="sect2" title="Windows NT4/200x"><div class="titlepage"><div><div><h3 class="title"><a name="id2666280"></a>Windows NT4/200x</h3></div></div></div><p>
     324<a class="indexterm" name="id2666288"></a>
     325<a class="indexterm" name="id2666295"></a>
     326<a class="indexterm" name="id2666302"></a>
    327327        The tools that may be used to configure these types of controls from the MS Windows environment are
    328328        the NT4 User Manager for Domains, the NT4 System and Group Policy Editor, and the Registry Editor (regedt32.exe).
    329329        Under MS Windows 200x/XP, this is done using the MMC with appropriate
    330         &#8220;<span class="quote">snap-ins,</span>&#8221; the registry editor, and potentially also the NT4 System and Group Policy Editor.
    331         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2660268"></a>Samba PDC</h3></div></div></div><p>
    332 <a class="indexterm" name="id2660276"></a>
    333 <a class="indexterm" name="id2660283"></a>
    334 <a class="indexterm" name="id2660289"></a>
    335 <a class="indexterm" name="id2660296"></a>
     330        <span class="quote">&#8220;<span class="quote">snap-ins,</span>&#8221;</span> the registry editor, and potentially also the NT4 System and Group Policy Editor.
     331        </p></div><div class="sect2" title="Samba PDC"><div class="titlepage"><div><div><h3 class="title"><a name="id2666320"></a>Samba PDC</h3></div></div></div><p>
     332<a class="indexterm" name="id2666328"></a>
     333<a class="indexterm" name="id2666335"></a>
     334<a class="indexterm" name="id2666342"></a>
     335<a class="indexterm" name="id2666348"></a>
    336336        With a Samba domain controller, the new tools for managing user account and policy information include:
    337337        <code class="literal">smbpasswd</code>, <code class="literal">pdbedit</code>, <code class="literal">net</code>, and <code class="literal">rpcclient</code>.
    338338        The administrator should read the man pages for these tools and become familiar with their use.
    339         </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2660333"></a>System Startup and Logon Processing Overview</h2></div></div></div><p>
     339        </p></div></div><div class="sect1" title="System Startup and Logon Processing Overview"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2666385"></a>System Startup and Logon Processing Overview</h2></div></div></div><p>
    340340The following attempts to document the order of processing the system and user policies following a system
    341341reboot and as part of the user logon:
    342 </p><div class="orderedlist"><ol type="1"><li><p>
    343 <a class="indexterm" name="id2660354"></a>
    344 <a class="indexterm" name="id2660364"></a>
     342</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
     343<a class="indexterm" name="id2666407"></a>
     344<a class="indexterm" name="id2666416"></a>
    345345        Network starts, then Remote Procedure Call System Service (RPCSS) and multiple universal naming
    346346        convention provider (MUP) start.
    347         </p></li><li><p>
    348 <a class="indexterm" name="id2660381"></a>
    349 <a class="indexterm" name="id2660387"></a>
     347        </p></li><li class="listitem"><p>
     348<a class="indexterm" name="id2666433"></a>
     349<a class="indexterm" name="id2666440"></a>
    350350        Where Active Directory is involved, an ordered list of GPOs is downloaded
    351351        and applied. The list may include GPOs that:
    352 </p><div class="itemizedlist"><ul type="disc"><li><p>Apply to the location of machines in a directory.</p></li><li><p>Apply only when settings have changed.</p></li><li><p>Depend on configuration of the scope of applicability: local,
     352</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Apply to the location of machines in a directory.</p></li><li class="listitem"><p>Apply only when settings have changed.</p></li><li class="listitem"><p>Depend on configuration of the scope of applicability: local,
    353353        site, domain, organizational unit, and so on.</p></li></ul></div><p>
    354354        No desktop user interface is presented until the above have been processed.
    355         </p></li><li><p>
     355        </p></li><li class="listitem"><p>
    356356        Execution of startup scripts (hidden and synchronous by default).
    357         </p></li><li><p>
     357        </p></li><li class="listitem"><p>
    358358        A keyboard action to effect start of logon (Ctrl-Alt-Del).
    359         </p></li><li><p>
     359        </p></li><li class="listitem"><p>
    360360        User credentials are validated, user profile is loaded (depends on policy settings).
    361         </p></li><li><p>
     361        </p></li><li class="listitem"><p>
    362362        An ordered list of user GPOs is obtained. The list contents depends on what is configured in respect of:
    363363
    364 </p><div class="itemizedlist"><ul type="disc"><li><p>Is the user a domain member, thus subject to particular policies?</p></li><li><p>Loopback enablement, and the state of the loopback policy (merge or replace).</p></li><li><p>Location of the Active Directory itself.</p></li><li><p>Has the list of GPOs changed? No processing is needed if not changed.</p></li></ul></div><p>
    365         </p></li><li><p>
     364</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Is the user a domain member, thus subject to particular policies?</p></li><li class="listitem"><p>Loopback enablement, and the state of the loopback policy (merge or replace).</p></li><li class="listitem"><p>Location of the Active Directory itself.</p></li><li class="listitem"><p>Has the list of GPOs changed? No processing is needed if not changed.</p></li></ul></div><p>
     365        </p></li><li class="listitem"><p>
    366366        User policies are applied from Active Directory. Note: There are several types.
    367         </p></li><li><p>
     367        </p></li><li class="listitem"><p>
    368368        Logon scripts are run. New to Windows 200x and Active Directory, logon scripts may be obtained based on GPOs
    369369        (hidden and executed synchronously). NT4-style logon scripts are then run in a normal
    370370        window.
    371         </p></li><li><p>
     371        </p></li><li class="listitem"><p>
    372372        The user interface as determined from the GPOs is presented. Note: In a Samba domain (like an NT4
    373373        domain), machine (system) policies are applied at startup; user policies are applied at logon.
    374         </p></li></ol></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2660490"></a>Common Errors</h2></div></div></div><p>
     374        </p></li></ol></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2666542"></a>Common Errors</h2></div></div></div><p>
    375375Policy-related problems can be quite difficult to diagnose and even more difficult to rectify. The following
    376376collection demonstrates only basic issues.
    377 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2660502"></a>Policy Does Not Work</h3></div></div></div><p>
    378 &#8220;<span class="quote">We have created the <code class="filename">Config.POL</code> file and put it in the <span class="emphasis"><em>NETLOGON</em></span> share.
     377</p><div class="sect2" title="Policy Does Not Work"><div class="titlepage"><div><div><h3 class="title"><a name="id2666554"></a>Policy Does Not Work</h3></div></div></div><p>
     378<span class="quote">&#8220;<span class="quote">We have created the <code class="filename">Config.POL</code> file and put it in the <span class="emphasis"><em>NETLOGON</em></span> share.
    379379It has made no difference to our Win XP Pro machines, they just do not see it. It worked fine with Win 98 but does not
    380 work any longer since we upgraded to Win XP Pro. Any hints?</span>&#8221;
     380work any longer since we upgraded to Win XP Pro. Any hints?</span>&#8221;</span>
    381381</p><p>
    382382Policy files are not portable between Windows 9x/Me and MS Windows NT4/200x/XP-based platforms. You need to
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/Portability.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 43. Portability</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="compiling.html" title="Chapter 42. How to Compile Samba"><link rel="next" href="Other-Clients.html" title="Chapter 44. Samba and Other CIFS Clients"></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 43. Portability</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="compiling.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="Other-Clients.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="Portability"></a>Chapter 43. Portability</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="Portability.html#id2689135">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689239">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689278">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689420">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689463">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689525">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2689530">Locking Improvements</a></span></dt><dt><span class="sect2"><a href="Portability.html#winbind-solaris9">Winbind on Solaris 9</a></span></dt></dl></dd></dl></div><p>
    2 <a class="indexterm" name="id2689117"></a>
    3 <a class="indexterm" name="id2689124"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 43. Portability</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="compiling.html" title="Chapter 42. How to Compile Samba"><link rel="next" href="Other-Clients.html" title="Chapter 44. Samba and Other CIFS Clients"></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 43. Portability</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="compiling.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="Other-Clients.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 43. Portability"><div class="titlepage"><div><div><h2 class="title"><a name="Portability"></a>Chapter 43. Portability</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="Portability.html#id2695192">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695296">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695335">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695476">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695520">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695581">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2695587">Locking Improvements</a></span></dt><dt><span class="sect2"><a href="Portability.html#winbind-solaris9">Winbind on Solaris 9</a></span></dt></dl></dd></dl></div><p>
     2<a class="indexterm" name="id2695174"></a>
     3<a class="indexterm" name="id2695180"></a>
    44Samba works on a wide range of platforms, but the interface all the
    55platforms provide is not always compatible. This chapter contains
    6 platform-specific information about compiling and using Samba.</p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2689135"></a>HPUX</h2></div></div></div><p>
    7 <a class="indexterm" name="id2689143"></a>
    8 <a class="indexterm" name="id2689150"></a>
     6platform-specific information about compiling and using Samba.</p><div class="sect1" title="HPUX"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2695192"></a>HPUX</h2></div></div></div><p>
     7<a class="indexterm" name="id2695200"></a>
     8<a class="indexterm" name="id2695206"></a>
    99Hewlett-Packard's implementation of supplementary groups is nonstandard (for
    1010historical reasons). There are two group files, <code class="filename">/etc/group</code> and
     
    2424This is documented in the HP manual pages under setgroups(2) and passwd(4).
    2525</p><p>
    26 <a class="indexterm" name="id2689221"></a>
    27 <a class="indexterm" name="id2689227"></a>
     26<a class="indexterm" name="id2695277"></a>
     27<a class="indexterm" name="id2695284"></a>
    2828On HP-UX you must use gcc or the HP ANSI compiler. The free compiler
    2929that comes with HP-UX is not ANSI compliant and cannot compile Samba.
    30 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2689239"></a>SCO UNIX</h2></div></div></div><p>
     30</p></div><div class="sect1" title="SCO UNIX"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2695296"></a>SCO UNIX</h2></div></div></div><p>
    3131If you run an old version of SCO UNIX, you may need to get important
    3232TCP/IP patches for Samba to work correctly. Without the patch, you may
     
    4444require significant patching of Samba source code. It is much easier to obtain binary
    4545packages directly from SCO.
    46 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2689278"></a>DNIX</h2></div></div></div><p>
     46</p></div><div class="sect1" title="DNIX"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2695335"></a>DNIX</h2></div></div></div><p>
    4747DNIX has a problem with seteuid() and setegid(). These routines are
    4848needed for Samba to work correctly, but they were left out of the DNIX
     
    101101</p><pre class="programlisting">
    102102#define NO_EID
    103 </pre><p>from the DNIX section of <code class="filename">includes.h</code>.</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2689420"></a>Red Hat Linux</h2></div></div></div><p>
     103</pre><p>from the DNIX section of <code class="filename">includes.h</code>.</p></div><div class="sect1" title="Red Hat Linux"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2695476"></a>Red Hat Linux</h2></div></div></div><p>
    104104By default during installation, some versions of Red Hat Linux add an
    105105entry to <code class="filename">/etc/hosts</code> as follows:
     
    108108</pre><p>
    109109</p><p>
    110 <a class="indexterm" name="id2689445"></a>
     110<a class="indexterm" name="id2695501"></a>
    111111This causes Samba to loop back onto the loopback interface.
    112112The result is that Samba fails to communicate correctly with
     
    116116Corrective action: Delete the entry after the word "loopback"
    117117in the line starting 127.0.0.1.
    118 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2689463"></a>AIX: Sequential Read Ahead</h2></div></div></div><p>
     118</p></div><div class="sect1" title="AIX: Sequential Read Ahead"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2695520"></a>AIX: Sequential Read Ahead</h2></div></div></div><p>
    119119Disabling sequential read ahead can improve Samba performance significantly
    120120when there is a relatively high level of multiprogramming (many smbd processes
     
    135135If you have a mix of jfs and jfs2 filesystems on the same host, simply use both
    136136ioo commands.
    137 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2689525"></a>Solaris</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2689530"></a>Locking Improvements</h3></div></div></div><p>Some people have been experiencing problems with F_SETLKW64/fcntl
     137</p></div><div class="sect1" title="Solaris"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2695581"></a>Solaris</h2></div></div></div><div class="sect2" title="Locking Improvements"><div class="titlepage"><div><div><h3 class="title"><a name="id2695587"></a>Locking Improvements</h3></div></div></div><p>Some people have been experiencing problems with F_SETLKW64/fcntl
    138138when running Samba on Solaris. The built-in file-locking mechanism was
    139139not scalable. Performance would degrade to the point where processes would
     
    148148After the installation of these patches, it is recommended to reconfigure
    149149and rebuild Samba.
    150 </p><p>Thanks to Joe Meslovich for reporting this.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="winbind-solaris9"></a>Winbind on Solaris 9</h3></div></div></div><p>
     150</p><p>Thanks to Joe Meslovich for reporting this.</p></div><div class="sect2" title="Winbind on Solaris 9"><div class="titlepage"><div><div><h3 class="title"><a name="winbind-solaris9"></a>Winbind on Solaris 9</h3></div></div></div><p>
    151151Nsswitch on Solaris 9 refuses to use the Winbind NSS module. This behavior
    152152is fixed by Sun in patch <a class="ulink" href="http://sunsolve.sun.com/search/advsearch.do?collection=PATCH&amp;type=collections&amp;max=50&amp;language=en&amp;queryKey5=112960;rev=14&amp;toDocument=yes" target="_top">112960-14</a>.
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/ProfileMgmt.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 27. Desktop Profile Management</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="PolicyMgmt.html" title="Chapter 26. System and Account Policies"><link rel="next" href="pam.html" title="Chapter 28. PAM-Based Distributed Authentication"></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 27. Desktop Profile Management</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="PolicyMgmt.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="pam.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="ProfileMgmt"></a>Chapter 27. Desktop Profile Management</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">April 3 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="ProfileMgmt.html#id2660587">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2660636">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2660690">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2661296">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662645">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662678">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662777">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2663129">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2663269">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2663347">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2663378">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2663529">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2664596">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2664607">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664669">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664840">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2665004">Debugging Roaming Profiles and NT4-style Domain Policies</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2660587"></a>Features and Benefits</h2></div></div></div><p>
    2 <a class="indexterm" name="id2660595"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 27. Desktop Profile Management</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="PolicyMgmt.html" title="Chapter 26. System and Account Policies"><link rel="next" href="pam.html" title="Chapter 28. PAM-Based Distributed Authentication"></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 27. Desktop Profile Management</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="PolicyMgmt.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="pam.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 27. Desktop Profile Management"><div class="titlepage"><div><div><h2 class="title"><a name="ProfileMgmt"></a>Chapter 27. Desktop Profile Management</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">April 3 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="ProfileMgmt.html#id2666639">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2666688">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2666742">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2667353">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2668697">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2668731">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2668829">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2669181">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2669321">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2669400">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2669430">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2669587">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2670655">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2670666">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2670727">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2670898">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2671062">Debugging Roaming Profiles and NT4-style Domain Policies</a></span></dt></dl></dd></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2666639"></a>Features and Benefits</h2></div></div></div><p>
     2<a class="indexterm" name="id2666647"></a>
    33Roaming profiles are feared by some, hated by a few, loved by many, and a godsend for
    44some administrators.
    55</p><p>
    6 <a class="indexterm" name="id2660607"></a>
     6<a class="indexterm" name="id2666659"></a>
    77Roaming profiles allow an administrator to make available a consistent user desktop
    88as the user moves from one machine to another. This chapter provides much information
    99regarding how to configure and manage roaming profiles.
    1010</p><p>
    11 <a class="indexterm" name="id2660621"></a>
     11<a class="indexterm" name="id2666673"></a>
    1212While roaming profiles might sound like nirvana to some, they are a real and tangible
    1313problem to others. In particular, users of mobile computing tools, where often there may not
     
    1515This chapter provides information to help the Samba administrator deal with those
    1616situations.
    17 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2660636"></a>Roaming Profiles</h2></div></div></div><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
     17</p></div><div class="sect1" title="Roaming Profiles"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2666688"></a>Roaming Profiles</h2></div></div></div><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
    1818Roaming profiles support is different for Windows 9x/Me and Windows NT4/200x.
    1919</p></div><p>
     
    2121Windows 9x/Me and Windows NT4/200x clients implement these features.
    2222</p><p>
    23 <a class="indexterm" name="id2660658"></a>
     23<a class="indexterm" name="id2666710"></a>
    2424Windows 9x/Me clients send a NetUserGetInfo request to the server to get the user's
    2525profiles location. However, the response does not have room for a separate
     
    2727profiles are restricted to being stored in the user's home directory.
    2828</p><p>
    29 <a class="indexterm" name="id2660673"></a>
    30 <a class="indexterm" name="id2660680"></a>
     29<a class="indexterm" name="id2666725"></a>
     30<a class="indexterm" name="id2666732"></a>
    3131Windows NT4/200x  clients send a NetSAMLogon RPC request, which contains many fields
    3232including a separate field for the location of the user's profiles.
    33 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2660690"></a>Samba Configuration for Profile Handling</h3></div></div></div><p>
     33</p><div class="sect2" title="Samba Configuration for Profile Handling"><div class="titlepage"><div><div><h3 class="title"><a name="id2666742"></a>Samba Configuration for Profile Handling</h3></div></div></div><p>
    3434This section documents how to configure Samba for MS Windows client profile support.
    35 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2660701"></a>NT4/200x User Profiles</h4></div></div></div><p>
     35</p><div class="sect3" title="NT4/200x User Profiles"><div class="titlepage"><div><div><h4 class="title"><a name="id2666753"></a>NT4/200x User Profiles</h4></div></div></div><p>
    3636For example, to support Windows NT4/200x clients, set the following in the [global] section of the <code class="filename">smb.conf</code> file:
    37 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2660724"></a><em class="parameter"><code>logon path =  \\profileserver\profileshare\profilepath\%U\moreprofilepath</code></em></td></tr></table><p>
     37</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2666776"></a><em class="parameter"><code>logon path =  \\profileserver\profileshare\profilepath\%U\moreprofilepath</code></em></td></tr></table><p>
    3838This is typically implemented like:
    39 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2660745"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr></table><p>
    40 where &#8220;<span class="quote">%L</span>&#8221; translates to the name of the Samba server and &#8220;<span class="quote">%U</span>&#8221; translates to the username.
     39</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2666797"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr></table><p>
     40where <span class="quote">&#8220;<span class="quote">%L</span>&#8221;</span> translates to the name of the Samba server and <span class="quote">&#8220;<span class="quote">%U</span>&#8221;</span> translates to the username.
    4141</p><p>
    4242The default for this option is <code class="filename">\\%N\%U\profile</code>, namely, <code class="filename">\\sambaserver\username\profile</code>.
     
    4444a Samba server for the profiles, you must make the share that is specified in the logon path
    4545browseable. Please refer to the man page for <code class="filename">smb.conf</code> regarding the different
    46 semantics of &#8220;<span class="quote">%L</span>&#8221; and &#8220;<span class="quote">%N</span>&#8221;, as well as &#8220;<span class="quote">%U</span>&#8221; and &#8220;<span class="quote">%u</span>&#8221;.
    47 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    48 <a class="indexterm" name="id2660816"></a>
    49 <a class="indexterm" name="id2660822"></a>
     46semantics of <span class="quote">&#8220;<span class="quote">%L</span>&#8221;</span> and <span class="quote">&#8220;<span class="quote">%N</span>&#8221;</span>, as well as <span class="quote">&#8220;<span class="quote">%U</span>&#8221;</span> and <span class="quote">&#8220;<span class="quote">%u</span>&#8221;</span>.
     47</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     48<a class="indexterm" name="id2666868"></a>
     49<a class="indexterm" name="id2666874"></a>
    5050MS Windows NT/200x clients at times do not disconnect a connection to a server between logons. It is recommended
    5151to not use the <em class="parameter"><code>homes</code></em> metaservice name as part of the profile share path.
    52 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2660841"></a>Windows 9x/Me User Profiles</h4></div></div></div><p>
    53 <a class="indexterm" name="id2660849"></a>
    54 <a class="indexterm" name="id2660856"></a>
     52</p></div></div><div class="sect3" title="Windows 9x/Me User Profiles"><div class="titlepage"><div><div><h4 class="title"><a name="id2666893"></a>Windows 9x/Me User Profiles</h4></div></div></div><p>
     53<a class="indexterm" name="id2666901"></a>
     54<a class="indexterm" name="id2666908"></a>
    5555To support Windows 9x/Me clients, you must use the <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home</a>
    5656parameter. Samba has been fixed so <strong class="userinput"><code>net use /home</code></strong> now works as well and it, too, relies
    5757on the <em class="parameter"><code>logon home</code></em> parameter.
    5858</p><p>
    59 <a class="indexterm" name="id2660891"></a>
    60 <a class="indexterm" name="id2660898"></a>
    61 <a class="indexterm" name="id2660905"></a>
     59<a class="indexterm" name="id2666943"></a>
     60<a class="indexterm" name="id2666950"></a>
     61<a class="indexterm" name="id2666957"></a>
    6262By using the <em class="parameter"><code>logon home</code></em> parameter, you are restricted to putting Windows 9x/Me profiles
    6363in the user's home directory.  But wait! There is a trick you can use. If you set the following in the
    6464<em class="parameter"><code>[global]</code></em> section of your <code class="filename">smb.conf</code> file:
    65 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2660938"></a><em class="parameter"><code>logon home = \\%L\%U\.profiles</code></em></td></tr></table><p>
     65</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2666990"></a><em class="parameter"><code>logon home = \\%L\%U\.profiles</code></em></td></tr></table><p>
    6666then your Windows 9x/Me clients will dutifully put their clients in a subdirectory
    6767of your home directory called <code class="filename">.profiles</code> (making them hidden).
    6868</p><p>
    69 <a class="indexterm" name="id2660962"></a>
     69<a class="indexterm" name="id2667014"></a>
    7070Not only that, but <strong class="userinput"><code>net use /home</code></strong> will also work because of a feature in
    7171Windows 9x/Me. It removes any directory stuff off the end of the home directory area
    7272and only uses the server and share portion. That is, it looks like you
    7373specified <code class="filename">\\%L\%U</code> for <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home</a>.
    74 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2660998"></a>Mixed Windows Windows 9x/Me and NT4/200x User Profiles</h4></div></div></div><p>
     74</p></div><div class="sect3" title="Mixed Windows Windows 9x/Me and NT4/200x User Profiles"><div class="titlepage"><div><div><h4 class="title"><a name="id2667050"></a>Mixed Windows Windows 9x/Me and NT4/200x User Profiles</h4></div></div></div><p>
    7575You can support profiles for Windows 9x and Windows NT clients by setting both the
    7676<a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home</a> and <a class="link" href="smb.conf.5.html#LOGONPATH" target="_top">logon path</a> parameters. For example,
    77 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2661038"></a><em class="parameter"><code>logon home = \\%L\%U\.profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2661050"></a><em class="parameter"><code>logon path = \\%L\profiles\%U</code></em></td></tr></table><p>
    78 <a class="indexterm" name="id2661064"></a>
     77</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2667090"></a><em class="parameter"><code>logon home = \\%L\%U\.profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2667102"></a><em class="parameter"><code>logon path = \\%L\profiles\%U</code></em></td></tr></table><p>
     78<a class="indexterm" name="id2667116"></a>
    7979Windows 9x/Me and NT4 and later profiles should not be stored in the same location because
    8080Windows NT4 and later will experience problems with mixed profile environments.
    81 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2661076"></a>Disabling Roaming Profile Support</h4></div></div></div><p>
    82 <a class="indexterm" name="id2661084"></a>
    83 The question often asked is, &#8220;<span class="quote">How may I enforce use of local profiles?</span>&#8221; or
    84 &#8220;<span class="quote">How do I disable roaming profiles?</span>&#8221;
    85 </p><p>
    86 <a class="indexterm" name="id2661102"></a>
     81</p></div><div class="sect3" title="Disabling Roaming Profile Support"><div class="titlepage"><div><div><h4 class="title"><a name="id2667128"></a>Disabling Roaming Profile Support</h4></div></div></div><p>
     82<a class="indexterm" name="id2667136"></a>
     83The question often asked is, <span class="quote">&#8220;<span class="quote">How may I enforce use of local profiles?</span>&#8221;</span> or
     84<span class="quote">&#8220;<span class="quote">How do I disable roaming profiles?</span>&#8221;</span>
     85</p><p>
     86<a class="indexterm" name="id2667154"></a>
    8787There are three ways of doing this:
    88 </p><a class="indexterm" name="id2661111"></a><div class="variablelist"><dl><dt><span class="term">In <code class="filename">smb.conf</code></span></dt><dd><p>
     88</p><a class="indexterm" name="id2667163"></a><div class="variablelist"><dl><dt><span class="term">In <code class="filename">smb.conf</code></span></dt><dd><p>
    8989                Affect the following settings and ALL clients will be forced to use a local profile:
    9090                <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home =  </a> and <a class="link" href="smb.conf.5.html#LOGONPATH" target="_top">logon path =  </a>
     
    9393                to specifically assign the empty value.
    9494                </p></dd><dt><span class="term">MS Windows Registry:</span></dt><dd><p>
    95 <a class="indexterm" name="id2661181"></a>
    96 <a class="indexterm" name="id2661188"></a>
     95<a class="indexterm" name="id2667233"></a>
     96<a class="indexterm" name="id2667240"></a>
    9797                Use the Microsoft Management Console (MMC) <code class="literal">gpedit.msc</code> to instruct your MS Windows XP
    9898                machine to use only a local profile. This, of course, modifies registry settings. The full
     
    116116Consult the MS Windows registry guide for your particular MS Windows version for more information
    117117about which registry keys to change to enforce use of only local user profiles.
    118 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    119 <a class="indexterm" name="id2661281"></a>
     118</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     119<a class="indexterm" name="id2667333"></a>
    120120The specifics of how to convert a local profile to a roaming profile, or a roaming profile
    121121to a local one, vary according to the version of MS Windows you are running. Consult the Microsoft MS
    122122Windows Resource Kit for your version of Windows for specific information.
    123 </p></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2661296"></a>Windows Client Profile Configuration Information</h3></div></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2661302"></a>Windows 9x/Me Profile Setup</h4></div></div></div><p>
     123</p></div></div></div><div class="sect2" title="Windows Client Profile Configuration Information"><div class="titlepage"><div><div><h3 class="title"><a name="id2667353"></a>Windows Client Profile Configuration Information</h3></div></div></div><div class="sect3" title="Windows 9x/Me Profile Setup"><div class="titlepage"><div><div><h4 class="title"><a name="id2667359"></a>Windows 9x/Me Profile Setup</h4></div></div></div><p>
    124124When a user first logs in on Windows 9x, the file user.DAT is created, as are folders <code class="filename">Start
    125125Menu</code>, <code class="filename">Desktop</code>, <code class="filename">Programs</code>, and
     
    129129profile folders.
    130130</p><p>
    131 <a class="indexterm" name="id2661392"></a>
    132 <a class="indexterm" name="id2661398"></a>
     131<a class="indexterm" name="id2667448"></a>
     132<a class="indexterm" name="id2667455"></a>
    133133The <code class="filename">user.DAT</code> file contains all the user's preferences. If you wish to enforce a set of preferences,
    134134rename their <code class="filename">user.DAT</code> file to <code class="filename">user.MAN</code>, and deny them write access to this file.
    135 </p><div class="orderedlist"><ol type="1"><li><p>
     135</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
    136136        On the Windows 9x/Me machine, go to <span class="guimenu">Control Panel</span> -&gt;
    137137        <span class="guimenuitem">Passwords</span> and select the <span class="guilabel">User Profiles</span> tab.
    138138        Select the required level of roaming preferences. Press <span class="guibutton">OK</span>, but do not
    139139        allow the computer to reboot.
    140         </p></li><li><p>
     140        </p></li><li class="listitem"><p>
    141141        On the Windows 9x/Me machine, go to <span class="guimenu">Control Panel</span> -&gt;
    142142        <span class="guimenuitem">Network</span> -&gt; <span class="guimenuitem">Client for Microsoft Networks</span>
     
    145145        <span class="guibutton">OK</span>, and this time allow the computer to reboot.
    146146        </p></li></ol></div><p>
    147 <a class="indexterm" name="id2661520"></a>
    148 <a class="indexterm" name="id2661526"></a>
    149 <a class="indexterm" name="id2661534"></a>
    150 <a class="indexterm" name="id2661540"></a>
     147<a class="indexterm" name="id2667576"></a>
     148<a class="indexterm" name="id2667583"></a>
     149<a class="indexterm" name="id2667590"></a>
     150<a class="indexterm" name="id2667597"></a>
    151151Under Windows 9x/Me, profiles are downloaded from the Primary Logon. If you have the Primary Logon
    152 as &#8220;<span class="quote">Client for Novell Networks</span>&#8221;, then the profiles and logon script will be downloaded from
    153 your Novell server. If you have the Primary Logon as &#8220;<span class="quote">Windows Logon</span>&#8221;, then the profiles will
     152as <span class="quote">&#8220;<span class="quote">Client for Novell Networks</span>&#8221;</span>, then the profiles and logon script will be downloaded from
     153your Novell server. If you have the Primary Logon as <span class="quote">&#8220;<span class="quote">Windows Logon</span>&#8221;</span>, then the profiles will
    154154be loaded from the local machine  a bit against the concept of roaming profiles, it would seem!
    155155</p><p>
    156 <a class="indexterm" name="id2661567"></a>
     156<a class="indexterm" name="id2667624"></a>
    157157You will now find that the Microsoft Networks Login box contains <code class="constant">[user, password, domain]</code> instead
    158158of just <code class="constant">[user, password]</code>. Type in the Samba server's domain name (or any other domain known to exist,
     
    169169<code class="filename">Programs</code>, and <code class="filename">Nethood</code> folders have been created.
    170170</p><p>
    171 <a class="indexterm" name="id2661658"></a>
    172 <a class="indexterm" name="id2661665"></a>
    173 <a class="indexterm" name="id2661672"></a>
     171<a class="indexterm" name="id2667710"></a>
     172<a class="indexterm" name="id2667717"></a>
     173<a class="indexterm" name="id2667724"></a>
    174174These folders will be cached locally on the client and updated when the user logs off (if
    175175you haven't made them read-only by then). You will find that if the user creates further folders or
     
    177177directory already on the local client, taking the newest folders and shortcut from each set.
    178178</p><p>
    179 <a class="indexterm" name="id2661689"></a>
    180 <a class="indexterm" name="id2661696"></a>
    181 <a class="indexterm" name="id2661702"></a>
    182 <a class="indexterm" name="id2661709"></a>
     179<a class="indexterm" name="id2667741"></a>
     180<a class="indexterm" name="id2667748"></a>
     181<a class="indexterm" name="id2667755"></a>
     182<a class="indexterm" name="id2667762"></a>
    183183If you have made the folders/files read-only on the Samba server, then you will get errors from
    184184the Windows 9x/Me machine on logon and logout as it attempts to merge the local and remote profile.
     
    186186and ownership rights on the profile directory contents, on the Samba server.
    187187</p><p>
    188 <a class="indexterm" name="id2661726"></a>
    189 <a class="indexterm" name="id2661733"></a>
    190 <a class="indexterm" name="id2661740"></a>
    191 <a class="indexterm" name="id2661747"></a>
    192 <a class="indexterm" name="id2661754"></a>
     188<a class="indexterm" name="id2667778"></a>
     189<a class="indexterm" name="id2667785"></a>
     190<a class="indexterm" name="id2667792"></a>
     191<a class="indexterm" name="id2667799"></a>
     192<a class="indexterm" name="id2667806"></a>
    193193If you have problems creating user profiles, you can reset the user's local desktop cache, as shown below.
    194 When this user next logs in, the user will be told that he/she is logging in &#8220;<span class="quote">for the first
    195 time</span>&#8221;.
    196 </p><div class="orderedlist"><ol type="1"><li><p>
     194When this user next logs in, the user will be told that he/she is logging in <span class="quote">&#8220;<span class="quote">for the first
     195time</span>&#8221;</span>.
     196</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
    197197        Instead of logging in under the [user, password, domain] dialog, press <span class="guibutton">escape</span>.
    198         </p></li><li><p>
     198        </p></li><li class="listitem"><p>
    199199        Run the <code class="literal">regedit.exe</code> program, and look in:
    200200        </p><p>
     
    204204        (likely to be <code class="filename">c:\windows\profiles\username</code>), then delete the key
    205205        <em class="parameter"><code>ProfilePath</code></em> for the required user.
    206         </p></li><li><p>
     206        </p></li><li class="listitem"><p>
    207207        Exit the registry editor.
    208         </p></li><li><p>
     208        </p></li><li class="listitem"><p>
    209209        Search for the user's .PWL password-caching file in the <code class="filename">c:\windows</code> directory, and delete it.
    210         </p></li><li><p>
     210        </p></li><li class="listitem"><p>
    211211        Log off the Windows 9x/Me client.
    212         </p></li><li><p>
     212        </p></li><li class="listitem"><p>
    213213        Check the contents of the profile path (see <a class="link" href="smb.conf.5.html#LOGONPATH" target="_top">logon path</a>
    214214        described above) and delete the <code class="filename">user.DAT</code> or <code class="filename">user.MAN</code>
    215215        file for the user, making a backup if required.
    216         </p></li></ol></div><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
    217 <a class="indexterm" name="id2661885"></a>
     216        </p></li></ol></div><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
     217<a class="indexterm" name="id2667937"></a>
    218218Before deleting the contents of the directory listed in the <em class="parameter"><code>ProfilePath</code></em>
    219219(this is likely to be <code class="filename">c:\windows\profiles\username)</code>, ask whether the owner has
     
    222222</p><p>
    223223This will have the effect of removing the local (read-only hidden system file) <code class="filename">user.DAT</code>
    224 in their profile directory, as well as the local &#8220;<span class="quote">desktop,</span>&#8221; &#8220;<span class="quote">nethood,</span>&#8221;
    225 &#8220;<span class="quote">start menu,</span>&#8221; and &#8220;<span class="quote">programs</span>&#8221; folders.
     224in their profile directory, as well as the local <span class="quote">&#8220;<span class="quote">desktop,</span>&#8221;</span> <span class="quote">&#8220;<span class="quote">nethood,</span>&#8221;</span>
     225<span class="quote">&#8220;<span class="quote">start menu,</span>&#8221;</span> and <span class="quote">&#8220;<span class="quote">programs</span>&#8221;</span> folders.
    226226</p></div><p>
    227 <a class="indexterm" name="id2661943"></a>
    228 <a class="indexterm" name="id2661950"></a>
    229 <a class="indexterm" name="id2661957"></a>
    230 <a class="indexterm" name="id2661964"></a>
     227<a class="indexterm" name="id2667996"></a>
     228<a class="indexterm" name="id2668002"></a>
     229<a class="indexterm" name="id2668009"></a>
     230<a class="indexterm" name="id2668016"></a>
    231231If all else fails, increase Samba's debug log levels to between 3 and 10, and/or run a packet
    232232sniffer program such as ethereal or <code class="literal">netmon.exe</code>, and look for error messages.
    233233</p><p>
    234 <a class="indexterm" name="id2661982"></a>
    235 <a class="indexterm" name="id2661989"></a>
     234<a class="indexterm" name="id2668035"></a>
     235<a class="indexterm" name="id2668042"></a>
    236236If you have access to an Windows NT4/200x server, then first set up roaming profiles and/or
    237237netlogons on the Windows NT4/200x server. Make a packet trace, or examine the example packet traces
    238238provided with Windows NT4/200x server, and see what the differences are with the equivalent Samba trace.
    239 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2662004"></a>Windows NT4 Workstation</h4></div></div></div><p>
     239</p></div><div class="sect3" title="Windows NT4 Workstation"><div class="titlepage"><div><div><h4 class="title"><a name="id2668056"></a>Windows NT4 Workstation</h4></div></div></div><p>
    240240When a user first logs in to a Windows NT workstation, the profile NTuser.DAT is created. The profile
    241241location can be now specified through the <a class="link" href="smb.conf.5.html#LOGONPATH" target="_top">logon path</a> parameter.
     
    245245the new <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home</a> parameter.
    246246</p><p>
    247 <a class="indexterm" name="id2662064"></a>
    248 <a class="indexterm" name="id2662070"></a>
     247<a class="indexterm" name="id2668116"></a>
     248<a class="indexterm" name="id2668123"></a>
    249249The entry for the NT4 profile is a directory, not a file. The NT help on profiles mentions that a
    250250directory is also created with a .PDS extension. The user, while logging in, must have write permission
     
    252252might be created).
    253253</p><p>
    254 <a class="indexterm" name="id2662086"></a>
     254<a class="indexterm" name="id2668138"></a>
    255255In the profile directory, Windows NT4 creates more folders than Windows 9x/Me. It creates
    256256<code class="filename">Application Data</code> and others, as well as <code class="filename">Desktop</code>,
     
    259259in the .PDS directory, and its purpose is currently unknown.
    260260</p><p>
    261 <a class="indexterm" name="id2662135"></a>
    262 <a class="indexterm" name="id2662142"></a>
     261<a class="indexterm" name="id2668187"></a>
     262<a class="indexterm" name="id2668194"></a>
    263263You can use the <span class="application">System Control Panel</span> to copy a local profile onto
    264264a Samba server (see NT help on profiles; it is also capable of firing up the correct location in the
     
    268268The case of the profile is significant. The file must be called <code class="filename">NTuser.DAT</code>
    269269or, for a mandatory profile, <code class="filename">NTuser.MAN</code>.
    270 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2662195"></a>Windows 2000/XP Professional</h4></div></div></div><p>
     270</p></div><div class="sect3" title="Windows 2000/XP Professional"><div class="titlepage"><div><div><h4 class="title"><a name="id2668248"></a>Windows 2000/XP Professional</h4></div></div></div><p>
    271271You must first convert the profile from a local profile to a domain profile on the MS Windows
    272 workstation as follows: </p><div class="procedure"><ol type="1"><li><p> Log on as the <span class="emphasis"><em>local</em></span> workstation administrator. </p></li><li><p> Right-click on the <span class="guiicon">My Computer</span> icon, and select
    273         <span class="guimenuitem">Properties</span>.</p></li><li><p> Click on the <span class="guilabel">User Profiles</span> tab.</p></li><li><p> Select the profile you wish to convert (click it once).</p></li><li><p> Click on the <span class="guibutton">Copy To</span> button.</p></li><li><p> In the <span class="guilabel">Permitted to use</span> box, click on the
    274         <span class="guibutton">Change</span> button. </p></li><li><p> Click on the <span class="guilabel">Look in</span> area that lists the machine name. When you click here, it will
    275         open up a selection box. Click on the domain to which the profile must be accessible. </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>You will need to log on if a logon box opens up.
     272workstation as follows: </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> Log on as the <span class="emphasis"><em>local</em></span> workstation administrator. </p></li><li class="step" title="Step 2"><p> Right-click on the <span class="guiicon">My Computer</span> icon, and select
     273        <span class="guimenuitem">Properties</span>.</p></li><li class="step" title="Step 3"><p> Click on the <span class="guilabel">User Profiles</span> tab.</p></li><li class="step" title="Step 4"><p> Select the profile you wish to convert (click it once).</p></li><li class="step" title="Step 5"><p> Click on the <span class="guibutton">Copy To</span> button.</p></li><li class="step" title="Step 6"><p> In the <span class="guilabel">Permitted to use</span> box, click on the
     274        <span class="guibutton">Change</span> button. </p></li><li class="step" title="Step 7"><p> Click on the <span class="guilabel">Look in</span> area that lists the machine name. When you click here, it will
     275        open up a selection box. Click on the domain to which the profile must be accessible. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>You will need to log on if a logon box opens up.
    276276        For example, connect as <em class="replaceable"><code>DOMAIN</code></em>\root, password:
    277         <em class="replaceable"><code>mypassword</code></em>.</p></div></li><li><p> To make the profile capable of being used by anyone, select &#8220;<span class="quote">Everyone</span>&#8221;. </p></li><li><p> Click on <span class="guibutton">OK</span> and the Selection box will close. </p></li><li><p> Now click on <span class="guibutton">OK</span> to create the profile in the path
     277        <em class="replaceable"><code>mypassword</code></em>.</p></div></li><li class="step" title="Step 8"><p> To make the profile capable of being used by anyone, select <span class="quote">&#8220;<span class="quote">Everyone</span>&#8221;</span>. </p></li><li class="step" title="Step 9"><p> Click on <span class="guibutton">OK</span> and the Selection box will close. </p></li><li class="step" title="Step 10"><p> Now click on <span class="guibutton">OK</span> to create the profile in the path
    278278        you nominated.  </p></li></ol></div><p>
    279279Done. You now have a profile that can be edited using the Samba <code class="literal">profiles</code> tool.
    280 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     280</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    281281Under Windows NT/200x, the use of mandatory profiles forces the use of MS Exchange storage of mail
    282282data and keeps it out of the desktop profile. That keeps desktop profiles from becoming unusable.
    283 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2662378"></a>Windows XP Service Pack 1</h5></div></div></div><p>
     283</p></div><div class="sect4" title="Windows XP Service Pack 1"><div class="titlepage"><div><div><h5 class="title"><a name="id2668430"></a>Windows XP Service Pack 1</h5></div></div></div><p>
    284284        There is a security check new to Windows XP (or maybe only Windows XP service pack 1).
    285285        It can be disabled via a group policy in the Active Directory. The policy is called:
     
    294294        </p><p>If you cannot set group policies in Samba, then you may be able to set the policy locally on
    295295        each machine. If you want to try this, then do the following:
    296         </p><div class="procedure"><ol type="1"><li><p>On the XP workstation, log in with an administrative account.</p></li><li><p>Click on <span class="guimenu">Start</span> -&gt; <span class="guimenuitem">Run</span>.</p></li><li><p>Type <code class="literal">mmc</code>.</p></li><li><p>Click on <span class="guibutton">OK</span>.</p></li><li><p>A Microsoft Management Console should appear.</p></li><li><p>Click on <span class="guimenu">File</span> -&gt; <span class="guimenuitem">Add/Remove Snap-in</span> -&gt; <span class="guimenuitem">Add</span>.</p></li><li><p>Double-click on <span class="guiicon">Group Policy</span>.</p></li><li><p>Click on <span class="guibutton">Finish</span> -&gt; <span class="guibutton">Close</span>.</p></li><li><p>Click on <span class="guibutton">OK</span>.</p></li><li><p>In the &#8220;<span class="quote">Console Root</span>&#8221; window expand <span class="guiicon">Local Computer Policy</span> -&gt;
     296        </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>On the XP workstation, log in with an administrative account.</p></li><li class="step" title="Step 2"><p>Click on <span class="guimenu">Start</span> -&gt; <span class="guimenuitem">Run</span>.</p></li><li class="step" title="Step 3"><p>Type <code class="literal">mmc</code>.</p></li><li class="step" title="Step 4"><p>Click on <span class="guibutton">OK</span>.</p></li><li class="step" title="Step 5"><p>A Microsoft Management Console should appear.</p></li><li class="step" title="Step 6"><p>Click on <span class="guimenu">File</span> -&gt; <span class="guimenuitem">Add/Remove Snap-in</span> -&gt; <span class="guimenuitem">Add</span>.</p></li><li class="step" title="Step 7"><p>Double-click on <span class="guiicon">Group Policy</span>.</p></li><li class="step" title="Step 8"><p>Click on <span class="guibutton">Finish</span> -&gt; <span class="guibutton">Close</span>.</p></li><li class="step" title="Step 9"><p>Click on <span class="guibutton">OK</span>.</p></li><li class="step" title="Step 10"><p>In the <span class="quote">&#8220;<span class="quote">Console Root</span>&#8221;</span> window expand <span class="guiicon">Local Computer Policy</span> -&gt;
    297297                <span class="guiicon">Computer Configuration</span> -&gt; <span class="guiicon">Administrative Templates</span> -&gt;
    298                 <span class="guiicon">System</span> -&gt; <span class="guiicon">User Profiles</span>.</p></li><li><p>Double-click on <span class="guilabel">Do not check for user ownership of Roaming Profile Folders</span>.</p></li><li><p>Select <span class="guilabel">Enabled</span>.</p></li><li><p>Click on <span class="guibutton">OK</span>.</p></li><li><p>Close the whole console. You do not need to save the settings (this refers to the
    299         console settings rather than the policies you have changed).</p></li><li><p>Reboot.</p></li></ol></div></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2662645"></a>User Profile Hive Cleanup Service</h3></div></div></div><p>
     298                <span class="guiicon">System</span> -&gt; <span class="guiicon">User Profiles</span>.</p></li><li class="step" title="Step 11"><p>Double-click on <span class="guilabel">Do not check for user ownership of Roaming Profile Folders</span>.</p></li><li class="step" title="Step 12"><p>Select <span class="guilabel">Enabled</span>.</p></li><li class="step" title="Step 13"><p>Click on <span class="guibutton">OK</span>.</p></li><li class="step" title="Step 14"><p>Close the whole console. You do not need to save the settings (this refers to the
     299        console settings rather than the policies you have changed).</p></li><li class="step" title="Step 15"><p>Reboot.</p></li></ol></div></div></div></div><div class="sect2" title="User Profile Hive Cleanup Service"><div class="titlepage"><div><div><h3 class="title"><a name="id2668697"></a>User Profile Hive Cleanup Service</h3></div></div></div><p>
    300300There are certain situations that cause a cached local copy of roaming profile not to be deleted on exit, even if
    301301the policy to force such deletion is set. To deal with that situation, a special service was created. The application
     
    304304</p><p>
    305305The UPHClean software package can be downloaded from the User Profile Hive Cleanup
    306 Service<sup>[<a name="id2662670" href="#ftn.id2662670" class="footnote">7</a>]</sup>
     306Service<sup>[<a name="id2668722" href="#ftn.id2668722" class="footnote">7</a>]</sup>
    307307web site.
    308 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2662678"></a>Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</h3></div></div></div><p>
    309 <a class="indexterm" name="id2662687"></a>
    310 <a class="indexterm" name="id2662694"></a>
     308</p></div><div class="sect2" title="Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations"><div class="titlepage"><div><div><h3 class="title"><a name="id2668731"></a>Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</h3></div></div></div><p>
     309<a class="indexterm" name="id2668739"></a>
     310<a class="indexterm" name="id2668746"></a>
    311311Sharing of desktop profiles between Windows versions is not recommended. Desktop profiles are an
    312312evolving phenomenon, and profiles for later versions of MS Windows clients add features that may interfere
     
    320320<a class="link" href="smb.conf.5.html#LOGONPATH" target="_top">logon path</a> and <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home</a>.
    321321</p><p>
    322 <a class="indexterm" name="id2662749"></a>
    323 <a class="indexterm" name="id2662755"></a>
     322<a class="indexterm" name="id2668801"></a>
     323<a class="indexterm" name="id2668808"></a>
    324324If you have this set up correctly, you will find separate <code class="filename">user.DAT</code> and
    325325<code class="filename">NTuser.DAT</code> files in the same profile directory.
    326 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2662777"></a>Profile Migration from Windows NT4/200x Server to Samba</h3></div></div></div><p>
    327 <a class="indexterm" name="id2662786"></a>
     326</p></div><div class="sect2" title="Profile Migration from Windows NT4/200x Server to Samba"><div class="titlepage"><div><div><h3 class="title"><a name="id2668829"></a>Profile Migration from Windows NT4/200x Server to Samba</h3></div></div></div><p>
     327<a class="indexterm" name="id2668838"></a>
    328328There is nothing to stop you from specifying any path that you like for the location of users' profiles.
    329329Therefore, you could specify that the profile be stored on a Samba server or any other SMB server,
    330330as long as that SMB server supports encrypted passwords.
    331 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="profilemigrn"></a>Windows NT4 Profile Management Tools</h4></div></div></div><p>
    332 <a class="indexterm" name="id2662810"></a>
     331</p><div class="sect3" title="Windows NT4 Profile Management Tools"><div class="titlepage"><div><div><h4 class="title"><a name="profilemigrn"></a>Windows NT4 Profile Management Tools</h4></div></div></div><p>
     332<a class="indexterm" name="id2668863"></a>
    333333Unfortunately, the resource kit information is specific to the version of MS Windows NT4/200x. The
    334334correct resource kit is required for each platform.
    335 </p><p>Here is a quick guide:</p><div class="procedure"><a name="id2662824"></a><p class="title"><b>Procedure 27.1. Profile Migration Procedure</b></p><ol type="1"><li><p> On your NT4 domain controller, right-click on <span class="guiicon">My Computer</span>, then select
    336         <span class="guilabel">Properties</span>, then the tab labeled <span class="guilabel">User Profiles</span>. </p></li><li><p> Select a user profile you want to migrate and click on it. </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>I am using the term &#8220;<span class="quote">migrate</span>&#8221; loosely. You can copy a profile to create a group
     335</p><p>Here is a quick guide:</p><div class="procedure" title="Procedure 27.1. Profile Migration Procedure"><a name="id2668877"></a><p class="title"><b>Procedure 27.1. Profile Migration Procedure</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p> On your NT4 domain controller, right-click on <span class="guiicon">My Computer</span>, then select
     336        <span class="guilabel">Properties</span>, then the tab labeled <span class="guilabel">User Profiles</span>. </p></li><li class="step" title="Step 2"><p> Select a user profile you want to migrate and click on it. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>I am using the term <span class="quote">&#8220;<span class="quote">migrate</span>&#8221;</span> loosely. You can copy a profile to create a group
    337337        profile. You can give the user <em class="parameter"><code>Everyone</code></em> rights to the profile you copy this to. That
    338338        is what you need to do, since your Samba domain is not a member of a trust relationship with your NT4
    339         PDC.</p></div></li><li><p>Click on the <span class="guibutton">Copy To</span> button.</p></li><li><p>In the box labeled <span class="guilabel">Copy Profile to</span> add your new path, such as,
    340         <code class="filename">c:\temp\foobar</code></p></li><li><p>Click on <span class="guibutton">Change</span> in the <span class="guilabel">Permitted to use</span> box.</p></li><li><p>Click on the group &#8220;<span class="quote">Everyone</span>&#8221;, click on <span class="guibutton">OK</span>. This
    341         closes the &#8220;<span class="quote">choose user</span>&#8221; box.</p></li><li><p>Now click on <span class="guibutton">OK</span>.</p></li></ol></div><p>
     339        PDC.</p></div></li><li class="step" title="Step 3"><p>Click on the <span class="guibutton">Copy To</span> button.</p></li><li class="step" title="Step 4"><p>In the box labeled <span class="guilabel">Copy Profile to</span> add your new path, such as,
     340        <code class="filename">c:\temp\foobar</code></p></li><li class="step" title="Step 5"><p>Click on <span class="guibutton">Change</span> in the <span class="guilabel">Permitted to use</span> box.</p></li><li class="step" title="Step 6"><p>Click on the group <span class="quote">&#8220;<span class="quote">Everyone</span>&#8221;</span>, click on <span class="guibutton">OK</span>. This
     341        closes the <span class="quote">&#8220;<span class="quote">choose user</span>&#8221;</span> box.</p></li><li class="step" title="Step 7"><p>Now click on <span class="guibutton">OK</span>.</p></li></ol></div><p>
    342342Follow these steps for every profile you need to migrate.
    343 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2662971"></a>Side Bar Notes</h4></div></div></div><p>
    344 <a class="indexterm" name="id2662979"></a>
    345 <a class="indexterm" name="id2662986"></a>
     343</p></div><div class="sect3" title="Side Bar Notes"><div class="titlepage"><div><div><h4 class="title"><a name="id2669023"></a>Side Bar Notes</h4></div></div></div><p>
     344<a class="indexterm" name="id2669031"></a>
     345<a class="indexterm" name="id2669038"></a>
    346346You should obtain the SID of your NT4 domain. You can use the <code class="literal">net rpc info</code> to do this.
    347347See <a class="link" href="NetCommand.html" title="Chapter 13. Remote and Local Management: The Net Command">The Net Command Chapter</a>, <a class="link" href="NetCommand.html#netmisc1" title="Other Miscellaneous Operations">Other Miscellaneous Operations</a> for more information.
    348 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2663022"></a>moveuser.exe</h4></div></div></div><p>
    349 <a class="indexterm" name="id2663030"></a>
     348</p></div><div class="sect3" title="moveuser.exe"><div class="titlepage"><div><div><h4 class="title"><a name="id2669074"></a>moveuser.exe</h4></div></div></div><p>
     349<a class="indexterm" name="id2669082"></a>
    350350The Windows 200x professional resource kit has <code class="literal">moveuser.exe</code>.
    351351<code class="literal">moveuser.exe</code> changes the security of a profile from one user to another. This allows the
     
    353353</p><p>
    354354This command is like the Samba <code class="literal">profiles</code> tool.
    355 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2663064"></a>Get SID</h4></div></div></div><p>
    356 <a class="indexterm" name="id2663071"></a>
    357 <a class="indexterm" name="id2663078"></a>
     355</p></div><div class="sect3" title="Get SID"><div class="titlepage"><div><div><h4 class="title"><a name="id2669116"></a>Get SID</h4></div></div></div><p>
     356<a class="indexterm" name="id2669124"></a>
     357<a class="indexterm" name="id2669130"></a>
    358358You can identify the SID by using <code class="literal">GetSID.exe</code> from the Windows NT Server 4.0 Resource Kit.
    359359</p><p>
     
    365365to move, find the SID for the user with the <code class="literal">GetSID.exe</code> utility.) Inside the appropriate user's subkey,
    366366you will see a string value named <em class="parameter"><code>ProfileImagePath</code></em>.
    367 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2663129"></a>Mandatory Profiles</h2></div></div></div><p>
    368 <a class="indexterm" name="id2663136"></a>
     367</p></div></div></div><div class="sect1" title="Mandatory Profiles"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2669181"></a>Mandatory Profiles</h2></div></div></div><p>
     368<a class="indexterm" name="id2669189"></a>
    369369A mandatory profile is a profile that the user does not have the ability to overwrite. During the
    370370user's session, it may be possible to change the desktop environment; however, as the user logs out, all changes
     
    372372then this must be done through policy settings. See <a class="link" href="PolicyMgmt.html" title="Chapter 26. System and Account Policies">System and Account
    373373Policies</a>.
    374 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    375 <a class="indexterm" name="id2663161"></a>
    376 <a class="indexterm" name="id2663168"></a>
    377 <a class="indexterm" name="id2663175"></a>
     374</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     375<a class="indexterm" name="id2669213"></a>
     376<a class="indexterm" name="id2669220"></a>
     377<a class="indexterm" name="id2669227"></a>
    378378Under NO circumstances should the profile directory (or its contents) be made read-only because this may
    379379render the profile unusable.  Where it is essential to make a profile read-only within the UNIX file system,
     
    381381instruct MS Windows NT/200x/XP clients that the Profile has write permission for the user.  See <a class="link" href="VFS.html#fakeperms" title="fake_perms">fake_perms VFS module</a>.
    382382</p></div><p>
    383 <a class="indexterm" name="id2663206"></a>
    384 <a class="indexterm" name="id2663212"></a>
     383<a class="indexterm" name="id2669258"></a>
     384<a class="indexterm" name="id2669264"></a>
    385385For MS Windows NT4/200x/XP, the procedure shown in <a class="link" href="ProfileMgmt.html#profilemigrn" title="Windows NT4 Profile Management Tools">Profile Migration from Windows
    386386NT4/200x Server to Samba</a> can also be used to create mandatory profiles. To convert a group profile into
     
    388388it to <code class="filename">NTUser.MAN</code>.
    389389</p><p>
    390 <a class="indexterm" name="id2663246"></a>
     390<a class="indexterm" name="id2669299"></a>
    391391For MS Windows 9x/Me, it is the <code class="filename">User.DAT</code> file that must be renamed to
    392392<code class="filename">User.MAN</code> to effect a mandatory profile.
    393 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2663269"></a>Creating and Managing Group Profiles</h2></div></div></div><p>
    394 <a class="indexterm" name="id2663277"></a>
    395 <a class="indexterm" name="id2663284"></a>
    396 <a class="indexterm" name="id2663290"></a>
    397 <a class="indexterm" name="id2663297"></a>
     393</p></div><div class="sect1" title="Creating and Managing Group Profiles"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2669321"></a>Creating and Managing Group Profiles</h2></div></div></div><p>
     394<a class="indexterm" name="id2669329"></a>
     395<a class="indexterm" name="id2669336"></a>
     396<a class="indexterm" name="id2669343"></a>
     397<a class="indexterm" name="id2669350"></a>
    398398Most organizations are arranged into departments. There is a nice benefit in this fact, since usually
    399399most users in a department require the same desktop applications and the same desktop layout. MS
     
    402402assigned access rights for the user group that needs to be given access to the group profile.
    403403</p><p>
    404 <a class="indexterm" name="id2663325"></a>
     404<a class="indexterm" name="id2669377"></a>
    405405The next step is rather important. Instead of assigning a group profile to users (Using User Manager)
    406 on a &#8220;<span class="quote">per-user</span>&#8221; basis, the group itself is assigned the now modified profile.
    407 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     406on a <span class="quote">&#8220;<span class="quote">per-user</span>&#8221;</span> basis, the group itself is assigned the now modified profile.
     407</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    408408Be careful with group profiles. If the user who is a member of a group also has a personal
    409409profile, then the result will be a fusion (merge) of the two.
    410 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2663347"></a>Default Profile for Windows Users</h2></div></div></div><p>
    411 <a class="indexterm" name="id2663355"></a>
    412 <a class="indexterm" name="id2663362"></a>
     410</p></div></div><div class="sect1" title="Default Profile for Windows Users"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2669400"></a>Default Profile for Windows Users</h2></div></div></div><p>
     411<a class="indexterm" name="id2669408"></a>
     412<a class="indexterm" name="id2669415"></a>
    413413MS Windows 9x/Me and NT4/200x/XP will use a default profile for any user for whom a profile
    414414does not already exist. Armed with a knowledge of where the default profile is located on the Windows
     
    416416it is possible to modify the default profile to one that has been optimized for the site. This has
    417417significant administrative advantages.
    418 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2663378"></a>MS Windows 9x/Me</h3></div></div></div><p>
    419 <a class="indexterm" name="id2663386"></a>
    420 <a class="indexterm" name="id2663393"></a>
     418</p><div class="sect2" title="MS Windows 9x/Me"><div class="titlepage"><div><div><h3 class="title"><a name="id2669430"></a>MS Windows 9x/Me</h3></div></div></div><p>
     419<a class="indexterm" name="id2669438"></a>
     420<a class="indexterm" name="id2669445"></a>
    421421To enable default per-use profiles in Windows 9x/Me, you can either use the <span class="application">Windows
    42242298 System Policy Editor</span> or change the registry directly.
     
    428428changes.
    429429</p><p>
    430 <a class="indexterm" name="id2663454"></a>
     430<a class="indexterm" name="id2669506"></a>
    431431To modify the registry directly, launch the <span class="application">Registry Editor</span>
    432432(<code class="literal">regedit.exe</code>) and select the hive <code class="filename">HKEY_LOCAL_MACHINE\Network\Logon</code>.
    433 Now add a DWORD type key with the name &#8220;<span class="quote">User Profiles.</span>&#8221; To enable user profiles to set the value
     433Now add a DWORD type key with the name <span class="quote">&#8220;<span class="quote">User Profiles.</span>&#8221;</span> To enable user profiles to set the value
    434434to 1; to disable user profiles set it to 0.
    435 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2663487"></a>User Profile Handling with Windows 9x/Me</h4></div></div></div><p>
     435</p><div class="sect3" title="User Profile Handling with Windows 9x/Me"><div class="titlepage"><div><div><h4 class="title"><a name="id2669539"></a>User Profile Handling with Windows 9x/Me</h4></div></div></div><p>
    436436When a user logs on to a Windows 9x/Me machine, the local profile path,
    437437<code class="filename">HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\ProfileList</code>, is checked
     
    449449changes that the user made are written to the user's local profile. If the user has a roaming profile,
    450450the changes are written to the user's profile on the server.
    451 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2663529"></a>MS Windows NT4 Workstation</h3></div></div></div><p>
     451</p></div></div><div class="sect2" title="MS Windows NT4 Workstation"><div class="titlepage"><div><div><h3 class="title"><a name="id2669587"></a>MS Windows NT4 Workstation</h3></div></div></div><p>
    452452On MS Windows NT4, the default user profile is obtained from the location
    453453<code class="filename">%SystemRoot%\Profiles</code>, which in a default installation will translate to
     
    462462</p><p>
    463463When a new user first logs onto an MS Windows NT4 machine, a new profile is created from:
    464 </p><div class="itemizedlist"><ul type="disc"><li><p>All Users settings.</p></li><li><p>Default User settings (contains the default <code class="filename">NTUser.DAT</code> file).</p></li></ul></div><p>
    465 <a class="indexterm" name="id2663616"></a>
     464</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>All Users settings.</p></li><li class="listitem"><p>Default User settings (contains the default <code class="filename">NTUser.DAT</code> file).</p></li></ul></div><p>
     465<a class="indexterm" name="id2669675"></a>
    466466When a user logs on to an MS Windows NT4 machine that is a member of a Microsoft security domain,
    467467the following steps are followed for profile handling:
    468 </p><div class="procedure"><ol type="1"><li><p> The user's account information that is obtained during the logon process
     468</p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> The user's account information that is obtained during the logon process
    469469        contains the location of the user's desktop profile. The profile path may be local to
    470470        the machine or it may be located on a network share. If there exists a profile at the
     
    472472        <code class="filename">%SystemRoot%\Profiles\%USERNAME%</code>. This profile then inherits the settings
    473473        in the <code class="filename">All Users</code> profile in the <code class="filename">%SystemRoot%\Profiles</code>
    474         location. </p></li><li><p> If the user account has a profile path, but at its location a profile does not
     474        location. </p></li><li class="step" title="Step 2"><p> If the user account has a profile path, but at its location a profile does not
    475475        exist, then a new profile is created in the <code class="filename">%SystemRoot%\Profiles\%USERNAME%</code>
    476         directory from reading the <code class="filename">Default User</code> profile. </p></li><li><p>
    477 <a class="indexterm" name="id2663694"></a>
    478 <a class="indexterm" name="id2663701"></a>
    479 <a class="indexterm" name="id2663707"></a>
    480 <a class="indexterm" name="id2663714"></a>
    481 <a class="indexterm" name="id2663721"></a>
     476        directory from reading the <code class="filename">Default User</code> profile. </p></li><li class="step" title="Step 3"><p>
     477<a class="indexterm" name="id2669752"></a>
     478<a class="indexterm" name="id2669759"></a>
     479<a class="indexterm" name="id2669766"></a>
     480<a class="indexterm" name="id2669773"></a>
     481<a class="indexterm" name="id2669780"></a>
    482482        If the NETLOGON share on the authenticating server (logon server) contains
    483483        a policy file (<code class="filename">NTConfig.POL</code>), then its contents are applied to the
    484484        <code class="filename">NTUser.DAT</code>, which is applied to the <code class="filename">HKEY_CURRENT_USER</code>
    485485        part of the registry.
    486         </p></li><li><p> When the user logs out, if the profile is set to be a roaming profile, it will be
     486        </p></li><li class="step" title="Step 4"><p> When the user logs out, if the profile is set to be a roaming profile, it will be
    487487        written out to the location of the profile. The <code class="filename">NTuser.DAT</code> file is then
    488488        re-created from the contents of the <code class="filename">HKEY_CURRENT_USER</code> contents. Thus,
     
    501501on logout.
    502502</p><p>
    503 <a class="indexterm" name="id2663829"></a>
     503<a class="indexterm" name="id2669887"></a>
    504504Under MS Windows NT4, default locations for common resources like <code class="filename">My Documents</code>
    505505may be redirected to a network share by modifying the following registry keys. These changes may be
     
    520520                                                \User Shell Folders
    521521</pre><p>
    522 <a class="indexterm" name="id2663869"></a>
     522<a class="indexterm" name="id2669927"></a>
    523523</p><p>  The above hive key contains a list of automatically managed
    524524folders. The default entries are shown in <a class="link" href="ProfileMgmt.html#ProfileLocs" title="Table 27.1. User Shell Folder Registry Keys Default Values">the next table</a>.
     
    530530</p><p>
    531531The default entries are shown in <a class="link" href="ProfileMgmt.html#regkeys" title="Table 27.2. Defaults of Profile Settings Registry Keys">Defaults of Profile Settings Registry Keys</a>.
    532 </p><div class="table"><a name="regkeys"></a><p class="title"><b>Table 27.2. Defaults of Profile Settings Registry Keys</b></p><div class="table-contents"><table summary="Defaults of Profile Settings Registry Keys" border="1"><colgroup><col align="left"><col align="left"></colgroup><tbody><tr><td align="left">Common Desktop</td><td align="left">%SystemRoot%\Profiles\All Users\Desktop</td></tr><tr><td align="left">Common Programs</td><td align="left">%SystemRoot%\Profiles\All Users\Programs</td></tr><tr><td align="left">Common Start Menu</td><td align="left">%SystemRoot%\Profiles\All Users\Start Menu</td></tr><tr><td align="left">Common Startup</td><td align="left">%SystemRoot%\Profiles\All Users\Start Menu\Programs\Startup</td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2664091"></a>MS Windows 200x/XP</h3></div></div></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    533 <a class="indexterm" name="id2664100"></a>
    534 <a class="indexterm" name="id2664107"></a>
    535 <a class="indexterm" name="id2664114"></a>
    536 <a class="indexterm" name="id2664121"></a>
     532</p><div class="table"><a name="regkeys"></a><p class="title"><b>Table 27.2. Defaults of Profile Settings Registry Keys</b></p><div class="table-contents"><table summary="Defaults of Profile Settings Registry Keys" border="1"><colgroup><col align="left"><col align="left"></colgroup><tbody><tr><td align="left">Common Desktop</td><td align="left">%SystemRoot%\Profiles\All Users\Desktop</td></tr><tr><td align="left">Common Programs</td><td align="left">%SystemRoot%\Profiles\All Users\Programs</td></tr><tr><td align="left">Common Start Menu</td><td align="left">%SystemRoot%\Profiles\All Users\Start Menu</td></tr><tr><td align="left">Common Startup</td><td align="left">%SystemRoot%\Profiles\All Users\Start Menu\Programs\Startup</td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect2" title="MS Windows 200x/XP"><div class="titlepage"><div><div><h3 class="title"><a name="id2670149"></a>MS Windows 200x/XP</h3></div></div></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     533<a class="indexterm" name="id2670158"></a>
     534<a class="indexterm" name="id2670165"></a>
     535<a class="indexterm" name="id2670172"></a>
     536<a class="indexterm" name="id2670179"></a>
    537537MS Windows XP Home Edition does use default per-user profiles, but cannot participate
    538538in domain security, cannot log onto an NT/ADS-style domain, and thus can obtain the profile only
     
    541541profile and enforce it through the use of Group Policy Objects (GPOs).
    542542</p></div><p>
    543 <a class="indexterm" name="id2664138"></a>
     543<a class="indexterm" name="id2670197"></a>
    544544When a new user first logs onto an MS Windows 200x/XP machine, the default profile is obtained from
    545545<code class="filename">C:\Documents and Settings\Default User</code>. The administrator can modify or change the
     
    547547since it will involve copying a new default profile to every MS Windows 200x/XP client workstation.
    548548</p><p>
    549 <a class="indexterm" name="id2664161"></a>
     549<a class="indexterm" name="id2670219"></a>
    550550When MS Windows 200x/XP participates in a domain security context, and if the default user profile is not
    551551found, then the client will search for a default profile in the NETLOGON share of the authenticating server.
     
    553553and if one exists there, it will copy this to the workstation in the <code class="filename">C:\Documents and
    554554Settings\</code> under the Windows login name of the use.
    555 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> This path translates, in Samba parlance, to the <code class="filename">smb.conf</code>
     555</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> This path translates, in Samba parlance, to the <code class="filename">smb.conf</code>
    556556<em class="parameter"><code>[NETLOGON]</code></em> share. The directory should be created at the root
    557557of this share and must be called <code class="filename">Default User</code>.
     
    560560settings that pertain to the user. If no specific policies have been created or passed to the client
    561561during the login process (as Samba does automatically), then the user's profile is written to the
    562 local machine only under the path <code class="filename">C:\Documents and Settings\%USERNAME%</code>. </p><p> Those wishing to modify the default behavior can do so through these three methods: </p><div class="itemizedlist"><ul type="disc"><li><p> Modify the registry keys on the local machine manually and place the new
     562local machine only under the path <code class="filename">C:\Documents and Settings\%USERNAME%</code>. </p><p> Those wishing to modify the default behavior can do so through these three methods: </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> Modify the registry keys on the local machine manually and place the new
    563563        default profile in the NETLOGON share root. This is not recommended because it is maintenance intensive.
    564         </p></li><li><p> Create an NT4-style NTConfig.POL file that specifies this behavior and locate
    565         this file in the root of the NETLOGON share along with the new default profile. </p></li><li><p> Create a GPO that enforces this through Active Directory, and place the new
     564        </p></li><li class="listitem"><p> Create an NT4-style NTConfig.POL file that specifies this behavior and locate
     565        this file in the root of the NETLOGON share along with the new default profile. </p></li><li class="listitem"><p> Create a GPO that enforces this through Active Directory, and place the new
    566566        default profile in the NETLOGON share.  </p></li></ul></div><p>The registry hive key that affects the behavior of folders that are part of the default user
    567567profile are controlled by entries on Windows 200x/XP is: </p><p> <code class="filename">HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell
     
    569569This hive key contains a list of automatically managed folders. The default entries are shown
    570570in <a class="link" href="ProfileMgmt.html#defregpthkeys" title="Table 27.3. Defaults of Default User Profile Paths Registry Keys">the next table</a>
    571 <a class="indexterm" name="id2664298"></a>
    572 </p><div class="table"><a name="defregpthkeys"></a><p class="title"><b>Table 27.3. Defaults of Default User Profile Paths Registry Keys</b></p><div class="table-contents"><table summary="Defaults of Default User Profile Paths Registry Keys" border="1"><colgroup><col align="left"><col align="left"></colgroup><thead><tr><th align="left">Name</th><th align="left">Default Value</th></tr></thead><tbody><tr><td align="left">AppData</td><td align="left">%USERPROFILE%\Application Data</td></tr><tr><td align="left">Cache</td><td align="left">%USERPROFILE%\Local Settings\Temporary Internet Files</td></tr><tr><td align="left">Cookies</td><td align="left">%USERPROFILE%\Cookies</td></tr><tr><td align="left">Desktop</td><td align="left">%USERPROFILE%\Desktop</td></tr><tr><td align="left">Favorites</td><td align="left">%USERPROFILE%\Favorites</td></tr><tr><td align="left">History</td><td align="left">%USERPROFILE%\Local Settings\History</td></tr><tr><td align="left">Local AppData</td><td align="left">%USERPROFILE%\Local Settings\Application Data</td></tr><tr><td align="left">Local Settings</td><td align="left">%USERPROFILE%\Local Settings</td></tr><tr><td align="left">My Pictures</td><td align="left">%USERPROFILE%\My Documents\My Pictures</td></tr><tr><td align="left">NetHood</td><td align="left">%USERPROFILE%\NetHood</td></tr><tr><td align="left">Personal</td><td align="left">%USERPROFILE%\My Documents</td></tr><tr><td align="left">PrintHood</td><td align="left">%USERPROFILE%\PrintHood</td></tr><tr><td align="left">Programs</td><td align="left">%USERPROFILE%\Start Menu\Programs</td></tr><tr><td align="left">Recent</td><td align="left">%USERPROFILE%\Recent</td></tr><tr><td align="left">SendTo</td><td align="left">%USERPROFILE%\SendTo</td></tr><tr><td align="left">Start Menu</td><td align="left">%USERPROFILE%\Start Menu</td></tr><tr><td align="left">Startup</td><td align="left">%USERPROFILE%\Start Menu\Programs\Startup</td></tr><tr><td align="left">Templates</td><td align="left">%USERPROFILE%\Templates</td></tr></tbody></table></div></div><br class="table-break"><p> There is also an entry called &#8220;<span class="quote">Default</span>&#8221; that has no value set. The default entry is
     571<a class="indexterm" name="id2670356"></a>
     572</p><div class="table"><a name="defregpthkeys"></a><p class="title"><b>Table 27.3. Defaults of Default User Profile Paths Registry Keys</b></p><div class="table-contents"><table summary="Defaults of Default User Profile Paths Registry Keys" border="1"><colgroup><col align="left"><col align="left"></colgroup><thead><tr><th align="left">Name</th><th align="left">Default Value</th></tr></thead><tbody><tr><td align="left">AppData</td><td align="left">%USERPROFILE%\Application Data</td></tr><tr><td align="left">Cache</td><td align="left">%USERPROFILE%\Local Settings\Temporary Internet Files</td></tr><tr><td align="left">Cookies</td><td align="left">%USERPROFILE%\Cookies</td></tr><tr><td align="left">Desktop</td><td align="left">%USERPROFILE%\Desktop</td></tr><tr><td align="left">Favorites</td><td align="left">%USERPROFILE%\Favorites</td></tr><tr><td align="left">History</td><td align="left">%USERPROFILE%\Local Settings\History</td></tr><tr><td align="left">Local AppData</td><td align="left">%USERPROFILE%\Local Settings\Application Data</td></tr><tr><td align="left">Local Settings</td><td align="left">%USERPROFILE%\Local Settings</td></tr><tr><td align="left">My Pictures</td><td align="left">%USERPROFILE%\My Documents\My Pictures</td></tr><tr><td align="left">NetHood</td><td align="left">%USERPROFILE%\NetHood</td></tr><tr><td align="left">Personal</td><td align="left">%USERPROFILE%\My Documents</td></tr><tr><td align="left">PrintHood</td><td align="left">%USERPROFILE%\PrintHood</td></tr><tr><td align="left">Programs</td><td align="left">%USERPROFILE%\Start Menu\Programs</td></tr><tr><td align="left">Recent</td><td align="left">%USERPROFILE%\Recent</td></tr><tr><td align="left">SendTo</td><td align="left">%USERPROFILE%\SendTo</td></tr><tr><td align="left">Start Menu</td><td align="left">%USERPROFILE%\Start Menu</td></tr><tr><td align="left">Startup</td><td align="left">%USERPROFILE%\Start Menu\Programs\Startup</td></tr><tr><td align="left">Templates</td><td align="left">%USERPROFILE%\Templates</td></tr></tbody></table></div></div><br class="table-break"><p> There is also an entry called <span class="quote">&#8220;<span class="quote">Default</span>&#8221;</span> that has no value set. The default entry is
    573573of type <code class="constant">REG_SZ</code>; all the others are of type <code class="constant">REG_EXPAND_SZ</code>. </p><p> It makes a huge difference to the speed of handling roaming user profiles if all the folders are
    574574stored on a dedicated location on a network server. This means that it will not be necessary to write
     
    590590        A roaming profile is cached locally unless the following registry key is created:
    591591
    592 <a class="indexterm" name="id2664572"></a>
     592<a class="indexterm" name="id2670630"></a>
    593593</p><p> </p><pre class="programlisting"> HKEY_LOCAL_MACHINE\SYSTEM\Software\Microsoft\Windows NT\CurrentVersion\
    594594        winlogon\"DeleteRoamingCache"=dword:00000001</pre><p>
    595595In this case, the local cache copy is deleted on logout.
    596 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2664596"></a>Common Errors</h2></div></div></div><p>
     596</p></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2670655"></a>Common Errors</h2></div></div></div><p>
    597597The following are some typical errors, problems, and questions that have been asked on the Samba mailing lists.
    598 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2664607"></a>Configuring Roaming Profiles for a Few Users or Groups</h3></div></div></div><p>
     598</p><div class="sect2" title="Configuring Roaming Profiles for a Few Users or Groups"><div class="titlepage"><div><div><h3 class="title"><a name="id2670666"></a>Configuring Roaming Profiles for a Few Users or Groups</h3></div></div></div><p>
    599599With Samba-2.2.x, the choice you have is to enable or disable roaming profiles support. It is a
    600600global-only setting. The default is to have roaming profiles, and the default path will locate them in
     
    606606</p><p>
    607607With Samba-3, you can have a global profile setting in <code class="filename">smb.conf</code>, and you can override this by
    608 per-user settings using the Domain User Manager (as with MS Windows NT4/200x). </p><p> In any case, you can configure only one profile per user. That profile can be either: </p><div class="itemizedlist"><ul type="disc"><li><p>A profile unique to that user.</p></li><li><p>A mandatory profile (one the user cannot change).</p></li><li><p>A group profile (really should be mandatory  that is, unchangable).</p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2664669"></a>Cannot Use Roaming Profiles</h3></div></div></div><p> A user requested the following: &#8220;<span class="quote"> I do not want roaming profiles to be implemented. I want
     608per-user settings using the Domain User Manager (as with MS Windows NT4/200x). </p><p> In any case, you can configure only one profile per user. That profile can be either: </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>A profile unique to that user.</p></li><li class="listitem"><p>A mandatory profile (one the user cannot change).</p></li><li class="listitem"><p>A group profile (really should be mandatory  that is, unchangable).</p></li></ul></div></div><div class="sect2" title="Cannot Use Roaming Profiles"><div class="titlepage"><div><div><h3 class="title"><a name="id2670727"></a>Cannot Use Roaming Profiles</h3></div></div></div><p> A user requested the following: <span class="quote">&#8220;<span class="quote"> I do not want roaming profiles to be implemented. I want
    609609to give users a local profile alone. I am totally lost with this error. For the past
    610 two days I tried everything, I googled around but found no useful pointers. Please help me. </span>&#8221;</p><p> The choices are: </p><div class="variablelist"><dl><dt><span class="term">Local profiles</span></dt><dd><p> I know of no registry keys that will allow
     610two days I tried everything, I googled around but found no useful pointers. Please help me. </span>&#8221;</span></p><p> The choices are: </p><div class="variablelist"><dl><dt><span class="term">Local profiles</span></dt><dd><p> I know of no registry keys that will allow
    611611                autodeletion of LOCAL profiles on log out.</p></dd><dt><span class="term">Roaming profiles</span></dt><dd><p> As a user logs onto the network, a centrally
    612612                stored profile is copied to the workstation to form a local profile. This local profile
     
    624624workstation, but they harvest the fruits of folly (and ignorance). </p><p> The point of this discussion is to show that roaming profiles and good controls of how they can be
    625625changed as well as good discipline make for a problem-free site. </p><p> Microsoft's answer to the PST problem is to store all email in an MS Exchange Server backend. This
    626 removes the need for a PST file. </p><p>Local profiles mean: </p><div class="itemizedlist"><ul type="disc"><li><p>If each machine is used by many users, then much local disk storage is needed
    627         for local profiles.</p></li><li><p>Every workstation the user logs into has
    628         its own profile; these can be very different from machine to machine.</p></li></ul></div><p> On the other hand, use of roaming profiles means: </p><div class="itemizedlist"><ul type="disc"><li><p>The network administrator can control the desktop environment of all users.</p></li><li><p>Use of mandatory profiles drastically reduces network management overheads.</p></li><li><p>In the long run, users will experience fewer problems.</p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2664840"></a>Changing the Default Profile</h3></div></div></div><p>&#8220;<span class="quote">When the client logs onto the domain controller, it searches
    629 for a profile to download. Where do I put this default profile?</span>&#8221;</p><p>
    630 <a class="indexterm" name="id2664855"></a>
     626removes the need for a PST file. </p><p>Local profiles mean: </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>If each machine is used by many users, then much local disk storage is needed
     627        for local profiles.</p></li><li class="listitem"><p>Every workstation the user logs into has
     628        its own profile; these can be very different from machine to machine.</p></li></ul></div><p> On the other hand, use of roaming profiles means: </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>The network administrator can control the desktop environment of all users.</p></li><li class="listitem"><p>Use of mandatory profiles drastically reduces network management overheads.</p></li><li class="listitem"><p>In the long run, users will experience fewer problems.</p></li></ul></div></div><div class="sect2" title="Changing the Default Profile"><div class="titlepage"><div><div><h3 class="title"><a name="id2670898"></a>Changing the Default Profile</h3></div></div></div><p><span class="quote">&#8220;<span class="quote">When the client logs onto the domain controller, it searches
     629for a profile to download. Where do I put this default profile?</span>&#8221;</span></p><p>
     630<a class="indexterm" name="id2670913"></a>
    631631First, the Samba server needs to be configured as a domain controller. This can be done by
    632 setting in <code class="filename">smb.conf</code>: </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2664876"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2664887"></a><em class="parameter"><code>os level = 32 (or more)</code></em></td></tr><tr><td><a class="indexterm" name="id2664899"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr></table><p> There must be a <em class="parameter"><code>[netlogon]</code></em> share that is world readable. It is
     632setting in <code class="filename">smb.conf</code>: </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2670934"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2670945"></a><em class="parameter"><code>os level = 32 (or more)</code></em></td></tr><tr><td><a class="indexterm" name="id2670957"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr></table><p> There must be a <em class="parameter"><code>[netlogon]</code></em> share that is world readable. It is
    633633a good idea to add a logon script to preset printer and drive connections. There is also a facility
    634634for automatically synchronizing the workstation time clock with that of the logon server (another good
    635 thing to do). </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> To invoke autodeletion of roaming profiles from the local workstation cache (disk storage), use
     635thing to do). </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> To invoke autodeletion of roaming profiles from the local workstation cache (disk storage), use
    636636the <span class="application">Group Policy Editor</span> to create a file called <code class="filename">NTConfig.POL</code>
    637637with the appropriate entries. This file needs to be located in the <em class="parameter"><code>netlogon</code></em>
    638638share root directory.</p></div><p> Windows clients need to be members of the domain. Workgroup machines do not use network logons,
    639 so they do not interoperate with domain profiles. </p><p> For roaming profiles, add to <code class="filename">smb.conf</code>: </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2664971"></a><em class="parameter"><code>logon path = \\%N\profiles\%U</code></em></td></tr><tr><td># Default logon drive is Z:</td></tr><tr><td><a class="indexterm" name="id2664987"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td># This requires a PROFILES share that is world writable.</td></tr></table></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2665004"></a>Debugging Roaming Profiles and NT4-style Domain Policies</h3></div></div></div><p>
     639so they do not interoperate with domain profiles. </p><p> For roaming profiles, add to <code class="filename">smb.conf</code>: </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2671029"></a><em class="parameter"><code>logon path = \\%N\profiles\%U</code></em></td></tr><tr><td># Default logon drive is Z:</td></tr><tr><td><a class="indexterm" name="id2671045"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td># This requires a PROFILES share that is world writable.</td></tr></table></div><div class="sect2" title="Debugging Roaming Profiles and NT4-style Domain Policies"><div class="titlepage"><div><div><h3 class="title"><a name="id2671062"></a>Debugging Roaming Profiles and NT4-style Domain Policies</h3></div></div></div><p>
    640640Roaming profiles and domain policies are implemented via <code class="literal">USERENV.DLL</code>.
    641641Microsoft Knowledge Base articles <a class="ulink" href="http://support.microsoft.com/default.aspx?scid=kb;en-us;221833" target="_top">221833</a> and
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/SWAT.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 37. SWAT: The Samba Web Administration Tool</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="migration.html" title="Part IV. Migration and Updating"><link rel="prev" href="NT4Migration.html" title="Chapter 36. Migration from NT4 PDC to Samba-3 PDC"><link rel="next" href="troubleshooting.html" title="Part V. Troubleshooting"></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 37. SWAT: The Samba Web Administration Tool</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="NT4Migration.html">Prev</a> </td><th width="60%" align="center">Part IV. Migration and Updating</th><td width="20%" align="right"> <a accesskey="n" href="troubleshooting.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="SWAT"></a>Chapter 37. SWAT: The Samba Web Administration Tool</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">April 21, 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="SWAT.html#id2681115">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2681245">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2681264">Validate SWAT Installation</a></span></dt><dt><span class="sect2"><a href="SWAT.html#xinetd">Enabling SWAT for Use</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2681902">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682054">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2682252">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2682265">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682326">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682428">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682483">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682540">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682603">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682647">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682666">The Password Change Page</a></span></dt></dl></dd></dl></div><p>
    2 <a class="indexterm" name="id2681079"></a>
    3 <a class="indexterm" name="id2681086"></a>
    4 <a class="indexterm" name="id2681093"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 37. SWAT: The Samba Web Administration Tool</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="migration.html" title="Part IV. Migration and Updating"><link rel="prev" href="NT4Migration.html" title="Chapter 36. Migration from NT4 PDC to Samba-3 PDC"><link rel="next" href="troubleshooting.html" title="Part V. Troubleshooting"></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 37. SWAT: The Samba Web Administration Tool</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="NT4Migration.html">Prev</a> </td><th width="60%" align="center">Part IV. Migration and Updating</th><td width="20%" align="right"> <a accesskey="n" href="troubleshooting.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 37. SWAT: The Samba Web Administration Tool"><div class="titlepage"><div><div><h2 class="title"><a name="SWAT"></a>Chapter 37. SWAT: The Samba Web Administration Tool</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">April 21, 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="SWAT.html#id2687177">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2687302">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2687321">Validate SWAT Installation</a></span></dt><dt><span class="sect2"><a href="SWAT.html#xinetd">Enabling SWAT for Use</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2687958">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688110">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2688308">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2688322">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688382">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688484">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688540">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688596">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688659">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688703">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688722">The Password Change Page</a></span></dt></dl></dd></dl></div><p>
     2<a class="indexterm" name="id2687141"></a>
     3<a class="indexterm" name="id2687148"></a>
     4<a class="indexterm" name="id2687154"></a>
    55There are many and varied opinions regarding the usefulness of SWAT.  No matter how hard one tries to produce
    66the perfect configuration tool, it remains an object of personal taste. SWAT is a tool that allows Web-based
     
    88context-sensitive help on each <code class="filename">smb.conf</code> parameter, it provides for monitoring of current state of connection
    99information, and it allows networkwide MS Windows network password management.
    10 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2681115"></a>Features and Benefits</h2></div></div></div><p>
    11 <a class="indexterm" name="id2681123"></a>
     10</p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2687177"></a>Features and Benefits</h2></div></div></div><p>
     11<a class="indexterm" name="id2687185"></a>
    1212SWAT is a facility that is part of the Samba suite. The main executable is called
    1313<code class="literal">swat</code> and is invoked by the internetworking super daemon.
    1414See <a class="link" href="SWAT.html#xinetd" title="Enabling SWAT for Use">appropriate section</a> for details.
    1515</p><p>
    16 <a class="indexterm" name="id2681151"></a>
     16<a class="indexterm" name="id2687212"></a>
    1717SWAT uses integral Samba components to locate parameters supported by the particular
    1818version of Samba. Unlike tools and utilities that are external to Samba, SWAT is always
     
    2020configuration parameter, directly from <code class="literal">man</code> page entries.
    2121</p><p>
    22 <a class="indexterm" name="id2681172"></a>
    23 <a class="indexterm" name="id2681178"></a>
    24 <a class="indexterm" name="id2681185"></a>
     22<a class="indexterm" name="id2687233"></a>
     23<a class="indexterm" name="id2687240"></a>
     24<a class="indexterm" name="id2687247"></a>
    2525Some network administrators believe that it is a good idea to write systems
    2626documentation inside configuration files, and for them SWAT will always be a nasty tool. SWAT
     
    3030as well as parameters that are no longer supported, will be lost from the <code class="filename">smb.conf</code> file.
    3131Additionally, the parameters will be written back in internal ordering.
    32 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    33 <a class="indexterm" name="id2681223"></a>
     32</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     33<a class="indexterm" name="id2687280"></a>
    3434Before using SWAT, please be warned  SWAT will completely replace your <code class="filename">smb.conf</code> with
    3535a fully optimized file that has been stripped of all comments you might have placed there
    3636and only nondefault settings will be written to the file.
    37 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2681245"></a>Guidelines and Technical Tips</h2></div></div></div><p>
    38 <a class="indexterm" name="id2681253"></a>
     37</p></div></div><div class="sect1" title="Guidelines and Technical Tips"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2687302"></a>Guidelines and Technical Tips</h2></div></div></div><p>
     38<a class="indexterm" name="id2687310"></a>
    3939This section aims to unlock the dark secrets behind how SWAT may be made to work,
    4040how it can be made more secure, and how to solve internationalization support problems.
    41 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2681264"></a>Validate SWAT Installation</h3></div></div></div><p>
    42 <a class="indexterm" name="id2681272"></a>
     41</p><div class="sect2" title="Validate SWAT Installation"><div class="titlepage"><div><div><h3 class="title"><a name="id2687321"></a>Validate SWAT Installation</h3></div></div></div><p>
     42<a class="indexterm" name="id2687329"></a>
    4343The very first step that should be taken before attempting to configure a host
    4444system for SWAT operation is to check that it is installed. This may seem a trivial
     
    4747on the distribution media.
    4848</p><p>
    49 <a class="indexterm" name="id2681288"></a>
     49<a class="indexterm" name="id2687345"></a>
    5050When you have confirmed that SWAT is installed, it is necessary to validate
    5151that the installation includes the binary <code class="literal">swat</code> file as well
     
    5454<code class="literal">swat</code> binary executable file was installed.
    5555</p><p>
    56 <a class="indexterm" name="id2681316"></a>
    57 <a class="indexterm" name="id2681323"></a>
     56<a class="indexterm" name="id2687372"></a>
     57<a class="indexterm" name="id2687379"></a>
    5858Finally, when you are sure that SWAT has been fully installed, please check that SWAT
    5959is enabled in the control file for the internetworking super-daemon (inetd or xinetd)
    6060that is used on your operating system platform.
    61 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2681334"></a>Locating the <code class="literal">SWAT</code> File</h4></div></div></div><p>
    62 <a class="indexterm" name="id2681348"></a>
    63 <a class="indexterm" name="id2681355"></a>
    64 <a class="indexterm" name="id2681362"></a>
     61</p><div class="sect3" title="Locating the SWAT File"><div class="titlepage"><div><div><h4 class="title"><a name="id2687391"></a>Locating the <code class="literal">SWAT</code> File</h4></div></div></div><p>
     62<a class="indexterm" name="id2687405"></a>
     63<a class="indexterm" name="id2687412"></a>
     64<a class="indexterm" name="id2687419"></a>
    6565To validate that SWAT is installed, first locate the <code class="literal">swat</code> binary
    66 file on the system. It may be found under the following directories:</p><table class="simplelist" border="0" summary="Simple list"><tr><td><code class="filename">/usr/local/samba/bin</code>  the default Samba location</td></tr><tr><td><code class="filename">/usr/sbin</code>  the default location on most Linux systems</td></tr><tr><td><code class="filename">/opt/samba/bin</code></td></tr></table><p>
     66file on the system. It may be found under the following directories:</p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename">/usr/local/samba/bin</code>  the default Samba location</td></tr><tr><td><code class="filename">/usr/sbin</code>  the default location on most Linux systems</td></tr><tr><td><code class="filename">/opt/samba/bin</code></td></tr></table><p>
    6767</p><p>
    6868The actual location is much dependent on the choice of the operating system vendor or as determined
     
    7272The following methods may be helpful.
    7373</p><p>
    74 <a class="indexterm" name="id2681434"></a>
    75 <a class="indexterm" name="id2681441"></a>
    76 <a class="indexterm" name="id2681448"></a>
     74<a class="indexterm" name="id2687491"></a>
     75<a class="indexterm" name="id2687498"></a>
     76<a class="indexterm" name="id2687505"></a>
    7777If <code class="literal">swat</code> is in your current operating system search path, it will be easy to
    7878find it. You can ask what are the command-line options for <code class="literal">swat</code> as shown here:
     
    9292  -V, --version                        Print version
    9393</pre><p>
    94 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2681487"></a>Locating the SWAT Support Files</h4></div></div></div><p>
     94</p></div><div class="sect3" title="Locating the SWAT Support Files"><div class="titlepage"><div><div><h4 class="title"><a name="id2687543"></a>Locating the SWAT Support Files</h4></div></div></div><p>
    9595Now that you have found that <code class="literal">swat</code> is in the search path, it is easy
    9696to identify where the file is located. Here is another simple way this may be done:
     
    163163If the files needed are not available, it is necessary to obtain and install them
    164164before SWAT can be used.
    165 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="xinetd"></a>Enabling SWAT for Use</h3></div></div></div><p>
     165</p></div></div><div class="sect2" title="Enabling SWAT for Use"><div class="titlepage"><div><div><h3 class="title"><a name="xinetd"></a>Enabling SWAT for Use</h3></div></div></div><p>
    166166SWAT should be installed to run via the network super-daemon. Depending on which system
    167167your UNIX/Linux system has, you will have either an <code class="literal">inetd</code>- or
     
    174174</p><p>
    175175The control entry for the older style file might be:
    176 <a class="indexterm" name="id2681679"></a>
     176<a class="indexterm" name="id2687736"></a>
    177177</p><pre class="programlisting">
    178178        # swat is the Samba Web Administration Tool
     
    202202as shown.
    203203</p><p>
    204 <a class="indexterm" name="id2681735"></a>
    205 <a class="indexterm" name="id2681741"></a>
    206 <a class="indexterm" name="id2681748"></a>
    207 <a class="indexterm" name="id2681755"></a>
     204<a class="indexterm" name="id2687791"></a>
     205<a class="indexterm" name="id2687798"></a>
     206<a class="indexterm" name="id2687805"></a>
     207<a class="indexterm" name="id2687812"></a>
    208208Both of the previous examples assume that the <code class="literal">swat</code> binary has been
    209209located in the <code class="filename">/usr/sbin</code> directory. In addition to the above,
     
    213213location using Samba defaults will be <code class="filename">/usr/local/samba/swat</code>.
    214214</p><p>
    215 <a class="indexterm" name="id2681796"></a>
    216 <a class="indexterm" name="id2681803"></a>
     215<a class="indexterm" name="id2687852"></a>
     216<a class="indexterm" name="id2687859"></a>
    217217Access to SWAT will prompt for a logon. If you log onto SWAT as any non-root user,
    218218the only permission allowed is to view certain aspects of configuration as well as
     
    226226<span class="guibutton">HOME</span>, <span class="guibutton">GLOBALS</span>, <span class="guibutton">SHARES</span>, <span class="guibutton">PRINTERS</span>,
    227227<span class="guibutton">WIZARD</span>, <span class="guibutton">STATUS</span>, <span class="guibutton">VIEW</span>, and <span class="guibutton">PASSWORD</span>.
    228 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2681902"></a>Securing SWAT through SSL</h3></div></div></div><p>
    229 <a class="indexterm" name="id2681910"></a>
    230 <a class="indexterm" name="id2681917"></a>
     228</p></div><div class="sect2" title="Securing SWAT through SSL"><div class="titlepage"><div><div><h3 class="title"><a name="id2687958"></a>Securing SWAT through SSL</h3></div></div></div><p>
     229<a class="indexterm" name="id2687966"></a>
     230<a class="indexterm" name="id2687973"></a>
    231231Many people have asked about how to set up SWAT with SSL to allow for secure remote
    232232administration of Samba. Here is a method that works, courtesy of Markus Krieger.
    233233</p><p>
    234234Modifications to the SWAT setup are as follows:
    235 </p><div class="procedure"><ol type="1"><li><p>
    236 <a class="indexterm" name="id2681942"></a>
     235</p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
     236<a class="indexterm" name="id2687998"></a>
    237237        Install OpenSSL.
    238         </p></li><li><p>
    239 <a class="indexterm" name="id2681956"></a>
    240 <a class="indexterm" name="id2681962"></a>
     238        </p></li><li class="step" title="Step 2"><p>
     239<a class="indexterm" name="id2688012"></a>
     240<a class="indexterm" name="id2688019"></a>
    241241        Generate certificate and private key.
    242 <a class="indexterm" name="id2681970"></a>
     242<a class="indexterm" name="id2688027"></a>
    243243</p><pre class="screen">
    244244<code class="prompt">root# </code><strong class="userinput"><code>/usr/bin/openssl req -new -x509 -days 365 -nodes -config \
    245245        /usr/share/doc/packages/stunnel/stunnel.cnf \
    246246        -out /etc/stunnel/stunnel.pem -keyout /etc/stunnel/stunnel.pem</code></strong>
    247 </pre></li><li><p>
     247</pre></li><li class="step" title="Step 3"><p>
    248248        Remove SWAT entry from [x]inetd.
    249         </p></li><li><p>
    250 <a class="indexterm" name="id2682008"></a>
     249        </p></li><li class="step" title="Step 4"><p>
     250<a class="indexterm" name="id2688065"></a>
    251251        Start <code class="literal">stunnel</code>.
    252252
     
    256256</pre></li></ol></div><p>
    257257Afterward, simply connect to SWAT by using the URL <a class="ulink" href="https://myhost:901" target="_top">https://myhost:901</a>, accept the certificate, and the SSL connection is up.
    258 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2682054"></a>Enabling SWAT Internationalization Support</h3></div></div></div><p>
     258</p></div><div class="sect2" title="Enabling SWAT Internationalization Support"><div class="titlepage"><div><div><h3 class="title"><a name="id2688110"></a>Enabling SWAT Internationalization Support</h3></div></div></div><p>
    259259SWAT can be configured to display its messages to match the settings of
    260260the language configurations of your Web browser. It will be passed to SWAT
     
    262262</p><p>
    263263To enable this feature:
    264 </p><div class="itemizedlist"><ul type="disc"><li><p>
     264</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    265265        Install  the proper <code class="literal">msg</code> files from the Samba
    266266        <code class="filename">source/po</code> directory into $LIBDIR.
    267         </p></li><li><p>
     267        </p></li><li class="listitem"><p>
    268268        Set your browsers language setting.
    269269        </p></li></ul></div><p>
    270 <a class="indexterm" name="id2682098"></a>
    271 <a class="indexterm" name="id2682105"></a>
    272 <a class="indexterm" name="id2682111"></a>
    273 <a class="indexterm" name="id2682118"></a>
     270<a class="indexterm" name="id2688154"></a>
     271<a class="indexterm" name="id2688161"></a>
     272<a class="indexterm" name="id2688168"></a>
     273<a class="indexterm" name="id2688175"></a>
    274274The name of the <code class="literal">msg</code> file is the same as the language ID sent by the browser. For
    275275example, <span class="emphasis"><em>en</em></span> means English, <span class="emphasis"><em>ja</em></span> means Japanese, <span class="emphasis"><em>fr</em></span> means French.
    276276</p><p>
    277 <a class="indexterm" name="id2682147"></a>
     277<a class="indexterm" name="id2688204"></a>
    278278If you do not like some of messages, or there are no <code class="literal">msg</code> files for
    279279your locale, you can create them simply by copying the <code class="literal">en.msg</code> files
    280 to the directory for &#8220;<span class="quote">your language ID.msg</span>&#8221; and filling in proper strings
    281 to each &#8220;<span class="quote">msgstr</span>&#8221;. For example, in <code class="filename">it.msg</code>, the
     280to the directory for <span class="quote">&#8220;<span class="quote">your language ID.msg</span>&#8221;</span> and filling in proper strings
     281to each <span class="quote">&#8220;<span class="quote">msgstr</span>&#8221;</span>. For example, in <code class="filename">it.msg</code>, the
    282282<code class="literal">msg</code> file for the Italian locale, just set:
    283283</p><pre class="screen">
     
    285285msgstr "Imposta Default"
    286286</pre><p>
    287 <a class="indexterm" name="id2682195"></a>
     287<a class="indexterm" name="id2688252"></a>
    288288and so on. If you find a mistake or create a new <code class="literal">msg</code> file, please email it
    289289to us so we will consider it in the next release of Samba. The <code class="literal">msg</code> file should be encoded in UTF-8.
    290290</p><p>
    291 <a class="indexterm" name="id2682219"></a>
     291<a class="indexterm" name="id2688276"></a>
    292292Note that if you enable this feature and the <a class="link" href="smb.conf.5.html#DISPLAYCHARSET" target="_top">display charset</a> is not
    293293matched to your browser's setting, the SWAT display may be corrupted.  In a future version of
    294294Samba, SWAT will always display messages with UTF-8 encoding. You will then not need to set
    295295this <code class="filename">smb.conf</code> file parameter.
    296 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2682252"></a>Overview and Quick Tour</h2></div></div></div><p>
     296</p></div></div><div class="sect1" title="Overview and Quick Tour"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2688308"></a>Overview and Quick Tour</h2></div></div></div><p>
    297297SWAT is a tool that may be used to configure Samba or just to obtain useful links
    298298to important reference materials such as the contents of this book as well as other
    299299documents that have been found useful for solving Windows networking problems.
    300 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2682265"></a>The SWAT Home Page</h3></div></div></div><p>
     300</p><div class="sect2" title="The SWAT Home Page"><div class="titlepage"><div><div><h3 class="title"><a name="id2688322"></a>The SWAT Home Page</h3></div></div></div><p>
    301301The SWAT title page provides access to the latest Samba documentation. The manual page for
    302302each Samba component is accessible from this page, as are the Samba3-HOWTO (this
    303 document) as well as the O'Reilly book &#8220;<span class="quote">Using Samba.</span>&#8221;
     303document) as well as the O'Reilly book <span class="quote">&#8220;<span class="quote">Using Samba.</span>&#8221;</span>
    304304</p><p>
    305305Administrators who wish to validate their Samba configuration may obtain useful information
     
    307307also. One diagnostic tool that is not mentioned on this page but that is particularly
    308308useful is <a class="ulink" href="http://www.ethereal.com/" target="_top"><code class="literal">ethereal</code></a>.
    309 </p><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
     309</p><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
    310310SWAT can be configured to run in <span class="emphasis"><em>demo</em></span> mode. This is not recommended
    311311because it runs SWAT without authentication and with full administrative ability. It allows
     
    313313creates this ability is the <code class="option">-a</code> flag to SWAT. <span class="emphasis"><em>Do not use this in a
    314314production environment.</em></span>
    315 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2682326"></a>Global Settings</h3></div></div></div><p>
     315</p></div></div><div class="sect2" title="Global Settings"><div class="titlepage"><div><div><h3 class="title"><a name="id2688382"></a>Global Settings</h3></div></div></div><p>
    316316The <span class="guibutton">GLOBALS</span> button exposes a page that allows configuration of the global parameters
    317317in <code class="filename">smb.conf</code>. There are two levels of exposure of the parameters:
    318 </p><div class="itemizedlist"><ul type="disc"><li><p>
     318</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    319319        <span class="guibutton">Basic</span>  exposes common configuration options.
    320         </p></li><li><p>
     320        </p></li><li class="listitem"><p>
    321321        <span class="guibutton">Advanced</span>  exposes configuration options needed in more
    322322        complex environments.
     
    329329<span class="guibutton">Commit Changes</span> button before moving to another area; otherwise,
    330330your changes will be lost.
    331 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     331</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    332332SWAT has context-sensitive help. To find out what each parameter is
    333333for, simply click on the
    334334<span class="guibutton">Help</span> link to the left of the configuration parameter.
    335 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2682428"></a>Share Settings</h3></div></div></div><p>
     335</p></div></div><div class="sect2" title="Share Settings"><div class="titlepage"><div><div><h3 class="title"><a name="id2688484"></a>Share Settings</h3></div></div></div><p>
    336336To affect a currently configured share, simply click on the pull-down button between the
    337337<span class="guibutton">Choose Share</span> and the <span class="guibutton">Delete Share</span> buttons and
     
    344344into the text field the name of the share to be created, then click on the
    345345<span class="guibutton">Create Share</span> button.
    346 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2682483"></a>Printers Settings</h3></div></div></div><p>
     346</p></div><div class="sect2" title="Printers Settings"><div class="titlepage"><div><div><h3 class="title"><a name="id2688540"></a>Printers Settings</h3></div></div></div><p>
    347347To affect a currently configured printer, simply click on the pull-down button between the
    348348<span class="guibutton">Choose Printer</span> and the <span class="guibutton">Delete Printer</span> buttons and
     
    355355into the text field the name of the share to be created, then click on the
    356356<span class="guibutton">Create Printer</span> button.
    357 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2682540"></a>The SWAT Wizard</h3></div></div></div><p>
     357</p></div><div class="sect2" title="The SWAT Wizard"><div class="titlepage"><div><div><h3 class="title"><a name="id2688596"></a>The SWAT Wizard</h3></div></div></div><p>
    358358The purpose of the SWAT Wizard is to help the Microsoft-knowledgeable network administrator
    359359to configure Samba with a minimum of effort.
     
    371371operate with no WINS support. By clicking one button, you can elect to expose (or not) user
    372372home directories.
    373 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2682603"></a>The Status Page</h3></div></div></div><p>
     373</p></div><div class="sect2" title="The Status Page"><div class="titlepage"><div><div><h3 class="title"><a name="id2688659"></a>The Status Page</h3></div></div></div><p>
    374374The status page serves a limited purpose. First, it allows control of the Samba daemons.
    375375The key daemons that create the Samba server environment are <span class="application">smbd</span>, <span class="application">nmbd</span>, and <span class="application">winbindd</span>.
     
    382382Finally, the status page may be used to terminate specific smbd client connections in order to
    383383free files that may be locked.
    384 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2682647"></a>The View Page</h3></div></div></div><p>
     384</p></div><div class="sect2" title="The View Page"><div class="titlepage"><div><div><h3 class="title"><a name="id2688703"></a>The View Page</h3></div></div></div><p>
    385385The view page allows you to view the optimized <code class="filename">smb.conf</code> file and, if you are
    386386particularly masochistic, permits you also to see all possible global configuration
    387387parameters and their settings.
    388 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2682666"></a>The Password Change Page</h3></div></div></div><p>
     388</p></div><div class="sect2" title="The Password Change Page"><div class="titlepage"><div><div><h3 class="title"><a name="id2688722"></a>The Password Change Page</h3></div></div></div><p>
    389389The password change page is a popular tool that allows the creation, deletion, deactivation,
    390390and reactivation of MS Windows networking users on the local machine. You can also use
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/SambaHA.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 32. High Availability</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="Backup.html" title="Chapter 31. Backup Techniques"><link rel="next" href="largefile.html" title="Chapter 33. Handling Large Directories"></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 32. High Availability</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Backup.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="largefile.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="SambaHA"></a>Chapter 32. High Availability</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jeremy</span> <span class="orgname">Samba Team</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="SambaHA.html#id2672036">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2672157">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2672191">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2672321">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673034">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673115">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673255">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673292">Conclusions</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2672036"></a>Features and Benefits</h2></div></div></div><p>
    2 <a class="indexterm" name="id2672044"></a>
    3 <a class="indexterm" name="id2672051"></a>
    4 <a class="indexterm" name="id2672058"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 32. High Availability</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="Backup.html" title="Chapter 31. Backup Techniques"><link rel="next" href="largefile.html" title="Chapter 33. Handling Large Directories"></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 32. High Availability</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Backup.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="largefile.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 32. High Availability"><div class="titlepage"><div><div><h2 class="title"><a name="SambaHA"></a>Chapter 32. High Availability</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jeremy</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="SambaHA.html#id2678091">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2678212">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2678246">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2678376">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679095">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679176">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679316">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679353">Conclusions</a></span></dt></dl></dd></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2678091"></a>Features and Benefits</h2></div></div></div><p>
     2<a class="indexterm" name="id2678099"></a>
     3<a class="indexterm" name="id2678106"></a>
     4<a class="indexterm" name="id2678113"></a>
    55Network administrators are often concerned about the availability of file and print
    66services. Network users are inclined toward intolerance of the services they depend
     
    99A sign in a computer room served to remind staff of their responsibilities. It read:
    1010</p><div class="blockquote"><blockquote class="blockquote"><p>
    11 <a class="indexterm" name="id2672079"></a>
    12 <a class="indexterm" name="id2672085"></a>
    13 <a class="indexterm" name="id2672092"></a>
    14 <a class="indexterm" name="id2672099"></a>
     11<a class="indexterm" name="id2678134"></a>
     12<a class="indexterm" name="id2678140"></a>
     13<a class="indexterm" name="id2678147"></a>
     14<a class="indexterm" name="id2678154"></a>
    1515All humans fail, in both great and small ways we fail continually. Machines fail too.
    1616Computers are machines that are managed by humans, the fallout from failure
     
    2222understand the problem. That is the purpose of this chapter.
    2323</p><p>
    24 <a class="indexterm" name="id2672123"></a>
    25 <a class="indexterm" name="id2672130"></a>
    26 <a class="indexterm" name="id2672137"></a>
     24<a class="indexterm" name="id2678178"></a>
     25<a class="indexterm" name="id2678185"></a>
     26<a class="indexterm" name="id2678192"></a>
    2727Parenthetically, in the following discussion there are seeds of information on how to
    2828provision a network infrastructure against failure. Our purpose here is not to provide
     
    3333presentation of the current state of knowledge and practice in high availability as it
    3434applies to the deployment of Samba and other CIFS/SMB technologies.
    35 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2672157"></a>Technical Discussion</h2></div></div></div><p>
    36 <a class="indexterm" name="id2672165"></a>
    37 <a class="indexterm" name="id2672172"></a>
    38 <a class="indexterm" name="id2672179"></a>
     35</p></div><div class="sect1" title="Technical Discussion"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2678212"></a>Technical Discussion</h2></div></div></div><p>
     36<a class="indexterm" name="id2678220"></a>
     37<a class="indexterm" name="id2678227"></a>
     38<a class="indexterm" name="id2678234"></a>
    3939The following summary was part of a presentation by Jeremy Allison at the SambaXP 2003
    4040conference that was held at Goettingen, Germany, in April 2003. Material has been added
    4141from other sources, but it was Jeremy who inspired the structure that follows.
    42 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2672191"></a>The Ultimate Goal</h3></div></div></div><p>
    43 <a class="indexterm" name="id2672199"></a>
    44 <a class="indexterm" name="id2672206"></a>
    45 <a class="indexterm" name="id2672213"></a>
     42</p><div class="sect2" title="The Ultimate Goal"><div class="titlepage"><div><div><h3 class="title"><a name="id2678246"></a>The Ultimate Goal</h3></div></div></div><p>
     43<a class="indexterm" name="id2678254"></a>
     44<a class="indexterm" name="id2678261"></a>
     45<a class="indexterm" name="id2678268"></a>
    4646        All clustering technologies aim to achieve one or more of the following:
    47         </p><div class="itemizedlist"><ul type="disc"><li><p>Obtain the maximum affordable computational power.</p></li><li><p>Obtain faster program execution.</p></li><li><p>Deliver unstoppable services.</p></li><li><p>Avert points of failure.</p></li><li><p>Exact most effective utilization of resources.</p></li></ul></div><p>
     47        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Obtain the maximum affordable computational power.</p></li><li class="listitem"><p>Obtain faster program execution.</p></li><li class="listitem"><p>Deliver unstoppable services.</p></li><li class="listitem"><p>Avert points of failure.</p></li><li class="listitem"><p>Exact most effective utilization of resources.</p></li></ul></div><p>
    4848        A clustered file server ideally has the following properties:
    49 <a class="indexterm" name="id2672254"></a>
    50 <a class="indexterm" name="id2672261"></a>
    51 <a class="indexterm" name="id2672268"></a>
    52 <a class="indexterm" name="id2672275"></a>
    53         </p><div class="itemizedlist"><ul type="disc"><li><p>All clients can connect transparently to any server.</p></li><li><p>A server can fail and clients are transparently reconnected to another server.</p></li><li><p>All servers serve out the same set of files.</p></li><li><p>All file changes are immediately seen on all servers.</p><div class="itemizedlist"><ul type="circle"><li><p>Requires a distributed file system.</p></li></ul></div></li><li><p>Infinite ability to scale by adding more servers or disks.</p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2672321"></a>Why Is This So Hard?</h3></div></div></div><p>
     49<a class="indexterm" name="id2678309"></a>
     50<a class="indexterm" name="id2678316"></a>
     51<a class="indexterm" name="id2678323"></a>
     52<a class="indexterm" name="id2678330"></a>
     53        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>All clients can connect transparently to any server.</p></li><li class="listitem"><p>A server can fail and clients are transparently reconnected to another server.</p></li><li class="listitem"><p>All servers serve out the same set of files.</p></li><li class="listitem"><p>All file changes are immediately seen on all servers.</p><div class="itemizedlist"><ul class="itemizedlist" type="circle"><li class="listitem"><p>Requires a distributed file system.</p></li></ul></div></li><li class="listitem"><p>Infinite ability to scale by adding more servers or disks.</p></li></ul></div></div><div class="sect2" title="Why Is This So Hard?"><div class="titlepage"><div><div><h3 class="title"><a name="id2678376"></a>Why Is This So Hard?</h3></div></div></div><p>
    5454        In short, the problem is one of <span class="emphasis"><em>state</em></span>.
    55         </p><div class="itemizedlist"><ul type="disc"><li><p>
    56 <a class="indexterm" name="id2672340"></a>
     55        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     56<a class="indexterm" name="id2678395"></a>
    5757                        All TCP/IP connections are dependent on state information.
    5858                        </p><p>
    59 <a class="indexterm" name="id2672352"></a>
     59<a class="indexterm" name="id2678406"></a>
    6060                        The TCP connection involves a packet sequence number. This
    6161                        sequence number would need to be dynamically updated on all
    6262                        machines in the cluster to effect seamless TCP failover.
    63                         </p></li><li><p>
    64 <a class="indexterm" name="id2672368"></a>
    65 <a class="indexterm" name="id2672375"></a>
     63                        </p></li><li class="listitem"><p>
     64<a class="indexterm" name="id2678423"></a>
     65<a class="indexterm" name="id2678430"></a>
    6666                        CIFS/SMB (the Windows networking protocols) uses TCP connections.
    6767                        </p><p>
    6868                        This means that from a basic design perspective, failover is not
    6969                        seriously considered.
    70                         </p><div class="itemizedlist"><ul type="circle"><li><p>
     70                        </p><div class="itemizedlist"><ul class="itemizedlist" type="circle"><li class="listitem"><p>
    7171                                All current SMB clusters are failover solutions
    7272                                 they rely on the clients to reconnect. They provide server
    7373                                failover, but clients can lose information due to a server failure.
    74 <a class="indexterm" name="id2672400"></a>
     74<a class="indexterm" name="id2678455"></a>
    7575                                </p></li></ul></div><p>
    76                         </p></li><li><p>
     76                        </p></li><li class="listitem"><p>
    7777                        Servers keep state information about client connections.
    78                         </p><div class="itemizedlist"><a class="indexterm" name="id2672418"></a><ul type="circle"><li><p>CIFS/SMB involves a lot of state.</p></li><li><p>Every file open must be compared with other open files
     78                        </p><div class="itemizedlist"><a class="indexterm" name="id2678473"></a><ul class="itemizedlist" type="circle"><li class="listitem"><p>CIFS/SMB involves a lot of state.</p></li><li class="listitem"><p>Every file open must be compared with other open files
    7979                                                to check share modes.</p></li></ul></div><p>
    80                         </p></li></ul></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2672440"></a>The Front-End Challenge</h4></div></div></div><p>
    81 <a class="indexterm" name="id2672448"></a>
    82 <a class="indexterm" name="id2672454"></a>
    83 <a class="indexterm" name="id2672461"></a>
    84 <a class="indexterm" name="id2672468"></a>
    85 <a class="indexterm" name="id2672475"></a>
    86 <a class="indexterm" name="id2672482"></a>
    87 <a class="indexterm" name="id2672489"></a>
     80                        </p></li></ul></div><div class="sect3" title="The Front-End Challenge"><div class="titlepage"><div><div><h4 class="title"><a name="id2678494"></a>The Front-End Challenge</h4></div></div></div><p>
     81<a class="indexterm" name="id2678502"></a>
     82<a class="indexterm" name="id2678509"></a>
     83<a class="indexterm" name="id2678516"></a>
     84<a class="indexterm" name="id2678523"></a>
     85<a class="indexterm" name="id2678530"></a>
     86<a class="indexterm" name="id2678537"></a>
     87<a class="indexterm" name="id2678544"></a>
    8888                To make it possible for a cluster of file servers to appear as a single server that has one
    8989                name and one IP address, the incoming TCP data streams from clients must be processed by the
     
    9191                layer level and then feed the SMB packet to different servers in the cluster.
    9292                </p><p>
    93 <a class="indexterm" name="id2672505"></a>
    94 <a class="indexterm" name="id2672512"></a>
     93<a class="indexterm" name="id2678560"></a>
     94<a class="indexterm" name="id2678567"></a>
    9595                One could split all IPC$ connections and RPC calls to one server to handle printing and user
    9696                lookup requirements. RPC printing handles are shared between different IPC4 sessions  it is
     
    9999                Conceptually speaking, all other servers would then provide only file services. This is a simpler
    100100                problem to concentrate on.
    101                 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2672534"></a>Demultiplexing SMB Requests</h4></div></div></div><p>
    102 <a class="indexterm" name="id2672542"></a>
    103 <a class="indexterm" name="id2672548"></a>
    104 <a class="indexterm" name="id2672556"></a>
    105 <a class="indexterm" name="id2672563"></a>
     101                </p></div><div class="sect3" title="Demultiplexing SMB Requests"><div class="titlepage"><div><div><h4 class="title"><a name="id2678589"></a>Demultiplexing SMB Requests</h4></div></div></div><p>
     102<a class="indexterm" name="id2678596"></a>
     103<a class="indexterm" name="id2678603"></a>
     104<a class="indexterm" name="id2678610"></a>
     105<a class="indexterm" name="id2678618"></a>
    106106                De-multiplexing of SMB requests requires knowledge of SMB state information,
    107107                all of which must be held by the front-end <span class="emphasis"><em>virtual</em></span> server.
    108108                This is a perplexing and complicated problem to solve.
    109109                </p><p>
    110 <a class="indexterm" name="id2672580"></a>
    111 <a class="indexterm" name="id2672587"></a>
    112 <a class="indexterm" name="id2672593"></a>
     110<a class="indexterm" name="id2678635"></a>
     111<a class="indexterm" name="id2678642"></a>
     112<a class="indexterm" name="id2678648"></a>
    113113                Windows XP and later have changed semantics so state information (vuid, tid, fid)
    114114                must match for a successful operation. This makes things simpler than before and is a
    115115                positive step forward.
    116116                </p><p>
    117 <a class="indexterm" name="id2672607"></a>
    118 <a class="indexterm" name="id2672614"></a>
     117<a class="indexterm" name="id2678662"></a>
     118<a class="indexterm" name="id2678669"></a>
    119119                SMB requests are sent by vuid to their associated server. No code exists today to
    120120                effect this solution. This problem is conceptually similar to the problem of
     
    122122                Terminal Server in Samba.
    123123                </p><p>
    124 <a class="indexterm" name="id2672628"></a>
     124<a class="indexterm" name="id2678683"></a>
    125125                One possibility is to start by exposing the server pool to clients directly.
    126126                This could eliminate the de-multiplexing step.
    127                 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2672640"></a>The Distributed File System Challenge</h4></div></div></div><p>
    128 <a class="indexterm" name="id2672648"></a>
     127                </p></div><div class="sect3" title="The Distributed File System Challenge"><div class="titlepage"><div><div><h4 class="title"><a name="id2678695"></a>The Distributed File System Challenge</h4></div></div></div><p>
     128<a class="indexterm" name="id2678703"></a>
    129129                There exists many distributed file systems for UNIX and Linux.
    130130                </p><p>
    131 <a class="indexterm" name="id2672660"></a>
    132 <a class="indexterm" name="id2672666"></a>
    133 <a class="indexterm" name="id2672673"></a>
    134 <a class="indexterm" name="id2672680"></a>
    135 <a class="indexterm" name="id2672687"></a>
    136 <a class="indexterm" name="id2672694"></a>
     131<a class="indexterm" name="id2678714"></a>
     132<a class="indexterm" name="id2678721"></a>
     133<a class="indexterm" name="id2678728"></a>
     134<a class="indexterm" name="id2678735"></a>
     135<a class="indexterm" name="id2678742"></a>
     136<a class="indexterm" name="id2678749"></a>
    137137                Many could be adopted to backend our cluster, so long as awareness of SMB
    138138                semantics is kept in mind (share modes, locking, and oplock issues in particular).
    139139                Common free distributed file systems include:
    140 <a class="indexterm" name="id2672704"></a>
    141 <a class="indexterm" name="id2672711"></a>
    142 <a class="indexterm" name="id2672718"></a>
    143 <a class="indexterm" name="id2672725"></a>
    144                 </p><div class="itemizedlist"><ul type="disc"><li><p>NFS</p></li><li><p>AFS</p></li><li><p>OpenGFS</p></li><li><p>Lustre</p></li></ul></div><p>
    145 <a class="indexterm" name="id2672755"></a>
     140<a class="indexterm" name="id2678759"></a>
     141<a class="indexterm" name="id2678766"></a>
     142<a class="indexterm" name="id2678773"></a>
     143<a class="indexterm" name="id2678780"></a>
     144                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>NFS</p></li><li class="listitem"><p>AFS</p></li><li class="listitem"><p>OpenGFS</p></li><li class="listitem"><p>Lustre</p></li></ul></div><p>
     145<a class="indexterm" name="id2678810"></a>
    146146                The server pool (cluster) can use any distributed file system backend if all SMB
    147147                semantics are performed within this pool.
    148                 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2672767"></a>Restrictive Constraints on Distributed File Systems</h4></div></div></div><p>
    149 <a class="indexterm" name="id2672775"></a>
    150 <a class="indexterm" name="id2672782"></a>
    151 <a class="indexterm" name="id2672789"></a>
    152 <a class="indexterm" name="id2672796"></a>
     148                </p></div><div class="sect3" title="Restrictive Constraints on Distributed File Systems"><div class="titlepage"><div><div><h4 class="title"><a name="id2678822"></a>Restrictive Constraints on Distributed File Systems</h4></div></div></div><p>
     149<a class="indexterm" name="id2678830"></a>
     150<a class="indexterm" name="id2678837"></a>
     151<a class="indexterm" name="id2678844"></a>
     152<a class="indexterm" name="id2678851"></a>
    153153                Where a clustered server provides purely SMB services, oplock handling
    154154                may be done within the server pool without imposing a need for this to
    155155                be passed to the backend file system pool.
    156156                </p><p>
    157 <a class="indexterm" name="id2672809"></a>
    158 <a class="indexterm" name="id2672816"></a>
     157<a class="indexterm" name="id2678864"></a>
     158<a class="indexterm" name="id2678871"></a>
    159159                On the other hand, where the server pool also provides NFS or other file services,
    160160                it will be essential that the implementation be oplock-aware so it can
     
    164164                </p><p>
    165165                Last, all state information must be shared across the server pool.
    166                 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2672836"></a>Server Pool Communications</h4></div></div></div><p>
    167 <a class="indexterm" name="id2672844"></a>
    168 <a class="indexterm" name="id2672851"></a>
    169 <a class="indexterm" name="id2672858"></a>
    170 <a class="indexterm" name="id2672864"></a>
     166                </p></div><div class="sect3" title="Server Pool Communications"><div class="titlepage"><div><div><h4 class="title"><a name="id2678898"></a>Server Pool Communications</h4></div></div></div><p>
     167<a class="indexterm" name="id2678906"></a>
     168<a class="indexterm" name="id2678913"></a>
     169<a class="indexterm" name="id2678919"></a>
     170<a class="indexterm" name="id2678926"></a>
    171171                Most backend file systems support POSIX file semantics. This makes it difficult
    172172                to push SMB semantics back into the file system. POSIX locks have different properties
    173173                and semantics from SMB locks.
    174174                </p><p>
    175 <a class="indexterm" name="id2672878"></a>
    176 <a class="indexterm" name="id2672885"></a>
    177 <a class="indexterm" name="id2672891"></a>
     175<a class="indexterm" name="id2678940"></a>
     176<a class="indexterm" name="id2678946"></a>
     177<a class="indexterm" name="id2678953"></a>
    178178                All <code class="literal">smbd</code> processes in the server pool must of necessity communicate
    179179                very quickly. For this, the current <em class="parameter"><code>tdb</code></em> file structure that Samba
    180180                uses is not suitable for use across a network. Clustered <code class="literal">smbd</code>s must use something else.
    181                 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2672922"></a>Server Pool Communications Demands</h4></div></div></div><p>
     181                </p></div><div class="sect3" title="Server Pool Communications Demands"><div class="titlepage"><div><div><h4 class="title"><a name="id2678983"></a>Server Pool Communications Demands</h4></div></div></div><p>
    182182                High-speed interserver communications in the server pool is a design prerequisite
    183183                for a fully functional system. Possibilities for this include:
    184                 </p><div class="itemizedlist"><a class="indexterm" name="id2672936"></a><a class="indexterm" name="id2672942"></a><ul type="disc"><li><p>
     184                </p><div class="itemizedlist"><a class="indexterm" name="id2678997"></a><a class="indexterm" name="id2679004"></a><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    185185                        Proprietary shared memory bus (example: Myrinet or SCI [scalable coherent interface]).
    186186                        These are high-cost items.
    187                         </p></li><li><p>
     187                        </p></li><li class="listitem"><p>
    188188                        Gigabit Ethernet (now quite affordable).
    189                         </p></li><li><p>
     189                        </p></li><li class="listitem"><p>
    190190                        Raw Ethernet framing (to bypass TCP and UDP overheads).
    191191                        </p></li></ul></div><p>
    192192                We have yet to identify metrics for  performance demands to enable this to happen
    193193                effectively.
    194                 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2672976"></a>Required Modifications to Samba</h4></div></div></div><p>
     194                </p></div><div class="sect3" title="Required Modifications to Samba"><div class="titlepage"><div><div><h4 class="title"><a name="id2679038"></a>Required Modifications to Samba</h4></div></div></div><p>
    195195                Samba needs to be significantly modified to work with a high-speed server interconnect
    196196                system to permit transparent failover clustering.
    197197                </p><p>
    198198                Particular functions inside Samba that will be affected include:
    199                 </p><div class="itemizedlist"><ul type="disc"><li><p>
     199                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    200200                        The locking database, oplock notifications,
    201201                        and the share mode database.
    202                         </p></li><li><p>
    203 <a class="indexterm" name="id2673004"></a>
    204 <a class="indexterm" name="id2673011"></a>
     202                        </p></li><li class="listitem"><p>
     203<a class="indexterm" name="id2679065"></a>
     204<a class="indexterm" name="id2679072"></a>
    205205                        Failure semantics need to be defined. Samba behaves the same way as Windows.
    206206                        When oplock messages fail, a file open request is allowed, but this is
    207207                        potentially dangerous in a clustered environment. So how should interserver
    208208                        pool failure semantics function, and how should such functionality be implemented?
    209                         </p></li><li><p>
     209                        </p></li><li class="listitem"><p>
    210210                        Should this be implemented using a point-to-point lock manager, or can this
    211211                        be done using multicast techniques?
    212                         </p></li></ul></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2673034"></a>A Simple Solution</h3></div></div></div><p>
    213 <a class="indexterm" name="id2673042"></a>
    214 <a class="indexterm" name="id2673049"></a>
    215 <a class="indexterm" name="id2673056"></a>
     212                        </p></li></ul></div></div></div><div class="sect2" title="A Simple Solution"><div class="titlepage"><div><div><h3 class="title"><a name="id2679095"></a>A Simple Solution</h3></div></div></div><p>
     213<a class="indexterm" name="id2679103"></a>
     214<a class="indexterm" name="id2679110"></a>
     215<a class="indexterm" name="id2679117"></a>
    216216        Allowing failover servers to handle different functions within the exported file system
    217217        removes the problem of requiring a distributed locking protocol.
    218218        </p><p>
    219 <a class="indexterm" name="id2673069"></a>
    220 <a class="indexterm" name="id2673076"></a>
     219<a class="indexterm" name="id2679130"></a>
     220<a class="indexterm" name="id2679138"></a>
    221221        If only one server is active in a pair, the need for high-speed server interconnect is avoided.
    222222        This allows the use of existing high-availability solutions, instead of inventing a new one.
     
    225225        must remember where all services are located  a complexity not easily dealt with.
    226226        </p><p>
    227 <a class="indexterm" name="id2673100"></a>
     227<a class="indexterm" name="id2679162"></a>
    228228        The <span class="emphasis"><em>virtual server</em></span> is still needed to redirect requests to backend
    229229        servers. Backend file space integrity is the responsibility of the administrator.
    230         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2673115"></a>High-Availability Server Products</h3></div></div></div><p>
    231 <a class="indexterm" name="id2673123"></a>
    232 <a class="indexterm" name="id2673130"></a>
    233 <a class="indexterm" name="id2673137"></a>
    234 <a class="indexterm" name="id2673144"></a>
    235 <a class="indexterm" name="id2673150"></a>
     230        </p></div><div class="sect2" title="High-Availability Server Products"><div class="titlepage"><div><div><h3 class="title"><a name="id2679176"></a>High-Availability Server Products</h3></div></div></div><p>
     231<a class="indexterm" name="id2679184"></a>
     232<a class="indexterm" name="id2679191"></a>
     233<a class="indexterm" name="id2679198"></a>
     234<a class="indexterm" name="id2679205"></a>
     235<a class="indexterm" name="id2679212"></a>
    236236        Failover servers must communicate in order to handle resource failover. This is essential
    237237        for high-availability services. The use of a dedicated heartbeat is a common technique to
     
    239239        link (LAN or serial).
    240240        </p><p>
    241 <a class="indexterm" name="id2673165"></a>
    242 <a class="indexterm" name="id2673172"></a>
    243 <a class="indexterm" name="id2673179"></a>
    244 <a class="indexterm" name="id2673186"></a>
    245 <a class="indexterm" name="id2673193"></a>
     241<a class="indexterm" name="id2679227"></a>
     242<a class="indexterm" name="id2679234"></a>
     243<a class="indexterm" name="id2679241"></a>
     244<a class="indexterm" name="id2679248"></a>
     245<a class="indexterm" name="id2679255"></a>
    246246        Many failover solutions (like Red Hat Cluster Manager and Microsoft Wolfpack)
    247247        can use a shared SCSI of Fiber Channel disk storage array for failover communication.
     
    249249        <a class="ulink" href="http://www.redhat.com/docs/manuals/enterprise/RHEL-AS-2.1-Manual/cluster-manager/s1-service-samba.html" target="_top">www.redhat.com</a>.
    250250        </p><p>
    251 <a class="indexterm" name="id2673215"></a>
     251<a class="indexterm" name="id2679277"></a>
    252252        The Linux High Availability project is a resource worthy of consultation if your desire is
    253253        to build a highly available Samba file server solution. Please consult the home page at
    254254        <a class="ulink" href="http://www.linux-ha.org/" target="_top">www.linux-ha.org/</a>.
    255255        </p><p>
    256 <a class="indexterm" name="id2673235"></a>
    257 <a class="indexterm" name="id2673242"></a>
     256<a class="indexterm" name="id2679297"></a>
     257<a class="indexterm" name="id2679304"></a>
    258258        Front-end server complexity remains a challenge for high availability because it must deal
    259259        gracefully with backend failures, while at the same time providing continuity of service
    260260        to all network clients.
    261         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2673255"></a>MS-DFS: The Poor Man's Cluster</h3></div></div></div><p>
    262 <a class="indexterm" name="id2673263"></a>
    263 <a class="indexterm" name="id2673270"></a>
     261        </p></div><div class="sect2" title="MS-DFS: The Poor Man's Cluster"><div class="titlepage"><div><div><h3 class="title"><a name="id2679316"></a>MS-DFS: The Poor Man's Cluster</h3></div></div></div><p>
     262<a class="indexterm" name="id2679324"></a>
     263<a class="indexterm" name="id2679331"></a>
    264264        MS-DFS links can be used to redirect clients to disparate backend servers. This pushes
    265265        complexity back to the network client, something already included by Microsoft.
     
    269269        Above all, at the cost of complexity of management, a distributed system (pseudo-cluster) can
    270270        be created using existing Samba functionality.
    271         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2673292"></a>Conclusions</h3></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>Transparent SMB clustering is hard to do!</p></li><li><p>Client failover is the best we can do today.</p></li><li><p>Much more work is needed before a practical and manageable high-availability transparent cluster solution will be possible.</p></li><li><p>MS-DFS can be used to create the illusion of a single transparent cluster.</p></li></ul></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="Backup.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="largefile.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 31. Backup Techniques </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 33. Handling Large Directories</td></tr></table></div></body></html>
     271        </p></div><div class="sect2" title="Conclusions"><div class="titlepage"><div><div><h3 class="title"><a name="id2679353"></a>Conclusions</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Transparent SMB clustering is hard to do!</p></li><li class="listitem"><p>Client failover is the best we can do today.</p></li><li class="listitem"><p>Much more work is needed before a practical and manageable high-availability transparent cluster solution will be possible.</p></li><li class="listitem"><p>MS-DFS can be used to create the illusion of a single transparent cluster.</p></li></ul></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="Backup.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="largefile.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 31. Backup Techniques </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 33. Handling Large Directories</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/ServerType.html

    r274 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 3. Server Types and Security Modes</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="type.html" title="Part II. Server Configuration Basics"><link rel="next" href="samba-pdc.html" title="Chapter 4. Domain Control"></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. Server Types and Security Modes</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="type.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="samba-pdc.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="ServerType"></a>Chapter 3. Server Types and Security Modes</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="orgname">Samba Team</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="ServerType.html#id2558832">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2558991">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2559136">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2559298">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2559461">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560148">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560291">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2560566">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2560753">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2560783">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560815">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560852">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560879">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560937">Stand-alone Server is converted to Domain Controller  Now User accounts don't work</a></span></dt></dl></dd></dl></div><p>
    2 <a class="indexterm" name="id2558793"></a>
    3 <a class="indexterm" name="id2558799"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 3. Server Types and Security Modes</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="type.html" title="Part II. Server Configuration Basics"><link rel="next" href="samba-pdc.html" title="Chapter 4. Domain Control"></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. Server Types and Security Modes</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="type.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="samba-pdc.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 3. Server Types and Security Modes"><div class="titlepage"><div><div><h2 class="title"><a name="ServerType"></a>Chapter 3. Server Types and Security Modes</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="ServerType.html#id2564889">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2565049">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2565193">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2565355">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2565518">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566205">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566348">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2566623">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2566810">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2566840">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566873">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566910">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566937">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566995">Stand-alone Server is converted to Domain Controller  Now User accounts don't work</a></span></dt></dl></dd></dl></div><p>
     2<a class="indexterm" name="id2564850"></a>
     3<a class="indexterm" name="id2564856"></a>
    44This chapter provides information regarding the types of server that Samba may be configured to be. A
    55Microsoft network administrator who wishes to migrate to or use Samba will want to know the meaning, within a
     
    1111Windows servers and clients.
    1212</p><p>
    13 A question often asked is, &#8220;<span class="quote">Why would I want to use Samba?</span>&#8221; Most chapters contain a section that
     13A question often asked is, <span class="quote">&#8220;<span class="quote">Why would I want to use Samba?</span>&#8221;</span> Most chapters contain a section that
    1414highlights features and benefits. We hope that the information provided will help to answer this question. Be
    1515warned though, we want to be fair and reasonable, so not all features are positive toward Samba. The benefit
    1616may be on the side of our competition.
    17 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2558832"></a>Features and Benefits</h2></div></div></div><p>
     17</p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2564889"></a>Features and Benefits</h2></div></div></div><p>
    1818Two men were walking down a dusty road, when one suddenly kicked up a small red stone. It
    1919hurt his toe and lodged in his sandal. He took the stone out and cursed it with a passion
    20 and fury befitting his anguish. The other looked at the stone and said, &#8220;<span class="quote">This is a garnet.
    21 I can turn that into a precious gem and some day it will make a princess very happy!</span>&#8221;
     20and fury befitting his anguish. The other looked at the stone and said, <span class="quote">&#8220;<span class="quote">This is a garnet.
     21I can turn that into a precious gem and some day it will make a princess very happy!</span>&#8221;</span>
    2222</p><p>
    2323The moral of this tale: Two men, two very different perspectives regarding the same stone.
     
    2626a source of discomfort.
    2727</p><p>
    28 <a class="indexterm" name="id2558860"></a>
    29 <a class="indexterm" name="id2558869"></a>
     28<a class="indexterm" name="id2564918"></a>
     29<a class="indexterm" name="id2564926"></a>
    3030Samba started out as a project that sought to provide interoperability for MS Windows 3.x
    3131clients with a UNIX server. It has grown up a lot since its humble beginnings and now provides
     
    3434</p><p>
    3535So, what are the benefits of the features mentioned in this chapter?
    36 </p><div class="itemizedlist"><ul type="disc"><li><p>
    37         <a class="indexterm" name="id2558891"></a>
     36</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     37        <a class="indexterm" name="id2564949"></a>
    3838        Samba-3 can replace an MS Windows NT4 domain controller.
    39         </p></li><li><p>
    40         <a class="indexterm" name="id2558905"></a>
     39        </p></li><li class="listitem"><p>
     40        <a class="indexterm" name="id2564962"></a>
    4141        Samba-3 offers excellent interoperability with MS Windows NT4-style
    4242        domains as well as natively with Microsoft Active Directory domains.
    43         </p></li><li><p>
    44         <a class="indexterm" name="id2558918"></a>
     43        </p></li><li class="listitem"><p>
     44        <a class="indexterm" name="id2564976"></a>
    4545        Samba-3 permits full NT4-style interdomain trusts.
    46         </p></li><li><p>
    47         <a class="indexterm" name="id2558932"></a>
    48         <a class="indexterm" name="id2558938"></a>
     46        </p></li><li class="listitem"><p>
     47        <a class="indexterm" name="id2564989"></a>
     48        <a class="indexterm" name="id2564996"></a>
    4949        Samba has security modes that permit more flexible authentication
    5050        than is possible with MS Windows NT4 domain controllers.
    51         </p></li><li><p>
    52         <a class="indexterm" name="id2558953"></a>
    53         <a class="indexterm" name="id2558964"></a>
     51        </p></li><li class="listitem"><p>
     52        <a class="indexterm" name="id2565010"></a>
     53        <a class="indexterm" name="id2565021"></a>
    5454        Samba-3 permits use of multiple concurrent account database backends.
    5555        (Encrypted passwords that are stored in the account database are in
    5656        formats that are unique to Windows networking).
    57         </p></li><li><p>
    58         <a class="indexterm" name="id2558978"></a>
     57        </p></li><li class="listitem"><p>
     58        <a class="indexterm" name="id2565035"></a>
    5959        The account database backends can be distributed
    6060        and replicated using multiple methods. This gives Samba-3
     
    6262        significantly higher utility than Active Directory domains
    6363        with MS Windows 200x.
    64         </p></li></ul></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2558991"></a>Server Types</h2></div></div></div><p>
    65 <a class="indexterm" name="id2558999"></a>
     64        </p></li></ul></div></div><div class="sect1" title="Server Types"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2565049"></a>Server Types</h2></div></div></div><p>
     65<a class="indexterm" name="id2565056"></a>
    6666Administrators of Microsoft networks often refer to three different types of servers:
    67 </p><div class="itemizedlist"><ul type="disc"><li><p>Domain Controller</p><div class="itemizedlist"><ul type="circle"><li><p>Primary Domain Controller (PDC)</p></li><li><p>Backup Domain Controller (BDC)</p></li><li><p>ADS Domain Controller</p></li></ul></div></li><li><p>Domain Member Server</p><div class="itemizedlist"><ul type="circle"><li><p>Active Directory Domain Server</p></li><li><p>NT4 Style Domain Domain Server</p></li></ul></div></li><li><p>Standalone Server</p></li></ul></div><p>
    68 <a class="indexterm" name="id2559058"></a>
    69 <a class="indexterm" name="id2559067"></a>
    70 <a class="indexterm" name="id2559075"></a>
    71 <a class="indexterm" name="id2559084"></a>
     67</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Domain Controller</p><div class="itemizedlist"><ul class="itemizedlist" type="circle"><li class="listitem"><p>Primary Domain Controller (PDC)</p></li><li class="listitem"><p>Backup Domain Controller (BDC)</p></li><li class="listitem"><p>ADS Domain Controller</p></li></ul></div></li><li class="listitem"><p>Domain Member Server</p><div class="itemizedlist"><ul class="itemizedlist" type="circle"><li class="listitem"><p>Active Directory Domain Server</p></li><li class="listitem"><p>NT4 Style Domain Domain Server</p></li></ul></div></li><li class="listitem"><p>Standalone Server</p></li></ul></div><p>
     68<a class="indexterm" name="id2565116"></a>
     69<a class="indexterm" name="id2565124"></a>
     70<a class="indexterm" name="id2565133"></a>
     71<a class="indexterm" name="id2565141"></a>
    7272The chapters covering domain control (<a class="link" href="samba-pdc.html" title="Chapter 4. Domain Control">Domain Control</a>),
    7373backup domain control (<a class="link" href="samba-bdc.html" title="Chapter 5. Backup Domain Control">Backup Domain Control</a>), and
     
    7777they lay the foundation for deployment of Samba domain security.
    7878</p><p>
    79 <a class="indexterm" name="id2559116"></a>
     79<a class="indexterm" name="id2565173"></a>
    8080A Standalone server is autonomous in respect of the source of its account backend.
    8181Refer to <a class="link" href="StandAloneServer.html" title="Chapter 7. Standalone Servers">Standalone Servers</a> to gain a wider appreciation
    8282of what is meant by a server being configured as a <span class="emphasis"><em>standalone</em></span> server.
    83 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2559136"></a>Samba Security Modes</h2></div></div></div><p>
    84 <a class="indexterm" name="id2559143"></a>
    85 <a class="indexterm" name="id2559150"></a>
     83</p></div><div class="sect1" title="Samba Security Modes"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2565193"></a>Samba Security Modes</h2></div></div></div><p>
     84<a class="indexterm" name="id2565201"></a>
     85<a class="indexterm" name="id2565207"></a>
    8686In this section, the function and purpose of Samba's security modes are described. An accurate understanding of
    8787how Samba implements each security mode as well as how to configure MS Windows clients for each mode will
    8888significantly reduce user complaints and administrator heartache.
    8989</p><p>
    90 <a class="indexterm" name="id2559164"></a>
    91 <a class="indexterm" name="id2559172"></a>
     90<a class="indexterm" name="id2565221"></a>
     91<a class="indexterm" name="id2565230"></a>
    9292Microsoft Windows networking uses a protocol that was originally called the Server Message Block (SMB)
    9393protocol. Since some time around 1996 the protocol has been better known as the Common Internet Filesystem
    9494(CIFS) protocol.
    9595</p><p>
    96 <a class="indexterm" name="id2559188"></a>
    97 <a class="indexterm" name="id2559194"></a>
    98 <a class="indexterm" name="id2559201"></a>
    99 <a class="indexterm" name="id2559207"></a>
     96<a class="indexterm" name="id2565245"></a>
     97<a class="indexterm" name="id2565252"></a>
     98<a class="indexterm" name="id2565258"></a>
     99<a class="indexterm" name="id2565264"></a>
    100100In the SMB/CIFS networking world, there are only two types of security: <span class="emphasis"><em>user-level</em></span> and
    101101<span class="emphasis"><em>share level</em></span>. We refer to these collectively as <span class="emphasis"><em>security levels</em></span>.  In
     
    117117another Samba server, or any vanilla SMB or CIFS client application (e.g., <code class="literal">smbclient</code>) that
    118118make use of services provided by an SMB/CIFS server.
    119 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2559298"></a>User Level Security</h3></div></div></div><p>
    120 <a class="indexterm" name="id2559306"></a>
     119</p><div class="sect2" title="User Level Security"><div class="titlepage"><div><div><h3 class="title"><a name="id2565355"></a>User Level Security</h3></div></div></div><p>
     120<a class="indexterm" name="id2565363"></a>
    121121We describe user-level security first because its simpler.  In user-level security, the client sends a session
    122122setup request directly following protocol negotiation.  This request provides a username and password. The
     
    124124what share the client will eventually try to connect to, so it can't base the
    125125<span class="emphasis"><em>accept/reject</em></span> on anything other than:
    126 </p><div class="orderedlist"><ol type="1"><li><p>the username/password.</p></li><li><p>the name of the client machine.</p></li></ol></div><p>
    127 <a class="indexterm" name="id2559342"></a>
     126</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>the username/password.</p></li><li class="listitem"><p>the name of the client machine.</p></li></ol></div><p>
     127<a class="indexterm" name="id2565399"></a>
    128128If the server accepts the username/password credentials, the client expects to be able to mount shares (using
    129129a <span class="emphasis"><em>tree connection</em></span>) without further specifying a password. It expects that all access
     
    131131setup</em></span>.
    132132</p><p>
    133 <a class="indexterm" name="id2559362"></a>
     133<a class="indexterm" name="id2565420"></a>
    134134It is also possible for a client to send multiple <span class="emphasis"><em>session setup</em></span>
    135135requests. When the server responds, it gives the client a <span class="emphasis"><em>uid</em></span> to use
     
    137137authentication contexts in this way (WinDD is an example of an application that does this).
    138138</p><p>
    139 <a class="indexterm" name="id2559383"></a>
    140 <a class="indexterm" name="id2559390"></a>
    141 <a class="indexterm" name="id2559396"></a>
    142 <a class="indexterm" name="id2559402"></a>
    143 <a class="indexterm" name="id2559408"></a>
     139<a class="indexterm" name="id2565441"></a>
     140<a class="indexterm" name="id2565447"></a>
     141<a class="indexterm" name="id2565453"></a>
     142<a class="indexterm" name="id2565459"></a>
     143<a class="indexterm" name="id2565466"></a>
    144144Windows networking user account names are case-insensitive, meaning that upper-case and lower-case characters
    145145in the account name are considered equivalent. They are said to be case-preserving, but not case significant.
     
    147147not necessarily case-preserving. All Windows NT family systems treat passwords as case-preserving and
    148148case-sensitive.
    149 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2559423"></a>Example Configuration</h4></div></div></div><p>
     149</p><div class="sect3" title="Example Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2565481"></a>Example Configuration</h4></div></div></div><p>
    150150The <code class="filename">smb.conf</code> parameter that sets user-level security is:
    151 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2559444"></a><em class="parameter"><code>security = user</code></em></td></tr></table><p>
     151</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2565502"></a><em class="parameter"><code>security = user</code></em></td></tr></table><p>
    152152This is the default setting since Samba-2.2.x.
    153 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2559461"></a>Share-Level Security</h3></div></div></div><p>
    154 <a class="indexterm" name="id2559468"></a>
    155 <a class="indexterm" name="id2559475"></a>
     153</p></div></div><div class="sect2" title="Share-Level Security"><div class="titlepage"><div><div><h3 class="title"><a name="id2565518"></a>Share-Level Security</h3></div></div></div><p>
     154<a class="indexterm" name="id2565526"></a>
     155<a class="indexterm" name="id2565532"></a>
    156156In share-level security, the client authenticates itself separately for each share. It sends a password along
    157157with each tree connection request (share mount), but it does not explicitly send a username with this
     
    172172authenticated as that user.
    173173</p><p>
    174 <a class="indexterm" name="id2559541"></a>
    175 <a class="indexterm" name="id2559549"></a>
    176 <a class="indexterm" name="id2559556"></a>
     174<a class="indexterm" name="id2565598"></a>
     175<a class="indexterm" name="id2565607"></a>
     176<a class="indexterm" name="id2565613"></a>
    177177Where the list of possible user names is not provided, Samba makes a UNIX system call to find the user
    178178account that has a password that matches the one provided from the standard account database. On a system that
     
    185185group: files nis ldap
    186186</pre><p>
    187 <a class="indexterm" name="id2559587"></a>
    188 <a class="indexterm" name="id2559593"></a>
    189 <a class="indexterm" name="id2559599"></a>
     187<a class="indexterm" name="id2565644"></a>
     188<a class="indexterm" name="id2565650"></a>
     189<a class="indexterm" name="id2565657"></a>
    190190In the example shown here (not likely to be used in practice) the lookup will check
    191191<code class="filename">/etc/passwd</code> and <code class="filename">/etc/group</code>, if not found it will check NIS, then
    192192LDAP.
    193 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2559620"></a>Example Configuration</h4></div></div></div><p>
     193</p><div class="sect3" title="Example Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2565677"></a>Example Configuration</h4></div></div></div><p>
    194194The <code class="filename">smb.conf</code> parameter that sets share-level security is:
    195 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2559641"></a><em class="parameter"><code>security = share</code></em></td></tr></table></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2559653"></a>Domain Security Mode (User-Level Security)</h3></div></div></div><p>
    196 <a class="indexterm" name="id2559661"></a>
    197 <a class="indexterm" name="id2559669"></a>
    198 <a class="indexterm" name="id2559677"></a>
    199 <a class="indexterm" name="id2559684"></a>
    200 <a class="indexterm" name="id2559690"></a>
    201 <a class="indexterm" name="id2559696"></a>
     195</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2565698"></a><em class="parameter"><code>security = share</code></em></td></tr></table></div></div><div class="sect2" title="Domain Security Mode (User-Level Security)"><div class="titlepage"><div><div><h3 class="title"><a name="id2565710"></a>Domain Security Mode (User-Level Security)</h3></div></div></div><p>
     196<a class="indexterm" name="id2565718"></a>
     197<a class="indexterm" name="id2565726"></a>
     198<a class="indexterm" name="id2565735"></a>
     199<a class="indexterm" name="id2565741"></a>
     200<a class="indexterm" name="id2565747"></a>
     201<a class="indexterm" name="id2565754"></a>
    202202Domain security provides a mechanism for storing all user and group accounts in a central, shared, account
    203203repository. The centralized account repository is shared between domain (security) controllers. Servers that
     
    208208will a PDC.
    209209</p><p>
    210 <a class="indexterm" name="id2559728"></a>
    211 <a class="indexterm" name="id2559734"></a>
    212 <a class="indexterm" name="id2559740"></a>
    213 <a class="indexterm" name="id2559749"></a>
    214 <a class="indexterm" name="id2559757"></a>
     210<a class="indexterm" name="id2565785"></a>
     211<a class="indexterm" name="id2565792"></a>
     212<a class="indexterm" name="id2565798"></a>
     213<a class="indexterm" name="id2565806"></a>
     214<a class="indexterm" name="id2565815"></a>
    215215When Samba is operating in <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = domain</a> mode, the Samba server has a
    216216domain security trust account (a machine account) and causes all authentication requests to be passed through
     
    219219have a machine account in the security database.
    220220</p><p>
    221 <a class="indexterm" name="id2559785"></a>
    222 <a class="indexterm" name="id2559794"></a>
    223 <a class="indexterm" name="id2559802"></a>
    224 <a class="indexterm" name="id2559810"></a>
     221<a class="indexterm" name="id2565842"></a>
     222<a class="indexterm" name="id2565851"></a>
     223<a class="indexterm" name="id2565859"></a>
     224<a class="indexterm" name="id2565868"></a>
    225225Within the domain security environment, the underlying security architecture uses user-level security. Even
    226226machines that are domain members must authenticate on startup. The machine account consists of an account
     
    231231</p><p>
    232232There are three possible domain member configurations:
    233 </p><div class="orderedlist"><ol type="1"><li><p>Primary domain controller (PDC) - of which there is one per domain.</p></li><li><p>Backup domain controller (BDC) - of which there can be any number per domain.</p></li><li><p>Domain member server (DMS) - of which there can be any number per domain.</p></li></ol></div><p>
    234 <a class="indexterm" name="id2559859"></a>
     233</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>Primary domain controller (PDC) - of which there is one per domain.</p></li><li class="listitem"><p>Backup domain controller (BDC) - of which there can be any number per domain.</p></li><li class="listitem"><p>Domain member server (DMS) - of which there can be any number per domain.</p></li></ol></div><p>
     234<a class="indexterm" name="id2565916"></a>
    235235We will discuss each of these in separate chapters. For now, we are most interested in basic DMS
    236236configuration.
    237 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2559868"></a>Example Configuration</h4></div></div></div><p><span class="emphasis"><em>
     237</p><div class="sect3" title="Example Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2565925"></a>Example Configuration</h4></div></div></div><p><span class="emphasis"><em>
    238238Samba as a Domain Member Server
    239239</em></span></p><p>
    240 <a class="indexterm" name="id2559880"></a>
     240<a class="indexterm" name="id2565937"></a>
    241241This method involves addition of the following parameters in the <code class="filename">smb.conf</code> file:
    242 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2559900"></a><em class="parameter"><code>security = domain</code></em></td></tr><tr><td><a class="indexterm" name="id2559910"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr></table><p>
     242</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2565957"></a><em class="parameter"><code>security = domain</code></em></td></tr><tr><td><a class="indexterm" name="id2565968"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr></table><p>
    243243</p><p>
    244244In order for this method to work, the Samba server needs to join the MS Windows NT
    245245security domain. This is done as follows:
    246 <a class="indexterm" name="id2559926"></a>
    247 <a class="indexterm" name="id2559934"></a>
    248 </p><div class="procedure"><ol type="1"><li><p>On the MS Windows NT domain controller, using
     246<a class="indexterm" name="id2565983"></a>
     247<a class="indexterm" name="id2565992"></a>
     248</p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>On the MS Windows NT domain controller, using
    249249        the Server Manager, add a machine account for the Samba server.
    250         </p></li><li><p>On the UNIX/Linux system execute:</p><pre class="screen"><code class="prompt">root# </code><strong class="userinput"><code>net rpc join -U administrator%password</code></strong></pre></li></ol></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    251 <a class="indexterm" name="id2559981"></a>
     250        </p></li><li class="step" title="Step 2"><p>On the UNIX/Linux system execute:</p><pre class="screen"><code class="prompt">root# </code><strong class="userinput"><code>net rpc join -U administrator%password</code></strong></pre></li></ol></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     251<a class="indexterm" name="id2566038"></a>
    252252Samba-2.2.4 and later Samba 2.2.x series releases can autojoin a Windows NT4-style domain just by executing:
    253253</p><pre class="screen">
     
    255255         -U Administrator%<em class="replaceable"><code>password</code></em></code></strong>
    256256</pre><p>
    257 <a class="indexterm" name="id2560012"></a>
     257<a class="indexterm" name="id2566070"></a>
    258258Samba-3 can do the same by executing:
    259259</p><pre class="screen">
     
    263263<em class="replaceable"><code>PDC_NAME</code></em>, as it figures this out from the <code class="filename">smb.conf</code> file settings.
    264264</p></div><p>
    265 <a class="indexterm" name="id2560058"></a>
    266 <a class="indexterm" name="id2560064"></a>
    267 <a class="indexterm" name="id2560070"></a>
     265<a class="indexterm" name="id2566115"></a>
     266<a class="indexterm" name="id2566121"></a>
     267<a class="indexterm" name="id2566127"></a>
    268268Use of this mode of authentication requires there to be a standard UNIX account for each user in order to
    269269assign a UID once the account has been authenticated by the Windows domain controller. This account can be
     
    272272set the shell to the file <code class="filename">/bin/false</code>.
    273273</p><p>
    274 <a class="indexterm" name="id2560097"></a>
    275 <a class="indexterm" name="id2560104"></a>
     274<a class="indexterm" name="id2566155"></a>
     275<a class="indexterm" name="id2566161"></a>
    276276Domain controllers can be located anywhere that is convenient. The best advice is to have a BDC on every
    277277physical network segment, and if the PDC is on a remote network segment the use of WINS (see <a class="link" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing">Network Browsing</a> for more information) is almost essential.
     
    280280</p><p>
    281281For more information regarding domain membership, <a class="link" href="domain-member.html" title="Chapter 6. Domain Membership">Domain Membership</a>.
    282 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2560148"></a>ADS Security Mode (User-Level Security)</h3></div></div></div><p>
    283 <a class="indexterm" name="id2560156"></a>
    284 <a class="indexterm" name="id2560163"></a>
     282</p></div></div><div class="sect2" title="ADS Security Mode (User-Level Security)"><div class="titlepage"><div><div><h3 class="title"><a name="id2566205"></a>ADS Security Mode (User-Level Security)</h3></div></div></div><p>
     283<a class="indexterm" name="id2566214"></a>
     284<a class="indexterm" name="id2566220"></a>
    285285Both Samba-2.2, and Samba-3 can join an Active Directory domain using NT4 style RPC based security.  This is
    286286possible if the domain is run in native mode. Active Directory in native mode perfectly allows NT4-style
     
    293293tickets.
    294294</p><p>
    295 <a class="indexterm" name="id2560187"></a>
    296 <a class="indexterm" name="id2560194"></a>
     295<a class="indexterm" name="id2566245"></a>
     296<a class="indexterm" name="id2566251"></a>
    297297Sites that use Microsoft Windows active directory services (ADS) should be aware of the significance of the
    298298terms: <code class="literal">native mode</code> and <code class="literal">mixed mode</code> ADS operation. The term
    299299<code class="literal">realm</code> is used to describe a Kerberos-based security architecture (such as is used by
    300300Microsoft ADS).
    301 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2560220"></a>Example Configuration</h4></div></div></div><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2560232"></a><em class="parameter"><code>realm = your.kerberos.REALM</code></em></td></tr><tr><td><a class="indexterm" name="id2560242"></a><em class="parameter"><code>security = ADS</code></em></td></tr></table><p>
     301</p><div class="sect3" title="Example Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2566278"></a>Example Configuration</h4></div></div></div><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2566289"></a><em class="parameter"><code>realm = your.kerberos.REALM</code></em></td></tr><tr><td><a class="indexterm" name="id2566300"></a><em class="parameter"><code>security = ADS</code></em></td></tr></table><p>
    302302The following parameter may be required:
    303 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2560263"></a><em class="parameter"><code>password server = your.kerberos.server</code></em></td></tr></table><p>
     303</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2566320"></a><em class="parameter"><code>password server = your.kerberos.server</code></em></td></tr></table><p>
    304304Please refer to <a class="link" href="domain-member.html" title="Chapter 6. Domain Membership">Domain Membership</a>, and <a class="link" href="domain-member.html#ads-member" title="Samba ADS Domain Membership">Samba
    305305ADS Domain Membership</a> for more information regarding this configuration option.
    306 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2560291"></a>Server Security (User Level Security)</h3></div></div></div><p>
     306</p></div></div><div class="sect2" title="Server Security (User Level Security)"><div class="titlepage"><div><div><h3 class="title"><a name="id2566348"></a>Server Security (User Level Security)</h3></div></div></div><p>
    307307Server security mode is left over from the time when Samba was not capable of acting
    308308as a domain member server. It is highly recommended not to use this feature. Server
    309309security mode has many drawbacks that include:
    310 </p><div class="itemizedlist"><ul type="disc"><li><p>Potential account lockout on MS Windows NT4/200x password servers.</p></li><li><p>Lack of assurance that the password server is the one specified.</p></li><li><p>Does not work with Winbind, which is particularly needed when storing profiles remotely.</p></li><li><p>This mode may open connections to the password server and keep them open for extended periods.</p></li><li><p>Security on the Samba server breaks badly when the remote password server suddenly shuts down.</p></li><li><p>With this mode there is NO security account in the domain that the password server belongs to for the Samba server.</p></li></ul></div><p>
    311 <a class="indexterm" name="id2560344"></a>
    312 <a class="indexterm" name="id2560351"></a>
     310</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Potential account lockout on MS Windows NT4/200x password servers.</p></li><li class="listitem"><p>Lack of assurance that the password server is the one specified.</p></li><li class="listitem"><p>Does not work with Winbind, which is particularly needed when storing profiles remotely.</p></li><li class="listitem"><p>This mode may open connections to the password server and keep them open for extended periods.</p></li><li class="listitem"><p>Security on the Samba server breaks badly when the remote password server suddenly shuts down.</p></li><li class="listitem"><p>With this mode there is NO security account in the domain that the password server belongs to for the Samba server.</p></li></ul></div><p>
     311<a class="indexterm" name="id2566402"></a>
     312<a class="indexterm" name="id2566408"></a>
    313313In server security mode the Samba server reports to the client that it is in user-level security. The client
    314314then does a session setup as described earlier.  The Samba server takes the username/password that the client
     
    318318SMB server as the <a class="link" href="smb.conf.5.html#PASSWORDSERVER" target="_top">password server</a>.
    319319</p><p>
    320 <a class="indexterm" name="id2560387"></a>
    321 <a class="indexterm" name="id2560393"></a>
     320<a class="indexterm" name="id2566444"></a>
     321<a class="indexterm" name="id2566450"></a>
    322322You should also note that at the start of all this, when the server tells the client
    323323what security level it is in, it also tells the client if it supports encryption. If it
     
    330330the real authentication server.  The real authentication server can be another Samba server, or it can be a
    331331Windows NT server, the latter being natively capable of encrypted password support.
    332 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    333 <a class="indexterm" name="id2560439"></a>
    334 <a class="indexterm" name="id2560445"></a>
     332</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     333<a class="indexterm" name="id2566496"></a>
     334<a class="indexterm" name="id2566503"></a>
    335335When Samba is running in <span class="emphasis"><em>server security mode</em></span>, it is essential that the parameter
    336336<span class="emphasis"><em>password server</em></span> is set to the precise NetBIOS machine name of the target authentication
     
    338338server is arbitrary and cannot be determined from a domain name. In essence, a Samba server that is in
    339339<span class="emphasis"><em>server security mode</em></span> is operating in what used to be known as workgroup mode.
    340 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2560468"></a>Example Configuration</h4></div></div></div><p><span class="emphasis"><em>
     340</p></div><div class="sect3" title="Example Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2566526"></a>Example Configuration</h4></div></div></div><p><span class="emphasis"><em>
    341341Using MS Windows NT as an Authentication Server
    342342</em></span></p><p>
    343343This method involves the additions of the following parameters in the <code class="filename">smb.conf</code> file:
    344 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2560495"></a><em class="parameter"><code>encrypt passwords = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2560505"></a><em class="parameter"><code>security = server</code></em></td></tr><tr><td><a class="indexterm" name="id2560516"></a><em class="parameter"><code>password server = "NetBIOS_name_of_a_DC"</code></em></td></tr></table><p>
     344</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2566552"></a><em class="parameter"><code>encrypt passwords = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2566562"></a><em class="parameter"><code>security = server</code></em></td></tr><tr><td><a class="indexterm" name="id2566573"></a><em class="parameter"><code>password server = "NetBIOS_name_of_a_DC"</code></em></td></tr></table><p>
    345345There are two ways of identifying whether or not a username and password pair is valid.
    346346One uses the reply information provided as part of the authentication messaging
    347347process, the other uses just an error code.
    348348</p><p>
    349 <a class="indexterm" name="id2560536"></a>
    350 <a class="indexterm" name="id2560542"></a>
     349<a class="indexterm" name="id2566593"></a>
     350<a class="indexterm" name="id2566599"></a>
    351351The downside of this mode of configuration is that for security reasons Samba
    352352will send the password server a bogus username and a bogus password, and if the remote
     
    357357Use of this mode of authentication requires a standard UNIX account for the user.
    358358This account can be blocked to prevent logons by non-SMB/CIFS clients.
    359 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2560566"></a>Password Checking</h2></div></div></div><p>
     359</p></div></div></div><div class="sect1" title="Password Checking"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2566623"></a>Password Checking</h2></div></div></div><p>
    360360MS Windows clients may use encrypted passwords as part of a challenge/response
    361361authentication model (a.k.a. NTLMv1 and NTLMv2) or alone, or clear-text strings for simple
     
    364364not both in the same authentication request.
    365365</p><p>
    366 <a class="indexterm" name="id2560583"></a>
    367 <a class="indexterm" name="id2560589"></a>
     366<a class="indexterm" name="id2566640"></a>
     367<a class="indexterm" name="id2566646"></a>
    368368When encrypted passwords are used, a password that has been entered by the user
    369369is encrypted in two ways:
    370 </p><div class="itemizedlist"><ul type="disc"><li><p>An MD4 hash of the unicode of the password
     370</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>An MD4 hash of the unicode of the password
    371371        string. This is known as the NT hash.
    372         </p></li><li><p>The password is converted to uppercase,
     372        </p></li><li class="listitem"><p>The password is converted to uppercase,
    373373        and then padded or truncated to 14 bytes. This string is
    374374        then appended with 5 bytes of NULL characters and split to
     
    376376        The resulting 16 bytes form the LanMan hash.
    377377        </p></li></ul></div><p>
    378 <a class="indexterm" name="id2560619"></a>
     378<a class="indexterm" name="id2566676"></a>
    379379MS Windows 95 pre-service pack 1 and MS Windows NT versions 3.x and version 4.0 pre-service pack 3 will use
    380380either mode of password authentication. All versions of MS Windows that follow these versions no longer
    381381support plain-text passwords by default.
    382382</p><p>
    383 <a class="indexterm" name="id2560635"></a>
     383<a class="indexterm" name="id2566692"></a>
    384384MS Windows clients have a habit of dropping network mappings that have been idle
    385385for 10 minutes or longer. When the user attempts to use the mapped drive
     
    397397uppercasing usernames and passwords before transmitting them to the SMB server
    398398when using clear-text authentication:
    399 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2560675"></a></td></tr><tr><td><a class="indexterm" name="id2560681"></a></td></tr></table><p>
     399</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2566732"></a></td></tr><tr><td><a class="indexterm" name="id2566739"></a></td></tr></table><p>
    400400By default Samba will convert to lowercase the username before attempting to lookup the user
    401401in the database of local system accounts. Because UNIX usernames conventionally
     
    403403is rarely needed.
    404404</p><p>
    405 <a class="indexterm" name="id2560706"></a>
     405<a class="indexterm" name="id2566763"></a>
    406406However, passwords on UNIX systems often make use of mixed-case characters.  This means that in order for a
    407407user on a Windows 9x/Me client to connect to a Samba server using clear-text authentication, the
     
    415415Samba is used. Most attempts to apply the registry change to re-enable plaintext
    416416passwords will eventually lead to user complaints and unhappiness.
    417 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2560753"></a>Common Errors</h2></div></div></div><p>
     417</p></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2566810"></a>Common Errors</h2></div></div></div><p>
    418418We all make mistakes. It is okay to make mistakes, as long as they are made in the right places
    419419and at the right time. A mistake that causes lost productivity is seldom tolerated; however, a mistake
     
    425425which has many phrases that are potentially vague and may be highly confusing
    426426to those for whom English is not their native tongue.
    427 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2560783"></a>What Makes Samba a Server?</h3></div></div></div><p>
     427</p><div class="sect2" title="What Makes Samba a Server?"><div class="titlepage"><div><div><h3 class="title"><a name="id2566840"></a>What Makes Samba a Server?</h3></div></div></div><p>
    428428To some, the nature of the Samba security mode is obvious, but entirely
    429429wrong all the same. It is assumed that <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = server</a> means that Samba
     
    434434context, it is best to leave the security mode at the default setting. By default Samba-3 uses user-mode
    435435security.
    436 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2560815"></a>What Makes Samba a Domain Controller?</h3></div></div></div><p>
    437 <a class="indexterm" name="id2560823"></a>
     436</p></div><div class="sect2" title="What Makes Samba a Domain Controller?"><div class="titlepage"><div><div><h3 class="title"><a name="id2566873"></a>What Makes Samba a Domain Controller?</h3></div></div></div><p>
     437<a class="indexterm" name="id2566880"></a>
    438438The <code class="filename">smb.conf</code> parameter <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = domain</a> does not really make Samba behave
    439439as a domain controller. This setting means we want Samba to be a domain member. See <a class="link" href="samba-pdc.html" title="Chapter 4. Domain Control">Samba as a PDC</a> for more information.
    440 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2560852"></a>What Makes Samba a Domain Member?</h3></div></div></div><p>
     440</p></div><div class="sect2" title="What Makes Samba a Domain Member?"><div class="titlepage"><div><div><h3 class="title"><a name="id2566910"></a>What Makes Samba a Domain Member?</h3></div></div></div><p>
    441441Guess! So many others do. But whatever you do, do not think that <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = user</a>
    442442makes Samba act as a domain member. Read the manufacturer's manual before the warranty expires. See
    443443<a class="link" href="domain-member.html" title="Chapter 6. Domain Membership">Domain Membership</a>, for more information.
    444 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2560879"></a>Constantly Losing Connections to Password Server</h3></div></div></div><p>&#8220;<span class="quote">
     444</p></div><div class="sect2" title="Constantly Losing Connections to Password Server"><div class="titlepage"><div><div><h3 class="title"><a name="id2566937"></a>Constantly Losing Connections to Password Server</h3></div></div></div><p><span class="quote">&#8220;<span class="quote">
    445445Why does server_validate() simply give up rather than re-establish its connection to the
    446446password server?  Though I am not fluent in the SMB protocol, perhaps the cluster server
     
    448448server, which means the password hashes submitted by the client would not work on a subsequent
    449449connection whose session key would be different. So server_validate() must give up.
    450 </span>&#8221;</p><p>
     450</span>&#8221;</span></p><p>
    451451Indeed. That's why <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = server</a>
    452452is at best a nasty hack. Please use <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = domain</a>;
    453453<a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = server</a> mode is also known as pass-through authentication.
    454 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2560937"></a>Stand-alone Server is converted to Domain Controller  Now User accounts don't work</h3></div></div></div><p>&#8220;<span class="quote">
     454</p></div><div class="sect2" title="Stand-alone Server is converted to Domain Controller Now User accounts don't work"><div class="titlepage"><div><div><h3 class="title"><a name="id2566995"></a>Stand-alone Server is converted to Domain Controller  Now User accounts don't work</h3></div></div></div><p><span class="quote">&#8220;<span class="quote">
    455455When I try to log in to the DOMAIN, the eventlog shows <span class="emphasis"><em>tried credentials DOMAIN/username; effective
    456456credentials SERVER/username</em></span>
    457 </span>&#8221;</p><p>
     457</span>&#8221;</span></p><p>
    458458Usually this is due to a user or machine account being created before the Samba server is configured to be a
    459459domain controller. Accounts created before the server becomes a domain controller will be
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/StandAloneServer.html

    r274 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 7. Standalone Servers</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="domain-member.html" title="Chapter 6. Domain Membership"><link rel="next" href="ClientConfig.html" title="Chapter 8. MS Windows Network Configuration Guide"></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 7. Standalone Servers</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="domain-member.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="ClientConfig.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="StandAloneServer"></a>Chapter 7. Standalone Servers</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="StandAloneServer.html#id2574163">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2574257">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2574458">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></span></dt><dt><span class="sect2"><a href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></span></dt></dl></dd><dt><span class="sect1"><a href="StandAloneServer.html#id2575441">Common Errors</a></span></dt></dl></div><p>
    2 <a class="indexterm" name="id2574136"></a>
    3 <a class="indexterm" name="id2574143"></a>
    4 <a class="indexterm" name="id2574150"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 7. Standalone Servers</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="domain-member.html" title="Chapter 6. Domain Membership"><link rel="next" href="ClientConfig.html" title="Chapter 8. MS Windows Network Configuration Guide"></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 7. Standalone Servers</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="domain-member.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="ClientConfig.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 7. Standalone Servers"><div class="titlepage"><div><div><h2 class="title"><a name="StandAloneServer"></a>Chapter 7. Standalone Servers</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="StandAloneServer.html#id2580234">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2580328">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2580529">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></span></dt><dt><span class="sect2"><a href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></span></dt></dl></dd><dt><span class="sect1"><a href="StandAloneServer.html#id2581512">Common Errors</a></span></dt></dl></div><p>
     2<a class="indexterm" name="id2580206"></a>
     3<a class="indexterm" name="id2580213"></a>
     4<a class="indexterm" name="id2580220"></a>
    55Standalone servers are independent of domain controllers on the network.
    66They are not domain members and function more like workgroup servers. In many
    77cases a standalone server is configured with a minimum of security control
    88with the intent that all data served will be readily accessible to all users.
    9 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2574163"></a>Features and Benefits</h2></div></div></div><p>
    10 <a class="indexterm" name="id2574171"></a>
    11 <a class="indexterm" name="id2574178"></a>
     9</p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2580234"></a>Features and Benefits</h2></div></div></div><p>
     10<a class="indexterm" name="id2580242"></a>
     11<a class="indexterm" name="id2580248"></a>
    1212Standalone servers can be as secure or as insecure as needs dictate. They can
    1313have simple or complex configurations. Above all, despite the hoopla about
    1414domain security, they remain a common installation.
    1515</p><p>
    16 <a class="indexterm" name="id2574191"></a>
    17 <a class="indexterm" name="id2574198"></a>
    18 <a class="indexterm" name="id2574205"></a>
    19 <a class="indexterm" name="id2574212"></a>
     16<a class="indexterm" name="id2580262"></a>
     17<a class="indexterm" name="id2580269"></a>
     18<a class="indexterm" name="id2580276"></a>
     19<a class="indexterm" name="id2580283"></a>
    2020If all that is needed is a server for read-only files, or for
    2121printers alone, it may not make sense to effect a complex installation.
     
    2525server is an ideal solution.
    2626</p><p>
    27 <a class="indexterm" name="id2574229"></a>
    28 <a class="indexterm" name="id2574235"></a>
    29 <a class="indexterm" name="id2574242"></a>
     27<a class="indexterm" name="id2580299"></a>
     28<a class="indexterm" name="id2580306"></a>
     29<a class="indexterm" name="id2580313"></a>
    3030Another situation that warrants simplicity is an office that has many printers
    3131that are queued off a single central server. Everyone needs to be able to print
     
    3333be served from the print server. Again, a share-mode standalone server makes
    3434a great solution.
    35 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2574257"></a>Background</h2></div></div></div><p>
    36 <a class="indexterm" name="id2574265"></a>
    37 <a class="indexterm" name="id2574272"></a>
    38 <a class="indexterm" name="id2574279"></a>
     35</p></div><div class="sect1" title="Background"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2580328"></a>Background</h2></div></div></div><p>
     36<a class="indexterm" name="id2580336"></a>
     37<a class="indexterm" name="id2580342"></a>
     38<a class="indexterm" name="id2580350"></a>
    3939The term <span class="emphasis"><em>standalone server</em></span> means that it will provide local authentication and access
    4040control for all resources that are available from it. In general this means that there will be a local user
     
    4242<span class="emphasis"><em>share</em></span> mode or in <span class="emphasis"><em>user</em></span> mode.
    4343</p><p>
    44 <a class="indexterm" name="id2574305"></a>
    45 <a class="indexterm" name="id2574312"></a>
    46 <a class="indexterm" name="id2574319"></a>
     44<a class="indexterm" name="id2580376"></a>
     45<a class="indexterm" name="id2580383"></a>
     46<a class="indexterm" name="id2580390"></a>
    4747No special action is needed other than to create user accounts. Standalone
    4848servers do not provide network logon services. This means that machines that
     
    5353user name. There are several ways this can be done.
    5454</p><p>
    55 <a class="indexterm" name="id2574346"></a>
    56 <a class="indexterm" name="id2574354"></a>
    57 <a class="indexterm" name="id2574360"></a>
     55<a class="indexterm" name="id2580417"></a>
     56<a class="indexterm" name="id2580424"></a>
     57<a class="indexterm" name="id2580431"></a>
    5858Samba tends to blur the distinction a little in defining
    5959a standalone server. This is because the authentication database may be
     
    6161the Samba server is not a member of a domain security context.
    6262</p><p>
    63 <a class="indexterm" name="id2574375"></a>
    64 <a class="indexterm" name="id2574381"></a>
    65 <a class="indexterm" name="id2574388"></a>
    66 <a class="indexterm" name="id2574395"></a>
    67 <a class="indexterm" name="id2574402"></a>
    68 <a class="indexterm" name="id2574408"></a>
    69 <a class="indexterm" name="id2574416"></a>
    70 <a class="indexterm" name="id2574422"></a>
     63<a class="indexterm" name="id2580446"></a>
     64<a class="indexterm" name="id2580452"></a>
     65<a class="indexterm" name="id2580459"></a>
     66<a class="indexterm" name="id2580466"></a>
     67<a class="indexterm" name="id2580472"></a>
     68<a class="indexterm" name="id2580479"></a>
     69<a class="indexterm" name="id2580486"></a>
     70<a class="indexterm" name="id2580493"></a>
    7171Through the use of Pluggable Authentication Modules (PAM) (see <a class="link" href="pam.html" title="Chapter 28. PAM-Based Distributed Authentication">the chapter on PAM</a>)
    7272and the name service switcher (NSS), which maintains the UNIX-user database, the source of authentication may
     
    7575<code class="filename">/etc/shadow</code>), may use a local smbpasswd file, or may use an LDAP backend, or even via PAM
    7676and Winbind another CIFS/SMB server for authentication.
    77 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2574458"></a>Example Configuration</h2></div></div></div><p>
    78 <a class="indexterm" name="id2574466"></a>
    79 <a class="indexterm" name="id2574473"></a>
     77</p></div><div class="sect1" title="Example Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2580529"></a>Example Configuration</h2></div></div></div><p>
     78<a class="indexterm" name="id2580537"></a>
     79<a class="indexterm" name="id2580544"></a>
    8080<a class="link" href="StandAloneServer.html#simplynice" title="Example 7.1. smb.conf for Reference Documentation Server">The example Reference Documentation Server</a> and <a class="link" href="StandAloneServer.html#SimplePrintServer" title="Central Print Serving">Central Print Serving</a> are designed to inspire simplicity. It is too easy to
    8181attempt a high level of creativity and to introduce too much complexity in server and network design.
    82 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="RefDocServer"></a>Reference Documentation Server</h3></div></div></div><p>
    83 <a class="indexterm" name="id2574510"></a>
    84 <a class="indexterm" name="id2574517"></a>
    85 <a class="indexterm" name="id2574523"></a>
    86 <a class="indexterm" name="id2574530"></a>
     82</p><div class="sect2" title="Reference Documentation Server"><div class="titlepage"><div><div><h3 class="title"><a name="RefDocServer"></a>Reference Documentation Server</h3></div></div></div><p>
     83<a class="indexterm" name="id2580581"></a>
     84<a class="indexterm" name="id2580588"></a>
     85<a class="indexterm" name="id2580594"></a>
     86<a class="indexterm" name="id2580601"></a>
    8787Configuration of a read-only data server that everyone can access is very simple. By default, all shares are
    8888read-only, unless set otherwise in the <code class="filename">smb.conf</code> file. <a class="link" href="StandAloneServer.html#simplynice" title="Example 7.1. smb.conf for Reference Documentation Server">The example - Reference
     
    9191nobody. No home directories are shared, and there are no users in the <code class="filename">/etc/passwd</code> UNIX
    9292system database. This is a simple system to administer.
    93 </p><div class="example"><a name="simplynice"></a><p class="title"><b>Example 7.1. smb.conf for Reference Documentation Server</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="id2574604"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2574616"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2574628"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td><a class="indexterm" name="id2574639"></a><em class="parameter"><code>passdb backend = guest</code></em></td></tr><tr><td><a class="indexterm" name="id2574651"></a><em class="parameter"><code>wins server = 192.168.1.1</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[data]</code></em></td></tr><tr><td><a class="indexterm" name="id2574672"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2574683"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2574695"></a><em class="parameter"><code>guest only = Yes</code></em></td></tr></table></div></div><br class="example-break"><div class="blockquote"><table border="0" width="100%" cellspacing="0" cellpadding="0" class="blockquote" summary="Block quote"><tr><td width="10%" valign="top"> </td><td width="80%" valign="top"><p>
     93</p><div class="example"><a name="simplynice"></a><p class="title"><b>Example 7.1. smb.conf for Reference Documentation Server</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="id2580675"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2580686"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2580698"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td><a class="indexterm" name="id2580710"></a><em class="parameter"><code>passdb backend = guest</code></em></td></tr><tr><td><a class="indexterm" name="id2580722"></a><em class="parameter"><code>wins server = 192.168.1.1</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[data]</code></em></td></tr><tr><td><a class="indexterm" name="id2580742"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2580754"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2580766"></a><em class="parameter"><code>guest only = Yes</code></em></td></tr></table></div></div><br class="example-break"><div class="blockquote"><table border="0" width="100%" cellspacing="0" cellpadding="0" class="blockquote" summary="Block quote"><tr><td width="10%" valign="top"> </td><td width="80%" valign="top"><p>
    9494I would have spoken more briefly, if I'd had more time to prepare.
    9595</p></td><td width="10%" valign="top"> </td></tr><tr><td width="10%" valign="top"> </td><td colspan="2" align="right" valign="top">--<span class="attribution">Mark Twain</span></td></tr></table></div><p>
    96 <a class="indexterm" name="id2574721"></a>
    97 <a class="indexterm" name="id2574728"></a>
    98 <a class="indexterm" name="id2574735"></a>
    99 <a class="indexterm" name="id2574742"></a>
     96<a class="indexterm" name="id2580792"></a>
     97<a class="indexterm" name="id2580799"></a>
     98<a class="indexterm" name="id2580805"></a>
     99<a class="indexterm" name="id2580812"></a>
    100100In <a class="link" href="StandAloneServer.html#simplynice" title="Example 7.1. smb.conf for Reference Documentation Server">this example</a>, the machine name is set to GANDALF, and the
    101101workgroup is set to the name of the local workgroup (MIDEARTH) so the machine will appear together
    102 with systems with which users are familiar. The only password backend required is the &#8220;<span class="quote">guest</span>&#8221;
     102with systems with which users are familiar. The only password backend required is the <span class="quote">&#8220;<span class="quote">guest</span>&#8221;</span>
    103103backend to allow default unprivileged account names to be used. As there is a WINS server on this network, we
    104104of course make use of it.
    105105</p><p>
    106 A US Air Force Colonel was renowned for saying: &#8220;<span class="quote">Better is the enemy of good enough!</span>&#8221; There are often
     106A US Air Force Colonel was renowned for saying: <span class="quote">&#8220;<span class="quote">Better is the enemy of good enough!</span>&#8221;</span> There are often
    107107sound reasons for avoiding complexity as well as for avoiding a technically perfect solution. Unfortunately,
    108108many network administrators still need to learn the art of doing just enough to keep out of trouble.
    109 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="SimplePrintServer"></a>Central Print Serving</h3></div></div></div><p>
    110 <a class="indexterm" name="id2574791"></a>
    111 <a class="indexterm" name="id2574798"></a>
     109</p></div><div class="sect2" title="Central Print Serving"><div class="titlepage"><div><div><h3 class="title"><a name="SimplePrintServer"></a>Central Print Serving</h3></div></div></div><p>
     110<a class="indexterm" name="id2580862"></a>
     111<a class="indexterm" name="id2580868"></a>
    112112Configuration of a simple print server is easy if you have all the right tools on your system.
    113 </p><div class="orderedlist"><p class="title"><b> Assumptions</b></p><ol type="1"><li><p>
     113</p><div class="orderedlist" title="Assumptions"><p class="title"><b> Assumptions</b></p><ol class="orderedlist" type="1"><li class="listitem"><p>
    114114        The print server must require no administration.
    115         </p></li><li><p>
     115        </p></li><li class="listitem"><p>
    116116        The print spooling and processing system on our print server will be CUPS.
    117117        (Please refer to <a class="link" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support">CUPS Printing Support</a>, for more information).
    118         </p></li><li><p>
     118        </p></li><li class="listitem"><p>
    119119        The print server will service only network printers. The network administrator
    120120        will correctly configure the CUPS environment to support the printers.
    121         </p></li><li><p>
     121        </p></li><li class="listitem"><p>
    122122        All workstations will use only PostScript drivers. The printer driver
    123123        of choice is the one shipped with the Windows OS for the Apple Color LaserWriter.
    124124        </p></li></ol></div><p>
    125 <a class="indexterm" name="id2574854"></a>
    126 <a class="indexterm" name="id2574861"></a>
    127 <a class="indexterm" name="id2574868"></a>
     125<a class="indexterm" name="id2580925"></a>
     126<a class="indexterm" name="id2580932"></a>
     127<a class="indexterm" name="id2580938"></a>
    128128In this example our print server will spool all incoming print jobs to
    129129<code class="filename">/var/spool/samba</code> until the job is ready to be submitted by
    130130Samba to the CUPS print processor. Since all incoming connections will be as
    131131the anonymous (guest) user, two things will be required to enable anonymous printing.
    132 </p><div class="itemizedlist"><p class="title"><b>Enabling Anonymous Printing</b></p><ul type="disc"><li><p>
    133 <a class="indexterm" name="id2574895"></a>
    134 <a class="indexterm" name="id2574902"></a>
    135 <a class="indexterm" name="id2574909"></a>
     132</p><div class="itemizedlist" title="Enabling Anonymous Printing"><p class="title"><b>Enabling Anonymous Printing</b></p><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     133<a class="indexterm" name="id2580966"></a>
     134<a class="indexterm" name="id2580973"></a>
     135<a class="indexterm" name="id2580980"></a>
    136136        The UNIX/Linux system must have a <code class="literal">guest</code> account.
    137137        The default for this is usually the account <code class="literal">nobody</code>.
     
    141141<code class="prompt">$ </code><strong class="userinput"><code>testparm -s -v | grep "guest account"</code></strong>
    142142</pre><p>
    143 <a class="indexterm" name="id2574947"></a>
     143<a class="indexterm" name="id2581018"></a>
    144144        Make sure that this account exists in your system password
    145145        database (<code class="filename">/etc/passwd</code>).
    146146        </p><p>
    147 <a class="indexterm" name="id2574964"></a>
    148 <a class="indexterm" name="id2574971"></a>
    149 <a class="indexterm" name="id2574978"></a>
     147<a class="indexterm" name="id2581035"></a>
     148<a class="indexterm" name="id2581042"></a>
     149<a class="indexterm" name="id2581049"></a>
    150150        It is a good idea either to set a password on this account, or else to lock it
    151151        from UNIX use. Assuming that the guest account is called <code class="literal">pcguest</code>,
     
    155155</pre><p>
    156156        The exact command may vary depending on your UNIX/Linux distribution.
    157         </p></li><li><p>
    158 <a class="indexterm" name="id2575011"></a>
    159 <a class="indexterm" name="id2575018"></a>
    160 <a class="indexterm" name="id2575025"></a>
    161 <a class="indexterm" name="id2575032"></a>
    162 <a class="indexterm" name="id2575038"></a>
    163 <a class="indexterm" name="id2575045"></a>
     157        </p></li><li class="listitem"><p>
     158<a class="indexterm" name="id2581082"></a>
     159<a class="indexterm" name="id2581089"></a>
     160<a class="indexterm" name="id2581096"></a>
     161<a class="indexterm" name="id2581102"></a>
     162<a class="indexterm" name="id2581109"></a>
     163<a class="indexterm" name="id2581116"></a>
    164164        The directory into which Samba will spool the file must have write
    165165        access for the guest account. The following commands will ensure that
     
    172172        </p></li></ul></div><p>
    173173The contents of the <code class="filename">smb.conf</code> file is shown in <a class="link" href="StandAloneServer.html#AnonPtrSvr" title="Example 7.2. smb.conf for Anonymous Printing">the Anonymous Printing example</a>.
    174 </p><div class="example"><a name="AnonPtrSvr"></a><p class="title"><b>Example 7.2. <code class="filename">smb.conf</code> for Anonymous Printing</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="id2575145"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2575157"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2575168"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td><a class="indexterm" name="id2575180"></a><em class="parameter"><code>passdb backend = guest</code></em></td></tr><tr><td><a class="indexterm" name="id2575192"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2575204"></a><em class="parameter"><code>printcap name = cups</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="id2575224"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2575236"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2575248"></a><em class="parameter"><code>printer admin = root</code></em></td></tr><tr><td><a class="indexterm" name="id2575260"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575271"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575283"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575295"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    175 <a class="indexterm" name="id2575311"></a>
    176 <a class="indexterm" name="id2575320"></a>
    177 <a class="indexterm" name="id2575326"></a>
    178 <a class="indexterm" name="id2575333"></a>
    179 <a class="indexterm" name="id2575340"></a>
     174</p><div class="example"><a name="AnonPtrSvr"></a><p class="title"><b>Example 7.2. <code class="filename">smb.conf</code> for Anonymous Printing</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="id2581216"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2581227"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2581239"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td><a class="indexterm" name="id2581251"></a><em class="parameter"><code>passdb backend = guest</code></em></td></tr><tr><td><a class="indexterm" name="id2581263"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2581274"></a><em class="parameter"><code>printcap name = cups</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="id2581295"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2581307"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2581319"></a><em class="parameter"><code>printer admin = root</code></em></td></tr><tr><td><a class="indexterm" name="id2581330"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2581342"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2581354"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2581366"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     175<a class="indexterm" name="id2581381"></a>
     176<a class="indexterm" name="id2581390"></a>
     177<a class="indexterm" name="id2581397"></a>
     178<a class="indexterm" name="id2581404"></a>
     179<a class="indexterm" name="id2581411"></a>
    180180On CUPS-enabled systems there is a facility to pass raw data directly to the printer without intermediate
    181181processing via CUPS print filters. Where use of this mode of operation is desired, it is necessary to
    182182configure a raw printing device. It is also necessary to enable the raw mime handler in the
    183 <code class="filename">/etc/mime.conv</code> and <code class="filename">/etc/mime.types</code> files. Refer to <a class="link" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support">CUPS Printing Support</a>, <a class="link" href="CUPS-printing.html#cups-raw" title="Explicitly Enable raw Printing for application/octet-stream">Explicitly Enable raw Printing
     183<code class="filename">/etc/mime.conv</code> and <code class="filename">/etc/mime.types</code> files. Refer to <a class="link" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support">CUPS Printing Support</a>, <a class="link" href="CUPS-printing.html#cups-raw" title="Explicitly Enable &#8220;raw&#8221; Printing for application/octet-stream">Explicitly Enable raw Printing
    184184for application/octet-stream</a>.
    185185</p></div><p>
    186 <a class="indexterm" name="id2575383"></a>
    187 <a class="indexterm" name="id2575390"></a>
    188 <a class="indexterm" name="id2575397"></a>
    189 <a class="indexterm" name="id2575403"></a>
     186<a class="indexterm" name="id2581454"></a>
     187<a class="indexterm" name="id2581460"></a>
     188<a class="indexterm" name="id2581467"></a>
     189<a class="indexterm" name="id2581474"></a>
    190190The example in <a class="link" href="StandAloneServer.html#AnonPtrSvr" title="Example 7.2. smb.conf for Anonymous Printing">the Anonymous Printing example</a> uses CUPS for direct printing
    191191via the CUPS libarary API. This means that all printers will be exposed to Windows users without need to
     
    194194with the entry <em class="parameter"><code>printcap name = /etc/samba/myprintcap</code></em>. In this case the file specified
    195195should contain a list of the printer names that should be exposed to Windows network users.
    196 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2575441"></a>Common Errors</h2></div></div></div><p>
    197 <a class="indexterm" name="id2575449"></a>
    198 <a class="indexterm" name="id2575456"></a>
     196</p></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2581512"></a>Common Errors</h2></div></div></div><p>
     197<a class="indexterm" name="id2581520"></a>
     198<a class="indexterm" name="id2581527"></a>
    199199The greatest mistake so often made is to make a network configuration too complex.
    200200It pays to use the simplest solution that will meet the needs of the moment.
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/TOSHpreface.html

    r274 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Preface</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="pr03.html" title="Foreword"><link rel="next" href="IntroSMB.html" title="Introduction"></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">Preface</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pr03.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="IntroSMB.html">Next</a></td></tr></table><hr></div><div class="preface" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="TOSHpreface"></a>Preface</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="TOSHpreface.html#id2551195">Conventions Used</a></span></dt></dl></div><p>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Preface</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="pr03.html" title="Foreword"><link rel="next" href="IntroSMB.html" title="Introduction"></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">Preface</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pr03.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="IntroSMB.html">Next</a></td></tr></table><hr></div><div class="preface" title="Preface"><div class="titlepage"><div><div><h2 class="title"><a name="TOSHpreface"></a>Preface</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="TOSHpreface.html#id2557252">Conventions Used</a></span></dt></dl></div><p>
    22The editors wish to thank you for your decision to purchase this book.
    33The Official Samba-3 HOWTO and Reference Guide is the result of many years
     
    1919The most recent electronic versions of this document can be found at
    2020<a class="ulink" href="http://www.samba.org/" target="_top">http://www.samba.org/</a>
    21 on the &#8220;<span class="quote">Documentation</span>&#8221; page.
     21on the <span class="quote">&#8220;<span class="quote">Documentation</span>&#8221;</span> page.
    2222</p><p>
    2323Updates, patches and corrections are most welcome. Please email your contributions
    2424to any one of the following:
    2525</p><p>
    26 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="ulink" href="mailto:jelmer@samba.org" target="_top">Jelmer Vernooij (jelmer@samba.org)</a></td></tr><tr><td><a class="ulink" href="mailto:jht@samba.org" target="_top">John H. Terpstra (jht@samba.org)</a></td></tr><tr><td><a class="ulink" href="mailto:jerry@samba.org" target="_top">Gerald (Jerry) Carter (jerry@samba.org)</a></td></tr></table><p>
     26</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="ulink" href="mailto:jelmer@samba.org" target="_top">Jelmer Vernooij (jelmer@samba.org)</a></td></tr><tr><td><a class="ulink" href="mailto:jht@samba.org" target="_top">John H. Terpstra (jht@samba.org)</a></td></tr><tr><td><a class="ulink" href="mailto:jerry@samba.org" target="_top">Gerald (Jerry) Carter (jerry@samba.org)</a></td></tr></table><p>
    2727</p><p>
    2828We wish to advise that only original and unencumbered material can be published. Please do not submit
    2929content that is not your own work unless proof of consent from the copyright holder accompanies your
    3030submission.
    31 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2551195"></a>Conventions Used</h2></div></div></div><p>
     31</p><div class="sect1" title="Conventions Used"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2557252"></a>Conventions Used</h2></div></div></div><p>
    3232    The following notation conventions are used throughout this book:
    33     </p><div class="itemizedlist"><ul type="disc"><li><p>
    34         TOSHARG2 is used as an abbreviation for the book, &#8220;<span class="quote">The Official Samba-3
    35         HOWTO and Reference Guide, Second Edition</span>&#8221; Editors: John H. Terpstra and Jelmer R. Vernooij,
     33    </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     34        TOSHARG2 is used as an abbreviation for the book, <span class="quote">&#8220;<span class="quote">The Official Samba-3
     35        HOWTO and Reference Guide, Second Edition</span>&#8221;</span> Editors: John H. Terpstra and Jelmer R. Vernooij,
    3636        Publisher: Prentice Hall, ISBN: 0131882228.
    37         </p></li><li><p>
    38         S3bE2 is used as an abbreviation for the book, &#8220;<span class="quote">Samba-3 by Example, Second Edition</span>&#8221;
     37        </p></li><li class="listitem"><p>
     38        S3bE2 is used as an abbreviation for the book, <span class="quote">&#8220;<span class="quote">Samba-3 by Example, Second Edition</span>&#8221;</span>
    3939        Editors: John H. Terpstra, Publisher: Prentice Hall, ISBN: 013188221X.
    40         </p></li><li><p>
     40        </p></li><li class="listitem"><p>
    4141        Directories and filenames appear in mono-font. For example,
    4242        <code class="filename">/etc/pam.conf</code>.
    43         </p></li><li><p>
     43        </p></li><li class="listitem"><p>
    4444        Executable names are bolded. For example, <code class="literal">smbd</code>.
    45         </p></li><li><p>
     45        </p></li><li class="listitem"><p>
    4646        Menu items and buttons appear in bold. For example, click <span class="guibutton">Next</span>.
    47         </p></li><li><p>
     47        </p></li><li class="listitem"><p>
    4848        Selecting a menu item is indicated as:
    4949        <span class="guimenu">Start</span> &#8594; <span class="guimenuitem">Control Panel</span> &#8594; <span class="guimenuitem">Administrative Tools</span> &#8594; <span class="guimenuitem">Active Directory Users and Computers</span>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/VFS.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 23. Stackable VFS modules</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support"><link rel="next" href="winbind.html" title="Chapter 24. Winbind: Use of Domain Accounts"></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 23. Stackable VFS modules</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="CUPS-printing.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="winbind.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="VFS"></a>Chapter 23. Stackable VFS modules</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Tim</span> <span class="orgname">Samba Team</span> <span class="surname">Potter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:tpot@samba.org">tpot@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Simo</span> <span class="surname">Sorce</span></h3><span class="contrib">original vfs_skel README</span> </div></div><div><div class="author"><h3 class="author"><span class="firstname">Alexander</span> <span class="surname">Bokovoy</span></h3><span class="contrib">original vfs_netatalk docs</span> </div></div><div><div class="author"><h3 class="author"><span class="firstname">Stefan</span> <span class="surname">Metzmacher</span></h3><span class="contrib">Update for multiple modules</span> </div></div><div><div class="author"><h3 class="author"><span class="firstname">Ed</span> <span class="surname">Riddle</span></h3><span class="contrib">original shadow_copy docs</span> </div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="VFS.html#id2650356">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2650394">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2650789">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2650795">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2650836">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651054">extd_audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#fakeperms">fake_perms</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651380">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651777">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651827">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2652729">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2652755">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2652814">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2652854">vscan-clamav</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2650356"></a>Features and Benefits</h2></div></div></div><p>
    2 <a class="indexterm" name="id2650364"></a>
    3 <a class="indexterm" name="id2650373"></a>
    4 <a class="indexterm" name="id2650380"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 23. Stackable VFS modules</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support"><link rel="next" href="winbind.html" title="Chapter 24. Winbind: Use of Domain Accounts"></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 23. Stackable VFS modules</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="CUPS-printing.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="winbind.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 23. Stackable VFS modules"><div class="titlepage"><div><div><h2 class="title"><a name="VFS"></a>Chapter 23. Stackable VFS modules</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Tim</span> <span class="surname">Potter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:tpot@samba.org">tpot@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Simo</span> <span class="surname">Sorce</span></h3><span class="contrib">original vfs_skel README</span> </div></div><div><div class="author"><h3 class="author"><span class="firstname">Alexander</span> <span class="surname">Bokovoy</span></h3><span class="contrib">original vfs_netatalk docs</span> </div></div><div><div class="author"><h3 class="author"><span class="firstname">Stefan</span> <span class="surname">Metzmacher</span></h3><span class="contrib">Update for multiple modules</span> </div></div><div><div class="author"><h3 class="author"><span class="firstname">Ed</span> <span class="surname">Riddle</span></h3><span class="contrib">original shadow_copy docs</span> </div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="VFS.html#id2656448">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2656487">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2656882">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2656888">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2656928">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657146">extd_audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#fakeperms">fake_perms</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657472">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657868">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657919">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2658822">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2658847">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2658907">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2658946">vscan-clamav</a></span></dt></dl></dd></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2656448"></a>Features and Benefits</h2></div></div></div><p>
     2<a class="indexterm" name="id2656456"></a>
     3<a class="indexterm" name="id2656466"></a>
     4<a class="indexterm" name="id2656472"></a>
    55Stackable VFS (Virtual File System) modules support was new to Samba-3 and has proven quite popular. Samba
    66passes each request to access the UNIX file system through the loaded VFS modules. This chapter covers the
    77modules that come with the Samba source and provides references to some external modules.
    8 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2650394"></a>Discussion</h2></div></div></div><p>
    9 <a class="indexterm" name="id2650402"></a>
    10 <a class="indexterm" name="id2650409"></a>
     8</p></div><div class="sect1" title="Discussion"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2656487"></a>Discussion</h2></div></div></div><p>
     9<a class="indexterm" name="id2656494"></a>
     10<a class="indexterm" name="id2656501"></a>
    1111If not supplied with your platform distribution binary Samba package, you may have problems compiling these
    1212modules, as shared libraries are compiled and linked in different ways on different systems. They currently
    1313have been tested against GNU/Linux and IRIX.
    1414</p><p>
    15 <a class="indexterm" name="id2650423"></a>
    16 <a class="indexterm" name="id2650430"></a>
    17 <a class="indexterm" name="id2650437"></a>
     15<a class="indexterm" name="id2656516"></a>
     16<a class="indexterm" name="id2656522"></a>
     17<a class="indexterm" name="id2656529"></a>
    1818To use the VFS modules, create a share similar to the one below. The important parameter is the <a class="link" href="smb.conf.5.html#VFSOBJECTS" target="_top">vfs objects</a> parameter where you can list one or more VFS modules by name. For example, to log all
    1919access to files and put deleted files in a recycle bin, see <a class="link" href="VFS.html#vfsrecyc" title="Example 23.1. smb.conf with VFS modules">the smb.conf with VFS
    2020modules example</a>:
    21 </p><div class="example"><a name="vfsrecyc"></a><p class="title"><b>Example 23.1. smb.conf with VFS modules</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[audit]</code></em></td></tr><tr><td><a class="indexterm" name="id2650492"></a><em class="parameter"><code>comment = Audited /data directory</code></em></td></tr><tr><td><a class="indexterm" name="id2650504"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2650516"></a><em class="parameter"><code>vfs objects = audit recycle</code></em></td></tr><tr><td><a class="indexterm" name="id2650527"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2650539"></a><em class="parameter"><code>browseable = yes</code></em></td></tr></table></div></div><br class="example-break"><p>
    22 <a class="indexterm" name="id2650554"></a>
    23 <a class="indexterm" name="id2650561"></a>
    24 <a class="indexterm" name="id2650568"></a>
     21</p><div class="example"><a name="vfsrecyc"></a><p class="title"><b>Example 23.1. smb.conf with VFS modules</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[audit]</code></em></td></tr><tr><td><a class="indexterm" name="id2656584"></a><em class="parameter"><code>comment = Audited /data directory</code></em></td></tr><tr><td><a class="indexterm" name="id2656596"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2656608"></a><em class="parameter"><code>vfs objects = audit recycle</code></em></td></tr><tr><td><a class="indexterm" name="id2656620"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2656631"></a><em class="parameter"><code>browseable = yes</code></em></td></tr></table></div></div><br class="example-break"><p>
     22<a class="indexterm" name="id2656646"></a>
     23<a class="indexterm" name="id2656653"></a>
     24<a class="indexterm" name="id2656660"></a>
    2525The modules are used in the order in which they are specified.  Let's say that you want to both have a virus
    2626scanner module and a recycle bin module. It is wise to put the virus scanner module as the first one so that
     
    2828<a class="link" href="smb.conf.5.html#VFSOBJECTS" target="_top">vfs objects = vscan-clamav recycle</a>
    2929</p><p>
    30 <a class="indexterm" name="id2650596"></a>
    31 <a class="indexterm" name="id2650602"></a>
     30<a class="indexterm" name="id2656688"></a>
     31<a class="indexterm" name="id2656695"></a>
    3232Samba will attempt to load modules from the <code class="filename">/lib</code> directory in the root directory of the
    3333Samba installation (usually <code class="filename">/usr/lib/samba/vfs</code> or
    3434<code class="filename">/usr/local/samba/lib/vfs</code>).
    3535</p><p>
    36 <a class="indexterm" name="id2650632"></a>
    37 <a class="indexterm" name="id2650639"></a>
    38 <a class="indexterm" name="id2650646"></a>
    39 <a class="indexterm" name="id2650653"></a>
     36<a class="indexterm" name="id2656725"></a>
     37<a class="indexterm" name="id2656732"></a>
     38<a class="indexterm" name="id2656738"></a>
     39<a class="indexterm" name="id2656745"></a>
    4040Some modules can be used twice for the same share.  This can be done using a configuration similar to the one
    4141shown in <a class="link" href="VFS.html#multimodule" title="Example 23.2. smb.conf with multiple VFS modules">the smb.conf with multiple VFS modules</a>.
    4242
    43 </p><div class="example"><a name="multimodule"></a><p class="title"><b>Example 23.2. smb.conf with multiple VFS modules</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[test]</code></em></td></tr><tr><td><a class="indexterm" name="id2650692"></a><em class="parameter"><code>comment = VFS TEST</code></em></td></tr><tr><td><a class="indexterm" name="id2650704"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2650715"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2650727"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2650738"></a><em class="parameter"><code>vfs objects = example:example1 example example:test</code></em></td></tr><tr><td><a class="indexterm" name="id2650751"></a><em class="parameter"><code>example1: parameter = 1</code></em></td></tr><tr><td><a class="indexterm" name="id2650762"></a><em class="parameter"><code>example:  parameter = 5</code></em></td></tr><tr><td><a class="indexterm" name="id2650774"></a><em class="parameter"><code>test:     parameter = 7</code></em></td></tr></table></div></div><p><br class="example-break">
    44 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2650789"></a>Included Modules</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2650795"></a>audit</h3></div></div></div><p>
    45 <a class="indexterm" name="id2650803"></a>
     43</p><div class="example"><a name="multimodule"></a><p class="title"><b>Example 23.2. smb.conf with multiple VFS modules</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[test]</code></em></td></tr><tr><td><a class="indexterm" name="id2656784"></a><em class="parameter"><code>comment = VFS TEST</code></em></td></tr><tr><td><a class="indexterm" name="id2656796"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2656808"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2656819"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2656831"></a><em class="parameter"><code>vfs objects = example:example1 example example:test</code></em></td></tr><tr><td><a class="indexterm" name="id2656843"></a><em class="parameter"><code>example1: parameter = 1</code></em></td></tr><tr><td><a class="indexterm" name="id2656855"></a><em class="parameter"><code>example:  parameter = 5</code></em></td></tr><tr><td><a class="indexterm" name="id2656867"></a><em class="parameter"><code>test:     parameter = 7</code></em></td></tr></table></div></div><p><br class="example-break">
     44</p></div><div class="sect1" title="Included Modules"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2656882"></a>Included Modules</h2></div></div></div><div class="sect2" title="audit"><div class="titlepage"><div><div><h3 class="title"><a name="id2656888"></a>audit</h3></div></div></div><p>
     45<a class="indexterm" name="id2656895"></a>
    4646                A simple module to audit file access to the syslog facility. The following operations are logged:
    47                 </p><div class="itemizedlist"><ul type="disc"><li><p>share</p></li><li><p>connect/disconnect</p></li><li><p>directory opens/create/remove</p></li><li><p>file open/close/rename/unlink/chmod</p></li></ul></div><p>
    48                 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2650836"></a>default_quota</h3></div></div></div><p>
     47                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>share</p></li><li class="listitem"><p>connect/disconnect</p></li><li class="listitem"><p>directory opens/create/remove</p></li><li class="listitem"><p>file open/close/rename/unlink/chmod</p></li></ul></div><p>
     48                </p></div><div class="sect2" title="default_quota"><div class="titlepage"><div><div><h3 class="title"><a name="id2656928"></a>default_quota</h3></div></div></div><p>
    4949        This module allows the default quota values, in the windows explorer GUI, to be stored on a Samba-3 server.
    5050        The challenge is that linux filesystems only store quotas for users and groups, but no default quotas.
     
    5555        </p><p>
    5656        This module takes 2 parametric entries in the <code class="filename">smb.conf</code> file.  The default prefix for each is the
    57         &#8220;<span class="quote">default_quota</span>&#8221;. This can be overwrittem when you load the module in the <span class="emphasis"><em>vfs
     57        <span class="quote">&#8220;<span class="quote">default_quota</span>&#8221;</span>. This can be overwrittem when you load the module in the <span class="emphasis"><em>vfs
    5858        modules</em></span> parameter like this:
    5959</p><pre class="screen">
     
    118118...
    119119</pre><p>
    120         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2651054"></a>extd_audit</h3></div></div></div><p>
    121 <a class="indexterm" name="id2651061"></a>
    122 <a class="indexterm" name="id2651068"></a>
    123 <a class="indexterm" name="id2651075"></a>
     120        </p></div><div class="sect2" title="extd_audit"><div class="titlepage"><div><div><h3 class="title"><a name="id2657146"></a>extd_audit</h3></div></div></div><p>
     121<a class="indexterm" name="id2657154"></a>
     122<a class="indexterm" name="id2657161"></a>
     123<a class="indexterm" name="id2657168"></a>
    124124                This module is identical with the <code class="literal">audit</code> module above except
    125125                that it sends audit logs to both syslog as well as the <code class="literal">smbd</code> log files. The
     
    127127                </p><p>
    128128                Valid settings and the information that will be recorded are shown in <a class="link" href="VFS.html#xtdaudit" title="Table 23.1. Extended Auditing Log Information">the next table</a>.
    129                 </p><div class="table"><a name="xtdaudit"></a><p class="title"><b>Table 23.1. Extended Auditing Log Information</b></p><div class="table-contents"><table summary="Extended Auditing Log Information" border="1"><colgroup><col><col></colgroup><thead><tr><th align="center">Log Level</th><th align="center">Log Details - File and Directory Operations</th></tr></thead><tbody><tr><td align="center">0</td><td align="left">Make Directory, Remove Directory, Unlink</td></tr><tr><td align="center">1</td><td align="left">Open Directory, Rename File, Change Permissions/ACLs</td></tr><tr><td align="center">2</td><td align="left">Open &amp; Close File</td></tr><tr><td align="center">10</td><td align="left">Maximum Debug Level</td></tr></tbody></table></div></div><br class="table-break"><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2651211"></a>Configuration of Auditing</h4></div></div></div><p>
    130 <a class="indexterm" name="id2651219"></a>
     129                </p><div class="table"><a name="xtdaudit"></a><p class="title"><b>Table 23.1. Extended Auditing Log Information</b></p><div class="table-contents"><table summary="Extended Auditing Log Information" border="1"><colgroup><col><col></colgroup><thead><tr><th align="center">Log Level</th><th align="center">Log Details - File and Directory Operations</th></tr></thead><tbody><tr><td align="center">0</td><td align="left">Make Directory, Remove Directory, Unlink</td></tr><tr><td align="center">1</td><td align="left">Open Directory, Rename File, Change Permissions/ACLs</td></tr><tr><td align="center">2</td><td align="left">Open &amp; Close File</td></tr><tr><td align="center">10</td><td align="left">Maximum Debug Level</td></tr></tbody></table></div></div><br class="table-break"><div class="sect3" title="Configuration of Auditing"><div class="titlepage"><div><div><h4 class="title"><a name="id2657303"></a>Configuration of Auditing</h4></div></div></div><p>
     130<a class="indexterm" name="id2657311"></a>
    131131                This auditing tool is more flexible than most people will readily recognize. There are a number of ways
    132132                by which useful logging information can be recorded.
    133                 </p><div class="itemizedlist"><ul type="disc"><li><p>Syslog can be used to record all transaction. This can be disabled by setting
    134                                         in the <code class="filename">smb.conf</code> file <em class="parameter"><code>syslog = 0</code></em>.</p></li><li><p>Logging can take place to the default log file (<code class="filename">log.smbd</code>)
     133                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Syslog can be used to record all transaction. This can be disabled by setting
     134                                        in the <code class="filename">smb.conf</code> file <em class="parameter"><code>syslog = 0</code></em>.</p></li><li class="listitem"><p>Logging can take place to the default log file (<code class="filename">log.smbd</code>)
    135135                                        for all loaded VFS modules just by setting in the <code class="filename">smb.conf</code> file
    136136                                        <em class="parameter"><code>log level = 0 vfs:x</code></em>, where x is the log level.
    137137                                        This will disable general logging while activating all logging of VFS
    138                                         module activity at the log level specified.</p></li><li><p>Detailed logging can be obtained per user, per client machine, etc.
     138                                        module activity at the log level specified.</p></li><li class="listitem"><p>Detailed logging can be obtained per user, per client machine, etc.
    139139                                        This requires the above together with the creative use of the
    140140                                        <em class="parameter"><code>log file</code></em> settings.</p><p>An example of detailed per-user and per-machine logging can
     
    145145                it is essential that the <a class="link" href="smb.conf.5.html#MAXLOGSIZE" target="_top">max log size = 0</a> be set
    146146                in the <code class="filename">smb.conf</code> file.
    147                 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="fakeperms"></a>fake_perms</h3></div></div></div><p>
    148 <a class="indexterm" name="id2651344"></a>
    149 <a class="indexterm" name="id2651351"></a>
    150 <a class="indexterm" name="id2651358"></a>
    151 <a class="indexterm" name="id2651364"></a>
     147                </p></div></div><div class="sect2" title="fake_perms"><div class="titlepage"><div><div><h3 class="title"><a name="fakeperms"></a>fake_perms</h3></div></div></div><p>
     148<a class="indexterm" name="id2657436"></a>
     149<a class="indexterm" name="id2657443"></a>
     150<a class="indexterm" name="id2657450"></a>
     151<a class="indexterm" name="id2657457"></a>
    152152                This module was created to allow Roaming Profile files and directories to be set (on the Samba server
    153153                under UNIX) as read only. This module will, if installed on the Profiles share, report to the client
    154154                that the Profile files and directories are writeable. This satisfies the client even though the files
    155155                will never be overwritten as the client logs out or shuts down.
    156                 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2651380"></a>recycle</h3></div></div></div><p>
    157 <a class="indexterm" name="id2651388"></a>
    158 <a class="indexterm" name="id2651394"></a>
    159 <a class="indexterm" name="id2651401"></a>
     156                </p></div><div class="sect2" title="recycle"><div class="titlepage"><div><div><h3 class="title"><a name="id2657472"></a>recycle</h3></div></div></div><p>
     157<a class="indexterm" name="id2657480"></a>
     158<a class="indexterm" name="id2657487"></a>
     159<a class="indexterm" name="id2657494"></a>
    160160                A Recycle Bin-like module. Where used, unlink calls will be intercepted and files moved
    161161                to the recycle directory instead of being deleted. This gives the same effect as the
    162162                <span class="guiicon">Recycle Bin</span> on Windows computers.
    163163                </p><p>
    164 <a class="indexterm" name="id2651421"></a>
    165 <a class="indexterm" name="id2651428"></a>
    166 <a class="indexterm" name="id2651435"></a>
    167 <a class="indexterm" name="id2651442"></a>
     164<a class="indexterm" name="id2657513"></a>
     165<a class="indexterm" name="id2657520"></a>
     166<a class="indexterm" name="id2657527"></a>
     167<a class="indexterm" name="id2657534"></a>
    168168                The <span class="guiicon">Recycle Bin</span> will not appear in
    169169                <span class="application">Windows Explorer</span> views of the network
     
    180180                </p><p>Supported options for the <code class="literal">recycle</code> module are as follow:
    181181                </p><div class="variablelist"><dl><dt><span class="term">recycle:repository</span></dt><dd><p>
    182 <a class="indexterm" name="id2651519"></a>
     182<a class="indexterm" name="id2657612"></a>
    183183                                Path of the directory where deleted files should be moved.
    184184                                </p></dd><dt><span class="term">recycle:directory_mode</span></dt><dd><p>
    185 <a class="indexterm" name="id2651539"></a>
     185<a class="indexterm" name="id2657631"></a>
    186186                                Set it to the octal mode you want for the recycle directory. With
    187187                                this mode the recycle directory will be created if it not
     
    192192                                mode 0700 is used.
    193193                                </p></dd><dt><span class="term">recycle:subdir_mode</span></dt><dd><p>
    194 <a class="indexterm" name="id2651574"></a>
     194<a class="indexterm" name="id2657666"></a>
    195195                                Set it to the octal mode you want for the sub directories of
    196196                                the recycle directory. With this mode   the sub directories will
     
    200200                                <em class="parameter"><code>directory_mode</code></em>.
    201201                                </p></dd><dt><span class="term">recycle:keeptree</span></dt><dd><p>
    202 <a class="indexterm" name="id2651608"></a>
     202<a class="indexterm" name="id2657700"></a>
    203203                                Specifies whether the directory structure should be kept or if the files in the directory that is being
    204204                                deleted should be kept separately in the recycle bin.
    205205                                </p></dd><dt><span class="term">recycle:versions</span></dt><dd><p>
    206 <a class="indexterm" name="id2651630"></a>
     206<a class="indexterm" name="id2657722"></a>
    207207                                If this option is set, two files
    208208                                with the same name that are deleted will both
    209209                                be kept in the recycle bin. Newer deleted versions
    210                                 of a file will be called &#8220;<span class="quote">Copy #x of <em class="replaceable"><code>filename</code></em></span>&#8221;.
     210                                of a file will be called <span class="quote">&#8220;<span class="quote">Copy #x of <em class="replaceable"><code>filename</code></em></span>&#8221;</span>.
    211211                                </p></dd><dt><span class="term">recycle:touch</span></dt><dd><p>
    212 <a class="indexterm" name="id2651657"></a>
     212<a class="indexterm" name="id2657749"></a>
    213213                                Specifies whether a file's access date should be touched when the file is moved to the recycle bin.
    214214                                </p></dd><dt><span class="term">recycle:touch_mtime</span></dt><dd><p>
    215 <a class="indexterm" name="id2651677"></a>
     215<a class="indexterm" name="id2657769"></a>
    216216                                Specifies whether a file's last modify date date should be touched when the file is moved to the recycle bin.
    217217                                </p></dd><dt><span class="term">recycle:maxsize</span></dt><dd><p>
    218 <a class="indexterm" name="id2651697"></a>
     218<a class="indexterm" name="id2657789"></a>
    219219                                Files that are larger than the number of bytes specified by this parameter will not be put into the recycle bin.
    220220                                </p></dd><dt><span class="term">recycle:exclude</span></dt><dd><p>
    221 <a class="indexterm" name="id2651717"></a>
     221<a class="indexterm" name="id2657809"></a>
    222222                                List of files that should not be put into the recycle bin when deleted, but deleted in the regular way.
    223223                                </p></dd><dt><span class="term">recycle:exclude_dir</span></dt><dd><p>
    224 <a class="indexterm" name="id2651737"></a>
     224<a class="indexterm" name="id2657829"></a>
    225225                                Contains a list of directories. When files from these directories are
    226226                                deleted, they are not put into the
     
    228228                                regular way.
    229229                                </p></dd><dt><span class="term">recycle:noversions</span></dt><dd><p>
    230 <a class="indexterm" name="id2651758"></a>
     230<a class="indexterm" name="id2657850"></a>
    231231                                Specifies a list of paths (wildcards such as * and ? are supported) for which no versioning
    232232                                should be used. Only useful when <span class="emphasis"><em>recycle:versions</em></span> is enabled.
    233233                                </p></dd></dl></div><p>
    234                 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2651777"></a>netatalk</h3></div></div></div><p>
    235 <a class="indexterm" name="id2651784"></a>
     234                </p></div><div class="sect2" title="netatalk"><div class="titlepage"><div><div><h3 class="title"><a name="id2657868"></a>netatalk</h3></div></div></div><p>
     235<a class="indexterm" name="id2657876"></a>
    236236                A netatalk module will ease co-existence of Samba and netatalk file sharing services.
    237237                </p><p>Advantages compared to the old netatalk module:
    238                 </p><div class="itemizedlist"><a class="indexterm" name="id2651799"></a><ul type="disc"><li><p>Does not care about creating .AppleDouble forks, just keeps them in sync.</p></li><li><p>If a share in <code class="filename">smb.conf</code> does not contain .AppleDouble item in hide or veto list, it will be added automatically.</p></li></ul></div><p>
    239                 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2651827"></a>shadow_copy</h3></div></div></div><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
    240 <a class="indexterm" name="id2651836"></a>
     238                </p><div class="itemizedlist"><a class="indexterm" name="id2657891"></a><ul class="itemizedlist" type="disc"><li class="listitem"><p>Does not care about creating .AppleDouble forks, just keeps them in sync.</p></li><li class="listitem"><p>If a share in <code class="filename">smb.conf</code> does not contain .AppleDouble item in hide or veto list, it will be added automatically.</p></li></ul></div><p>
     239                </p></div><div class="sect2" title="shadow_copy"><div class="titlepage"><div><div><h3 class="title"><a name="id2657919"></a>shadow_copy</h3></div></div></div><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
     240<a class="indexterm" name="id2657927"></a>
    241241        <span class="emphasis"><em>THIS IS NOT A BACKUP, ARCHIVAL, OR VERSION CONTROL SOLUTION!</em></span>
    242242        </p><p>
    243 <a class="indexterm" name="id2651850"></a>
     243<a class="indexterm" name="id2657942"></a>
    244244        With Samba or Windows servers, shadow_copy is designed to be an end-user tool only.  It does not replace or
    245245        enhance your backup and archival solutions and should in no way be considered as such.  Additionally, if you
     
    252252        clients.  You should be able to get more information about MS Shadow Copy <a class="ulink" href="http://www.microsoft.com/windowsserver2003/techinfo/overview/scr.mspx" target="_top">from the Microsoft's site</a>.
    253253        </p><p>
    254 <a class="indexterm" name="id2651895"></a>
    255 <a class="indexterm" name="id2651901"></a>
    256 <a class="indexterm" name="id2651908"></a>
    257 <a class="indexterm" name="id2651915"></a>
    258 <a class="indexterm" name="id2651922"></a>
    259 <a class="indexterm" name="id2651929"></a>
     254<a class="indexterm" name="id2657987"></a>
     255<a class="indexterm" name="id2657994"></a>
     256<a class="indexterm" name="id2658000"></a>
     257<a class="indexterm" name="id2658007"></a>
     258<a class="indexterm" name="id2658014"></a>
     259<a class="indexterm" name="id2658021"></a>
    260260        The shadow_copy VFS module requires some underlying file system setup with some sort of Logical Volume Manager
    261261        (LVM) such as LVM1, LVM2, or EVMS.  Setting up LVM is beyond the scope of this document; however, we will
     
    265265        </p><p>
    266266        Here are some common resources for LVM and EVMS:
    267         </p><div class="itemizedlist"><ul type="disc"><li><p><a class="ulink" href="http://www.sistina.com/products_lvm_download.htm" target="_top">Sistina's
    268             LVM1 and LVM2</a></p></li><li><p><a class="ulink" href="http://evms.sourceforge.net/" target="_top">Enterprise Volume Management System (EVMS)</a></p></li><li><p><a class="ulink" href="http://tldp.org/HOWTO/LVM-HOWTO/" target="_top">The LVM HOWTO</a></p></li><li><p>
     267        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><a class="ulink" href="http://www.sistina.com/products_lvm_download.htm" target="_top">Sistina's
     268            LVM1 and LVM2</a></p></li><li class="listitem"><p><a class="ulink" href="http://evms.sourceforge.net/" target="_top">Enterprise Volume Management System (EVMS)</a></p></li><li class="listitem"><p><a class="ulink" href="http://tldp.org/HOWTO/LVM-HOWTO/" target="_top">The LVM HOWTO</a></p></li><li class="listitem"><p>
    269269              See <a class="ulink" href="http://www-106.ibm.com/developerworks/linux/library/l-lvm/" target="_top">Learning
    270270              Linux LVM, Part 1</a> and <a class="ulink" href="http://www-106.ibm.com/developerworks/library/l-lvm2.html" target="_top">Learning
    271271              Linux LWM, Part 2</a> for Daniel Robbins' well-written, two part tutorial on Linux and LVM using LVM
    272               source code and reiserfs.</p></li></ul></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2652015"></a>Shadow Copy Setup</h4></div></div></div><p>
    273 <a class="indexterm" name="id2652023"></a>
    274 <a class="indexterm" name="id2652030"></a>
     272              source code and reiserfs.</p></li></ul></div><div class="sect3" title="Shadow Copy Setup"><div class="titlepage"><div><div><h4 class="title"><a name="id2658108"></a>Shadow Copy Setup</h4></div></div></div><p>
     273<a class="indexterm" name="id2658116"></a>
     274<a class="indexterm" name="id2658123"></a>
    275275        At the time of this writing, not much testing has been done.  I tested the shadow copy VFS module with a
    276276        specific scenario which was not deployed in a production environment, but more as a proof of concept.  The
     
    278278        you use this as a solution without doing your own due diligence with regard to all the components presented
    279279        here.  That said, following is an basic outline of how I got things going.
    280         </p><div class="orderedlist"><ol type="1"><li><p><b>Installed Operating System . </b>
     280        </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p title="Installed Operating System"><b>Installed Operating System . </b>
    281281                In my tests, I used <a class="ulink" href="http://www.debian.org/devel/debian-installer/" target="_top">Debian
    282282                Sarge</a> (i.e., testing) on an XFS file system.  Setting up the OS is a bit beyond the scope of this
    283283                document.  It is assumed that you have a working OS capable of running Samba.
    284                 </p></li><li><p><b>Install &amp; Configure Samba. </b>
     284                </p></li><li class="listitem"><p title="Install &amp; Configure Samba"><b>Install &amp; Configure Samba. </b>
    285285                See the <a class="link" href="introduction.html" title="Part I. General Installation">installation section</a> of this HOWTO for more detail on this.
    286286                It doesn't matter if it is a Domain Controller or Member File Server, but it is assumed that you have a
    287287                working Samba 3.0.3 or later server running.
    288                 </p></li><li><p><b>Install &amp; Configure LVM. </b>
    289 <a class="indexterm" name="id2652110"></a>
    290 <a class="indexterm" name="id2652116"></a>
     288                </p></li><li class="listitem"><p title="Install &amp; Configure LVM"><b>Install &amp; Configure LVM. </b>
     289<a class="indexterm" name="id2658202"></a>
     290<a class="indexterm" name="id2658209"></a>
    291291                Before you can make shadow copies available to the client, you have to create the shadow copies.  This is
    292292                done by taking some sort of file system snapshot.  Snapshots are a typical feature of Logical Volume
     
    295295                The following is provided as an example and will be most helpful for Debian users.  Again, this was tested
    296296                using the "testing" or "Sarge" distribution.
    297                 </p><ul type="disc"><li><p>
    298 <a class="indexterm" name="id2652141"></a>
    299 <a class="indexterm" name="id2652148"></a>
    300 <a class="indexterm" name="id2652155"></a>
    301 <a class="indexterm" name="id2652162"></a>
    302 <a class="indexterm" name="id2652169"></a>
     297                </p><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     298<a class="indexterm" name="id2658234"></a>
     299<a class="indexterm" name="id2658241"></a>
     300<a class="indexterm" name="id2658248"></a>
     301<a class="indexterm" name="id2658254"></a>
     302<a class="indexterm" name="id2658261"></a>
    303303                        Install lvm10 and devfsd packages if you have not done so already.  On Debian systems, you are warned of the
    304304                        interaction of devfs and lvm1 which requires the use of devfs filenames.  Running <code class="literal">apt-get update
    305305                        &amp;&amp; apt-get install lvm10 devfsd xfsprogs</code> should do the trick for this example.
    306                         </p></li><li><p>
    307 <a class="indexterm" name="id2652192"></a>
    308 <a class="indexterm" name="id2652199"></a>
    309 <a class="indexterm" name="id2652206"></a>
    310 <a class="indexterm" name="id2652213"></a>
    311 <a class="indexterm" name="id2652220"></a>
     306                        </p></li><li class="listitem"><p>
     307<a class="indexterm" name="id2658285"></a>
     308<a class="indexterm" name="id2658292"></a>
     309<a class="indexterm" name="id2658298"></a>
     310<a class="indexterm" name="id2658305"></a>
     311<a class="indexterm" name="id2658312"></a>
    312312                        Now you need to create a volume.  You will need to create a partition (or partitions) to add to your volume.
    313313                        Use your favorite partitioning tool (e.g., Linux fdisk, cfdisk, etc.).  The partition type should be set to
    314314                        0x8e for "Linux LVM."  In this example, we will use /dev/hdb1.
    315315                        </p><p>
    316 <a class="indexterm" name="id2652235"></a>
    317 <a class="indexterm" name="id2652242"></a>
    318 <a class="indexterm" name="id2652248"></a>
     316<a class="indexterm" name="id2658327"></a>
     317<a class="indexterm" name="id2658334"></a>
     318<a class="indexterm" name="id2658341"></a>
    319319                        Once you have the Linux LVM partition (type 0x8e), you can run a series of commands to create the LVM volume.
    320320                        You can use several disks and/or partitions, but we will use only one in this example.  You may also need to
    321321                        load the kernel module with something like <code class="literal">modprobe lvm-mod</code> and set your system up to load
    322322                        it on reboot by adding it to (<code class="filename">/etc/modules</code>).
    323                         </p></li><li><p>
    324 <a class="indexterm" name="id2652277"></a>
     323                        </p></li><li class="listitem"><p>
     324<a class="indexterm" name="id2658370"></a>
    325325                        Create the physical volume with <code class="literal">pvcreate /dev/hdb1</code>
    326                         </p></li><li><p>
    327 <a class="indexterm" name="id2652295"></a>
    328 <a class="indexterm" name="id2652302"></a>
     326                        </p></li><li class="listitem"><p>
     327<a class="indexterm" name="id2658388"></a>
     328<a class="indexterm" name="id2658394"></a>
    329329                        Create the volume group and add /dev/hda1 to it with <code class="literal">vgcreate shadowvol /dev/hdb1</code>
    330330                        </p><p>
    331 <a class="indexterm" name="id2652319"></a>
     331<a class="indexterm" name="id2658412"></a>
    332332                        You can use <code class="literal">vgdisplay</code> to review information about the volume group.
    333                         </p></li><li><p>
    334 <a class="indexterm" name="id2652337"></a>
     333                        </p></li><li class="listitem"><p>
     334<a class="indexterm" name="id2658430"></a>
    335335                        Now you can create the logical volume with something like <code class="literal">lvcreate -L400M -nsh_test shadowvol</code>
    336336                        </p><p>
    337 <a class="indexterm" name="id2652355"></a>
     337<a class="indexterm" name="id2658447"></a>
    338338                        This creates the logical volume of 400 MBs named "sh_test" in the volume group we created called shadowvol.
    339339                        If everything is working so far, you should see them in <code class="filename">/dev/shadowvol</code>.
    340                         </p></li><li><p>
    341 <a class="indexterm" name="id2652375"></a>
     340                        </p></li><li class="listitem"><p>
     341<a class="indexterm" name="id2658467"></a>
    342342                        Now we should be ready to format the logical volume we named sh_test with <code class="literal">mkfs.xfs
    343343                        /dev/shadowvol/sh_test</code>
    344344                        </p><p>
    345 <a class="indexterm" name="id2652392"></a>
    346 <a class="indexterm" name="id2652399"></a>
    347 <a class="indexterm" name="id2652406"></a>
    348 <a class="indexterm" name="id2652413"></a>
    349 <a class="indexterm" name="id2652420"></a>
     345<a class="indexterm" name="id2658485"></a>
     346<a class="indexterm" name="id2658492"></a>
     347<a class="indexterm" name="id2658498"></a>
     348<a class="indexterm" name="id2658505"></a>
     349<a class="indexterm" name="id2658512"></a>
    350350                        You can format the logical volume with any file system you choose, but make sure to use one that allows you to
    351351                        take advantage of the additional features of LVM such as freezing, resizing, and growing your file systems.
    352352                        </p><p>
    353 <a class="indexterm" name="id2652434"></a>
    354 <a class="indexterm" name="id2652440"></a>
    355 <a class="indexterm" name="id2652447"></a>
     353<a class="indexterm" name="id2658526"></a>
     354<a class="indexterm" name="id2658533"></a>
     355<a class="indexterm" name="id2658540"></a>
    356356                        Now we have an LVM volume where we can play with the shadow_copy VFS module.
    357                         </p></li><li><p>
    358 <a class="indexterm" name="id2652460"></a>
    359 <a class="indexterm" name="id2652467"></a>
    360 <a class="indexterm" name="id2652473"></a>
     357                        </p></li><li class="listitem"><p>
     358<a class="indexterm" name="id2658552"></a>
     359<a class="indexterm" name="id2658559"></a>
     360<a class="indexterm" name="id2658566"></a>
    361361                        Now we need to prepare the directory with something like
    362362</p><pre class="screen">
     
    366366                        you can use it.  If in doubt, use <code class="literal">chmod 777 /data/shadow_share</code> and tighten the permissions
    367367                        once you get things working.
    368                         </p></li><li><p>
    369 <a class="indexterm" name="id2652508"></a>
     368                        </p></li><li class="listitem"><p>
     369<a class="indexterm" name="id2658600"></a>
    370370                        Mount the LVM volume using something like <code class="literal">mount /dev/shadowvol/sh_test /data/shadow_share</code>
    371371                        </p><p>
    372 <a class="indexterm" name="id2652525"></a>
     372<a class="indexterm" name="id2658618"></a>
    373373                        You may also want to edit your <code class="filename">/etc/fstab</code> so that this partition mounts during the system boot.
    374                         </p></li></ul></div></li><li><p><b>Install &amp; Configure the shadow_copy VFS Module. </b>
     374                        </p></li></ul></div></li><li class="listitem"><p title="Install &amp; Configure the shadow_copy VFS Module"><b>Install &amp; Configure the shadow_copy VFS Module. </b>
    375375                Finally we get to the actual shadow_copy VFS module.  The shadow_copy VFS module should be available in Samba
    376376                3.0.3 and higher.  The smb.conf configuration is pretty standard.  Here is our example of a share configured
    377377                with the shadow_copy VFS module:
    378                 </p><div class="example"><a name="vfsshadow"></a><p class="title"><b>Example 23.3. Share With shadow_copy VFS</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[shadow_share]</code></em></td></tr><tr><td><a class="indexterm" name="id2652582"></a><em class="parameter"><code>comment = Shadow Copy Enabled Share</code></em></td></tr><tr><td><a class="indexterm" name="id2652594"></a><em class="parameter"><code>path = /data/shadow_share</code></em></td></tr><tr><td><a class="indexterm" name="id2652606"></a><em class="parameter"><code>vfs objects = shadow_copy</code></em></td></tr><tr><td><a class="indexterm" name="id2652618"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2652629"></a><em class="parameter"><code>browseable = yes</code></em></td></tr></table></div></div><br class="example-break"></li><li><p><b>Create Snapshots and Make Them Available to shadow_copy.so. </b>
    379 <a class="indexterm" name="id2652653"></a>
    380 <a class="indexterm" name="id2652660"></a>
    381 <a class="indexterm" name="id2652666"></a>
     378                </p><div class="example"><a name="vfsshadow"></a><p class="title"><b>Example 23.3. Share With shadow_copy VFS</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[shadow_share]</code></em></td></tr><tr><td><a class="indexterm" name="id2658675"></a><em class="parameter"><code>comment = Shadow Copy Enabled Share</code></em></td></tr><tr><td><a class="indexterm" name="id2658687"></a><em class="parameter"><code>path = /data/shadow_share</code></em></td></tr><tr><td><a class="indexterm" name="id2658699"></a><em class="parameter"><code>vfs objects = shadow_copy</code></em></td></tr><tr><td><a class="indexterm" name="id2658710"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2658722"></a><em class="parameter"><code>browseable = yes</code></em></td></tr></table></div></div><br class="example-break"></li><li class="listitem"><p title="Create Snapshots and Make Them Available to shadow_copy.so"><b>Create Snapshots and Make Them Available to shadow_copy.so. </b>
     379<a class="indexterm" name="id2658745"></a>
     380<a class="indexterm" name="id2658752"></a>
     381<a class="indexterm" name="id2658759"></a>
    382382                Before you can browse the shadow copies, you must create them and mount them.  This will most likely be done
    383383                with a script that runs as a cron job.  With this particular solution, the shadow_copy VFS module is used to
     
    399399</pre><p>
    400400                Note that the script does not handle other things like remounting snapshots on reboot.
    401             </p></li><li><p><b>Test From Client. </b>
     401            </p></li><li class="listitem"><p title="Test From Client"><b>Test From Client. </b>
    402402                To test, you will need to install the shadow copy client which you can obtain from the <a class="ulink" href="http://www.microsoft.com/windowsserver2003/downloads/shadowcopyclient.mspx" target="_top">Microsoft web site.</a> I
    403403                only tested this with an XP client so your results may vary with other pre-XP clients.  Once installed, with
     
    405405                "properties."  If anything has changed, then you will see it on the "Previous Versions" tab of the properties
    406406                window.
    407                 </p></li></ol></div></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2652729"></a>VFS Modules Available Elsewhere</h2></div></div></div><p>
    408 <a class="indexterm" name="id2652738"></a>
     407                </p></li></ol></div></div></div></div><div class="sect1" title="VFS Modules Available Elsewhere"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2658822"></a>VFS Modules Available Elsewhere</h2></div></div></div><p>
     408<a class="indexterm" name="id2658830"></a>
    409409This section contains a listing of various other VFS modules that have been posted but do not currently reside
    410410in the Samba CVS tree for one reason or another (e.g., it is easy for the maintainer to have his or her own
     
    412412</p><p>
    413413No statements about the stability or functionality of any module should be implied due to its presence here.
    414 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2652755"></a>DatabaseFS</h3></div></div></div><p>
    415 <a class="indexterm" name="id2652762"></a>
     414</p><div class="sect2" title="DatabaseFS"><div class="titlepage"><div><div><h3 class="title"><a name="id2658847"></a>DatabaseFS</h3></div></div></div><p>
     415<a class="indexterm" name="id2658855"></a>
    416416URL: <a class="ulink" href="http://www.css.tayloru.edu/~elorimer/databasefs/index.php" target="_top">
    417417Taylors University DatabaeFS</a>
     
    419419I have created a VFS module that implements a fairly complete read-only filesystem. It presents information
    420420from a database as a filesystem in a modular and generic way to allow different databases to be used.
    421 (Originally designed for organizing MP3s under directories such as &#8220;<span class="quote">Artists,</span>&#8221; &#8220;<span class="quote">Song
    422 Keywords,</span>&#8221; and so on. I have since easily applied it to a student roster database.) The directory
     421(Originally designed for organizing MP3s under directories such as <span class="quote">&#8220;<span class="quote">Artists,</span>&#8221;</span> <span class="quote">&#8220;<span class="quote">Song
     422Keywords,</span>&#8221;</span> and so on. I have since easily applied it to a student roster database.) The directory
    423423structure is stored in the database itself and the module makes no assumptions about the database structure
    424424beyond the table it requires to run.
     
    426426Any feedback would be appreciated: comments, suggestions, patches, and so on. If nothing else, it
    427427might prove useful for someone else who wishes to create a virtual filesystem.
    428 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2652814"></a>vscan</h3></div></div></div><a class="indexterm" name="id2652820"></a><p>URL: <a class="ulink" href="http://www.openantivirus.org/projects.php#samba-vscan" target="_top">
     428</p></div><div class="sect2" title="vscan"><div class="titlepage"><div><div><h3 class="title"><a name="id2658907"></a>vscan</h3></div></div></div><a class="indexterm" name="id2658912"></a><p>URL: <a class="ulink" href="http://www.openantivirus.org/projects.php#samba-vscan" target="_top">
    429429Open Anti-Virus vscan</a>
    430430</p><p>
    431 <a class="indexterm" name="id2652841"></a>
     431<a class="indexterm" name="id2658934"></a>
    432432samba-vscan is a proof-of-concept module for Samba, which provides on-access anti-virus support for files
    433433shared using Samba.  samba-vscan supports various virus scanners and is maintained by Rainer Link.
    434 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2652854"></a>vscan-clamav</h3></div></div></div><p>
     434</p></div><div class="sect2" title="vscan-clamav"><div class="titlepage"><div><div><h3 class="title"><a name="id2658946"></a>vscan-clamav</h3></div></div></div><p>
    435435Samba users have been using the RPMS from SerNet without a problem.
    436436OpenSUSE Linux users have also used the vscan scanner for quite some time
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/apa.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Appendix A.  GNU General Public License version 3</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="DNSDHCP.html" title="Chapter 48. DNS and DHCP Configuration Guide"><link rel="next" href="go01.html" title="Glossary"></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">Appendix A. 
    2     GNU General Public License version 3
    3   </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="DNSDHCP.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="go01.html">Next</a></td></tr></table><hr></div><div class="appendix" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="id2693431"></a>Appendix A. 
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Appendix A.  GNU General Public License version 3</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="DNSDHCP.html" title="Chapter 48. DNS and DHCP Configuration Guide"><link rel="next" href="go01.html" title="Glossary"></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">Appendix A. 
    42    <acronym class="acronym">GNU</acronym> General Public License version 3
    5   </h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="bridgehead"><a href="apa.html#id2693460">A.
     3  </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="DNSDHCP.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="go01.html">Next</a></td></tr></table><hr></div><div class="appendix" title="Appendix A.  GNU General Public License version 3"><div class="titlepage"><div><div><h2 class="title"><a name="id2699488"></a>Appendix A. 
     4    <acronym class="acronym">GNU</acronym> General Public License version 3
     5  </h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="bridgehead"><a href="apa.html#id2699516">A.
    66    Preamble
    7   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693605">A.
     7  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699661">A.
    88    TERMS AND CONDITIONS
    9   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693609">A.
     9  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699665">A.
    1010    0. Definitions.
    11   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693701">A.
     11  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699758">A.
    1212    1. Source Code.
    13   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693799">A.
     13  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699856">A.
    1414    2. Basic Permissions.
    15   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693838">A.
     15  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699895">A.
    1616    3. Protecting Users&#8217; Legal Rights From Anti-Circumvention Law.
    17   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693874">A.
     17  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699930">A.
    1818    4. Conveying Verbatim Copies.
    19   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693900">A.
     19  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699957">A.
    2020    5. Conveying Modified Source Versions.
    21   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693996">A.
     21  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700053">A.
    2222    6. Conveying Non-Source Forms.
    23   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694186">A.
     23  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700242">A.
    2424     7. Additional Terms.
    25    </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694321">A.
     25   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700378">A.
    2626     8. Termination.
    27    </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694365">A.
     27   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700422">A.
    2828     9. Acceptance Not Required for Having Copies.
    29    </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694385">A.
     29   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700441">A.
    3030     10. Automatic Licensing of Downstream Recipients.
    31    </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694437">A.
     31   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700493">A.
    3232    11. Patents.
    33   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694582">A.
     33  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700639">A.
    3434    12. No Surrender of Others&#8217; Freedom.
    35   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694604">A.
     35  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700661">A.
    3636    13. Use with the ???TITLE??? Affero General Public License.
    37   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694633">A.
     37  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700690">A.
    3838    14. Revised Versions of this License.
    39   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694695">A.
     39  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700752">A.
    4040    15. Disclaimer of Warranty.
    41   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694721">A.
     41  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700778">A.
    4242    16. Limitation of Liability.
    43   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694742">A.
     43  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700798">A.
    4444    17. Interpretation of Sections 15 and 16.
    45   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694758">A.
     45  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700815">A.
    4646    END OF TERMS AND CONDITIONS
    47   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694762">A.
     47  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700819">A.
    4848    How to Apply These Terms to Your New Programs
    4949  </a></span></dt></dl></div><p>
     
    5555    Everyone is permitted to copy and distribute verbatim copies of this license
    5656    document, but changing it is not allowed.
    57   </p><h2><a name="id2693460"></a>
     57  </p><h2><a name="id2699516"></a>
    5858    Preamble
    5959  </h2><p>
     
    119119    The precise terms and conditions for copying, distribution and modification
    120120    follow.
    121   </p><h2><a name="id2693605"></a>
     121  </p><h2><a name="id2699661"></a>
    122122    TERMS AND CONDITIONS
    123   </h2><h2><a name="id2693609"></a>
     123  </h2><h2><a name="id2699665"></a>
    124124    0. Definitions.
    125125  </h2><p>
     
    163163    a list of user commands or options, such as a menu, a prominent item in the
    164164    list meets this criterion.
    165   </p><h2><a name="id2693701"></a>
     165  </p><h2><a name="id2699758"></a>
    166166    1. Source Code.
    167167  </h2><p>
     
    203203  </p><p>
    204204    The Corresponding Source for a work in source code form is that same work.
    205   </p><h2><a name="id2693799"></a>
     205  </p><h2><a name="id2699856"></a>
    206206    2. Basic Permissions.
    207207  </h2><p>
     
    228228    conditions stated below.  Sublicensing is not allowed; section 10 makes it
    229229    unnecessary.
    230   </p><h2><a name="id2693838"></a>
     230  </p><h2><a name="id2699895"></a>
    231231    3. Protecting Users&#8217; Legal Rights From Anti-Circumvention Law.
    232232  </h2><p>
     
    243243    third parties&#8217; legal rights to forbid circumvention of technological
    244244    measures.
    245   </p><h2><a name="id2693874"></a>
     245  </p><h2><a name="id2699930"></a>
    246246    4. Conveying Verbatim Copies.
    247247  </h2><p>
     
    256256    You may charge any price or no price for each copy that you convey, and you
    257257    may offer support or warranty protection for a fee.
    258   </p><h2><a name="id2693900"></a>
     258  </p><h2><a name="id2699957"></a>
    259259    5. Conveying Modified Source Versions.
    260260  </h2><p>
     
    262262    it from the Program, in the form of source code under the terms of section
    263263    4, provided that you also meet all of these conditions:
    264   </p><div class="orderedlist"><ol type="a"><li><p>
     264  </p><div class="orderedlist"><ol class="orderedlist" type="a"><li class="listitem"><p>
    265265        The work must carry prominent notices stating that you modified it, and
    266266        giving a relevant date.
    267       </p></li><li><p>
     267      </p></li><li class="listitem"><p>
    268268        The work must carry prominent notices stating that it is released under
    269269        this License and any conditions added under section 7.  This requirement
    270270        modifies the requirement in section 4 to &#8220;keep intact all
    271271        notices&#8221;.
    272       </p></li><li><p>
     272      </p></li><li class="listitem"><p>
    273273        You must license the entire work, as a whole, under this License to
    274274        anyone who comes into possession of a copy.  This License will therefore
     
    278278        other way, but it does not invalidate such permission if you have
    279279        separately received it.
    280       </p></li><li><p>
     280      </p></li><li class="listitem"><p>
    281281        If the work has interactive user interfaces, each must display
    282282        Appropriate Legal Notices; however, if the Program has interactive
     
    292292    permit.  Inclusion of a covered work in an aggregate does not cause
    293293    this License to apply to the other parts of the aggregate.
    294   </p><h2><a name="id2693996"></a>
     294  </p><h2><a name="id2700053"></a>
    295295    6. Conveying Non-Source Forms.
    296296  </h2><p>
     
    298298    sections 4 and 5, provided that you also convey the machine-readable
    299299    Corresponding Source under the terms of this License, in one of these ways:
    300   </p><div class="orderedlist"><ol type="a"><li><p>
     300  </p><div class="orderedlist"><ol class="orderedlist" type="a"><li class="listitem"><p>
    301301        Convey the object code in, or embodied in, a physical product (including
    302302        a physical distribution medium), accompanied by the Corresponding Source
    303303        fixed on a durable physical medium customarily used for software
    304304        interchange.
    305       </p></li><li><p>
     305      </p></li><li class="listitem"><p>
    306306        Convey the object code in, or embodied in, a physical product (including
    307307        a physical distribution medium), accompanied by a written offer, valid
     
    314314        conveying of source, or (2) access to copy the Corresponding Source from
    315315        a network server at no charge.
    316       </p></li><li><p>
     316      </p></li><li class="listitem"><p>
    317317        Convey individual copies of the object code with a copy of the written
    318318        offer to provide the Corresponding Source.  This alternative is allowed
    319319        only occasionally and noncommercially, and only if you received the
    320320        object code with such an offer, in accord with subsection 6b.
    321       </p></li><li><p>
     321      </p></li><li class="listitem"><p>
    322322        Convey the object code by offering access from a designated place
    323323        (gratis or for a charge), and offer equivalent access to the
     
    332332        obligated to ensure that it is available for as long as needed to
    333333        satisfy these requirements.
    334       </p></li><li><p>
     334      </p></li><li class="listitem"><p>
    335335        Convey the object code using peer-to-peer transmission, provided you
    336336        inform other peers where the object code and Corresponding Source of the
     
    387387    and must require no special password or key for unpacking, reading or
    388388    copying.
    389   </p><h2><a name="id2694186"></a>
     389  </p><h2><a name="id2700242"></a>
    390390     7. Additional Terms.
    391391   </h2><p>
     
    409409     to a covered work, you may (if authorized by the copyright holders of that
    410410     material) supplement the terms of this License with terms:
    411    </p><div class="orderedlist"><ol type="a"><li><p>
     411   </p><div class="orderedlist"><ol class="orderedlist" type="a"><li class="listitem"><p>
    412412         Disclaiming warranty or limiting liability differently from the terms
    413413         of sections 15 and 16 of this License; or
    414        </p></li><li><p>
     414       </p></li><li class="listitem"><p>
    415415         Requiring preservation of specified reasonable legal notices or author
    416416         attributions in that material or in the Appropriate Legal Notices
    417417         displayed by works containing it; or
    418        </p></li><li><p>
     418       </p></li><li class="listitem"><p>
    419419         Prohibiting misrepresentation of the origin of that material, or
    420420         requiring that modified versions of such material be marked in
    421421         reasonable ways as different from the original version; or
    422        </p></li><li><p>
     422       </p></li><li class="listitem"><p>
    423423         Limiting the use for publicity purposes of names of licensors or
    424424         authors of the material; or
    425        </p></li><li><p>
     425       </p></li><li class="listitem"><p>
    426426         Declining to grant rights under trademark law for use of some trade
    427427         names, trademarks, or service marks; or
    428        </p></li><li><p>
     428       </p></li><li class="listitem"><p>
    429429         Requiring indemnification of licensors and authors of that material by
    430430         anyone who conveys the material (or modified versions of it) with
     
    451451     of a separately written license, or stated as exceptions; the above
    452452     requirements apply either way.
    453    </p><h2><a name="id2694321"></a>
     453   </p><h2><a name="id2700378"></a>
    454454     8. Termination.
    455455   </h2><p>
     
    477477     reinstated, you do not qualify to receive new licenses for the same
    478478     material under section 10.
    479    </p><h2><a name="id2694365"></a>
     479   </p><h2><a name="id2700422"></a>
    480480     9. Acceptance Not Required for Having Copies.
    481481   </h2><p>
     
    488488     Therefore, by modifying or propagating a covered work, you indicate your
    489489     acceptance of this License to do so.
    490    </p><h2><a name="id2694385"></a>
     490   </p><h2><a name="id2700441"></a>
    491491     10. Automatic Licensing of Downstream Recipients.
    492492   </h2><p>
     
    513513     by making, using, selling, offering for sale, or importing the Program or
    514514     any portion of it.
    515    </p><h2><a name="id2694437"></a>
     515   </p><h2><a name="id2700493"></a>
    516516    11. Patents.
    517517  </h2><p>
     
    580580    implied license or other defenses to infringement that may otherwise be
    581581    available to you under applicable patent law.
    582   </p><h2><a name="id2694582"></a>
     582  </p><h2><a name="id2700639"></a>
    583583    12. No Surrender of Others&#8217; Freedom.
    584584  </h2><p>
     
    592592    Program, the only way you could satisfy both those terms and this License
    593593    would be to refrain entirely from conveying the Program.
    594   </p><h2><a name="id2694604"></a>
     594  </p><h2><a name="id2700661"></a>
    595595    13. Use with the <acronym class="acronym">GNU</acronym> Affero General Public License.
    596596  </h2><p>
     
    603603    section 13, concerning interaction through a network will apply to the
    604604    combination as such.
    605   </p><h2><a name="id2694633"></a>
     605  </p><h2><a name="id2700690"></a>
    606606    14. Revised Versions of this License.
    607607  </h2><p>
     
    628628    However, no additional obligations are imposed on any author or copyright
    629629    holder as a result of your choosing to follow a later version.
    630   </p><h2><a name="id2694695"></a>
     630  </p><h2><a name="id2700752"></a>
    631631    15. Disclaimer of Warranty.
    632632  </h2><p>
     
    639639    YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
    640640    NECESSARY SERVICING, REPAIR OR CORRECTION.
    641   </p><h2><a name="id2694721"></a>
     641  </p><h2><a name="id2700778"></a>
    642642    16. Limitation of Liability.
    643643  </h2><p>
     
    651651    EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
    652652    SUCH DAMAGES.
    653   </p><h2><a name="id2694742"></a>
     653  </p><h2><a name="id2700798"></a>
    654654    17. Interpretation of Sections 15 and 16.
    655655  </h2><p>
     
    660660    warranty or assumption of liability accompanies a copy of the Program in
    661661    return for a fee.
    662   </p><h2><a name="id2694758"></a>
     662  </p><h2><a name="id2700815"></a>
    663663    END OF TERMS AND CONDITIONS
    664   </h2><h2><a name="id2694762"></a>
     664  </h2><h2><a name="id2700819"></a>
    665665    How to Apply These Terms to Your New Programs
    666666  </h2><p>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/bugreport.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 40. Reporting Bugs</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="troubleshooting.html" title="Part V. Troubleshooting"><link rel="prev" href="problems.html" title="Chapter 39. Analyzing and Solving Samba Problems"><link rel="next" href="tdb.html" title="Chapter 41. Managing TDB Files"></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 40. Reporting Bugs</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="problems.html">Prev</a> </td><th width="60%" align="center">Part V. Troubleshooting</th><td width="20%" align="right"> <a accesskey="n" href="tdb.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="bugreport"></a>Chapter 40. Reporting Bugs</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="orgname">Samba Team</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate"> 27 June 1997 </p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="bugreport.html#id2686050">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686140">General Information</a></span></dt><dt><span class="sect1"><a href="bugreport.html#dbglvl">Debug Levels</a></span></dt><dd><dl><dt><span class="sect2"><a href="bugreport.html#id2686375">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2686577">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686710">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686836">Patches</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2686050"></a>Introduction</h2></div></div></div><p>
    2 <a class="indexterm" name="id2686058"></a>
    3 <a class="indexterm" name="id2686065"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 40. Reporting Bugs</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="troubleshooting.html" title="Part V. Troubleshooting"><link rel="prev" href="problems.html" title="Chapter 39. Analyzing and Solving Samba Problems"><link rel="next" href="tdb.html" title="Chapter 41. Managing TDB Files"></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 40. Reporting Bugs</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="problems.html">Prev</a> </td><th width="60%" align="center">Part V. Troubleshooting</th><td width="20%" align="right"> <a accesskey="n" href="tdb.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 40. Reporting Bugs"><div class="titlepage"><div><div><h2 class="title"><a name="bugreport"></a>Chapter 40. Reporting Bugs</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate"> 27 June 1997 </p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="bugreport.html#id2692107">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2692196">General Information</a></span></dt><dt><span class="sect1"><a href="bugreport.html#dbglvl">Debug Levels</a></span></dt><dd><dl><dt><span class="sect2"><a href="bugreport.html#id2692432">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2692634">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2692767">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2692892">Patches</a></span></dt></dl></div><div class="sect1" title="Introduction"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2692107"></a>Introduction</h2></div></div></div><p>
     2<a class="indexterm" name="id2692115"></a>
     3<a class="indexterm" name="id2692122"></a>
    44Please report bugs using Samba's <a class="ulink" href="https://bugzilla.samba.org/" target="_top">Bugzilla</a> facilities and take
    55the time to read this file before you submit a bug report. Also, check to see if it has changed between
     
    1010their time, skills, and efforts. We receive far more mail than
    1111we can possibly answer, so you have a much higher chance of a response
    12 and a fix if you send us a &#8220;<span class="quote">developer-friendly</span>&#8221; bug report that lets
     12and a fix if you send us a <span class="quote">&#8220;<span class="quote">developer-friendly</span>&#8221;</span> bug report that lets
    1313us fix it fast.
    1414</p><p>
    15 <a class="indexterm" name="id2686098"></a>
    16 <a class="indexterm" name="id2686105"></a>
    17 <a class="indexterm" name="id2686111"></a>
     15<a class="indexterm" name="id2692154"></a>
     16<a class="indexterm" name="id2692161"></a>
     17<a class="indexterm" name="id2692168"></a>
    1818If you post the bug to the comp.protocols.smb
    1919newsgroup or the mailing list, do not assume that we will read it. If you suspect that your
     
    2525which are conveniently accessible on the Samba Web pages
    2626at <a class="ulink" href="http://samba.org/samba/" target="_top">http://samba.org/samba/</a>.
    27 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2686140"></a>General Information</h2></div></div></div><p>
     27</p></div><div class="sect1" title="General Information"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2692196"></a>General Information</h2></div></div></div><p>
    2828Before submitting a bug report, check your config for silly
    2929errors. Look in your log files for obvious messages that tell
     
    3636annotate it with exactly what you were doing on the client at the
    3737time and exactly what the results were.
    38 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbglvl"></a>Debug Levels</h2></div></div></div><p>
     38</p></div><div class="sect1" title="Debug Levels"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbglvl"></a>Debug Levels</h2></div></div></div><p>
    3939If the bug has anything to do with Samba behaving incorrectly as a
    4040server (like refusing to open a file), then the log files will probably
     
    4343detail but may use too much disk space.
    4444</p><p>
    45 <a class="indexterm" name="id2686191"></a>
    46 <a class="indexterm" name="id2686198"></a>
     45<a class="indexterm" name="id2692248"></a>
     46<a class="indexterm" name="id2692255"></a>
    4747To set the debug level, use the <a class="link" href="smb.conf.5.html#LOGLEVEL" target="_top">log level</a> in your
    4848<code class="filename">smb.conf</code>. You may also find it useful to set the log
    4949level higher for just one machine and keep separate logs for each machine.
    5050To do this, add the following lines to your main <code class="filename">smb.conf</code> file:
    51 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2686238"></a><em class="parameter"><code>log level = 10</code></em></td></tr><tr><td><a class="indexterm" name="id2686250"></a><em class="parameter"><code>log file = /usr/local/samba/lib/log.%m</code></em></td></tr><tr><td><a class="indexterm" name="id2686261"></a><em class="parameter"><code>include = /usr/local/samba/lib/smb.conf.%m</code></em></td></tr></table><p>
     51</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2692295"></a><em class="parameter"><code>log level = 10</code></em></td></tr><tr><td><a class="indexterm" name="id2692307"></a><em class="parameter"><code>log file = /usr/local/samba/lib/log.%m</code></em></td></tr><tr><td><a class="indexterm" name="id2692318"></a><em class="parameter"><code>include = /usr/local/samba/lib/smb.conf.%m</code></em></td></tr></table><p>
    5252and create a file <code class="filename">/usr/local/samba/lib/smb.conf.<em class="replaceable"><code>machine</code></em></code> where
    5353<em class="replaceable"><code>machine</code></em> is the name of the client you wish to debug. In that file put any
     
    6262<code class="constant">3</code>. Nearly all bugs can be tracked at a setting of <code class="constant">10</code>, but be
    6363prepared for a large volume of log data.
    64 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2686375"></a>Debugging-Specific Operations</h3></div></div></div><p>
    65 <a class="indexterm" name="id2686383"></a>
    66 <a class="indexterm" name="id2686390"></a>
    67 <a class="indexterm" name="id2686397"></a>
    68 <a class="indexterm" name="id2686404"></a>
     64</p><div class="sect2" title="Debugging-Specific Operations"><div class="titlepage"><div><div><h3 class="title"><a name="id2692432"></a>Debugging-Specific Operations</h3></div></div></div><p>
     65<a class="indexterm" name="id2692440"></a>
     66<a class="indexterm" name="id2692446"></a>
     67<a class="indexterm" name="id2692453"></a>
     68<a class="indexterm" name="id2692460"></a>
    6969        Samba-3.x permits debugging (logging) of specific functional components without unnecessarily
    7070        cluttering the log files with detailed logs for all operations. An example configuration to
    7171        achieve this is shown in:
    7272        </p><p>
    73 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2686423"></a><em class="parameter"><code>log level = 0 tdb:3 passdb:5 auth:4 vfs:2</code></em></td></tr><tr><td><a class="indexterm" name="id2686434"></a><em class="parameter"><code>max log size = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2686446"></a><em class="parameter"><code>log file = /var/log/samba/%U.%m.log</code></em></td></tr></table><p>
     73</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2692480"></a><em class="parameter"><code>log level = 0 tdb:3 passdb:5 auth:4 vfs:2</code></em></td></tr><tr><td><a class="indexterm" name="id2692491"></a><em class="parameter"><code>max log size = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2692502"></a><em class="parameter"><code>log file = /var/log/samba/%U.%m.log</code></em></td></tr></table><p>
    7474</p><p>
    7575        This will cause the level of detail to be expanded to the debug class (log level) passed to
     
    7878        the functional areas as specified. The table shown in <a class="link" href="bugreport.html#dbgclass" title="Table 40.1. Debuggable Functions">Debuggable Functions</a>
    7979        may be used to attain very precise analysis of each SMB operation Samba is conducting.
    80         </p><div class="table"><a name="dbgclass"></a><p class="title"><b>Table 40.1. Debuggable Functions</b></p><div class="table-contents"><table summary="Debuggable Functions" border="1"><colgroup><col><col></colgroup><thead><tr><th align="center">Function Name</th><th align="center">Function Name</th></tr></thead><tbody><tr><td align="center">all</td><td align="center">passdb</td></tr><tr><td align="center">tdb</td><td align="center">sam</td></tr><tr><td align="center">printdrivers</td><td align="center">auth</td></tr><tr><td align="center">lanman</td><td align="center">winbind</td></tr><tr><td align="center">smb</td><td align="center">vfs</td></tr><tr><td align="center">rpc_parse</td><td align="center">idmap</td></tr><tr><td align="center">rpc_srv</td><td align="center">quota</td></tr><tr><td align="center">rpc_cli</td><td align="center">acls</td></tr></tbody></table></div></div><br class="table-break"></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2686577"></a>Internal Errors</h2></div></div></div><p>
    81 If you get the message &#8220;<span class="quote"><span class="errorname">INTERNAL ERROR</span></span>&#8221; in your log files,
     80        </p><div class="table"><a name="dbgclass"></a><p class="title"><b>Table 40.1. Debuggable Functions</b></p><div class="table-contents"><table summary="Debuggable Functions" border="1"><colgroup><col><col></colgroup><thead><tr><th align="center">Function Name</th><th align="center">Function Name</th></tr></thead><tbody><tr><td align="center">all</td><td align="center">passdb</td></tr><tr><td align="center">tdb</td><td align="center">sam</td></tr><tr><td align="center">printdrivers</td><td align="center">auth</td></tr><tr><td align="center">lanman</td><td align="center">winbind</td></tr><tr><td align="center">smb</td><td align="center">vfs</td></tr><tr><td align="center">rpc_parse</td><td align="center">idmap</td></tr><tr><td align="center">rpc_srv</td><td align="center">quota</td></tr><tr><td align="center">rpc_cli</td><td align="center">acls</td></tr></tbody></table></div></div><br class="table-break"></div></div><div class="sect1" title="Internal Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2692634"></a>Internal Errors</h2></div></div></div><p>
     81If you get the message <span class="quote">&#8220;<span class="quote"><span class="errorname">INTERNAL ERROR</span></span>&#8221;</span> in your log files,
    8282it means that Samba got an unexpected signal while running. It is probably a
    8383segmentation fault and almost certainly means a bug in Samba (unless
     
    9292possible. Please make this reasonably detailed.
    9393</p><p>
    94 <a class="indexterm" name="id2686610"></a>
     94<a class="indexterm" name="id2692666"></a>
    9595You may also find that a core file appeared in a <code class="filename">corefiles</code>
    9696subdirectory of the directory where you keep your Samba log
    9797files. This file is the most useful tool for tracking down the bug. To
    9898use it, you do this:
    99 <a class="indexterm" name="id2686626"></a>
    100 <a class="indexterm" name="id2686632"></a>
     99<a class="indexterm" name="id2692682"></a>
     100<a class="indexterm" name="id2692689"></a>
    101101</p><pre class="screen">
    102102<code class="prompt">$ </code><strong class="userinput"><code>gdb smbd core</code></strong>
    103103</pre><p>
    104104</p><p>
    105 <a class="indexterm" name="id2686658"></a>
    106 <a class="indexterm" name="id2686665"></a>
     105<a class="indexterm" name="id2692715"></a>
     106<a class="indexterm" name="id2692721"></a>
    107107adding appropriate paths to smbd and core so gdb can find them. If you
    108108do not have gdb, try <strong class="userinput"><code>dbx</code></strong>. Then within the debugger,
     
    110110problem occurred. Include this in your report.
    111111</p><p>
    112 <a class="indexterm" name="id2686690"></a>
     112<a class="indexterm" name="id2692747"></a>
    113113If you know any assembly language, do a <code class="literal">disass</code> of the routine
    114114where the problem occurred (if it's in a library routine, then
     
    117117do not know assembly, including this information in the bug report can be
    118118useful.
    119 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2686710"></a>Attaching to a Running Process</h2></div></div></div><p>
    120 <a class="indexterm" name="id2686719"></a>
    121 <a class="indexterm" name="id2686726"></a>
    122 <a class="indexterm" name="id2686732"></a>
     119</p></div><div class="sect1" title="Attaching to a Running Process"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2692767"></a>Attaching to a Running Process</h2></div></div></div><p>
     120<a class="indexterm" name="id2692775"></a>
     121<a class="indexterm" name="id2692782"></a>
     122<a class="indexterm" name="id2692789"></a>
    123123Unfortunately, some UNIXes (in particular some recent Linux kernels)
    124124refuse to dump a core file if the task has changed UID (which smbd
     
    146146<code class="prompt">root# </code> gdb /usr/local/samba/sbin/smbd
    147147</pre><p>
    148 <a class="indexterm" name="id2686818"></a>
    149 then &#8220;<span class="quote">attach `pid'</span>&#8221; (of the spinning process), then type &#8220;<span class="quote">bt</span>&#8221; to
     148<a class="indexterm" name="id2692874"></a>
     149then <span class="quote">&#8220;<span class="quote">attach `pid'</span>&#8221;</span> (of the spinning process), then type <span class="quote">&#8220;<span class="quote">bt</span>&#8221;</span> to
    150150get a backtrace to see where the smbd is in the call path.
    151 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2686836"></a>Patches</h2></div></div></div><p>
    152 <a class="indexterm" name="id2686843"></a>
    153 <a class="indexterm" name="id2686850"></a>
     151</p></div><div class="sect1" title="Patches"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2692892"></a>Patches</h2></div></div></div><p>
     152<a class="indexterm" name="id2692900"></a>
     153<a class="indexterm" name="id2692907"></a>
    154154The best sort of bug report is one that includes a fix! If you send us
    155155patches, please use <strong class="userinput"><code>diff -u</code></strong> format if your version of
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/cfgsmarts.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 34. Advanced Configuration Techniques</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="largefile.html" title="Chapter 33. Handling Large Directories"><link rel="next" href="migration.html" title="Part IV. Migration and Updating"></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 34. Advanced Configuration Techniques</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="largefile.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="migration.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="cfgsmarts"></a>Chapter 34. Advanced Configuration Techniques</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">June 30, 2005</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="cfgsmarts.html#id2673923">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2675343">Multiple Virtual Server Hosting</a></span></dt></dl></dd></dl></div><p>
    2 <a class="indexterm" name="id2673766"></a>
    3 <a class="indexterm" name="id2673773"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 34. Advanced Configuration Techniques</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="largefile.html" title="Chapter 33. Handling Large Directories"><link rel="next" href="migration.html" title="Part IV. Migration and Updating"></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 34. Advanced Configuration Techniques</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="largefile.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="migration.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 34. Advanced Configuration Techniques"><div class="titlepage"><div><div><h2 class="title"><a name="cfgsmarts"></a>Chapter 34. Advanced Configuration Techniques</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">June 30, 2005</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="cfgsmarts.html#id2679984">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2681404">Multiple Virtual Server Hosting</a></span></dt></dl></dd></dl></div><p>
     2<a class="indexterm" name="id2679828"></a>
     3<a class="indexterm" name="id2679835"></a>
    44Since the release of the first edition of this book there have been repeated requests to better document
    55configuration techniques that may help a network administrator to get more out of Samba. Some users have asked
    66for documentation regarding the use of the <a class="link" href="smb.conf.5.html#INCLUDE" target="_top">include = file-name</a> parameter.
    77</p><p>
    8 <a class="indexterm" name="id2673801"></a>
    9 <a class="indexterm" name="id2673808"></a>
     8<a class="indexterm" name="id2679863"></a>
     9<a class="indexterm" name="id2679870"></a>
    1010Commencing around mid-2004 there has been increasing interest in the ability to host multiple Samba servers on
    1111one machine. There has also been an interest in the hosting of multiple Samba server personalities on one
    1212server.
    1313</p><p>
    14 <a class="indexterm" name="id2673822"></a>
    15 <a class="indexterm" name="id2673829"></a>
     14<a class="indexterm" name="id2679884"></a>
     15<a class="indexterm" name="id2679890"></a>
    1616Feedback from technical reviewers made the inclusion of this chapter a necessity. So, here is an
    1717answer the questions that have to date not been adequately addressed. Additional user input is welcome as
    1818it will help this chapter to mature. What is presented here is just a small beginning.
    1919</p><p>
    20 <a class="indexterm" name="id2673844"></a>
    21 <a class="indexterm" name="id2673851"></a>
    22 <a class="indexterm" name="id2673858"></a>
     20<a class="indexterm" name="id2679906"></a>
     21<a class="indexterm" name="id2679912"></a>
     22<a class="indexterm" name="id2679919"></a>
    2323There are a number of ways in which multiple servers can be hosted on a single Samba server. Multiple server
    2424hosting makes it possible to host multiple domain controllers on one machine. Each such machine is
    2525independent, and each can be stopped or started without affecting another.
    2626</p><p>
    27 <a class="indexterm" name="id2673873"></a>
    28 <a class="indexterm" name="id2673880"></a>
    29 <a class="indexterm" name="id2673886"></a>
     27<a class="indexterm" name="id2679934"></a>
     28<a class="indexterm" name="id2679941"></a>
     29<a class="indexterm" name="id2679948"></a>
    3030Sometimes it is desirable to host multiple servers, each with its own security mode. For example, a single
    3131UNIX/Linux host may be a domain member server (DMS) as well as a generic anonymous print server. In this case,
     
    3434is to host a CDROM server.
    3535</p><p>
    36 <a class="indexterm" name="id2673904"></a>
    37 <a class="indexterm" name="id2673911"></a>
     36<a class="indexterm" name="id2679966"></a>
     37<a class="indexterm" name="id2679973"></a>
    3838Some environments dictate the need to have separate servers, each with their own resources, each of which are
    3939accessible only by certain users or groups. This is one of the simple, but highly effective, ways that Samba
    4040can replace many physical Windows servers in one Samba installation.
    41 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2673923"></a>Implementation</h2></div></div></div><p>
    42 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2673932"></a>Multiple Server Hosting</h3></div></div></div><p>
    43 <a class="indexterm" name="id2673940"></a>
    44 <a class="indexterm" name="id2673947"></a>
    45 <a class="indexterm" name="id2673954"></a>
    46 <a class="indexterm" name="id2673960"></a>
    47 <a class="indexterm" name="id2673967"></a>
    48 <a class="indexterm" name="id2673974"></a>
    49 <a class="indexterm" name="id2673981"></a>
     41</p><div class="sect1" title="Implementation"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2679984"></a>Implementation</h2></div></div></div><p>
     42</p><div class="sect2" title="Multiple Server Hosting"><div class="titlepage"><div><div><h3 class="title"><a name="id2679993"></a>Multiple Server Hosting</h3></div></div></div><p>
     43<a class="indexterm" name="id2680001"></a>
     44<a class="indexterm" name="id2680008"></a>
     45<a class="indexterm" name="id2680015"></a>
     46<a class="indexterm" name="id2680022"></a>
     47<a class="indexterm" name="id2680029"></a>
     48<a class="indexterm" name="id2680036"></a>
     49<a class="indexterm" name="id2680042"></a>
    5050The use of multiple server hosting involves running multiple separate instances of Samba, each with it's own
    5151configuration file. This method is complicated by the fact that each instance of <span class="application">nmbd</span>, <span class="application">smbd</span> and <span class="application">winbindd</span>
     
    5555<span class="application">nmbd</span>, <span class="application">smbd</span> and <span class="application">winbindd</span> must be told to start up with its own <code class="filename">smb.conf</code> configuration file.
    5656</p><p>
    57 <a class="indexterm" name="id2674064"></a>
    58 <a class="indexterm" name="id2674070"></a>
    59 <a class="indexterm" name="id2674077"></a>
    60 <a class="indexterm" name="id2674084"></a>
     57<a class="indexterm" name="id2680125"></a>
     58<a class="indexterm" name="id2680132"></a>
     59<a class="indexterm" name="id2680139"></a>
     60<a class="indexterm" name="id2680146"></a>
    6161Each instance should operate on its own IP address (that independent IP address can be an IP Alias).
    6262Each instance of <span class="application">nmbd</span>, <span class="application">smbd</span> and <span class="application">winbindd</span> should listen only on its own IP socket. This can be secured
     
    6464own SID also, this means that the servers are discrete and independent of each other.
    6565</p><p>
    66 <a class="indexterm" name="id2674130"></a>
    67 <a class="indexterm" name="id2674137"></a>
    68 <a class="indexterm" name="id2674144"></a>
    69 <a class="indexterm" name="id2674151"></a>
    70 <a class="indexterm" name="id2674158"></a>
    71 <a class="indexterm" name="id2674164"></a>
    72 <a class="indexterm" name="id2674171"></a>
    73 <a class="indexterm" name="id2674178"></a>
    74 <a class="indexterm" name="id2674185"></a>
     66<a class="indexterm" name="id2680192"></a>
     67<a class="indexterm" name="id2680199"></a>
     68<a class="indexterm" name="id2680205"></a>
     69<a class="indexterm" name="id2680212"></a>
     70<a class="indexterm" name="id2680219"></a>
     71<a class="indexterm" name="id2680226"></a>
     72<a class="indexterm" name="id2680233"></a>
     73<a class="indexterm" name="id2680240"></a>
     74<a class="indexterm" name="id2680247"></a>
    7575The user of multiple server hosting is non-trivial, and requires careful configuration of each aspect of
    7676process management and start up. The <code class="filename">smb.conf</code> parameters that must be carefully configured includes:
    7777<a class="link" href="smb.conf.5.html#PRIVATEDIR" target="_top">private dir</a>, <a class="link" href="smb.conf.5.html#PIDDIRECTORY" target="_top">pid directory</a>,<a class="link" href="smb.conf.5.html#LOCKDIRECTORY" target="_top">lock directory</a>, <a class="link" href="smb.conf.5.html#INTERFACES" target="_top">interfaces</a>, <a class="link" href="smb.conf.5.html#BINDINTERFACESONLY" target="_top">bind interfaces only</a>, <a class="link" href="smb.conf.5.html#NETBIOSNAME" target="_top">netbios name</a>, <a class="link" href="smb.conf.5.html#WORKGROUP" target="_top">workgroup</a>, <a class="link" href="smb.conf.5.html#SOCKETADDRESS" target="_top">socket address</a>.
    7878</p><p>
    79 <a class="indexterm" name="id2674297"></a>
    80 <a class="indexterm" name="id2674304"></a>
    81 <a class="indexterm" name="id2674310"></a>
     79<a class="indexterm" name="id2680359"></a>
     80<a class="indexterm" name="id2680365"></a>
     81<a class="indexterm" name="id2680371"></a>
    8282Those who elect to create multiple Samba servers should have the ability to read and follow
    8383the Samba source code, and to modify it as needed. This mode of deployment is considered beyond the scope of
     
    8585if it is suitable extend this section of this chapter. Until such documentation becomes available the hosting
    8686of multiple samba servers on a single host is considered not supported for Samba-3 by the Samba Team.
    87 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2674328"></a>Multiple Virtual Server Personalities</h3></div></div></div><p>
    88 <a class="indexterm" name="id2674336"></a>
    89 <a class="indexterm" name="id2674343"></a>
    90 <a class="indexterm" name="id2674350"></a>
     87</p></div><div class="sect2" title="Multiple Virtual Server Personalities"><div class="titlepage"><div><div><h3 class="title"><a name="id2680389"></a>Multiple Virtual Server Personalities</h3></div></div></div><p>
     88<a class="indexterm" name="id2680398"></a>
     89<a class="indexterm" name="id2680405"></a>
     90<a class="indexterm" name="id2680412"></a>
    9191Samba has the ability to host multiple virtual servers, each of which have their own personality.  This is
    9292achieved by configuring an <code class="filename">smb.conf</code> file that is common to all personalities hosted.  Each server
     
    9494<a class="link" href="smb.conf.5.html#%5BGLOBAL%5D" target="_top">[global]</a> section. Each server may have its own stanzas for services and meta-services.
    9595</p><p>
    96 <a class="indexterm" name="id2674398"></a>
    97 <a class="indexterm" name="id2674404"></a>
    98 <a class="indexterm" name="id2674411"></a>
     96<a class="indexterm" name="id2680459"></a>
     97<a class="indexterm" name="id2680466"></a>
     98<a class="indexterm" name="id2680473"></a>
    9999When hosting multiple virtual servers, each with their own personality, each can be in a different workgroup.
    100100Only the primary server can be a domain member or a domain controller. The personality is defined by the
    101101combination of the <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security</a> mode it is operating in, the <a class="link" href="smb.conf.5.html#NETBIOSALIASES" target="_top">netbios aliases</a> it has, and the <a class="link" href="smb.conf.5.html#WORKGROUP" target="_top">workgroup</a> that is defined for it.
    102102</p><p>
    103 <a class="indexterm" name="id2674460"></a>
    104 <a class="indexterm" name="id2674467"></a>
    105 <a class="indexterm" name="id2674474"></a>
    106 <a class="indexterm" name="id2674481"></a>
    107 <a class="indexterm" name="id2674488"></a>
    108 <a class="indexterm" name="id2674495"></a>
     103<a class="indexterm" name="id2680522"></a>
     104<a class="indexterm" name="id2680529"></a>
     105<a class="indexterm" name="id2680536"></a>
     106<a class="indexterm" name="id2680542"></a>
     107<a class="indexterm" name="id2680549"></a>
     108<a class="indexterm" name="id2680556"></a>
    109109This configuration style can be used either with NetBIOS names, or using NetBIOS-less SMB over TCP services.
    110110If run using NetBIOS mode (the most common method) it is important that the parameter <a class="link" href="smb.conf.5.html#SMBPORTS" target="_top">smb ports = 139</a> should be specified in the primary <code class="filename">smb.conf</code> file. Failure to do this will result
     
    115115is not serviceable.
    116116</p><p>
    117 <a class="indexterm" name="id2674573"></a>
    118 <a class="indexterm" name="id2674580"></a>
    119 <a class="indexterm" name="id2674587"></a>
    120 <a class="indexterm" name="id2674594"></a>
     117<a class="indexterm" name="id2680635"></a>
     118<a class="indexterm" name="id2680642"></a>
     119<a class="indexterm" name="id2680649"></a>
     120<a class="indexterm" name="id2680656"></a>
    121121It is possible to host multiple servers, each with their own personality, using port 445 (the NetBIOS-less SMB
    122122port), in which case the <code class="literal">%i</code> macro can be used to provide separate server identities (by
     
    126126more complex than that using NetBIOS names only using TCP port 139.
    127127</p><p>
    128 <a class="indexterm" name="id2674662"></a>
     128<a class="indexterm" name="id2680723"></a>
    129129Consider an example environment that consists of a standalone, user-mode security Samba server and a read-only
    130130Windows 95 file server that has to be replaced. Instead of replacing the Windows 95 machine with a new PC, it
     
    136136possible implementation is shown here:
    137137</p><p>
    138 <a class="indexterm" name="id2674706"></a>
    139 <a class="indexterm" name="id2674713"></a>
    140 <a class="indexterm" name="id2674720"></a>
    141 <a class="indexterm" name="id2674726"></a>
     138<a class="indexterm" name="id2680768"></a>
     139<a class="indexterm" name="id2680774"></a>
     140<a class="indexterm" name="id2680781"></a>
     141<a class="indexterm" name="id2680788"></a>
    142142The <code class="filename">smb.conf</code> file for the master server is shown in <a class="link" href="cfgsmarts.html#elastic" title="Example 34.1. Elastic smb.conf File">Elastic smb.conf File</a>.
    143143This file is placed in the <code class="filename">/etc/samba</code> directory. Only the <span class="application">nmbd</span> and the <span class="application">smbd</span> daemons
     
    146146clients that must access this server are also in the workgroup <code class="literal">ROBINSNEST</code> as this will make
    147147browsing much more reliable.
    148 </p><div class="example"><a name="elastic"></a><p class="title"><b>Example 34.1. Elastic smb.conf File</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="id2674817"></a><em class="parameter"><code>workgroup = ROBINSNEST</code></em></td></tr><tr><td><a class="indexterm" name="id2674828"></a><em class="parameter"><code>netbios name = ELASTIC</code></em></td></tr><tr><td><a class="indexterm" name="id2674840"></a><em class="parameter"><code>netbios aliases = CDSERVER</code></em></td></tr><tr><td><a class="indexterm" name="id2674852"></a><em class="parameter"><code>smb ports = 139</code></em></td></tr><tr><td><a class="indexterm" name="id2674864"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2674876"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2674888"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2674900"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2674911"></a><em class="parameter"><code>include = /etc/samba/smb-%L.conf</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2674932"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2674944"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2674955"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2674967"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[office]</code></em></td></tr><tr><td><a class="indexterm" name="id2674988"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2674999"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2675011"></a><em class="parameter"><code>read only = 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="id2675031"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2675043"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2675055"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2675066"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675078"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675090"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675101"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><p>
    149 <a class="indexterm" name="id2675116"></a>
     148</p><div class="example"><a name="elastic"></a><p class="title"><b>Example 34.1. Elastic smb.conf File</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="id2680878"></a><em class="parameter"><code>workgroup = ROBINSNEST</code></em></td></tr><tr><td><a class="indexterm" name="id2680890"></a><em class="parameter"><code>netbios name = ELASTIC</code></em></td></tr><tr><td><a class="indexterm" name="id2680902"></a><em class="parameter"><code>netbios aliases = CDSERVER</code></em></td></tr><tr><td><a class="indexterm" name="id2680914"></a><em class="parameter"><code>smb ports = 139</code></em></td></tr><tr><td><a class="indexterm" name="id2680926"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2680937"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2680949"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2680961"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2680973"></a><em class="parameter"><code>include = /etc/samba/smb-%L.conf</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2680994"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2681006"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2681017"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2681029"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[office]</code></em></td></tr><tr><td><a class="indexterm" name="id2681049"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2681061"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2681072"></a><em class="parameter"><code>read only = 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="id2681093"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2681105"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2681116"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2681128"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2681140"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2681151"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2681163"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><p>
     149<a class="indexterm" name="id2681178"></a>
    150150The configuration file for the CDROM server is listed in <a class="link" href="cfgsmarts.html#cdserver" title="Example 34.2. CDROM Server smb-cdserver.conf file">CDROM Server
    151151smb-cdserver.conf file</a>. This file is called <code class="filename">smb-cdserver.conf</code> and it should be
    152152located in the <code class="filename">/etc/samba</code> directory. Machines that are in the workgroup
    153153<code class="literal">ARTSDEPT</code> will be able to browse this server freely.
    154 </p><div class="example"><a name="cdserver"></a><p class="title"><b>Example 34.2. CDROM Server smb-cdserver.conf file</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="id2675182"></a><em class="parameter"><code>workgroup = ARTSDEPT</code></em></td></tr><tr><td><a class="indexterm" name="id2675194"></a><em class="parameter"><code>netbios name = CDSERVER</code></em></td></tr><tr><td><a class="indexterm" name="id2675205"></a><em class="parameter"><code>map to guest = Bad User</code></em></td></tr><tr><td><a class="indexterm" name="id2675217"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[carousel]</code></em></td></tr><tr><td><a class="indexterm" name="id2675238"></a><em class="parameter"><code>comment = CDROM Share</code></em></td></tr><tr><td><a class="indexterm" name="id2675250"></a><em class="parameter"><code>path = /export/cddata</code></em></td></tr><tr><td><a class="indexterm" name="id2675261"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675273"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr></table></div></div><br class="example-break"><p>
    155 <a class="indexterm" name="id2675288"></a>
    156 <a class="indexterm" name="id2675295"></a>
    157 <a class="indexterm" name="id2675302"></a>
    158 <a class="indexterm" name="id2675308"></a>
     154</p><div class="example"><a name="cdserver"></a><p class="title"><b>Example 34.2. CDROM Server smb-cdserver.conf file</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="id2681244"></a><em class="parameter"><code>workgroup = ARTSDEPT</code></em></td></tr><tr><td><a class="indexterm" name="id2681255"></a><em class="parameter"><code>netbios name = CDSERVER</code></em></td></tr><tr><td><a class="indexterm" name="id2681267"></a><em class="parameter"><code>map to guest = Bad User</code></em></td></tr><tr><td><a class="indexterm" name="id2681279"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[carousel]</code></em></td></tr><tr><td><a class="indexterm" name="id2681300"></a><em class="parameter"><code>comment = CDROM Share</code></em></td></tr><tr><td><a class="indexterm" name="id2681311"></a><em class="parameter"><code>path = /export/cddata</code></em></td></tr><tr><td><a class="indexterm" name="id2681323"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2681335"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr></table></div></div><br class="example-break"><p>
     155<a class="indexterm" name="id2681349"></a>
     156<a class="indexterm" name="id2681356"></a>
     157<a class="indexterm" name="id2681363"></a>
     158<a class="indexterm" name="id2681370"></a>
    159159The two servers have different resources and are in separate workgroups. The server <code class="literal">ELASTIC</code>
    160160can only be accessed by uses who have an appropriate account on the host server. All users will be able to
     
    162162permissions should set so that the <code class="literal">others</code> user has read-only access to the directory and its
    163163contents. The files can be owned by root (any user other than the nobody account).
    164 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2675343"></a>Multiple Virtual Server Hosting</h3></div></div></div><p>
    165 <a class="indexterm" name="id2675351"></a>
    166 <a class="indexterm" name="id2675358"></a>
    167 <a class="indexterm" name="id2675365"></a>
     164</p></div><div class="sect2" title="Multiple Virtual Server Hosting"><div class="titlepage"><div><div><h3 class="title"><a name="id2681404"></a>Multiple Virtual Server Hosting</h3></div></div></div><p>
     165<a class="indexterm" name="id2681412"></a>
     166<a class="indexterm" name="id2681420"></a>
     167<a class="indexterm" name="id2681426"></a>
    168168In this example, the requirement is for a primary domain controller for the domain called
    169169<code class="literal">MIDEARTH</code>. The PDC will be called <code class="literal">MERLIN</code>. An extra machine called
     
    171171same domain/workgroup.
    172172</p><p>
    173 <a class="indexterm" name="id2675397"></a>
    174 <a class="indexterm" name="id2675404"></a>
    175 <a class="indexterm" name="id2675411"></a>
     173<a class="indexterm" name="id2681459"></a>
     174<a class="indexterm" name="id2681466"></a>
     175<a class="indexterm" name="id2681472"></a>
    176176The master <code class="filename">smb.conf</code> file is shown in <a class="link" href="cfgsmarts.html#mastersmbc" title="Example 34.3. Master smb.conf File Global Section">the Master smb.conf File Global Section</a>.
    177177The two files that specify the share information for each server are shown in <a class="link" href="cfgsmarts.html#merlinsmbc" title="Example 34.4. MERLIN smb-merlin.conf File Share Section">the
    178178smb-merlin.conf File Share Section</a>, and <a class="link" href="cfgsmarts.html#sauronsmbc" title="Example 34.5. SAURON smb-sauron.conf File Share Section">the smb-sauron.conf File Share
    179179Section</a>. All three files are locate in the <code class="filename">/etc/samba</code> directory.
    180 </p><div class="example"><a name="mastersmbc"></a><p class="title"><b>Example 34.3. Master smb.conf File Global 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="id2675486"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2675498"></a><em class="parameter"><code>netbios name = MERLIN</code></em></td></tr><tr><td><a class="indexterm" name="id2675510"></a><em class="parameter"><code>netbios aliases = SAURON</code></em></td></tr><tr><td><a class="indexterm" name="id2675521"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2675533"></a><em class="parameter"><code>smb ports = 139</code></em></td></tr><tr><td><a class="indexterm" name="id2675545"></a><em class="parameter"><code>syslog = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2675556"></a><em class="parameter"><code>printcap name = CUPS</code></em></td></tr><tr><td><a class="indexterm" name="id2675568"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2675580"></a><em class="parameter"><code>add user script = /usr/sbin/useradd -m '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2675592"></a><em class="parameter"><code>delete user script = /usr/sbin/userdel -r '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2675605"></a><em class="parameter"><code>add group script = /usr/sbin/groupadd '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2675617"></a><em class="parameter"><code>delete group script = /usr/sbin/groupdel '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2675629"></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="id2675642"></a><em class="parameter"><code>add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2675654"></a><em class="parameter"><code>logon script = scripts\login.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2675666"></a><em class="parameter"><code>logon path =  </code></em></td></tr><tr><td><a class="indexterm" name="id2675678"></a><em class="parameter"><code>logon drive = X:</code></em></td></tr><tr><td><a class="indexterm" name="id2675690"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675701"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675713"></a><em class="parameter"><code>wins support = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675725"></a><em class="parameter"><code>printing = CUPS</code></em></td></tr><tr><td><a class="indexterm" name="id2675737"></a><em class="parameter"><code>include = /etc/samba/smb-%L.conf</code></em></td></tr></table></div></div><br class="example-break"><div class="example"><a name="merlinsmbc"></a><p class="title"><b>Example 34.4. MERLIN smb-merlin.conf File Share 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="id2675777"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2675789"></a><em class="parameter"><code>netbios name = MERLIN</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2675810"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2675822"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2675833"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2675845"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[office]</code></em></td></tr><tr><td><a class="indexterm" name="id2675865"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2675877"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2675888"></a><em class="parameter"><code>read only = 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="id2675909"></a><em class="parameter"><code>comment = NETLOGON</code></em></td></tr><tr><td><a class="indexterm" name="id2675921"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2675932"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675944"></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="id2675965"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2675976"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2675988"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2676000"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2676012"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><div class="example"><a name="sauronsmbc"></a><p class="title"><b>Example 34.5. SAURON smb-sauron.conf File Share 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="id2676052"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2676064"></a><em class="parameter"><code>netbios name = SAURON</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[www]</code></em></td></tr><tr><td><a class="indexterm" name="id2676084"></a><em class="parameter"><code>comment = Web Pages</code></em></td></tr><tr><td><a class="indexterm" name="id2676096"></a><em class="parameter"><code>path = /srv/www/htdocs</code></em></td></tr><tr><td><a class="indexterm" name="id2676108"></a><em class="parameter"><code>read only = No</code></em></td></tr></table></div></div><br class="example-break"></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="largefile.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="migration.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 33. Handling Large Directories </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Part IV. Migration and Updating</td></tr></table></div></body></html>
     180</p><div class="example"><a name="mastersmbc"></a><p class="title"><b>Example 34.3. Master smb.conf File Global 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="id2681548"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2681559"></a><em class="parameter"><code>netbios name = MERLIN</code></em></td></tr><tr><td><a class="indexterm" name="id2681571"></a><em class="parameter"><code>netbios aliases = SAURON</code></em></td></tr><tr><td><a class="indexterm" name="id2681583"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2681595"></a><em class="parameter"><code>smb ports = 139</code></em></td></tr><tr><td><a class="indexterm" name="id2681607"></a><em class="parameter"><code>syslog = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2681618"></a><em class="parameter"><code>printcap name = CUPS</code></em></td></tr><tr><td><a class="indexterm" name="id2681630"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2681642"></a><em class="parameter"><code>add user script = /usr/sbin/useradd -m '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2681654"></a><em class="parameter"><code>delete user script = /usr/sbin/userdel -r '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2681666"></a><em class="parameter"><code>add group script = /usr/sbin/groupadd '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2681679"></a><em class="parameter"><code>delete group script = /usr/sbin/groupdel '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2681691"></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="id2681703"></a><em class="parameter"><code>add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2681716"></a><em class="parameter"><code>logon script = scripts\login.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2681728"></a><em class="parameter"><code>logon path =  </code></em></td></tr><tr><td><a class="indexterm" name="id2681740"></a><em class="parameter"><code>logon drive = X:</code></em></td></tr><tr><td><a class="indexterm" name="id2681751"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2681763"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2681775"></a><em class="parameter"><code>wins support = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2681787"></a><em class="parameter"><code>printing = CUPS</code></em></td></tr><tr><td><a class="indexterm" name="id2681798"></a><em class="parameter"><code>include = /etc/samba/smb-%L.conf</code></em></td></tr></table></div></div><br class="example-break"><div class="example"><a name="merlinsmbc"></a><p class="title"><b>Example 34.4. MERLIN smb-merlin.conf File Share 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="id2681839"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2681851"></a><em class="parameter"><code>netbios name = MERLIN</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2681872"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2681883"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2681895"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2681906"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[office]</code></em></td></tr><tr><td><a class="indexterm" name="id2681927"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2681939"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2681950"></a><em class="parameter"><code>read only = 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="id2681971"></a><em class="parameter"><code>comment = NETLOGON</code></em></td></tr><tr><td><a class="indexterm" name="id2681982"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2681994"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2682006"></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="id2682026"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2682038"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2682050"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2682061"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2682073"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><div class="example"><a name="sauronsmbc"></a><p class="title"><b>Example 34.5. SAURON smb-sauron.conf File Share 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="id2682114"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2682125"></a><em class="parameter"><code>netbios name = SAURON</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[www]</code></em></td></tr><tr><td><a class="indexterm" name="id2682146"></a><em class="parameter"><code>comment = Web Pages</code></em></td></tr><tr><td><a class="indexterm" name="id2682158"></a><em class="parameter"><code>path = /srv/www/htdocs</code></em></td></tr><tr><td><a class="indexterm" name="id2682170"></a><em class="parameter"><code>read only = No</code></em></td></tr></table></div></div><br class="example-break"></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="largefile.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="migration.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 33. Handling Large Directories </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Part IV. Migration and Updating</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/ch-ldap-tls.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 46. LDAP and Transport Layer Security</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="speed.html" title="Chapter 45. Samba Performance Tuning"><link rel="next" href="ch47.html" title="Chapter 47. Samba Support"></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 46. LDAP and Transport Layer Security</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="speed.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="ch47.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="ch-ldap-tls"></a>Chapter 46. LDAP and Transport Layer Security</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Gavin</span> <span class="orgname">Suretec Systems Limited, UK</span> <span class="surname">Henry</span></h3><div class="affiliation"><span class="orgname">Suretec Systems Limited, UK<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:ghenry@suretecsystems.com">ghenry@suretecsystems.com</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">July 8, 2005</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></span></dt><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-config-ldap-tls">Configuring</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-certs">Generating the Certificate Authority</a></span></dt><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-server">Generating the Server Certificate</a></span></dt><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-install">Installing the Certificates</a></span></dt></dl></dd><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-test-ldap-tls">Testing</a></span></dt><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-int-ldap-tls">Troubleshooting</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="s1-intro-ldap-tls"></a>Introduction</h2></div></div></div><p>
    2         <a class="indexterm" name="id2691453"></a>
    3 <a class="indexterm" name="id2691462"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 46. LDAP and Transport Layer Security</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="speed.html" title="Chapter 45. Samba Performance Tuning"><link rel="next" href="ch47.html" title="Chapter 47. Samba Support"></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 46. LDAP and Transport Layer Security</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="speed.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="ch47.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 46. LDAP and Transport Layer Security"><div class="titlepage"><div><div><h2 class="title"><a name="ch-ldap-tls"></a>Chapter 46. LDAP and Transport Layer Security</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Gavin</span> <span class="surname">Henry</span></h3><div class="affiliation"><span class="orgname">Suretec Systems Limited, UK<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:ghenry@suretecsystems.com">ghenry@suretecsystems.com</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">July 8, 2005</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></span></dt><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-config-ldap-tls">Configuring</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-certs">Generating the Certificate Authority</a></span></dt><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-server">Generating the Server Certificate</a></span></dt><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-install">Installing the Certificates</a></span></dt></dl></dd><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-test-ldap-tls">Testing</a></span></dt><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-int-ldap-tls">Troubleshooting</a></span></dt></dl></div><div class="sect1" title="Introduction"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="s1-intro-ldap-tls"></a>Introduction</h2></div></div></div><p>
     2        <a class="indexterm" name="id2697509"></a>
     3<a class="indexterm" name="id2697519"></a>
    44        Up until now, we have discussed the straightforward configuration of <span class="trademark">OpenLDAP</span>&#8482;,
    55        with some advanced features such as ACLs. This does not however, deal with the fact that the network
     
    77        comes in.
    88        </p><p>
    9 <a class="indexterm" name="id2691486"></a>
     9<a class="indexterm" name="id2697543"></a>
    1010        <span class="trademark">OpenLDAP</span>&#8482; clients and servers are capable of using the Transport Layer Security (TLS)
    1111        framework to provide integrity and confidentiality protections in accordance with <a class="ulink" href="http://rfc.net/rfc2830.html" target="_top">RFC 2830</a>; <span class="emphasis"><em>Lightweight Directory Access Protocol (v3):
    1212        Extension for Transport Layer Security.</em></span>
    1313        </p><p>
    14 <a class="indexterm" name="id2691516"></a>
     14<a class="indexterm" name="id2697572"></a>
    1515        TLS uses X.509 certificates. All servers are required to have valid certificates, whereas client certificates
    1616        are optional. We will only be discussing server certificates.
    17         </p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>
    18 <a class="indexterm" name="id2691530"></a>
    19 <a class="indexterm" name="id2691536"></a>
    20 <a class="indexterm" name="id2691543"></a>
     17        </p><div class="tip" title="Tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>
     18<a class="indexterm" name="id2697587"></a>
     19<a class="indexterm" name="id2697593"></a>
     20<a class="indexterm" name="id2697600"></a>
    2121        The DN of a server certificate must use the CN attribute to name the server, and the CN must carry the
    2222        server's fully qualified domain name (FQDN). Additional alias names and wildcards may be present in the
     
    2424        </p></div><p>
    2525        We will discuss this more in the next sections.
    26         </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="s1-config-ldap-tls"></a>Configuring</h2></div></div></div><p>
    27         <a class="indexterm" name="id2691583"></a>
     26        </p></div><div class="sect1" title="Configuring"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="s1-config-ldap-tls"></a>Configuring</h2></div></div></div><p>
     27        <a class="indexterm" name="id2697640"></a>
    2828        Now on to the good bit.
    29         </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="s1-config-ldap-tls-certs"></a>Generating the Certificate Authority</h3></div></div></div><p>
    30 <a class="indexterm" name="id2691606"></a>
     29        </p><div class="sect2" title="Generating the Certificate Authority"><div class="titlepage"><div><div><h3 class="title"><a name="s1-config-ldap-tls-certs"></a>Generating the Certificate Authority</h3></div></div></div><p>
     30<a class="indexterm" name="id2697662"></a>
    3131        In order to create the relevant certificates, we need to become our own Certificate Authority (CA).
    32         <sup>[<a name="id2691617" href="#ftn.id2691617" class="footnote">8</a>]</sup> This is necessary, so we can sign the server certificate.
    33         </p><p>
    34 <a class="indexterm" name="id2691646"></a>
    35         We will be using the <a class="ulink" href="http://www.openssl.org" target="_top">OpenSSL</a> <sup>[<a name="id2691659" href="#ftn.id2691659" class="footnote">9</a>]</sup> software for this, which is included with every great <span class="trademark">Linux</span>® distribution.
    36         </p><p>
    37         TLS is used for many types of servers, but the instructions<sup>[<a name="id2691678" href="#ftn.id2691678" class="footnote">10</a>]</sup> presented here, are tailored for <span class="application">OpenLDAP</span>.
    38         </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     32        <sup>[<a name="id2697673" href="#ftn.id2697673" class="footnote">8</a>]</sup> This is necessary, so we can sign the server certificate.
     33        </p><p>
     34<a class="indexterm" name="id2697703"></a>
     35        We will be using the <a class="ulink" href="http://www.openssl.org" target="_top">OpenSSL</a> <sup>[<a name="id2697716" href="#ftn.id2697716" class="footnote">9</a>]</sup> software for this, which is included with every great <span class="trademark">Linux</span>® distribution.
     36        </p><p>
     37        TLS is used for many types of servers, but the instructions<sup>[<a name="id2697734" href="#ftn.id2697734" class="footnote">10</a>]</sup> presented here, are tailored for <span class="application">OpenLDAP</span>.
     38        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    3939        The <span class="emphasis"><em>Common Name (CN)</em></span>, in the following example, <span class="emphasis"><em>MUST</em></span> be
    4040        the fully qualified domain name (FQDN) of your ldap server.
    4141        </p></div><p>
    4242        First we need to generate the CA:
    43 </p><pre class="screen">
     43</p><pre class="screen" width="90">
    4444<code class="computeroutput">
    4545<code class="prompt">root# </code> mkdir myCA
     
    4747</pre><p>
    4848        Move into that directory:
    49 </p><pre class="screen">
     49</p><pre class="screen" width="90">
    5050<code class="computeroutput">
    5151<code class="prompt">root# </code> cd myCA
    5252</code>
    5353</pre><p>
    54         Now generate the CA:<sup>[<a name="id2691754" href="#ftn.id2691754" class="footnote">11</a>]</sup>
    55 </p><pre class="screen">
     54        Now generate the CA:<sup>[<a name="id2697811" href="#ftn.id2697811" class="footnote">11</a>]</sup>
     55</p><pre class="screen" width="90">
    5656<code class="computeroutput">
    5757<code class="prompt">root# </code> /usr/share/ssl/misc/CA.pl -newca
     
    8484        </p><p>
    8585        There are some things to note here.
    86         </p><div class="orderedlist"><ol type="1"><li><p>
     86        </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
    8787                        You <span class="emphasis"><em>MUST</em></span> remember the password, as we will need
    8888                        it to sign the server certificate..
    89                         </p></li><li><p>
     89                        </p></li><li class="listitem"><p>
    9090                        The <span class="emphasis"><em>Common Name (CN)</em></span>, <span class="emphasis"><em>MUST</em></span> be the
    9191                        fully qualified domain name (FQDN) of your ldap server.
    92                         </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="s1-config-ldap-tls-server"></a>Generating the Server Certificate</h3></div></div></div><p>
     92                        </p></li></ol></div></div><div class="sect2" title="Generating the Server Certificate"><div class="titlepage"><div><div><h3 class="title"><a name="s1-config-ldap-tls-server"></a>Generating the Server Certificate</h3></div></div></div><p>
    9393        Now we need to generate the server certificate:
    94 </p><pre class="screen">
     94</p><pre class="screen" width="90">
    9595<code class="computeroutput">
    9696<code class="prompt">root# </code> openssl req -new -nodes -keyout newreq.pem -out newreq.pem
     
    123123        </p><p>
    124124        Again, there are some things to note here.
    125         </p><div class="orderedlist"><ol type="1"><li><p>
     125        </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
    126126                        You should <span class="emphasis"><em>NOT</em></span> enter a password.
    127                         </p></li><li><p>
     127                        </p></li><li class="listitem"><p>
    128128                        The <span class="emphasis"><em>Common Name (CN)</em></span>, <span class="emphasis"><em>MUST</em></span> be
    129129                        the fully qualified domain name (FQDN) of your ldap server.
    130130                        </p></li></ol></div><p>
    131131        Now we sign the certificate with the new CA:
    132 </p><pre class="screen">
     132</p><pre class="screen" width="90">
    133133<code class="computeroutput">
    134134<code class="prompt">root# </code> /usr/share/ssl/misc/CA.pl -sign
     
    175175        </p><p>
    176176        That completes the server certificate generation.
    177         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="s1-config-ldap-tls-install"></a>Installing the Certificates</h3></div></div></div><p>
     177        </p></div><div class="sect2" title="Installing the Certificates"><div class="titlepage"><div><div><h3 class="title"><a name="s1-config-ldap-tls-install"></a>Installing the Certificates</h3></div></div></div><p>
    178178        Now we need to copy the certificates to the right configuration directories,
    179179        rename them at the same time (for convenience), change the ownership and
    180180        finally the permissions:
    181 </p><pre class="screen">
     181</p><pre class="screen" width="90">
    182182<code class="computeroutput">
    183183<code class="prompt">root# </code> cp demoCA/cacert.pem /etc/openldap/
     
    192192        Now we just need to add these locations to <code class="filename">slapd.conf</code>,
    193193        anywhere before the <code class="option">database</code> declaration as shown here:
    194 </p><pre class="screen">
     194</p><pre class="screen" width="90">
    195195<code class="computeroutput">
    196196TLSCertificateFile /etc/openldap/servercrt.pem
     
    202202        Here is the declaration and <code class="filename">ldap.conf</code>:
    203203<code class="filename">ldap.conf</code>
    204 </p><pre class="screen">
     204</p><pre class="screen" width="90">
    205205<code class="computeroutput">
    206206TLS_CACERT /etc/openldap/cacert.pem
     
    209209        </p><p>
    210210        That's all there is to it. Now on to <a class="xref" href="ch-ldap-tls.html#s1-test-ldap-tls" title="Testing">the section called &#8220;Testing&#8221;</a>
    211         </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="s1-test-ldap-tls"></a>Testing</h2></div></div></div><p>
    212 <a class="indexterm" name="id2692162"></a>
     211        </p></div></div><div class="sect1" title="Testing"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="s1-test-ldap-tls"></a>Testing</h2></div></div></div><p>
     212<a class="indexterm" name="id2698219"></a>
    213213This is the easy part. Restart the server:
    214 </p><pre class="screen">
     214</p><pre class="screen" width="90">
    215215<code class="computeroutput">
    216216<code class="prompt">root# </code> /etc/init.d/ldap restart
     
    221221</pre><p>
    222222        Then, using <code class="literal">ldapsearch</code>, test an anonymous search with the
    223         <code class="option">-ZZ</code><sup>[<a name="id2692204" href="#ftn.id2692204" class="footnote">12</a>]</sup> option:
    224 </p><pre class="screen">
     223        <code class="option">-ZZ</code><sup>[<a name="id2698261" href="#ftn.id2698261" class="footnote">12</a>]</sup> option:
     224</p><pre class="screen" width="90">
    225225<code class="computeroutput">
    226226<code class="prompt">root# </code> ldapsearch -x -b "dc=ldap,dc=abmas,dc=biz" \
     
    229229</pre><p>
    230230        Your results should be the same as before you restarted the server, for example:
    231 </p><pre class="screen">
     231</p><pre class="screen" width="90">
    232232<code class="computeroutput">
    233233<code class="prompt">root# </code> ldapsearch -x -b "dc=ldap,dc=abmas,dc=biz" \
     
    265265</pre><p>
    266266        If you have any problems, please read <a class="xref" href="ch-ldap-tls.html#s1-int-ldap-tls" title="Troubleshooting">the section called &#8220;Troubleshooting&#8221;</a>
    267 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="s1-int-ldap-tls"></a>Troubleshooting</h2></div></div></div><p>
    268 <a class="indexterm" name="id2692302"></a>
     267</p></div><div class="sect1" title="Troubleshooting"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="s1-int-ldap-tls"></a>Troubleshooting</h2></div></div></div><p>
     268<a class="indexterm" name="id2698359"></a>
    269269The most common error when configuring TLS, as I have already mentioned numerous times, is that the
    270270<span class="emphasis"><em>Common Name (CN)</em></span> you entered in <a class="xref" href="ch-ldap-tls.html#s1-config-ldap-tls-server" title="Generating the Server Certificate">the section called &#8220;Generating the Server Certificate&#8221;</a> is
     
    276276</p><p>
    277277For anything else, it's best to read through your ldap logfile or join the <span class="application">OpenLDAP</span> mailing list.
    278 </p></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id2691617" href="#id2691617" class="para">8</a>] </sup>We could however, get our generated server certificate signed by proper CAs, like <a class="ulink" href="http://www.thawte.com/" target="_top">Thawte</a> and <a class="ulink" href="http://www.verisign.com/" target="_top">VeriSign</a>, which
     278</p></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id2697673" href="#id2697673" class="para">8</a>] </sup>We could however, get our generated server certificate signed by proper CAs, like <a class="ulink" href="http://www.thawte.com/" target="_top">Thawte</a> and <a class="ulink" href="http://www.verisign.com/" target="_top">VeriSign</a>, which
    279279        you pay for, or the free ones, via <a class="ulink" href="http://www.cacert.org/" target="_top">CAcert</a>
    280         </p></div><div class="footnote"><p><sup>[<a name="ftn.id2691659" href="#id2691659" class="para">9</a>] </sup>The downside to
     280        </p></div><div class="footnote"><p><sup>[<a name="ftn.id2697716" href="#id2697716" class="para">9</a>] </sup>The downside to
    281281        making our own CA, is that the certificate is not automatically recognized by clients, like the commercial
    282         ones are.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2691678" href="#id2691678" class="para">10</a>] </sup>For information straight from the
     282        ones are.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2697734" href="#id2697734" class="para">10</a>] </sup>For information straight from the
    283283        horse's mouth, please visit <a class="ulink" href="http://www.openssl.org/docs/HOWTO/" target="_top">http://www.openssl.org/docs/HOWTO/</a>; the main OpenSSL
    284         site.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2691754" href="#id2691754" class="para">11</a>] </sup>Your <code class="filename">CA.pl</code> or <code class="filename">CA.sh</code> might not be
     284        site.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2697811" href="#id2697811" class="para">11</a>] </sup>Your <code class="filename">CA.pl</code> or <code class="filename">CA.sh</code> might not be
    285285        in the same location as mine is, you can find it by using the <code class="literal">locate</code> command, i.e.,
    286286        <code class="literal">locate CA.pl</code>.  If the command complains about the database being too old, run
    287         <code class="literal">updatedb</code> as <span class="emphasis"><em>root</em></span> to update it.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2692204" href="#id2692204" class="para">12</a>] </sup>See <code class="literal">man ldapsearch</code></p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="speed.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="Appendix.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch47.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 45. Samba Performance Tuning </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 47. Samba Support</td></tr></table></div></body></html>
     287        <code class="literal">updatedb</code> as <span class="emphasis"><em>root</em></span> to update it.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2698261" href="#id2698261" class="para">12</a>] </sup>See <code class="literal">man ldapsearch</code></p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="speed.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="Appendix.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch47.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 45. Samba Performance Tuning </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 47. Samba Support</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/ch47.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 47. Samba Support</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="ch-ldap-tls.html" title="Chapter 46. LDAP and Transport Layer Security"><link rel="next" href="DNSDHCP.html" title="Chapter 48. DNS and DHCP Configuration Guide"></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 47. Samba Support</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch-ldap-tls.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="DNSDHCP.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en-US"><div class="titlepage"><div><div><h2 class="title"><a name="id2692383"></a>Chapter 47. Samba Support</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="ch47.html#id2692514">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2692732">Commercial Support</a></span></dt></dl></div><p>
    2 <a class="indexterm" name="id2692393"></a>
    3 One of the most difficult to answer questions in the information technology industry is, &#8220;<span class="quote">What is
    4 support?</span>&#8221;. That question irritates some folks, as much as common answers may annoy others.
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 47. Samba Support</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="ch-ldap-tls.html" title="Chapter 46. LDAP and Transport Layer Security"><link rel="next" href="DNSDHCP.html" title="Chapter 48. DNS and DHCP Configuration Guide"></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 47. Samba Support</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch-ldap-tls.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="DNSDHCP.html">Next</a></td></tr></table><hr></div><div lang="en-US" class="chapter" title="Chapter 47. Samba Support"><div class="titlepage"><div><div><h2 class="title"><a name="id2698440"></a>Chapter 47. Samba Support</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="ch47.html#id2698571">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2698789">Commercial Support</a></span></dt></dl></div><p>
     2<a class="indexterm" name="id2698450"></a>
     3One of the most difficult to answer questions in the information technology industry is, <span class="quote">&#8220;<span class="quote">What is
     4support?</span>&#8221;</span>. That question irritates some folks, as much as common answers may annoy others.
    55</p><p>
    6 <a class="indexterm" name="id2692410"></a>
     6<a class="indexterm" name="id2698466"></a>
    77The most aggravating situation pertaining to support is typified when, as a Linux user, a call is made to
    88an Internet service provider who, instead of listening to the problem to find a solution, blandly replies:
    9 &#8220;<span class="quote">Oh, Linux? We do not support Linux!</span>&#8221;. It has happened to me, and similar situations happen
     9<span class="quote">&#8220;<span class="quote">Oh, Linux? We do not support Linux!</span>&#8221;</span>. It has happened to me, and similar situations happen
    1010through-out the IT industry. Answers like that are designed to inform us that there are some customers
    1111that a business just does not want to deal with, and well may we feel the anguish of the rejection that
     
    1616inconvenience, loss of productivity, disorientation, uncertainty, and real or perceived risk.
    1717</p><p>
    18 <a class="indexterm" name="id2692440"></a>
    19 <a class="indexterm" name="id2692447"></a>
    20 <a class="indexterm" name="id2692454"></a>
     18<a class="indexterm" name="id2698497"></a>
     19<a class="indexterm" name="id2698504"></a>
     20<a class="indexterm" name="id2698511"></a>
    2121One of the forces that has become a driving force for the adoption of open source software is the fact that
    2222many IT businesses have provided services that have perhaps failed to deliver what the customer expected, or
    2323that have been found wanting for other reasons.
    2424</p><p>
    25 <a class="indexterm" name="id2692468"></a>
    26 <a class="indexterm" name="id2692475"></a>
     25<a class="indexterm" name="id2698525"></a>
     26<a class="indexterm" name="id2698532"></a>
    2727In recognition of the need for needs satisfaction as the primary experience an information technology user or
    2828consumer expects, the information provided in this chapter may help someone to avoid an unpleasant experience
    2929in respect of problem resolution.
    3030</p><p>
    31 <a class="indexterm" name="id2692490"></a>
    32 <a class="indexterm" name="id2692497"></a>
    33 <a class="indexterm" name="id2692504"></a>
     31<a class="indexterm" name="id2698547"></a>
     32<a class="indexterm" name="id2698554"></a>
     33<a class="indexterm" name="id2698561"></a>
    3434In the open source software arena there are two support options: free support and paid-for (commercial)
    3535support.
    36 </p><div class="sect1" lang="en-US"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2692514"></a>Free Support</h2></div></div></div><p>
    37 <a class="indexterm" name="id2692521"></a>
    38 <a class="indexterm" name="id2692528"></a>
    39 <a class="indexterm" name="id2692535"></a>
    40 <a class="indexterm" name="id2692542"></a>
    41 <a class="indexterm" name="id2692549"></a>
    42 <a class="indexterm" name="id2692556"></a>
     36</p><div class="sect1" title="Free Support"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2698571"></a>Free Support</h2></div></div></div><p>
     37<a class="indexterm" name="id2698579"></a>
     38<a class="indexterm" name="id2698585"></a>
     39<a class="indexterm" name="id2698592"></a>
     40<a class="indexterm" name="id2698599"></a>
     41<a class="indexterm" name="id2698606"></a>
     42<a class="indexterm" name="id2698613"></a>
    4343        Free support may be obtained from friends, colleagues, user groups, mailing lists, and interactive help
    4444        facilities. An example of an interactive dacility is the Internet relay chat (IRC) channels that host user
    4545        supported mutual assistance.
    4646        </p><p>
    47 <a class="indexterm" name="id2692570"></a>
    48 <a class="indexterm" name="id2692577"></a>
    49 <a class="indexterm" name="id2692584"></a>
    50 <a class="indexterm" name="id2692591"></a>
    51 <a class="indexterm" name="id2692598"></a>
     47<a class="indexterm" name="id2698627"></a>
     48<a class="indexterm" name="id2698634"></a>
     49<a class="indexterm" name="id2698641"></a>
     50<a class="indexterm" name="id2698648"></a>
     51<a class="indexterm" name="id2698655"></a>
    5252        The Samba project maintains a mailing list that is commonly used to discuss solutions to Samba deployments.
    5353        Information regarding subscription to the Samba mailing list can be found on the Samba <a class="ulink" href="https://lists.samba.org/mailman/" target="_top">web</a> site. The public mailing list that can be used to obtain
     
    5656        the Samba <a class="ulink" href="http://www.samba.org/samba.irc.html" target="_top">IRC</a> web page.
    5757        </p><p>
    58 <a class="indexterm" name="id2692639"></a>
    59 <a class="indexterm" name="id2692646"></a>
    60 <a class="indexterm" name="id2692653"></a>
    61 <a class="indexterm" name="id2692660"></a>
     58<a class="indexterm" name="id2698696"></a>
     59<a class="indexterm" name="id2698703"></a>
     60<a class="indexterm" name="id2698710"></a>
     61<a class="indexterm" name="id2698717"></a>
    6262        As a general rule, it is considered poor net behavior to contact a Samba Team member directly
    6363        for free support. Most active members of the Samba Team work exceptionally long hours to assist
     
    6767        to show appropriate discretion and reservation in all direct contact.
    6868        </p><p>
    69 <a class="indexterm" name="id2692680"></a>
    70 <a class="indexterm" name="id2692686"></a>
    71 <a class="indexterm" name="id2692693"></a>
     69<a class="indexterm" name="id2698736"></a>
     70<a class="indexterm" name="id2698743"></a>
     71<a class="indexterm" name="id2698750"></a>
    7272        When you stumble across a Samba bug, often the quickest way to get it resolved is by posting
    7373        a bug <a class="ulink" href="https://bugzilla.samba.org/" target="_top">report</a>. All such reports are mailed to
     
    7777        that will permit the problem to be reproduced.
    7878        </p><p>
    79 <a class="indexterm" name="id2692718"></a>
     79<a class="indexterm" name="id2698774"></a>
    8080        We all recognize that sometimes free support does not provide the answer that is sought within
    8181        the time-frame required. At other times the problem is elusive and you may lack the experience
    8282        necessary to isolate the problem and thus to resolve it. This is a situation where is may be
    8383        prudent to purchase paid-for support.
    84         </p></div><div class="sect1" lang="en-US"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2692732"></a>Commercial Support</h2></div></div></div><p>
     84        </p></div><div class="sect1" title="Commercial Support"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2698789"></a>Commercial Support</h2></div></div></div><p>
    8585        There are six basic support oriented services that are most commonly sought by Samba sites:
    86         </p><div class="itemizedlist"><ul type="disc"><li><p>Assistance with network design</p></li><li><p>Staff Training</p></li><li><p>Assistance with Samba network deployment and installation</p></li><li><p>Priority telephone or email Samba configuration assistance</p></li><li><p>Trouble-shooting and diagnostic assistance</p></li><li><p>Provision of quality assured ready-to-install Samba binary packages</p></li></ul></div><p>
    87 <a class="indexterm" name="id2692779"></a>
    88 <a class="indexterm" name="id2692786"></a>
     86        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Assistance with network design</p></li><li class="listitem"><p>Staff Training</p></li><li class="listitem"><p>Assistance with Samba network deployment and installation</p></li><li class="listitem"><p>Priority telephone or email Samba configuration assistance</p></li><li class="listitem"><p>Trouble-shooting and diagnostic assistance</p></li><li class="listitem"><p>Provision of quality assured ready-to-install Samba binary packages</p></li></ul></div><p>
     87<a class="indexterm" name="id2698836"></a>
     88<a class="indexterm" name="id2698843"></a>
    8989        Information regarding companies that provide professional Samba support can be obtained by performing a Google
    9090        search, as well as by reference to the Samba <a class="ulink" href="http://www.samba.org/samba/support.html" target="_top">Support</a> web page. Companies who notify the Samba Team
     
    9494        them.
    9595        </p><p>
    96 <a class="indexterm" name="id2692818"></a>
     96<a class="indexterm" name="id2698875"></a>
    9797        The policy within the Samba Team is to treat all commercial support providers equally and to show no
    9898        preference. As a result, Samba Team members who provide commercial support are lumped in with everyone else.
     
    100100        is pro-community; so do what you can to help a local business to prosper.
    101101        </p><p>
    102 <a class="indexterm" name="id2692835"></a>
     102<a class="indexterm" name="id2698892"></a>
    103103        Open source software support can be found in any quality, at any price and in any place you can
    104104        to obtain it. Over 180 companies around the world provide Samba support, there is no excuse for
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/classicalprinting.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 21. Classical Printing Support</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="msdfs.html" title="Chapter 20. Hosting a Microsoft Distributed File System Tree"><link rel="next" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support"></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 21. Classical Printing Support</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="msdfs.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="CUPS-printing.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="classicalprinting"></a>Chapter 21. Classical Printing Support</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Kurt</span> <span class="orgname">Danka Deutschland GmbH</span> <span class="surname">Pfeifle</span></h3><div class="affiliation"><span class="orgname">Danka Deutschland GmbH<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:kpfeifle@danka.de">kpfeifle@danka.de</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">May 31, 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="classicalprinting.html#id2622106">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2622330">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622481">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2622540">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2622641">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623122">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2623522">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2623977">Detailed Explanation Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2626693">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2626862">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2626984">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2627200">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2627521">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2627663">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2627756">Add Printer Wizard Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#inst-rpc">Installing Print Drivers Using rpcclient</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2629689">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2629706">First Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630271">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630390">Always Make First Client Connection as root or printer admin</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2630563">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2630584">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630951">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631207">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631467">Error Message: Cannot connect under a different Name</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631581">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631890">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631999">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2632036">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632082">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632117">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632132">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632150">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2632283">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632557">The addprinter Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632596">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632744">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632774">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632780">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632821">My Print Jobs Get Spooled into the Spooling Directory, but Then Get Lost</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2622106"></a>Features and Benefits</h2></div></div></div><p>
    2 <a class="indexterm" name="id2622114"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 21. Classical Printing Support</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="msdfs.html" title="Chapter 20. Hosting a Microsoft Distributed File System Tree"><link rel="next" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support"></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 21. Classical Printing Support</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="msdfs.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="CUPS-printing.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 21. Classical Printing Support"><div class="titlepage"><div><div><h2 class="title"><a name="classicalprinting"></a>Chapter 21. Classical Printing Support</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Kurt</span> <span class="surname">Pfeifle</span></h3><div class="affiliation"><span class="orgname">Danka Deutschland GmbH<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:kpfeifle@danka.de">kpfeifle@danka.de</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">May 31, 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="classicalprinting.html#id2628204">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2628427">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2628578">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2628638">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2628739">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2629022">Verifying Configuration with <code class="literal">testparm</code></a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2629220">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2629619">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2630075">Detailed Explanation Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632790">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632959">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2633081">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2633298">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2633618">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2633761">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2633854">Add Printer Wizard Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#inst-rpc">Installing Print Drivers Using <code class="literal">rpcclient</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2635786">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2635803">First Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2636368">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2636487">Always Make First Client Connection as root or <span class="quote">&#8220;<span class="quote">printer admin</span>&#8221;</span></a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2636660">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2636681">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637048">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637304">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637564">Error Message: <span class="quote">&#8220;<span class="quote">Cannot connect under a different Name</span>&#8221;</span></a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637678">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637988">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638097">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2638134">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2638180">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638214">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638230">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638247">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2638381">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638654">The <code class="literal">addprinter</code> Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638693">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638842">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638871">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2638877">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638918">My Print Jobs Get Spooled into the Spooling Directory, but Then Get Lost</a></span></dt></dl></dd></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2628204"></a>Features and Benefits</h2></div></div></div><p>
     2<a class="indexterm" name="id2628212"></a>
    33Printing is often a mission-critical service for the users. Samba can provide this service reliably and
    44seamlessly for a client network consisting of Windows workstations.
    55</p><p>
    6 <a class="indexterm" name="id2622128"></a>
    7 <a class="indexterm" name="id2622134"></a>
    8 <a class="indexterm" name="id2622142"></a>
    9 <a class="indexterm" name="id2622148"></a>
    10 <a class="indexterm" name="id2622155"></a>
    11 <a class="indexterm" name="id2622162"></a>
    12 <a class="indexterm" name="id2622169"></a>
    13 <a class="indexterm" name="id2622176"></a>
    14 <a class="indexterm" name="id2622183"></a>
    15 <a class="indexterm" name="id2622190"></a>
    16 <a class="indexterm" name="id2622197"></a>
    17 <a class="indexterm" name="id2622204"></a>
    18 <a class="indexterm" name="id2622211"></a>
    19 <a class="indexterm" name="id2622218"></a>
     6<a class="indexterm" name="id2628225"></a>
     7<a class="indexterm" name="id2628232"></a>
     8<a class="indexterm" name="id2628239"></a>
     9<a class="indexterm" name="id2628246"></a>
     10<a class="indexterm" name="id2628253"></a>
     11<a class="indexterm" name="id2628260"></a>
     12<a class="indexterm" name="id2628267"></a>
     13<a class="indexterm" name="id2628274"></a>
     14<a class="indexterm" name="id2628281"></a>
     15<a class="indexterm" name="id2628288"></a>
     16<a class="indexterm" name="id2628294"></a>
     17<a class="indexterm" name="id2628301"></a>
     18<a class="indexterm" name="id2628308"></a>
     19<a class="indexterm" name="id2628315"></a>
    2020A Samba print service may be run on a standalone or domain member server, side by side with file serving
    2121functions, or on a dedicated print server.  It can be made as tightly or as loosely secured as needs dictate.
     
    3131supported by the newer Common UNIX Printing System (CUPS) as the print subsystem underneath the Samba hood.
    3232</p><p>
    33 <a class="indexterm" name="id2622269"></a>
    34 <a class="indexterm" name="id2622275"></a>
     33<a class="indexterm" name="id2628366"></a>
     34<a class="indexterm" name="id2628372"></a>
    3535This chapter outlines the fundamentals of Samba printing as implemented by the more traditional UNIX
    3636BSD- and System V-style printing systems. Much of the information in this chapter applies also to CUPS.  If
    3737you use CUPS, you may be tempted to jump to the next chapter, but you will certainly miss a few things if you
    3838do. For further information refer to <a class="link" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support">CUPS Printing Support</a>.
    39 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    40 <a class="indexterm" name="id2622301"></a>
    41 <a class="indexterm" name="id2622308"></a>
    42 <a class="indexterm" name="id2622315"></a>
     39</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     40<a class="indexterm" name="id2628398"></a>
     41<a class="indexterm" name="id2628405"></a>
     42<a class="indexterm" name="id2628412"></a>
    4343Most of the following examples have been verified on Windows XP Professional clients. Where this document
    4444describes the responses to commands given, bear in mind that Windows 200x/XP clients are quite similar but may
    4545differ in minor details. Windows NT4 is somewhat different again.
    46 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2622330"></a>Technical Introduction</h2></div></div></div><p>
    47 <a class="indexterm" name="id2622338"></a>
    48 <a class="indexterm" name="id2622344"></a>
    49 <a class="indexterm" name="id2622351"></a>
     46</p></div></div><div class="sect1" title="Technical Introduction"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2628427"></a>Technical Introduction</h2></div></div></div><p>
     47<a class="indexterm" name="id2628435"></a>
     48<a class="indexterm" name="id2628442"></a>
     49<a class="indexterm" name="id2628449"></a>
    5050Samba's printing support always relies on the installed print subsystem of the UNIX OS it runs on. Samba is a
    5151<code class="literal">middleman.</code> It takes print files from Windows (or other SMB) clients and passes them to the real
     
    5555features and are accessed differently.
    5656</p><p>
    57 <a class="indexterm" name="id2622377"></a>
    58 <a class="indexterm" name="id2622384"></a>
     57<a class="indexterm" name="id2628474"></a>
     58<a class="indexterm" name="id2628481"></a>
    5959This chapter deals with the traditional way of UNIX printing. The next chapter covers in great detail the more
    6060modern CUPS.
    61 </p><div class="important" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Important</h3><p>
    62 <a class="indexterm" name="id2622397"></a>
     61</p><div class="important" title="Important" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Important</h3><p>
     62<a class="indexterm" name="id2628494"></a>
    6363CUPS users, be warned: do not just jump on to the next chapter. You might miss important information only found here!
    6464</p></div><p>
    65 <a class="indexterm" name="id2622409"></a>
    66 <a class="indexterm" name="id2622416"></a>
    67 <a class="indexterm" name="id2622423"></a>
    68 <a class="indexterm" name="id2622430"></a>
     65<a class="indexterm" name="id2628507"></a>
     66<a class="indexterm" name="id2628514"></a>
     67<a class="indexterm" name="id2628520"></a>
     68<a class="indexterm" name="id2628527"></a>
    6969It is apparent from postings on the Samba mailing list that print configuration is one of the most problematic
    7070aspects of Samba administration today. Many new Samba administrators have the impression that Samba performs
     
    7272do any form of print filtering.
    7373</p><p>
    74 <a class="indexterm" name="id2622446"></a>
    75 <a class="indexterm" name="id2622453"></a>
    76 <a class="indexterm" name="id2622460"></a>
    77 <a class="indexterm" name="id2622467"></a>
     74<a class="indexterm" name="id2628544"></a>
     75<a class="indexterm" name="id2628550"></a>
     76<a class="indexterm" name="id2628557"></a>
     77<a class="indexterm" name="id2628564"></a>
    7878Samba obtains from its clients a data stream (print job) that it spools to a local spool area. When the entire
    7979print job has been received, Samba invokes a local UNIX/Linux print command and passes the spooled file to it.
    8080It is up to the local system printing subsystems to correctly process the print job and to submit it to the
    8181printer.
    82 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2622481"></a>Client to Samba Print Job Processing</h3></div></div></div><p>
     82</p><div class="sect2" title="Client to Samba Print Job Processing"><div class="titlepage"><div><div><h3 class="title"><a name="id2628578"></a>Client to Samba Print Job Processing</h3></div></div></div><p>
    8383Successful printing from a Windows client via a Samba print server to a UNIX
    8484printer involves six (potentially seven) stages:
    85 </p><div class="orderedlist"><ol type="1"><li><p>Windows opens a connection to the printer share.</p></li><li><p>Samba must authenticate the user.</p></li><li><p>Windows sends a copy of the print file over the network
    86         into Samba's spooling area.</p></li><li><p>Windows closes the connection.</p></li><li><p>Samba invokes the print command to hand the file over
    87         to the UNIX print subsystem's spooling area.</p></li><li><p>The UNIX print subsystem processes the print job.</p></li><li><p>The print file may need to be explicitly deleted
     85</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>Windows opens a connection to the printer share.</p></li><li class="listitem"><p>Samba must authenticate the user.</p></li><li class="listitem"><p>Windows sends a copy of the print file over the network
     86        into Samba's spooling area.</p></li><li class="listitem"><p>Windows closes the connection.</p></li><li class="listitem"><p>Samba invokes the print command to hand the file over
     87        to the UNIX print subsystem's spooling area.</p></li><li class="listitem"><p>The UNIX print subsystem processes the print job.</p></li><li class="listitem"><p>The print file may need to be explicitly deleted
    8888        from the Samba spooling area. This item depends on your print spooler
    89         configuration settings.</p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2622540"></a>Printing-Related Configuration Parameters</h3></div></div></div><p>
    90 <a class="indexterm" name="id2622549"></a>
    91 <a class="indexterm" name="id2622556"></a>
    92 <a class="indexterm" name="id2622562"></a>
     89        configuration settings.</p></li></ol></div></div><div class="sect2" title="Printing-Related Configuration Parameters"><div class="titlepage"><div><div><h3 class="title"><a name="id2628638"></a>Printing-Related Configuration Parameters</h3></div></div></div><p>
     90<a class="indexterm" name="id2628646"></a>
     91<a class="indexterm" name="id2628653"></a>
     92<a class="indexterm" name="id2628660"></a>
    9393There are a number of configuration parameters to control Samba's printing behavior. Please refer to the man
    9494page for <code class="filename">smb.conf</code> for an overview of these. As with other parameters, there are global-level (tagged with a
     
    104104                setting defined for the same parameter, thus overriding the
    105105                global default).
    106                 </p></dd></dl></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2622641"></a>Simple Print Configuration</h2></div></div></div><p>
    107 <a class="indexterm" name="id2622649"></a>
    108 <a class="indexterm" name="id2622656"></a>
    109 <a class="indexterm" name="id2622663"></a>
    110 <a class="indexterm" name="id2622670"></a>
     106                </p></dd></dl></div></div></div><div class="sect1" title="Simple Print Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2628739"></a>Simple Print Configuration</h2></div></div></div><p>
     107<a class="indexterm" name="id2628747"></a>
     108<a class="indexterm" name="id2628754"></a>
     109<a class="indexterm" name="id2628760"></a>
     110<a class="indexterm" name="id2628768"></a>
    111111<a class="link" href="classicalprinting.html#simpleprc" title="Example 21.1. Simple Configuration with BSD Printing">Simple Configuration with BSD Printing</a> shows a simple printing configuration.
    112112If you compare this with your own, you may find additional parameters that have been preconfigured by your OS
     
    114114parameters.  However, in many environments these are enough to provide a valid <code class="filename">smb.conf</code> file that enables
    115115all clients to print.
    116 </p><div class="example"><a name="simpleprc"></a><p class="title"><b>Example 21.1. Simple Configuration with BSD Printing</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2622722"></a><em class="parameter"><code>printing = bsd</code></em></td></tr><tr><td><a class="indexterm" name="id2622733"></a><em class="parameter"><code>load printers = yes</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="id2622754"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2622766"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2622777"></a><em class="parameter"><code>public = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2622789"></a><em class="parameter"><code>writable = no</code></em></td></tr></table></div></div><br class="example-break"><p>
    117 <a class="indexterm" name="id2622804"></a>
    118 <a class="indexterm" name="id2622810"></a>
    119 <a class="indexterm" name="id2622818"></a>
     116</p><div class="example"><a name="simpleprc"></a><p class="title"><b>Example 21.1. Simple Configuration with BSD Printing</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2628819"></a><em class="parameter"><code>printing = bsd</code></em></td></tr><tr><td><a class="indexterm" name="id2628831"></a><em class="parameter"><code>load printers = yes</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="id2628851"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2628863"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2628875"></a><em class="parameter"><code>public = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2628886"></a><em class="parameter"><code>writable = no</code></em></td></tr></table></div></div><br class="example-break"><p>
     117<a class="indexterm" name="id2628901"></a>
     118<a class="indexterm" name="id2628908"></a>
     119<a class="indexterm" name="id2628915"></a>
    120120This is only an example configuration. Samba assigns default values to all configuration parameters. The
    121121defaults are conservative and sensible. When a parameter is specified in the <code class="filename">smb.conf</code> file, this overwrites
     
    125125pager program.
    126126</p><p> 
    127 <a class="indexterm" name="id2622860"></a>
    128 <a class="indexterm" name="id2622867"></a>
    129 <a class="indexterm" name="id2622874"></a>
     127<a class="indexterm" name="id2628957"></a>
     128<a class="indexterm" name="id2628964"></a>
     129<a class="indexterm" name="id2628971"></a>
    130130The syntax for the configuration file is easy to grasp. You should know that  is not very picky about its
    131131syntax. As has been explained elsewhere in this book, Samba tolerates some spelling errors (such as
     
    133133case-insensitive. It is permissible to use <em class="parameter"><code>Yes/No</code></em> or <em class="parameter"><code>True/False</code></em>
    134134for Boolean settings. Lists of names may be separated by commas, spaces, or tabs.
    135 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2622925"></a>Verifying Configuration with <code class="literal">testparm</code></h3></div></div></div><p>
    136 <a class="indexterm" name="id2622938"></a>
    137 <a class="indexterm" name="id2622945"></a>
    138 <a class="indexterm" name="id2622951"></a>
    139 <a class="indexterm" name="id2622958"></a>
    140 <a class="indexterm" name="id2622965"></a>
    141 <a class="indexterm" name="id2622972"></a>
    142 <a class="indexterm" name="id2622979"></a>
    143 <a class="indexterm" name="id2622985"></a>
    144 <a class="indexterm" name="id2622992"></a>
    145 <a class="indexterm" name="id2622999"></a>
    146 <a class="indexterm" name="id2623006"></a>
     135</p><div class="sect2" title="Verifying Configuration with testparm"><div class="titlepage"><div><div><h3 class="title"><a name="id2629022"></a>Verifying Configuration with <code class="literal">testparm</code></h3></div></div></div><p>
     136<a class="indexterm" name="id2629035"></a>
     137<a class="indexterm" name="id2629042"></a>
     138<a class="indexterm" name="id2629049"></a>
     139<a class="indexterm" name="id2629056"></a>
     140<a class="indexterm" name="id2629062"></a>
     141<a class="indexterm" name="id2629069"></a>
     142<a class="indexterm" name="id2629076"></a>
     143<a class="indexterm" name="id2629083"></a>
     144<a class="indexterm" name="id2629090"></a>
     145<a class="indexterm" name="id2629096"></a>
     146<a class="indexterm" name="id2629103"></a>
    147147To see all (or at least most) printing-related settings in Samba, including the implicitly used ones, try the
    148148command outlined below. This command greps for all occurrences of <code class="constant">lp</code>,
     
    191191You can easily verify which settings were implicitly added by Samba's default behavior. <span class="emphasis"><em>Remember: it
    192192may be important in your future dealings with Samba.</em></span>
    193 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     193</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    194194The <code class="literal">testparm</code> in Samba-3 behaves differently from that in 2.2.x: used without the
    195 &#8220;<span class="quote">-v</span>&#8221; switch, it only shows you the settings actually written into! To see the complete
    196 configuration used, add the &#8220;<span class="quote">-v</span>&#8221; parameter to testparm.
    197 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2623122"></a>Rapid Configuration Validation</h3></div></div></div><p>
    198 <a class="indexterm" name="id2623131"></a>
    199 <a class="indexterm" name="id2623138"></a>
    200 <a class="indexterm" name="id2623144"></a>
    201 <a class="indexterm" name="id2623151"></a>
     195<span class="quote">&#8220;<span class="quote">-v</span>&#8221;</span> switch, it only shows you the settings actually written into! To see the complete
     196configuration used, add the <span class="quote">&#8220;<span class="quote">-v</span>&#8221;</span> parameter to testparm.
     197</p></div></div><div class="sect2" title="Rapid Configuration Validation"><div class="titlepage"><div><div><h3 class="title"><a name="id2629220"></a>Rapid Configuration Validation</h3></div></div></div><p>
     198<a class="indexterm" name="id2629228"></a>
     199<a class="indexterm" name="id2629235"></a>
     200<a class="indexterm" name="id2629242"></a>
     201<a class="indexterm" name="id2629249"></a>
    202202Should you need to troubleshoot at any stage, please always come back to this point first and verify if
    203203<code class="literal">testparm</code> shows the parameters you expect. To give you a warning from personal experience,
     
    212212        load printers = Yes
    213213</pre><p>
    214 <a class="indexterm" name="id2623207"></a>
    215 <a class="indexterm" name="id2623214"></a>
     214<a class="indexterm" name="id2629304"></a>
     215<a class="indexterm" name="id2629312"></a>
    216216I assumed that commenting out of this setting should prevent Samba from
    217217publishing my printers, but it still did. It took some time to figure out
     
    227227        load printers = No
    228228</pre><p>
    229 <a class="indexterm" name="id2623258"></a>
     229<a class="indexterm" name="id2629355"></a>
    230230Only when the parameter is explicitly set to <a class="link" href="smb.conf.5.html#LOADPRINTERS" target="_top">load printers = No</a> would
    231231Samba conform with my intentions. So, my strong advice is:
    232 </p><div class="itemizedlist"><ul type="disc"><li><p>Never rely on commented-out parameters.</p></li><li><p>Always set parameters explicitly as you intend them to
    233         behave.</p></li><li><p>Use <code class="literal">testparm</code> to uncover hidden
     232</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Never rely on commented-out parameters.</p></li><li class="listitem"><p>Always set parameters explicitly as you intend them to
     233        behave.</p></li><li class="listitem"><p>Use <code class="literal">testparm</code> to uncover hidden
    234234        settings that might not reflect your intentions.</p></li></ul></div><p>
    235235The following is the most minimal configuration file:
     
    238238        [printers]
    239239</pre><p>
    240 <a class="indexterm" name="id2623326"></a>
    241 <a class="indexterm" name="id2623333"></a>
     240<a class="indexterm" name="id2629424"></a>
     241<a class="indexterm" name="id2629430"></a>
    242242This example should show that you can use <code class="literal">testparm</code> to test any Samba configuration file.
    243243Actually, we encourage you <span class="emphasis"><em>not</em></span> to change your working system (unless you know exactly
     
    276276</pre><p>
    277277<code class="literal">testparm</code> issued two warnings:
    278 </p><div class="itemizedlist"><ul type="disc"><li><p>We did not specify the <em class="parameter"><code>[printers]</code></em> section as printable.</p></li><li><p>We did not tell Samba which spool directory to use.</p></li></ul></div><p>
    279 <a class="indexterm" name="id2623437"></a>
    280 <a class="indexterm" name="id2623444"></a>
    281 <a class="indexterm" name="id2623450"></a>
    282 <a class="indexterm" name="id2623455"></a>
     278</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>We did not specify the <em class="parameter"><code>[printers]</code></em> section as printable.</p></li><li class="listitem"><p>We did not tell Samba which spool directory to use.</p></li></ul></div><p>
     279<a class="indexterm" name="id2629534"></a>
     280<a class="indexterm" name="id2629542"></a>
     281<a class="indexterm" name="id2629547"></a>
     282<a class="indexterm" name="id2629552"></a>
    283283However, this was not fatal, and Samba will default to values that will work. Please, do not rely on this and
    284284do not use this example. This was included to encourage you to be careful to design and specify your setup to
     
    289289clearly says: <code class="literal">Internal whitespace in a parameter value is retained verbatim.</code> This means
    290290that a line consisting of, for example,
    291 </p><table class="simplelist" border="0" summary="Simple list"><tr><td># This defines LPRng as the printing system</td></tr><tr><td><a class="indexterm" name="id2623495"></a><em class="parameter"><code>printing =  lprng</code></em></td></tr></table><p>
     291</p><table border="0" summary="Simple list" class="simplelist"><tr><td># This defines LPRng as the printing system</td></tr><tr><td><a class="indexterm" name="id2629593"></a><em class="parameter"><code>printing =  lprng</code></em></td></tr></table><p>
    292292</p><p>
    293293will regard the whole of the string after the <code class="literal">=</code> sign as the value you want to define. This
    294294is an invalid value that will be ignored, and a default value will be used in its place.
    295 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2623522"></a>Extended Printing Configuration</h2></div></div></div><p>
    296 <a class="indexterm" name="id2623530"></a>
    297 <a class="indexterm" name="id2623537"></a>
    298 <a class="indexterm" name="id2623544"></a>
    299 <a class="indexterm" name="id2623551"></a>
     295</p></div></div><div class="sect1" title="Extended Printing Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2629619"></a>Extended Printing Configuration</h2></div></div></div><p>
     296<a class="indexterm" name="id2629628"></a>
     297<a class="indexterm" name="id2629635"></a>
     298<a class="indexterm" name="id2629642"></a>
     299<a class="indexterm" name="id2629648"></a>
    300300<a class="link" href="classicalprinting.html#extbsdpr" title="Example 21.2. Extended BSD Printing Configuration">Extended BSD Printing Configuration</a> shows a more verbose configuration for
    301301print-related settings in a BSD-style printing environment. What follows is a discussion and explanation of
     
    305305are set by default. You could use a much leaner <code class="filename">smb.conf</code> file, or you can use <code class="literal">testparm</code> or
    306306<code class="literal">SWAT</code> to optimize the <code class="filename">smb.conf</code> file to remove all parameters that are set at default.
    307 </p><div class="example"><a name="extbsdpr"></a><p class="title"><b>Example 21.2. Extended BSD Printing Configuration</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2623625"></a><em class="parameter"><code>printing = bsd</code></em></td></tr><tr><td><a class="indexterm" name="id2623636"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623648"></a><em class="parameter"><code>show add printer wizard = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623660"></a><em class="parameter"><code>printcap name = /etc/printcap</code></em></td></tr><tr><td><a class="indexterm" name="id2623672"></a><em class="parameter"><code>printer admin = @ntadmin, root</code></em></td></tr><tr><td><a class="indexterm" name="id2623684"></a><em class="parameter"><code>max print jobs = 100</code></em></td></tr><tr><td><a class="indexterm" name="id2623696"></a><em class="parameter"><code>lpq cache time = 20</code></em></td></tr><tr><td><a class="indexterm" name="id2623708"></a><em class="parameter"><code>use client driver = 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="id2623729"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2623740"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623752"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2623764"></a><em class="parameter"><code>browseable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2623775"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623787"></a><em class="parameter"><code>public = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623799"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623810"></a><em class="parameter"><code>writable = no       </code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[my_printer_name]</code></em></td></tr><tr><td><a class="indexterm" name="id2623831"></a><em class="parameter"><code>comment = Printer with Restricted Access</code></em></td></tr><tr><td><a class="indexterm" name="id2623843"></a><em class="parameter"><code>path = /var/spool/samba_my_printer</code></em></td></tr><tr><td><a class="indexterm" name="id2623855"></a><em class="parameter"><code>printer admin = kurt</code></em></td></tr><tr><td><a class="indexterm" name="id2623867"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623878"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623890"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2623902"></a><em class="parameter"><code>hosts allow = 0.0.0.0</code></em></td></tr><tr><td><a class="indexterm" name="id2623913"></a><em class="parameter"><code>hosts deny = turbo_xp, 10.160.50.23, 10.160.51.60</code></em></td></tr><tr><td><a class="indexterm" name="id2623925"></a><em class="parameter"><code>guest ok = no</code></em></td></tr></table></div></div><br class="example-break"><p>
    308 <a class="indexterm" name="id2623939"></a>
    309 <a class="indexterm" name="id2623945"></a>
    310 <a class="indexterm" name="id2623950"></a>
     307</p><div class="example"><a name="extbsdpr"></a><p class="title"><b>Example 21.2. Extended BSD Printing Configuration</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2629722"></a><em class="parameter"><code>printing = bsd</code></em></td></tr><tr><td><a class="indexterm" name="id2629734"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2629746"></a><em class="parameter"><code>show add printer wizard = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2629758"></a><em class="parameter"><code>printcap name = /etc/printcap</code></em></td></tr><tr><td><a class="indexterm" name="id2629770"></a><em class="parameter"><code>printer admin = @ntadmin, root</code></em></td></tr><tr><td><a class="indexterm" name="id2629782"></a><em class="parameter"><code>max print jobs = 100</code></em></td></tr><tr><td><a class="indexterm" name="id2629794"></a><em class="parameter"><code>lpq cache time = 20</code></em></td></tr><tr><td><a class="indexterm" name="id2629805"></a><em class="parameter"><code>use client driver = 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="id2629826"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2629838"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2629849"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2629861"></a><em class="parameter"><code>browseable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2629873"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2629884"></a><em class="parameter"><code>public = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2629896"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2629908"></a><em class="parameter"><code>writable = no       </code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[my_printer_name]</code></em></td></tr><tr><td><a class="indexterm" name="id2629928"></a><em class="parameter"><code>comment = Printer with Restricted Access</code></em></td></tr><tr><td><a class="indexterm" name="id2629940"></a><em class="parameter"><code>path = /var/spool/samba_my_printer</code></em></td></tr><tr><td><a class="indexterm" name="id2629952"></a><em class="parameter"><code>printer admin = kurt</code></em></td></tr><tr><td><a class="indexterm" name="id2629964"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2629976"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2629987"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2629999"></a><em class="parameter"><code>hosts allow = 0.0.0.0</code></em></td></tr><tr><td><a class="indexterm" name="id2630011"></a><em class="parameter"><code>hosts deny = turbo_xp, 10.160.50.23, 10.160.51.60</code></em></td></tr><tr><td><a class="indexterm" name="id2630023"></a><em class="parameter"><code>guest ok = no</code></em></td></tr></table></div></div><br class="example-break"><p>
     308<a class="indexterm" name="id2630036"></a>
     309<a class="indexterm" name="id2630042"></a>
     310<a class="indexterm" name="id2630047"></a>
    311311This is an example configuration. You may not find all the settings that are in the configuration file that
    312312was provided by the OS vendor. Samba configuration parameters, if not explicitly set, default to a sensible
    313313value.  To see all settings, as <code class="constant">root</code> use the <code class="literal">testparm</code> utility.
    314314<code class="literal">testparm</code> gives warnings for misconfigured settings.
    315 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2623977"></a>Detailed Explanation Settings</h3></div></div></div><p>
     315</p><div class="sect2" title="Detailed Explanation Settings"><div class="titlepage"><div><div><h3 class="title"><a name="id2630075"></a>Detailed Explanation Settings</h3></div></div></div><p>
    316316The following is a discussion of the settings from <a class="link" href="classicalprinting.html#extbsdpr" title="Example 21.2. Extended BSD Printing Configuration">Extended BSD Printing
    317317Configuration</a> <a class="link" href="classicalprinting.html#extbsdpr" title="Example 21.2. Extended BSD Printing Configuration">Extended BSD Printing Configuration</a>.
    318 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2624002"></a>The [global] Section</h4></div></div></div><p>
    319 <a class="indexterm" name="id2624010"></a>
    320 <a class="indexterm" name="id2624017"></a>
    321 <a class="indexterm" name="id2624024"></a>
    322 <a class="indexterm" name="id2624030"></a>
     318</p><div class="sect3" title="The [global] Section"><div class="titlepage"><div><div><h4 class="title"><a name="id2630099"></a>The [global] Section</h4></div></div></div><p>
     319<a class="indexterm" name="id2630107"></a>
     320<a class="indexterm" name="id2630114"></a>
     321<a class="indexterm" name="id2630121"></a>
     322<a class="indexterm" name="id2630128"></a>
    323323The <em class="parameter"><code>[global]</code></em> section is one of four special sections (along with <em class="parameter"><code>[homes]</code></em>, <em class="parameter"><code>[printers]</code></em>, and <em class="parameter"><code>[print$]</code></em>). The
    324324<em class="parameter"><code>[global]</code></em> contains all parameters that apply to the server as a whole. It is the place
     
    328328globally set share settings and specify other values).
    329329</p><div class="variablelist"><dl><dt><span class="term"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = bsd </a></span></dt><dd><p>
    330 <a class="indexterm" name="id2624098"></a>
    331 <a class="indexterm" name="id2624104"></a>
    332 <a class="indexterm" name="id2624111"></a>
    333 <a class="indexterm" name="id2624118"></a>
    334 <a class="indexterm" name="id2624125"></a>
    335 <a class="indexterm" name="id2624132"></a>
    336 <a class="indexterm" name="id2624138"></a>
    337 <a class="indexterm" name="id2624145"></a>
    338 <a class="indexterm" name="id2624152"></a>
    339 <a class="indexterm" name="id2624158"></a>
    340 <a class="indexterm" name="id2624165"></a>
    341 <a class="indexterm" name="id2624172"></a>
     330<a class="indexterm" name="id2630195"></a>
     331<a class="indexterm" name="id2630202"></a>
     332<a class="indexterm" name="id2630208"></a>
     333<a class="indexterm" name="id2630215"></a>
     334<a class="indexterm" name="id2630222"></a>
     335<a class="indexterm" name="id2630229"></a>
     336<a class="indexterm" name="id2630236"></a>
     337<a class="indexterm" name="id2630242"></a>
     338<a class="indexterm" name="id2630249"></a>
     339<a class="indexterm" name="id2630256"></a>
     340<a class="indexterm" name="id2630263"></a>
     341<a class="indexterm" name="id2630270"></a>
    342342                Causes Samba to use default print commands applicable for the BSD (also known as RFC 1179 style or LPR/LPD)
    343343                printing system. In general, the <em class="parameter"><code>printing</code></em> parameter informs Samba about the print
    344344                subsystem it should expect. Samba supports CUPS, LPD, LPRNG, SYSV, HPUX, AIX, QNX, and PLP. Each of these
    345345                systems defaults to a different <a class="link" href="smb.conf.5.html#PRINTCOMMAND" target="_top">print command</a> (and other queue control commands).
    346                 </p><div class="caution" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Caution</h3><p>
    347 <a class="indexterm" name="id2624208"></a>
    348 <a class="indexterm" name="id2624215"></a>
     346                </p><div class="caution" title="Caution" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Caution</h3><p>
     347<a class="indexterm" name="id2630306"></a>
     348<a class="indexterm" name="id2630312"></a>
    349349                The <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing</a> parameter is normally a service-level parameter. Since it is included
    350350                here in the <em class="parameter"><code>[global]</code></em> section, it will take effect for all printer shares that are not
    351351                defined differently. Samba-3 no longer supports the SOFTQ printing system.
    352352                </p></div></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#LOADPRINTERS" target="_top">load printers = yes </a></span></dt><dd><p>
    353 <a class="indexterm" name="id2624263"></a>
    354 <a class="indexterm" name="id2624269"></a>
    355 <a class="indexterm" name="id2624276"></a>
    356 <a class="indexterm" name="id2624283"></a>
     353<a class="indexterm" name="id2630360"></a>
     354<a class="indexterm" name="id2630367"></a>
     355<a class="indexterm" name="id2630373"></a>
     356<a class="indexterm" name="id2630380"></a>
    357357                Tells Samba to create automatically all available printer shares. Available printer shares are discovered by
    358358                scanning the printcap file. All created printer shares are also loaded for browsing. If you use this
     
    362362                share separately, leaving out some you do not want to be publicly visible and available).
    363363                </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#SHOWADDPRINTERWIZARD" target="_top">show add printer wizard = yes </a></span></dt><dd><p>
    364 <a class="indexterm" name="id2624331"></a>
    365 <a class="indexterm" name="id2624338"></a>
    366 <a class="indexterm" name="id2624344"></a>
    367 <a class="indexterm" name="id2624351"></a>
    368 <a class="indexterm" name="id2624358"></a>
     364<a class="indexterm" name="id2630428"></a>
     365<a class="indexterm" name="id2630435"></a>
     366<a class="indexterm" name="id2630442"></a>
     367<a class="indexterm" name="id2630448"></a>
     368<a class="indexterm" name="id2630455"></a>
    369369                Setting is normally enabled by default (even if the parameter is not specified in <code class="filename">smb.conf</code>).  It causes the
    370370                <span class="guiicon">Add Printer Wizard</span> icon to appear in the <span class="guiicon">Printers</span> folder of the Samba
     
    375375                before the action), or exchange a printer's driver for any other previously uploaded driver.
    376376                </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#MAXPRINTJOBS" target="_top">max print jobs = 100 </a></span></dt><dd><p>
    377 <a class="indexterm" name="id2624440"></a>
     377<a class="indexterm" name="id2630538"></a>
    378378                Sets the upper limit to 100 print jobs being active on the Samba server at any one time. Should a client
    379379                submit a job that exceeds this number, a "no more space available on server" type of error message will be
     
    381381                at all.
    382382                </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PRINTCAPNAME" target="_top">printcap name = /etc/printcap </a></span></dt><dd><p>
    383 <a class="indexterm" name="id2624476"></a>
    384 <a class="indexterm" name="id2624482"></a>
    385 <a class="indexterm" name="id2624489"></a>
     383<a class="indexterm" name="id2630573"></a>
     384<a class="indexterm" name="id2630580"></a>
     385<a class="indexterm" name="id2630586"></a>
    386386                Tells Samba where to look for a list of available printer names. Where CUPS is used, make sure that a printcap
    387387                file is written. This is controlled by the <code class="constant">Printcap</code> directive in the
    388388                <code class="filename">cupsd.conf</code> file.
    389389        </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin = @ntadmin </a></span></dt><dd><p>
    390 <a class="indexterm" name="id2624527"></a>
    391 <a class="indexterm" name="id2624533"></a>
    392 <a class="indexterm" name="id2624540"></a>
    393 <a class="indexterm" name="id2624547"></a>
     390<a class="indexterm" name="id2630624"></a>
     391<a class="indexterm" name="id2630631"></a>
     392<a class="indexterm" name="id2630638"></a>
     393<a class="indexterm" name="id2630644"></a>
    394394                Members of the ntadmin group should be able to add drivers and set printer properties
    395395                (<code class="constant">ntadmin</code> is only an example name; it needs to be a valid UNIX group name); root is
     
    400400                per-share parameter. This permits different groups to administer each printer share.
    401401        </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#LPQCACHETIME" target="_top">lpq cache time = 20 </a></span></dt><dd><p>
    402 <a class="indexterm" name="id2624628"></a>
    403 <a class="indexterm" name="id2624634"></a>
     402<a class="indexterm" name="id2630725"></a>
     403<a class="indexterm" name="id2630731"></a>
    404404                Controls the cache time for the results of the lpq command. It prevents the lpq command being called too often
    405405                and reduces the load on a heavily used print server.
    406406        </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#USECLIENTDRIVER" target="_top">use client driver = no </a></span></dt><dd><p>
    407 <a class="indexterm" name="id2624663"></a>
     407<a class="indexterm" name="id2630760"></a>
    408408                If set to <code class="constant">yes</code>, only takes effect for Windows NT/200x/XP clients (and not for Win
    409409                95/98/ME). Its default value is <code class="constant">No</code> (or <code class="constant">False</code>).  It must
     
    411411                <code class="constant">true</code> setting) that have valid drivers installed on the Samba server. For more detailed
    412412                explanations, see the <code class="filename">smb.conf</code> man page.
    413         </p></dd></dl></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="ptrsect"></a>The [printers] Section</h4></div></div></div><p>
    414 <a class="indexterm" name="id2624715"></a>
    415 <a class="indexterm" name="id2624721"></a>
     413        </p></dd></dl></div></div><div class="sect3" title="The [printers] Section"><div class="titlepage"><div><div><h4 class="title"><a name="ptrsect"></a>The [printers] Section</h4></div></div></div><p>
     414<a class="indexterm" name="id2630812"></a>
     415<a class="indexterm" name="id2630819"></a>
    416416The printers section is the second special section. If a section with this name appears in the <code class="filename">smb.conf</code>,
    417417users are able to connect to any printer specified in the Samba host's printcap file, because Samba on startup
     
    456456                Is a synonym for <a class="link" href="smb.conf.5.html#GUESTOK" target="_top">guest ok = yes</a>.
    457457                Since we have <a class="link" href="smb.conf.5.html#GUESTOK" target="_top">guest ok = yes</a>, it
    458                 really does not need to be here. (This leads to the interesting question, &#8220;<span class="quote">What if I
    459                 by accident have two contradictory settings for the same share?</span>&#8221; The answer is that the
     458                really does not need to be here. (This leads to the interesting question, <span class="quote">&#8220;<span class="quote">What if I
     459                by accident have two contradictory settings for the same share?</span>&#8221;</span> The answer is that the
    460460                last one encountered by Samba wins. <code class="literal">testparm</code> does not complain about different settings
    461461                of the same parameter for the same share. You can test this by setting up multiple
     
    469469                </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#WRITABLE" target="_top">writable = no </a></span></dt><dd><p>
    470470                Is a synonym for <a class="link" href="smb.conf.5.html#READONLY" target="_top">read only = yes</a>.
    471                 </p></dd></dl></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2625108"></a>Any [my_printer_name] Section</h4></div></div></div><p>
    472 <a class="indexterm" name="id2625116"></a>
    473 <a class="indexterm" name="id2625123"></a>
     471                </p></dd></dl></div></div><div class="sect3" title="Any [my_printer_name] Section"><div class="titlepage"><div><div><h4 class="title"><a name="id2631206"></a>Any [my_printer_name] Section</h4></div></div></div><p>
     472<a class="indexterm" name="id2631214"></a>
     473<a class="indexterm" name="id2631220"></a>
    474474If a <em class="parameter"><code>[my_printer_name]</code></em> section appears in the <code class="filename">smb.conf</code> file, which includes the
    475475parameter <a class="link" href="smb.conf.5.html#PRINTABLE" target="_top">printable = yes</a> Samba will configure it as a printer share.
     
    503503                </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#GUESTOK" target="_top">guest ok = no </a></span></dt><dd><p>
    504504                This printer is not open for the guest account.
    505                 </p></dd></dl></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2625403"></a>Print Commands</h4></div></div></div><p>
    506 <a class="indexterm" name="id2625410"></a>
    507 <a class="indexterm" name="id2625417"></a>
    508 <a class="indexterm" name="id2625424"></a>
    509 <a class="indexterm" name="id2625431"></a>
     505                </p></dd></dl></div></div><div class="sect3" title="Print Commands"><div class="titlepage"><div><div><h4 class="title"><a name="id2631500"></a>Print Commands</h4></div></div></div><p>
     506<a class="indexterm" name="id2631508"></a>
     507<a class="indexterm" name="id2631514"></a>
     508<a class="indexterm" name="id2631521"></a>
     509<a class="indexterm" name="id2631528"></a>
    510510In each section defining a printer (or in the <em class="parameter"><code>[printers]</code></em> section),
    511511a <em class="parameter"><code>print command</code></em> parameter may be defined. It sets a command to process the files
     
    519519make sure you pay attention to the need to remove the files from the Samba spool directory. Otherwise,
    520520your hard disk may soon suffer from shortage of free space.
    521 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2625479"></a>Default UNIX System Printing Commands</h4></div></div></div><p>
    522 <a class="indexterm" name="id2625486"></a>
     521</p></div><div class="sect3" title="Default UNIX System Printing Commands"><div class="titlepage"><div><div><h4 class="title"><a name="id2631576"></a>Default UNIX System Printing Commands</h4></div></div></div><p>
     522<a class="indexterm" name="id2631584"></a>
    523523You learned earlier that Samba, in most cases, uses its built-in settings for many parameters if it cannot
    524524find an explicitly stated one in its configuration file. The same is true for the <a class="link" href="smb.conf.5.html#PRINTCOMMAND" target="_top">print command</a>. The default print command varies depending on the <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing</a> parameter
     
    529529of key printing options but excludes the special case of CUPS, is discussed in <a class="link" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support">CUPS Printing Support</a>.
    530530</p><div class="table"><a name="printOptions"></a><p class="title"><b>Table 21.1. Default Printing Settings</b></p><div class="table-contents"><table summary="Default Printing Settings" border="1"><colgroup><col align="left"><col align="left"></colgroup><thead><tr><th align="left">Setting</th><th align="left">Default Printing Commands</th></tr></thead><tbody><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = bsd|aix|lprng|plp</a></td><td align="left">print command is <code class="literal">lpr -r -P%p %s</code></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = sysv|hpux</a></td><td align="left">print command is <code class="literal">lp -c -P%p %s; rm %s</code></td></tr><tr><td align="left"> <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = qnx</a></td><td align="left">print command is <code class="literal">lp -r -P%p -s %s</code></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = bsd|aix|lprng|plp</a></td><td align="left">lpq command is <code class="literal">lpq -P%p</code></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = sysv|hpux</a></td><td align="left">lpq command is <code class="literal">lpstat -o%p</code></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = qnx</a></td><td align="left">lpq command is <code class="literal">lpq -P%p</code></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = bsd|aix|lprng|plp</a></td><td align="left">lprm command is <code class="literal">lprm -P%p %j</code></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = sysv|hpux</a></td><td align="left">lprm command is <code class="literal">cancel %p-%j</code></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = qnx</a></td><td align="left">lprm command is <code class="literal">cancel %p-%j</code></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = bsd|aix|lprng|plp</a></td><td align="left">lppause command is <code class="literal">lp -i %p-%j -H hold</code></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = sysv|hpux</a></td><td align="left">lppause command   (...is empty)</td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = qnx</a></td><td align="left">lppause command   (...is empty)</td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = bsd|aix|lprng|plp</a></td><td align="left">lpresume command is <code class="literal">lp -i %p-%j -H resume</code></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = sysv|hpux</a></td><td align="left">lpresume command   (...is empty)</td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = qnx</a></td><td align="left">lpresume command   (...is empty)</td></tr></tbody></table></div></div><br class="table-break"><p>
    531 <a class="indexterm" name="id2625951"></a>
    532 <a class="indexterm" name="id2625957"></a>
    533 <a class="indexterm" name="id2625964"></a>
    534 <a class="indexterm" name="id2625971"></a>
     531<a class="indexterm" name="id2632048"></a>
     532<a class="indexterm" name="id2632054"></a>
     533<a class="indexterm" name="id2632061"></a>
     534<a class="indexterm" name="id2632068"></a>
    535535For <em class="parameter"><code>printing = CUPS</code></em>, if Samba is compiled against libcups, it uses the CUPS API to
    536536submit jobs. (It is a good idea also to set <a class="link" href="smb.conf.5.html#PRINTCAP" target="_top">printcap = cups</a> in case your
     
    539539<code class="literal">lp -c -d%p -oraw; rm %s</code>. With <em class="parameter"><code>printing = cups</code></em>, and if Samba is
    540540compiled against libcups, any manually set print command will be ignored!
    541 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2626023"></a>Custom Print Commands</h4></div></div></div><p>
    542 <a class="indexterm" name="id2626031"></a>
    543 <a class="indexterm" name="id2626038"></a>
     541</p></div><div class="sect3" title="Custom Print Commands"><div class="titlepage"><div><div><h4 class="title"><a name="id2632121"></a>Custom Print Commands</h4></div></div></div><p>
     542<a class="indexterm" name="id2632129"></a>
     543<a class="indexterm" name="id2632135"></a>
    544544After a print job has finished spooling to a service, the <a class="link" href="smb.conf.5.html#PRINTCOMMAND" target="_top">print command</a> will be used
    545545by Samba via a system() call to process the spool file. Usually the command specified will submit the spool
     
    548548that the spool file is deleted after it has been processed.
    549549</p><p>
    550 <a class="indexterm" name="id2626068"></a>
    551 <a class="indexterm" name="id2626074"></a>
    552 <a class="indexterm" name="id2626081"></a>
    553 <a class="indexterm" name="id2626088"></a>
     550<a class="indexterm" name="id2632165"></a>
     551<a class="indexterm" name="id2632172"></a>
     552<a class="indexterm" name="id2632179"></a>
     553<a class="indexterm" name="id2632186"></a>
    554554There is no difficulty with using your own customized print commands with the traditional printing systems.
    555555However, if you do not wish to roll your own, you should be well informed about the default built-in commands
     
    560560appropriate value automatically. Print commands can handle all Samba macro substitutions. In regard to
    561561printing, the following ones do have special relevance:
    562 </p><div class="itemizedlist"><ul type="disc"><li><p><em class="parameter"><code>%s, %f</code></em>  the path to the spool file name.</p></li><li><p><em class="parameter"><code>%p</code></em>  the appropriate printer name.</p></li><li><p><em class="parameter"><code>%J</code></em>  the job name as transmitted by the client.</p></li><li><p><em class="parameter"><code>%c</code></em>  the number of printed pages of the spooled job (if known).</p></li><li><p><em class="parameter"><code>%z</code></em>  the size of the spooled print job (in bytes).</p></li></ul></div><p>
    563 <a class="indexterm" name="id2626188"></a>
     562</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><em class="parameter"><code>%s, %f</code></em>  the path to the spool file name.</p></li><li class="listitem"><p><em class="parameter"><code>%p</code></em>  the appropriate printer name.</p></li><li class="listitem"><p><em class="parameter"><code>%J</code></em>  the job name as transmitted by the client.</p></li><li class="listitem"><p><em class="parameter"><code>%c</code></em>  the number of printed pages of the spooled job (if known).</p></li><li class="listitem"><p><em class="parameter"><code>%z</code></em>  the size of the spooled print job (in bytes).</p></li></ul></div><p>
     563<a class="indexterm" name="id2632285"></a>
    564564The print command must contain at least one occurrence of <em class="parameter"><code>%s</code></em> or
    565565<em class="parameter"><code>%f</code></em>. The <em class="parameter"><code>%p</code></em> is optional. If no printer name is supplied,
     
    567567sent to the default printer.
    568568</p><p>
    569 <a class="indexterm" name="id2626223"></a>
    570 <a class="indexterm" name="id2626230"></a>
     569<a class="indexterm" name="id2632321"></a>
     570<a class="indexterm" name="id2632328"></a>
    571571If specified in the <em class="parameter"><code>[global]</code></em> section, the print command given will be
    572572used for any printable service that does not have its own print command specified. If there is neither a
     
    574574but not processed! Most importantly, print files will not be removed, so they will consume disk space.
    575575</p><p>
    576 <a class="indexterm" name="id2626253"></a>
    577 <a class="indexterm" name="id2626260"></a>
     576<a class="indexterm" name="id2632350"></a>
     577<a class="indexterm" name="id2632357"></a>
    578578Printing may fail on some UNIX systems when using the <span class="emphasis"><em>nobody</em></span> account. If this happens, create an
    579579alternative guest account and give it the privilege to print. Set up this guest account in the
    580580<em class="parameter"><code>[global]</code></em> section with the <em class="parameter"><code>guest account</code></em> parameter.
    581581</p><p>
    582 <a class="indexterm" name="id2626289"></a>
    583 <a class="indexterm" name="id2626296"></a>
    584 <a class="indexterm" name="id2626303"></a>
     582<a class="indexterm" name="id2632386"></a>
     583<a class="indexterm" name="id2632393"></a>
     584<a class="indexterm" name="id2632400"></a>
    585585You can form quite complex print commands. You need to realize that print commands are just
    586586passed to a UNIX shell. The shell is able to expand the included environment variables as
     
    588588in the Samba print command is <em class="parameter"><code>%$variable</code></em>.) To give you a working
    589589<a class="link" href="smb.conf.5.html#PRINTCOMMAND" target="_top">print command</a> example, the following will log a print job
    590 to <code class="filename">/tmp/print.log</code>, print the file, then remove it. The semicolon (&#8220;<span class="quote">;</span>&#8221;
     590to <code class="filename">/tmp/print.log</code>, print the file, then remove it. The semicolon (<span class="quote">&#8220;<span class="quote">;</span>&#8221;</span>
    591591is the usual separator for commands in shell scripts:
    592 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2626358"></a><em class="parameter"><code>print command = echo Printing %s &gt;&gt; /tmp/print.log; lpr -P %p %s; rm %s</code></em></td></tr></table><p>
     592</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2632456"></a><em class="parameter"><code>print command = echo Printing %s &gt;&gt; /tmp/print.log; lpr -P %p %s; rm %s</code></em></td></tr></table><p>
    593593You may have to vary your own command considerably from this example depending on how you normally print
    594594files on your system. The default for the <a class="link" href="smb.conf.5.html#PRINTCOMMAND" target="_top">print command</a>
    595595parameter varies depending on the setting of the <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing</a>
    596596parameter. Another example is:
    597 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2626409"></a><em class="parameter"><code>print command = /usr/local/samba/bin/myprintscript %p %s</code></em></td></tr></table></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="cups-msrpc"></a>Printing Developments Since Samba-2.2</h2></div></div></div><p>
    598 <a class="indexterm" name="id2626435"></a>
    599 <a class="indexterm" name="id2626442"></a>
    600 <a class="indexterm" name="id2626449"></a>
     597</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2632506"></a><em class="parameter"><code>print command = /usr/local/samba/bin/myprintscript %p %s</code></em></td></tr></table></div></div></div><div class="sect1" title="Printing Developments Since Samba-2.2"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="cups-msrpc"></a>Printing Developments Since Samba-2.2</h2></div></div></div><p>
     598<a class="indexterm" name="id2632533"></a>
     599<a class="indexterm" name="id2632539"></a>
     600<a class="indexterm" name="id2632546"></a>
    601601Prior to Samba-2.2.x, print server support for Windows clients was limited to <span class="emphasis"><em>LanMan</em></span>
    602602printing calls. This is the same protocol level as Windows 9x/Me PCs offer when they share printers.
     
    606606</p><p>
    607607The additional functionality provided by the new SPOOLSS support includes:
    608 </p><div class="itemizedlist"><ul type="disc"><li><p>
    609 <a class="indexterm" name="id2626484"></a>
     608</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     609<a class="indexterm" name="id2632581"></a>
    610610        Support for downloading printer driver files to Windows 95/98/NT/2000 clients upon
    611611        demand (<span class="emphasis"><em>Point'n'Print</em></span>).
    612         </p></li><li><p>
    613 <a class="indexterm" name="id2626501"></a>
     612        </p></li><li class="listitem"><p>
     613<a class="indexterm" name="id2632598"></a>
    614614        Uploading of printer drivers via the Windows NT <span class="emphasis"><em>Add Printer Wizard</em></span> (APW)
    615615        or the <a class="ulink" href="http://imprints.sourceforge.net/" target="_top">Imprints</a> tool set.
    616         </p></li><li><p>       
    617 <a class="indexterm" name="id2626524"></a>
    618 <a class="indexterm" name="id2626531"></a>
    619 <a class="indexterm" name="id2626538"></a>
    620 <a class="indexterm" name="id2626544"></a>
    621 <a class="indexterm" name="id2626551"></a>
     616        </p></li><li class="listitem"><p>       
     617<a class="indexterm" name="id2632621"></a>
     618<a class="indexterm" name="id2632628"></a>
     619<a class="indexterm" name="id2632635"></a>
     620<a class="indexterm" name="id2632642"></a>
     621<a class="indexterm" name="id2632649"></a>
    622622        Support for the native MS-RPC printing calls such as StartDocPrinter, EnumJobs(), and so on. (See the
    623623        <a class="ulink" href="http://msdn.microsoft.com/" target="_top">MSDN documentation</a> for more information on the
    624624        Win32 printing API).
    625         </p></li><li><p>
    626 <a class="indexterm" name="id2626572"></a>
    627 <a class="indexterm" name="id2626578"></a>
     625        </p></li><li class="listitem"><p>
     626<a class="indexterm" name="id2632669"></a>
     627<a class="indexterm" name="id2632675"></a>
    628628        Support for NT Access Control Lists (ACL) on printer objects.
    629         </p></li><li><p>
    630 <a class="indexterm" name="id2626590"></a>
     629        </p></li><li class="listitem"><p>
     630<a class="indexterm" name="id2632688"></a>
    631631        Improved support for printer queue manipulation through the use of internal databases for spooled
    632632        job information (implemented by various <code class="filename">*.tdb</code> files).
    633633        </p></li></ul></div><p>
    634 <a class="indexterm" name="id2626610"></a>
    635 <a class="indexterm" name="id2626617"></a>
     634<a class="indexterm" name="id2632708"></a>
     635<a class="indexterm" name="id2632714"></a>
    636636A benefit of updating is that Samba-3 is able to publish its printers to Active Directory (or LDAP).
    637637</p><p>
    638 <a class="indexterm" name="id2626629"></a>
     638<a class="indexterm" name="id2632726"></a>
    639639A fundamental difference exists between MS Windows NT print servers and Samba operation. Windows NT
    640640permits the installation of local printers that are not shared. This is an artifact of the fact that
     
    642642printers that are made available, either by default or by specific declaration via printer-specific shares.
    643643</p><p>
    644 <a class="indexterm" name="id2626646"></a>
    645 <a class="indexterm" name="id2626652"></a>
    646 <a class="indexterm" name="id2626659"></a>
    647 <a class="indexterm" name="id2626666"></a>
    648 <a class="indexterm" name="id2626673"></a>
     644<a class="indexterm" name="id2632743"></a>
     645<a class="indexterm" name="id2632750"></a>
     646<a class="indexterm" name="id2632756"></a>
     647<a class="indexterm" name="id2632763"></a>
     648<a class="indexterm" name="id2632770"></a>
    649649Windows NT/200x/XP Professional clients do not have to use the standard SMB printer share; they can
    650650print directly to any printer on another Windows NT host using MS-RPC. This, of course, assumes that
     
    653653<span class="emphasis"><em>Everyone</em></span> group. (The older clients of type Windows 9x/Me can only print to shared
    654654printers.)
    655 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2626693"></a>Point'n'Print Client Drivers on Samba Servers</h3></div></div></div><p>
    656 <a class="indexterm" name="id2626701"></a>
    657 There is much confusion about what all this means. The question is often asked, &#8220;<span class="quote">Is it or is
     655</p><div class="sect2" title="Point'n'Print Client Drivers on Samba Servers"><div class="titlepage"><div><div><h3 class="title"><a name="id2632790"></a>Point'n'Print Client Drivers on Samba Servers</h3></div></div></div><p>
     656<a class="indexterm" name="id2632799"></a>
     657There is much confusion about what all this means. The question is often asked, <span class="quote">&#8220;<span class="quote">Is it or is
    658658it not necessary for printer drivers to be installed on a Samba host in order to support printing from
    659 Windows clients?</span>&#8221; The answer to this is no, it is not necessary.
    660 </p><p>
    661 <a class="indexterm" name="id2626719"></a>
    662 <a class="indexterm" name="id2626726"></a>
     659Windows clients?</span>&#8221;</span> The answer to this is no, it is not necessary.
     660</p><p>
     661<a class="indexterm" name="id2632817"></a>
     662<a class="indexterm" name="id2632824"></a>
    663663Windows NT/2000 clients can, of course, also run their APW to install drivers <span class="emphasis"><em>locally</em></span>
    664664(which then connect to a Samba-served print queue). This is the same method used by Windows 9x/Me
     
    666666require that the Samba server possess a valid driver for the printer. This was fixed in Samba 2.2.1).
    667667</p><p>
    668 <a class="indexterm" name="id2626746"></a>
    669 <a class="indexterm" name="id2626753"></a>
     668<a class="indexterm" name="id2632843"></a>
     669<a class="indexterm" name="id2632850"></a>
    670670But it is a new capability to install the printer drivers into the <em class="parameter"><code>[print$]</code></em>
    671671share of the Samba server, and a big convenience, too. Then <span class="emphasis"><em>all</em></span> clients
     
    674674<em class="parameter"><code>[print$]</code></em> share and the following binding of this driver to an existing
    675675Samba printer share can be achieved by different means:
    676 </p><div class="itemizedlist"><ul type="disc"><li><p>
     676</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    677677        Running the <span class="emphasis"><em>APW</em></span> on an NT/200x/XP Professional client (this does not work from 95/98/ME clients).
    678         </p></li><li><p>
     678        </p></li><li class="listitem"><p>
    679679        Using the <span class="emphasis"><em>Imprints</em></span> toolset.
    680         </p></li><li><p>
     680        </p></li><li class="listitem"><p>
    681681        Using the <span class="emphasis"><em>smbclient</em></span> and <span class="emphasis"><em>rpcclient</em></span> command-line tools.
    682         </p></li><li><p>
     682        </p></li><li class="listitem"><p>
    683683        Using <span class="emphasis"><em>cupsaddsmb</em></span> (only works for the CUPS printing system, not for LPR/LPD, LPRng, and so on).
    684684        </p></li></ul></div><p>
    685 <a class="indexterm" name="id2626835"></a>
    686 <a class="indexterm" name="id2626842"></a>
     685<a class="indexterm" name="id2632932"></a>
     686<a class="indexterm" name="id2632939"></a>
    687687Samba does not use these uploaded drivers in any way to process spooled files. These drivers are utilized
    688 entirely by the clients who download and install them via the &#8220;<span class="quote">Point'n'Print</span>&#8221; mechanism
     688entirely by the clients who download and install them via the <span class="quote">&#8220;<span class="quote">Point'n'Print</span>&#8221;</span> mechanism
    689689supported by Samba. The clients use these drivers to generate print files in the format the printer
    690690(or the UNIX print system) requires. Print files received by Samba are handed over to the UNIX printing
    691691system, which is responsible for all further processing, as needed.
    692 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2626862"></a>The Obsoleted [printer$] Section</h3></div></div></div><p>
    693 <a class="indexterm" name="id2626870"></a>
    694 <a class="indexterm" name="id2626877"></a>
     692</p></div><div class="sect2" title="The Obsoleted [printer$] Section"><div class="titlepage"><div><div><h3 class="title"><a name="id2632959"></a>The Obsoleted [printer$] Section</h3></div></div></div><p>
     693<a class="indexterm" name="id2632967"></a>
     694<a class="indexterm" name="id2632974"></a>
    695695        Versions of Samba prior to 2.2 made it possible to use a share named <em class="parameter"><code>[printer$]</code></em>. This
    696696        name was taken from the same named service created by Windows 9x/Me clients when a printer was shared by them.
     
    702702        be sent to the client.
    703703        </p><p>
    704 <a class="indexterm" name="id2626922"></a>
    705 <a class="indexterm" name="id2626929"></a>
    706 <a class="indexterm" name="id2626936"></a>
     704<a class="indexterm" name="id2633019"></a>
     705<a class="indexterm" name="id2633026"></a>
     706<a class="indexterm" name="id2633033"></a>
    707707        These parameters, including the <em class="parameter"><code>printer driver file</code></em> parameter,
    708708        are now removed and cannot be used in installations of Samba-3. The share name
     
    714714        9x/Me clients are now thrown aside. They can use Samba's <em class="parameter"><code>[print$]</code></em>
    715715        share support just fine.
    716         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2626984"></a>Creating the [print$] Share</h3></div></div></div><p>
    717 <a class="indexterm" name="id2626992"></a>
     716        </p></div><div class="sect2" title="Creating the [print$] Share"><div class="titlepage"><div><div><h3 class="title"><a name="id2633081"></a>Creating the [print$] Share</h3></div></div></div><p>
     717<a class="indexterm" name="id2633089"></a>
    718718In order to support the uploading and downloading of printer driver files, you must first configure a
    719719file share named <em class="parameter"><code>[print$]</code></em>. The public name of this share is hard coded
     
    725725as <a class="link" href="smb.conf.5.html#PATH" target="_top">path</a>, are arbitrary and should be replaced with appropriate values for your
    726726site). See <a class="link" href="classicalprinting.html#prtdollar" title="Example 21.3. [print$] Example">[print\$] Example</a>.
    727 </p><div class="example"><a name="prtdollar"></a><p class="title"><b>Example 21.3. [print$] Example</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td># members of the ntadmin group should be able to add drivers and set</td></tr><tr><td># printer properties. root is implicitly always a 'printer admin'.</td></tr><tr><td><a class="indexterm" name="id2627076"></a><em class="parameter"><code>printer admin = @ntadmin</code></em></td></tr><tr><td># ...</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td># ...</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[print$]</code></em></td></tr><tr><td><a class="indexterm" name="id2627112"></a><em class="parameter"><code>comment = Printer Driver Download Area</code></em></td></tr><tr><td><a class="indexterm" name="id2627124"></a><em class="parameter"><code>path = /etc/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2627135"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2627147"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2627158"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2627170"></a><em class="parameter"><code>write list = @ntadmin, root</code></em></td></tr></table></div></div><br class="example-break"><p>
     727</p><div class="example"><a name="prtdollar"></a><p class="title"><b>Example 21.3. [print$] Example</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td># members of the ntadmin group should be able to add drivers and set</td></tr><tr><td># printer properties. root is implicitly always a 'printer admin'.</td></tr><tr><td><a class="indexterm" name="id2633173"></a><em class="parameter"><code>printer admin = @ntadmin</code></em></td></tr><tr><td># ...</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td># ...</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[print$]</code></em></td></tr><tr><td><a class="indexterm" name="id2633210"></a><em class="parameter"><code>comment = Printer Driver Download Area</code></em></td></tr><tr><td><a class="indexterm" name="id2633221"></a><em class="parameter"><code>path = /etc/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2633233"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633244"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633256"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633267"></a><em class="parameter"><code>write list = @ntadmin, root</code></em></td></tr></table></div></div><br class="example-break"><p>
    728728Of course, you also need to ensure that the directory named by the
    729729<a class="link" href="smb.conf.5.html#PATH" target="_top">path</a> parameter exists on the UNIX file system.
    730 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2627200"></a>[print$] Stanza Parameters</h3></div></div></div><p>
    731 <a class="indexterm" name="id2627208"></a>
    732 <a class="indexterm" name="id2627215"></a>
    733 <a class="indexterm" name="id2627222"></a>
    734 <a class="indexterm" name="id2627229"></a>
    735 <a class="indexterm" name="id2627236"></a>
     730</p></div><div class="sect2" title="[print$] Stanza Parameters"><div class="titlepage"><div><div><h3 class="title"><a name="id2633298"></a>[print$] Stanza Parameters</h3></div></div></div><p>
     731<a class="indexterm" name="id2633306"></a>
     732<a class="indexterm" name="id2633312"></a>
     733<a class="indexterm" name="id2633319"></a>
     734<a class="indexterm" name="id2633326"></a>
     735<a class="indexterm" name="id2633333"></a>
    736736The <em class="parameter"><code>[print$]</code></em> is a special section in <code class="filename">smb.conf</code>. It contains settings relevant to
    737737potential printer driver download and is used by Windows clients for local print driver installation.
     
    756756                = yes</code></em> depends on how your site is configured. If users will be guaranteed
    757757                to have an account on the Samba host, then this is a non-issue.
    758                 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     758                </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    759759                If all your Windows NT users are guaranteed to be authenticated by the Samba server
    760760                (for example, if Samba authenticates via an NT domain server and the user has already been
     
    771771                The <em class="parameter"><code>[print$]</code></em> was made read-only by the previous
    772772                setting so we should create a <em class="parameter"><code>write list</code></em> entry also. UNIX
    773                 groups are denoted with a leading &#8220;<span class="quote">@</span>&#8221; character. Users listed here are allowed
     773                groups are denoted with a leading <span class="quote">&#8220;<span class="quote">@</span>&#8221;</span> character. Users listed here are allowed
    774774                write-access (as an exception to the general public's read-only access), which they need to
    775775                update files on the share. Normally, you will want to name only administrative-level user
     
    778778                be mentioned in the global <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a>
    779779                parameter. See the <code class="filename">smb.conf</code> man page for more information on configuring file shares.
    780                 </p></dd></dl></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2627521"></a>The [print$] Share Directory</h3></div></div></div><p>
     780                </p></dd></dl></div></div><div class="sect2" title="The [print$] Share Directory"><div class="titlepage"><div><div><h3 class="title"><a name="id2633618"></a>The [print$] Share Directory</h3></div></div></div><p>
    781781In order for a Windows NT print server to support the downloading of driver files by multiple client
    782782architectures, you must create several subdirectories within the <em class="parameter"><code>[print$]</code></em>
     
    798798          |--W32PPC           # serves drivers to Windows NT PowerPC
    799799</pre><p>
    800 </p><div class="important" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Required Permissions</h3><p>
     800</p><div class="important" title="Required Permissions" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Required Permissions</h3><p>
    801801        In order to add a new driver to your Samba host, one of two conditions must hold true:
    802         </p><div class="itemizedlist"><ul type="disc"><li><p>
     802        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    803803                The account used to connect to the Samba host must have a UID of 0 (i.e., a root account).
    804                 </p></li><li><p>
     804                </p></li><li class="listitem"><p>
    805805                The account used to connect to the Samba host must be named in the <span class="emphasis"><em>printer admin</em></span> list.
    806806                </p></li></ul></div><p>
    807807        Of course, the connected account must still have write access to add files to the subdirectories beneath
    808         <em class="parameter"><code>[print$]</code></em>. Remember that all file shares are set to &#8220;<span class="quote">read-only</span>&#8221; by default.
     808        <em class="parameter"><code>[print$]</code></em>. Remember that all file shares are set to <span class="quote">&#8220;<span class="quote">read-only</span>&#8221;</span> by default.
    809809        </p></div><p>
    810810Once you have created the required <em class="parameter"><code>[print$]</code></em> service and
     
    813813have located the server, navigate to its <span class="guiicon">Printers and Faxes</span> folder. You should see
    814814an initial listing of printers that matches the printer shares defined on your Samba host.
    815 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2627663"></a>Installing Drivers into [print$]</h2></div></div></div><p>
     815</p></div></div><div class="sect1" title="Installing Drivers into [print$]"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2633761"></a>Installing Drivers into [print$]</h2></div></div></div><p>
    816816Have you successfully created the <em class="parameter"><code>[print$]</code></em> share in <code class="filename">smb.conf</code>, and have you forced
    817817Samba to reread its <code class="filename">smb.conf</code> file? Good. But you are not yet ready to use the new facility. The client
     
    821821requested from MS Windows clients. And that is a bit tricky, to say the least. We now discuss two alternative
    822822ways to install the drivers into <em class="parameter"><code>[print$]</code></em>:
    823 </p><div class="itemizedlist"><ul type="disc"><li><p>
     823</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    824824        Using the Samba command-line utility <code class="literal">rpcclient</code> with its various subcommands (here,
    825825        <code class="literal">adddriver</code> and <code class="literal">setdriver</code>) from any UNIX workstation.
    826         </p></li><li><p>
     826        </p></li><li class="listitem"><p>
    827827        Running a GUI (<span class="guiicon">Printer Properties</span> and <span class="guiicon">Add Printer Wizard</span>)
    828828        from any Windows NT/200x/XP client workstation.
    829829        </p></li></ul></div><p>
    830830The latter option is probably the easier one (even if the process may seem a little bit weird at first).
    831 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2627756"></a>Add Printer Wizard Driver Installation</h3></div></div></div><p>
     831</p><div class="sect2" title="Add Printer Wizard Driver Installation"><div class="titlepage"><div><div><h3 class="title"><a name="id2633854"></a>Add Printer Wizard Driver Installation</h3></div></div></div><p>
    832832The printers initially listed in the Samba host's <span class="guiicon">Printers</span> folder accessed from a
    833833client's Explorer will have no real printer driver assigned to them. By default this driver name is set
     
    840840on the printer icon, and select <span class="guimenu">Properties...</span>. You are now trying to view printer and
    841841driver properties for a queue that has this default <code class="constant">NULL</code> driver assigned. This will
    842 result in the following error message: &#8220;<span class="quote"> Device settings cannot be displayed. The driver for the
     842result in the following error message: <span class="quote">&#8220;<span class="quote"> Device settings cannot be displayed. The driver for the
    843843specified printer is not installed, only spooler properties will be displayed. Do you want to install the
    844 driver now?</span>&#8221;
     844driver now?</span>&#8221;</span>
    845845</p><p>
    846846Do <span class="emphasis"><em>not</em></span> click on <span class="guibutton">Yes</span>!  Instead, click on <span class="guibutton">No</span>
    847847in the error dialog.  Now you will be presented with the printer properties window. From here, the way to
    848848assign a driver to a printer is open. You now have the choice of:
    849 </p><div class="itemizedlist"><ul type="disc"><li><p>
     849</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    850850        Select a driver from the pop-up list of installed drivers. Initially this list will be empty.
    851         </p></li><li><p>
     851        </p></li><li class="listitem"><p>
    852852        Click on <span class="guibutton">New Driver</span> to install a new printer driver (which will
    853853        start up the APW).
     
    865865device settings, please consider the advice given further in <a class="link" href="classicalprinting.html#inst-rpc" title="Installing Print Drivers Using rpcclient">Installing
    866866Print Drivers Using <code class="literal">rpcclient</code></a>.
    867 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="inst-rpc"></a>Installing Print Drivers Using <code class="literal">rpcclient</code></h3></div></div></div><p>
     867</p></div><div class="sect2" title="Installing Print Drivers Using rpcclient"><div class="titlepage"><div><div><h3 class="title"><a name="inst-rpc"></a>Installing Print Drivers Using <code class="literal">rpcclient</code></h3></div></div></div><p>
    868868The second way to install printer drivers into <em class="parameter"><code>[print$]</code></em> and set them
    869869up in a valid way is to do it from the UNIX command line. This involves four distinct steps:
    870 </p><div class="orderedlist"><ol type="1"><li><p>
     870</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
    871871        Gather information about required driver files and collect the files.
    872         </p></li><li><p>
     872        </p></li><li class="listitem"><p>
    873873        Deposit the driver files into the <em class="parameter"><code>[print$]</code></em> share's correct subdirectories
    874874        (possibly by using <code class="literal">smbclient</code>).
    875         </p></li><li><p>
     875        </p></li><li class="listitem"><p>
    876876        Run the <code class="literal">rpcclient</code> command-line utility once with the <code class="literal">adddriver</code>
    877877        subcommand.
    878         </p></li><li><p>
     878        </p></li><li class="listitem"><p>
    879879        Run <code class="literal">rpcclient</code> a second time with the <code class="literal">setdriver</code> subcommand.
    880880        </p></li></ol></div><p>
    881881We provide detailed hints for each of these steps in the paragraphs that follow.
    882 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2628032"></a>Identifying Driver Files</h4></div></div></div><p>
    883 <a class="indexterm" name="id2628040"></a>
    884 <a class="indexterm" name="id2628047"></a>
    885 <a class="indexterm" name="id2628054"></a>
     882</p><div class="sect3" title="Identifying Driver Files"><div class="titlepage"><div><div><h4 class="title"><a name="id2634130"></a>Identifying Driver Files</h4></div></div></div><p>
     883<a class="indexterm" name="id2634138"></a>
     884<a class="indexterm" name="id2634145"></a>
     885<a class="indexterm" name="id2634152"></a>
    886886To find out about the driver files, you have two options. You can check the contents of the driver
    887887CDROM that came with your printer. Study the <code class="filename">*.inf</code> files located on the CD-ROM. This
     
    891891extremely difficult to identify the driver files required.
    892892</p><p>
    893 <a class="indexterm" name="id2628085"></a>
     893<a class="indexterm" name="id2634182"></a>
    894894Then you have the second option. Install the driver locally on a Windows client and
    895895investigate which filenames and paths it uses after they are installed. (You need to repeat
     
    898898clients.)
    899899</p><p>
    900 <a class="indexterm" name="id2628107"></a>
     900<a class="indexterm" name="id2634204"></a>
    901901A good method to recognize the driver files is to print the test page from the driver's
    902902<span class="guilabel">Properties</span> dialog (<span class="guilabel">General</span> tab). Then look at the list of
     
    906906(this may vary slightly for Windows NT). You need to note all filenames for the next steps.
    907907</p><p>
    908 <a class="indexterm" name="id2628164"></a>
    909 <a class="indexterm" name="id2628171"></a>
    910 <a class="indexterm" name="id2628177"></a>
     908<a class="indexterm" name="id2634261"></a>
     909<a class="indexterm" name="id2634268"></a>
     910<a class="indexterm" name="id2634275"></a>
    911911Another method to quickly test the driver filenames and related paths is provided by the
    912912<code class="literal">rpcclient</code> utility. Run it with <code class="literal">enumdrivers</code> or with the
     
    949949  Defaultdatatype: []
    950950</pre><p>
    951 <a class="indexterm" name="id2628293"></a>
    952 <a class="indexterm" name="id2628300"></a>
    953 <a class="indexterm" name="id2628307"></a>
    954 <a class="indexterm" name="id2628314"></a>
     951<a class="indexterm" name="id2634391"></a>
     952<a class="indexterm" name="id2634397"></a>
     953<a class="indexterm" name="id2634404"></a>
     954<a class="indexterm" name="id2634411"></a>
    955955You may notice that this driver has quite a large number of <span class="guilabel">Dependent files</span>
    956956(there are worse cases, however). Also, strangely, the
     
    962962Windows PC. This PC can also host the Windows 9x/Me drivers, even if it runs on Windows NT, 2000, or XP.
    963963</p><p>
    964 <a class="indexterm" name="id2628362"></a>
    965 <a class="indexterm" name="id2628369"></a>
    966 <a class="indexterm" name="id2628376"></a>
     964<a class="indexterm" name="id2634459"></a>
     965<a class="indexterm" name="id2634466"></a>
     966<a class="indexterm" name="id2634473"></a>
    967967Since the <em class="parameter"><code>[print$]</code></em> share is usually accessible through the <span class="guiicon">Network
    968968Neighborhood</span>, you can also use the UNC notation from Windows Explorer to poke at it. The Windows
    9699699x/Me driver files will end up in subdirectory <code class="filename">0</code> of the <code class="filename">WIN40</code>
    970970directory. The full path to access them is <code class="filename">\\WINDOWSHOST\print$\WIN40\0\</code>.
    971 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    972 More recent drivers on Windows 2000 and Windows XP are installed into the &#8220;<span class="quote">3</span>&#8221; subdirectory
    973 instead of the &#8220;<span class="quote">2</span>&#8221;. The version 2 of drivers, as used in Windows NT, were running in kernel
     971</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     972More recent drivers on Windows 2000 and Windows XP are installed into the <span class="quote">&#8220;<span class="quote">3</span>&#8221;</span> subdirectory
     973instead of the <span class="quote">&#8220;<span class="quote">2</span>&#8221;</span>. The version 2 of drivers, as used in Windows NT, were running in kernel
    974974mode. Windows 2000 changed this. While it still can use the kernel mode drivers (if this is enabled by
    975975the Admin), its native mode for printer drivers is user mode execution. This requires drivers designed
    976 for this purpose. These types of drivers install into the &#8220;<span class="quote">3</span>&#8221; subdirectory.
    977 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2628439"></a>Obtaining Driver Files from Windows Client [print$] Shares</h4></div></div></div><p>
     976for this purpose. These types of drivers install into the <span class="quote">&#8220;<span class="quote">3</span>&#8221;</span> subdirectory.
     977</p></div></div><div class="sect3" title="Obtaining Driver Files from Windows Client [print$] Shares"><div class="titlepage"><div><div><h4 class="title"><a name="id2634537"></a>Obtaining Driver Files from Windows Client [print$] Shares</h4></div></div></div><p>
    978978Now we need to collect all the driver files we identified in our previous step. Where do we get them
    979979from? Well, why not retrieve them from the very PC and the same <em class="parameter"><code>[print$]</code></em>
     
    10001000<code class="literal">smbclient</code> exits again.
    10011001</p><p>
    1002 <a class="indexterm" name="id2628548"></a>
     1002<a class="indexterm" name="id2634645"></a>
    10031003Remember to repeat the procedure for the <span class="application">WIN40</span> architecture should you need to
    10041004support Windows 9x/Me/XP clients. Remember too, the files for these architectures are in the
    10051005<code class="filename">WIN40/0/</code> subdirectory. Once this is complete, we can run <code class="literal">smbclient. .
    10061006.put</code> to store the collected files on the Samba server's <em class="parameter"><code>[print$]</code></em> share.
    1007 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2628585"></a>Installing Driver Files into [print$]</h4></div></div></div><p>
     1007</p></div><div class="sect3" title="Installing Driver Files into [print$]"><div class="titlepage"><div><div><h4 class="title"><a name="id2634683"></a>Installing Driver Files into [print$]</h4></div></div></div><p>
    10081008We are now going to locate the driver files into the <em class="parameter"><code>[print$]</code></em> share. Remember, the
    10091009UNIX path to this share has been defined previously in your <code class="filename">smb.conf</code> file. You also have created
     
    10111011<em class="parameter"><code>[print$]</code></em> share maps to the UNIX path <code class="filename">/etc/samba/drivers/</code>, your
    10121012driver files should now go here:
    1013 </p><div class="itemizedlist"><ul type="disc"><li><p>
     1013</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    10141014        For all Windows NT, 2000, and XP clients, <code class="filename">/etc/samba/drivers/W32X86/</code> but
    10151015        not (yet) into the <code class="filename">2</code> subdirectory.
    1016         </p></li><li><p>
     1016        </p></li><li class="listitem"><p>
    10171017        For all Windows 95, 98, and Me clients, <code class="filename">/etc/samba/drivers/WIN40/</code> but not
    10181018        (yet) into the <code class="filename">0</code> subdirectory.
    10191019        </p></li></ul></div><p>
    1020 <a class="indexterm" name="id2628664"></a>
    1021 <a class="indexterm" name="id2628671"></a>
     1020<a class="indexterm" name="id2634762"></a>
     1021<a class="indexterm" name="id2634768"></a>
    10221022We again use smbclient to transfer the driver files across the network. We specify the same files
    10231023and paths as were leaked to us by running <code class="literal">getdriver</code> against the original
     
    10561056putting file HDNIS01_de.NTF as \W32X86\HDNIS01_de.NTF
    10571057</pre><p>
    1058 <a class="indexterm" name="id2628744"></a>
    1059 <a class="indexterm" name="id2628751"></a>
    1060 <a class="indexterm" name="id2628758"></a>
     1058<a class="indexterm" name="id2634841"></a>
     1059<a class="indexterm" name="id2634848"></a>
     1060<a class="indexterm" name="id2634855"></a>
    10611061Whew  that was a lot of typing! Most drivers are a lot smaller  many have only three generic
    10621062PostScript driver files plus one PPD. While we did retrieve the files from the <code class="filename">2</code>
     
    10651065<code class="literal">adddriver</code> command, which we will run shortly (and do not forget to also put the files
    10661066for the Windows 9x/Me architecture into the <code class="filename">WIN40/</code> subdirectory should you need them).
    1067 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2628804"></a><code class="literal">smbclient</code> to Confirm Driver Installation</h4></div></div></div><p>
    1068 <a class="indexterm" name="id2628817"></a>
    1069 <a class="indexterm" name="id2628823"></a>
     1067</p></div><div class="sect3" title="smbclient to Confirm Driver Installation"><div class="titlepage"><div><div><h4 class="title"><a name="id2634901"></a><code class="literal">smbclient</code> to Confirm Driver Installation</h4></div></div></div><p>
     1068<a class="indexterm" name="id2634914"></a>
     1069<a class="indexterm" name="id2634921"></a>
    10701070For now we verify that our files are there. This can be done with <code class="literal">smbclient</code>, too
    10711071(but, of course, you can log in via SSH also and do this through a standard UNIX shell access):
     
    11081108              40976 blocks of size 262144. 709 blocks available
    11091109</pre><p>
    1110 <a class="indexterm" name="id2628898"></a>
    1111 <a class="indexterm" name="id2628905"></a>
    1112 <a class="indexterm" name="id2628912"></a>
     1110<a class="indexterm" name="id2634995"></a>
     1111<a class="indexterm" name="id2635002"></a>
     1112<a class="indexterm" name="id2635009"></a>
    11131113Notice that there are already driver files present in the <code class="filename">2</code> subdirectory (probably from a
    11141114previous installation). Once the files for the new driver are there too, you are still a few steps away from
     
    11181118special, namely <span class="emphasis"><em>printer driver files</em></span>, and it does not know to which print queue(s) these
    11191119driver files belong.
    1120 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2628941"></a>Running <code class="literal">rpcclient</code> with <code class="literal">adddriver</code></h4></div></div></div><p>
    1121 <a class="indexterm" name="id2628959"></a>
    1122 <a class="indexterm" name="id2628966"></a>
    1123 <a class="indexterm" name="id2628973"></a>
     1120</p></div><div class="sect3" title="Running rpcclient with adddriver"><div class="titlepage"><div><div><h4 class="title"><a name="id2635038"></a>Running <code class="literal">rpcclient</code> with <code class="literal">adddriver</code></h4></div></div></div><p>
     1121<a class="indexterm" name="id2635056"></a>
     1122<a class="indexterm" name="id2635063"></a>
     1123<a class="indexterm" name="id2635070"></a>
    11241124Next, you must tell Samba about the special category of the files you just uploaded into the
    11251125<em class="parameter"><code>[print$]</code></em> share. This is done by the <code class="literal">adddriver</code>
     
    11451145Printer Driver dm9110 successfully installed.
    11461146</pre><p>
    1147 <a class="indexterm" name="id2629028"></a>
    1148 <a class="indexterm" name="id2629035"></a>
    1149 <a class="indexterm" name="id2629042"></a>
     1147<a class="indexterm" name="id2635125"></a>
     1148<a class="indexterm" name="id2635132"></a>
     1149<a class="indexterm" name="id2635139"></a>
    11501150After this step, the driver should be recognized by Samba on the print server. You need to be very
    11511151careful when typing the command. Don't exchange the order of the fields. Some changes would lead to
     
    11541154Hints about the syntax of the adddriver command are in the man page.
    11551155provides a more detailed description, should you need it.
    1156 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2629065"></a>Checking <code class="literal">adddriver</code> Completion</h4></div></div></div><p>
     1156</p></div><div class="sect3" title="Checking adddriver Completion"><div class="titlepage"><div><div><h4 class="title"><a name="id2635162"></a>Checking <code class="literal">adddriver</code> Completion</h4></div></div></div><p>
    11571157One indication for Samba's recognition of the files as driver files is the <code class="computeroutput">successfully
    11581158installed</code> message. Another one is the fact that our files have been moved by the
     
    11991199Another verification is that the timestamp of the printing TDB files is now updated
    12001200(and possibly their file size has increased).
    1201 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2629206"></a>Check Samba for Driver Recognition</h4></div></div></div><p>
    1202 <a class="indexterm" name="id2629215"></a>
     1201</p></div><div class="sect3" title="Check Samba for Driver Recognition"><div class="titlepage"><div><div><h4 class="title"><a name="id2635304"></a>Check Samba for Driver Recognition</h4></div></div></div><p>
     1202<a class="indexterm" name="id2635312"></a>
    12031203Now the driver should be registered with Samba. We can easily verify this and will do so in a
    12041204moment. However, this driver is not yet associated with a particular printer. We may check the driver
    12051205status of the files by at least three methods:
    1206 </p><div class="itemizedlist"><ul type="disc"><li><p>
    1207 <a class="indexterm" name="id2629232"></a>
    1208 <a class="indexterm" name="id2629239"></a>
    1209 <a class="indexterm" name="id2629246"></a>
    1210 <a class="indexterm" name="id2629253"></a>
    1211 <a class="indexterm" name="id2629260"></a>
     1206</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     1207<a class="indexterm" name="id2635329"></a>
     1208<a class="indexterm" name="id2635336"></a>
     1209<a class="indexterm" name="id2635343"></a>
     1210<a class="indexterm" name="id2635350"></a>
     1211<a class="indexterm" name="id2635357"></a>
    12121212        From any Windows client browse Network Neighborhood, find the Samba host, and open the Samba
    12131213        <span class="guiicon">Printers and Faxes</span> folder. Select any printer icon, right-click and select
     
    12181218        see only its own architecture's list. If you do not have every driver installed for each platform,
    12191219        the list will differ if you look at it from Windows95/98/ME or Windows NT/2000/XP.)
    1220         </p></li><li><p>
    1221 <a class="indexterm" name="id2629300"></a>
     1220        </p></li><li class="listitem"><p>
     1221<a class="indexterm" name="id2635397"></a>
    12221222        From a Windows 200x/XP client (not Windows NT) browse <span class="guiicon">Network Neighborhood</span>,
    12231223        search for the Samba server, open the server's <span class="guiicon">Printers</span> folder,
     
    12321232        <strong class="userinput"><code>rundll32 printui.dll,PrintUIEntry /s /t2 /n\\<em class="replaceable"><code>SAMBA-CUPS</code></em></code></strong>
    12331233        </pre><p>
    1234         </p></li><li><p>
     1234        </p></li><li class="listitem"><p>
    12351235        From a UNIX prompt, run this command (or a variant thereof), where
    12361236        <em class="replaceable"><code>SAMBA-CUPS</code></em> is the name of the Samba host and xxxx represents the
     
    12481248        95, 98, and Me</span>, you'll have to repeat the whole procedure with the WIN40 architecture
    12491249        and subdirectory.
    1250         </p></li></ul></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2629434"></a>Specific Driver Name Flexibility</h4></div></div></div><p>
    1251 <a class="indexterm" name="id2629442"></a>
     1250        </p></li></ul></div></div><div class="sect3" title="Specific Driver Name Flexibility"><div class="titlepage"><div><div><h4 class="title"><a name="id2635531"></a>Specific Driver Name Flexibility</h4></div></div></div><p>
     1251<a class="indexterm" name="id2635539"></a>
    12521252You can name the driver as you like. If you repeat the <code class="literal">adddriver</code> step with the same
    12531253files as before but with a different driver name, it will work the same:
     
    12721272Printer Driver mydrivername successfully installed.
    12731273</pre><p>
    1274 <a class="indexterm" name="id2629490"></a>
    1275 <a class="indexterm" name="id2629496"></a>
    1276 <a class="indexterm" name="id2629503"></a>
     1274<a class="indexterm" name="id2635587"></a>
     1275<a class="indexterm" name="id2635594"></a>
     1276<a class="indexterm" name="id2635601"></a>
    12771277You will be able to bind that driver to any print queue (however, you are responsible that
    12781278you associate drivers to queues that make sense with respect to target printers). You cannot run the
     
    12811281respective subdirectories, so you must execute an <code class="literal">smbclient ... put</code> command before
    12821282each <code class="literal">rpcclient ... adddriver</code> command.
    1283 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2629548"></a>Running <code class="literal">rpcclient</code> with <code class="literal">setdriver</code></h4></div></div></div><p>
    1284 <a class="indexterm" name="id2629567"></a>
    1285 <a class="indexterm" name="id2629574"></a>
     1283</p></div><div class="sect3" title="Running rpcclient with setdriver"><div class="titlepage"><div><div><h4 class="title"><a name="id2635646"></a>Running <code class="literal">rpcclient</code> with <code class="literal">setdriver</code></h4></div></div></div><p>
     1284<a class="indexterm" name="id2635664"></a>
     1285<a class="indexterm" name="id2635671"></a>
    12861286Samba needs to know which printer owns which driver. Create a mapping of the driver to a printer, and
    12871287store this information in Samba's memory, the TDB files. The <code class="literal">rpcclient setdriver</code> command
     
    13051305</pre><p>
    13061306Now we have done most of the work, but not all of it.
    1307 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     1307</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    13081308The <code class="literal">setdriver</code> command will only succeed if the printer is already known to Samba. A
    13091309bug in 2.2.x prevented Samba from recognizing freshly installed printers. You had to restart Samba,
    13101310or at least send an HUP signal to all running smbd processes to work around this: <strong class="userinput"><code>kill -HUP
    13111311`pidof smbd`</code></strong>.
    1312 </p></div></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2629689"></a>Client Driver Installation Procedure</h2></div></div></div><p>
    1313 As Don Quixote said, &#8220;<span class="quote">The proof of the pudding is in the eating.</span>&#8221; The proof
     1312</p></div></div></div></div><div class="sect1" title="Client Driver Installation Procedure"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2635786"></a>Client Driver Installation Procedure</h2></div></div></div><p>
     1313As Don Quixote said, <span class="quote">&#8220;<span class="quote">The proof of the pudding is in the eating.</span>&#8221;</span> The proof
    13141314for our setup lies in the printing. So let's install the printer driver onto the client PCs. This is
    13151315not as straightforward as it may seem. Read on.
    1316 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2629706"></a>First Client Driver Installation</h3></div></div></div><p>
     1316</p><div class="sect2" title="First Client Driver Installation"><div class="titlepage"><div><div><h3 class="title"><a name="id2635803"></a>First Client Driver Installation</h3></div></div></div><p>
    13171317Especially important is the installation onto the first client PC (for each architectural platform
    13181318separately). Once this is done correctly, all further clients are easy to set up and shouldn't need further
     
    13311331as a printer admin user (you can check this with the <code class="literal">smbstatus</code> command on Samba),
    13321332do this from the Windows workstation:
    1333 </p><div class="procedure"><ol type="1"><li><p>
     1333</p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    13341334        Open <span class="guiicon">Network Neighborhood</span>.
    1335         </p></li><li><p>
     1335        </p></li><li class="step" title="Step 2"><p>
    13361336        Browse to Samba server.
    1337         </p></li><li><p>
     1337        </p></li><li class="step" title="Step 3"><p>
    13381338        Open its <span class="guiicon">Printers and Faxes</span> folder.
    1339         </p></li><li><p>
     1339        </p></li><li class="step" title="Step 4"><p>
    13401340        Highlight and right-click on the printer.
    1341         </p></li><li><p>
     1341        </p></li><li class="step" title="Step 5"><p>
    13421342        Select <span class="guimenuitem">Connect</span> (for Windows NT4/200x
    13431343        it is possibly <span class="guimenuitem">Install</span>).
     
    13481348and Faxes</span>).
    13491349</p><p>
    1350 <a class="indexterm" name="id2629877"></a>
     1350<a class="indexterm" name="id2635974"></a>
    13511351Most likely you are tempted to try to print a test page. After all, you now can open the printer
    13521352properties, and on the <span class="guimenu">General</span> tab there is a button offering to do just that. But
    13531353chances are that you get an error message saying "<code class="literal">Unable to print Test Page</code>." The
    1354 reason might be that there is not yet a valid device mode set for the driver or that the &#8220;<span class="quote">printer
    1355 driver data</span>&#8221; set is still incomplete.
     1354reason might be that there is not yet a valid device mode set for the driver or that the <span class="quote">&#8220;<span class="quote">printer
     1355driver data</span>&#8221;</span> set is still incomplete.
    13561356</p><p>
    13571357You must make sure that a valid <em class="parameter"><code>device mode</code></em> is set for the
    13581358driver. We now explain what that means.
    1359 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="prt-modeset"></a>Setting Device Modes on New Printers</h3></div></div></div><p>
     1359</p></div><div class="sect2" title="Setting Device Modes on New Printers"><div class="titlepage"><div><div><h3 class="title"><a name="prt-modeset"></a>Setting Device Modes on New Printers</h3></div></div></div><p>
    13601360For a printer to be truly usable by a Windows NT/200x/XP client, it must possess:
    1361 </p><div class="itemizedlist"><ul type="disc"><li><p>
    1362 <a class="indexterm" name="id2629937"></a>
     1361</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     1362<a class="indexterm" name="id2636035"></a>
    13631363        A valid <span class="emphasis"><em>device mode</em></span> generated by the driver for the printer (defining things
    13641364        like paper size, orientation and duplex settings).
    1365         </p></li><li><p>
    1366 <a class="indexterm" name="id2629954"></a>
     1365        </p></li><li class="listitem"><p>
     1366<a class="indexterm" name="id2636051"></a>
    13671367        A complete set of <span class="emphasis"><em>printer driver data</em></span> generated by the driver.
    13681368        </p></li></ul></div><p>
    1369 <a class="indexterm" name="id2629970"></a>
    1370 <a class="indexterm" name="id2629977"></a>
    1371 <a class="indexterm" name="id2629984"></a>
    1372 <a class="indexterm" name="id2629991"></a>
    1373 <a class="indexterm" name="id2629997"></a>
     1369<a class="indexterm" name="id2636067"></a>
     1370<a class="indexterm" name="id2636074"></a>
     1371<a class="indexterm" name="id2636081"></a>
     1372<a class="indexterm" name="id2636088"></a>
     1373<a class="indexterm" name="id2636095"></a>
    13741374If either of these is incomplete, the clients can produce less than optimal output at best. In the
    13751375worst cases, unreadable garbage or nothing at all comes from the printer, or it produces a harvest of
     
    13971397effect to happen and feeds back the new device mode to our Samba server. You can use the native Windows
    13981398NT/200x/XP printer properties page from a Window client for this:
    1399 </p><div class="procedure"><a name="id2630096"></a><p class="title"><b>Procedure 21.1. Procedure to Initialize the Printer Driver Settings</b></p><ol type="1"><li><p>
     1399</p><div class="procedure" title="Procedure 21.1. Procedure to Initialize the Printer Driver Settings"><a name="id2636193"></a><p class="title"><b>Procedure 21.1. Procedure to Initialize the Printer Driver Settings</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    14001400        Browse the <span class="guiicon">Network Neighborhood</span>.
    1401         </p></li><li><p>
     1401        </p></li><li class="step" title="Step 2"><p>
    14021402        Find the Samba server.
    1403         </p></li><li><p>
     1403        </p></li><li class="step" title="Step 3"><p>
    14041404        Open the Samba server's <span class="guiicon">Printers and Faxes</span> folder.
    1405         </p></li><li><p>
     1405        </p></li><li class="step" title="Step 4"><p>
    14061406        Highlight the shared printer in question.
    1407         </p></li><li><p>
     1407        </p></li><li class="step" title="Step 5"><p>
    14081408        Right-click on the printer (you may already be here if you followed the last section's description).
    1409         </p></li><li><p>
     1409        </p></li><li class="step" title="Step 6"><p>
    14101410        At the bottom of the context menu select <span class="guimenu">Properties</span> (if the menu still offers the
    14111411        <span class="guimenuitem">Connect</span> entry further above, you
    14121412        need to click on that one first to achieve the driver
    14131413        installation, as shown in the last section).
    1414         </p></li><li><p>
     1414        </p></li><li class="step" title="Step 7"><p>
    14151415        Go to the <span class="guilabel">Advanced</span> tab; click on <span class="guibutton">Printing Defaults</span>.
    1416         </p></li><li><p>
     1416        </p></li><li class="step" title="Step 8"><p>
    14171417        Change the <span class="guimenuitem">Portrait</span> page setting to <span class="guimenuitem">Landscape</span> (and back).
    1418         </p></li><li><p>
     1418        </p></li><li class="step" title="Step 9"><p>
    14191419        Make sure to apply changes between swapping the page orientation to cause the change to actually take effect.
    1420         </p></li><li><p>
     1420        </p></li><li class="step" title="Step 10"><p>
    14211421        While you are at it, you may also want to set the desired printing defaults here, which then apply to all future
    14221422        client driver installations.
     
    14271427folder, too, if you are a Samba printer admin user. From now on, printing should work as expected.
    14281428</p><p>
    1429 <a class="indexterm" name="id2630250"></a>
     1429<a class="indexterm" name="id2636347"></a>
    14301430Samba includes a service-level parameter name <em class="parameter"><code>default devmode</code></em> for generating a default
    14311431device mode for a printer. Some drivers function well with Samba's default set of properties. Others
    14321432may crash the client's spooler service. So use this parameter with caution. It is always better to have
    14331433the client generate a valid device mode for the printer and store it on the server for you.
    1434 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2630271"></a>Additional Client Driver Installation</h3></div></div></div><p>
    1435 <a class="indexterm" name="id2630279"></a>
     1434</p></div><div class="sect2" title="Additional Client Driver Installation"><div class="titlepage"><div><div><h3 class="title"><a name="id2636368"></a>Additional Client Driver Installation</h3></div></div></div><p>
     1435<a class="indexterm" name="id2636376"></a>
    14361436Every additional driver may be installed in the same way as just described.  Browse <code class="literal">Network
    14371437Neighborhood</code>, open the <span class="guiicon">Printers</span> folder on Samba server, right-click on
     
    14461446</pre><p>
    14471447or this command on Windows NT 4.0 workstations:
    1448 <a class="indexterm" name="id2630346"></a>
     1448<a class="indexterm" name="id2636443"></a>
    14491449</p><pre class="screen">
    14501450<strong class="userinput"><code>rundll32 shell32.dll,Control_RunDLL MAIN.CPL @2</code></strong>
     
    14531453You can enter the commands either inside a <span class="guilabel">DOS box</span> window or in the <span class="guimenuitem">Run
    14541454command...</span> field from the <span class="guimenu">Start</span> menu.
    1455 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2630390"></a>Always Make First Client Connection as root or &#8220;<span class="quote">printer admin</span>&#8221;</h3></div></div></div><p>
     1455</p></div><div class="sect2" title="Always Make First Client Connection as root or &#8220;printer admin&#8221;"><div class="titlepage"><div><div><h3 class="title"><a name="id2636487"></a>Always Make First Client Connection as root or <span class="quote">&#8220;<span class="quote">printer admin</span>&#8221;</span></h3></div></div></div><p>
    14561456After you installed the driver on the Samba server (in its <em class="parameter"><code>[print$]</code></em> share), you
    14571457should always make sure that your first client installation completes correctly. Make it a habit for yourself
    14581458to build the very first connection from a client as <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a>. This is to make
    14591459sure that:
    1460 </p><div class="itemizedlist"><ul type="disc"><li><p>
     1460</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    14611461        A first valid <span class="emphasis"><em>device mode</em></span> is really initialized (see above <a class="link" href="classicalprinting.html#prt-modeset" title="Setting Device Modes on New Printers">Setting Device Modes on New Printers</a>) for more explanation details).
    1462         </p></li><li><p>       
     1462        </p></li><li class="listitem"><p>       
    14631463        The default print settings of your printer for all further client installations are as you want them.
    14641464        </p></li></ul></div><p>
     
    14681468printer for <span class="guiicon">duplex</span> as the default, and so on).
    14691469</p><p>
    1470 <a class="indexterm" name="id2630484"></a>
     1470<a class="indexterm" name="id2636581"></a>
    14711471To connect as root to a Samba printer, try this command from a Windows 200x/XP DOS box command prompt:
    14721472</p><pre class="screen">
     
    14821482<code class="literal">Point'n'Print</code>) will have the same defaults set for them. If you miss this step, you'll get a
    14831483lot of help desk calls from your users, but maybe you like to talk to people.
    1484 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2630563"></a>Other Gotchas</h2></div></div></div><p>
     1484</p></div></div><div class="sect1" title="Other Gotchas"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2636660"></a>Other Gotchas</h2></div></div></div><p>
    14851485Your driver is installed. It is now ready for Point'n'Print installation by the clients. You may have tried to
    14861486download and use it on your first client machine, but wait. Let's make sure you are acquainted first with a
    14871487few tips and tricks you may find useful. For example, suppose you did not set the defaults on the printer, as
    1488 advised in the preceding paragraphs. Your users complain about various issues (such as, &#8220;<span class="quote">We need to set
    1489 the paper size for each job from Letter to A4 and it will not store it</span>&#8221;).
    1490 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2630584"></a>Setting Default Print Options for Client Drivers</h3></div></div></div><p>
     1488advised in the preceding paragraphs. Your users complain about various issues (such as, <span class="quote">&#8220;<span class="quote">We need to set
     1489the paper size for each job from Letter to A4 and it will not store it</span>&#8221;</span>).
     1490</p><div class="sect2" title="Setting Default Print Options for Client Drivers"><div class="titlepage"><div><div><h3 class="title"><a name="id2636681"></a>Setting Default Print Options for Client Drivers</h3></div></div></div><p>
    14911491The last sentence might be viewed with mixed feelings by some users and Admins. They have struggled for hours
    14921492and could not arrive at a point where their settings seemed to be saved. It is not their fault. The confusing
     
    14951495they help you to set printer options in three different ways. Here is the definitive answer to the Samba
    14961496default driver setting FAQ:
    1497 </p><p><b>&#8220;<span class="quote">I can not set and save default print options
    1498 for all users on Windows 200x/XP. Why not?</span>&#8221;. </b>
     1497</p><p title="&#8220;I can not set and save default print options for all users on Windows 200x/XP. Why not?&#8221;"><b><span class="quote">&#8220;<span class="quote">I can not set and save default print options
     1498for all users on Windows 200x/XP. Why not?</span>&#8221;</span>. </b>
    14991499How are you doing it? I bet the wrong way. (It is not easy to find out, though.) There are three different
    15001500ways to bring you to a dialog that seems to set everything. All three dialogs look the same, but only one of
    15011501them does what you intend. You need to be Administrator or Print Administrator to do this for all users. Here
    15021502is how I reproduce it in an XP Professional:
    1503 </p><div class="orderedlist"><ol type="A"><li><p>The first &#8220;<span class="quote">wrong</span>&#8221; way:
    1504         </p><div class="orderedlist"><ol type="1"><li><p>Open the <span class="guiicon">Printers</span> folder.</p></li><li><p>Right-click on the printer (<span class="emphasis"><em>remoteprinter on cupshost</em></span>) and
    1505                 select in context menu <span class="guimenu">Printing Preferences...</span>.</p></li><li><p>Look at this dialog closely and remember what it looks like.</p></li></ol></div></li><li><p>The second &#8220;<span class="quote">wrong</span>&#8221; way:
    1506                 </p><div class="orderedlist"><ol type="1"><li><p>Open the <span class="guimenu">Printers</span> folder.</p></li><li><p>Right-click on the printer (<span class="emphasis"><em>remoteprinter on
     1503</p><div class="orderedlist"><ol class="orderedlist" type="A"><li class="listitem"><p>The first <span class="quote">&#8220;<span class="quote">wrong</span>&#8221;</span> way:
     1504        </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>Open the <span class="guiicon">Printers</span> folder.</p></li><li class="listitem"><p>Right-click on the printer (<span class="emphasis"><em>remoteprinter on cupshost</em></span>) and
     1505                select in context menu <span class="guimenu">Printing Preferences...</span>.</p></li><li class="listitem"><p>Look at this dialog closely and remember what it looks like.</p></li></ol></div></li><li class="listitem"><p>The second <span class="quote">&#8220;<span class="quote">wrong</span>&#8221;</span> way:
     1506                </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>Open the <span class="guimenu">Printers</span> folder.</p></li><li class="listitem"><p>Right-click on the printer (<span class="emphasis"><em>remoteprinter on
    15071507                        cupshost</em></span>) and select in the context menu
    1508                         <span class="guimenuitem">Properties</span></p></li><li><p>Click on the <span class="guilabel">General</span>
    1509                         tab.</p></li><li><p>Click on the <span class="guibutton">Printing
    1510                         Preferences...</span> button.</p></li><li><p>A new dialog opens. Keep this dialog open and go back
     1508                        <span class="guimenuitem">Properties</span></p></li><li class="listitem"><p>Click on the <span class="guilabel">General</span>
     1509                        tab.</p></li><li class="listitem"><p>Click on the <span class="guibutton">Printing
     1510                        Preferences...</span> button.</p></li><li class="listitem"><p>A new dialog opens. Keep this dialog open and go back
    15111511                        to the parent dialog.</p></li></ol></div><p>
    1512         </p></li><li><p>
     1512        </p></li><li class="listitem"><p>
    15131513        The third and correct way (should you do this from the beginning, just carry out steps 1
    15141514        and 2 from the second method above):
    1515         </p><div class="orderedlist"><ol type="1"><li><p>Click on the <span class="guilabel">Advanced</span>
    1516                         tab. (If everything is &#8220;<span class="quote">grayed out,</span>&#8221; then you are not logged
    1517                         in as a user with enough privileges.)</p></li><li><p>Click on the <span class="guibutton">Printing
    1518                         Defaults</span> button.</p></li><li><p>On any of the two new tabs,
     1515        </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>Click on the <span class="guilabel">Advanced</span>
     1516                        tab. (If everything is <span class="quote">&#8220;<span class="quote">grayed out,</span>&#8221;</span> then you are not logged
     1517                        in as a user with enough privileges.)</p></li><li class="listitem"><p>Click on the <span class="guibutton">Printing
     1518                        Defaults</span> button.</p></li><li class="listitem"><p>On any of the two new tabs,
    15191519                        click on the
    1520                         <span class="guilabel">Advanced</span> button.</p></li><li><p>A new dialog opens. Compare
     1520                        <span class="guilabel">Advanced</span> button.</p></li><li class="listitem"><p>A new dialog opens. Compare
    15211521                        this one to the other. Are they
    15221522                        identical when you compare one from
    1523                         &#8220;<span class="quote">B.5</span>&#8221; and one from A.3?</p></li></ol></div></li></ol></div><p>
     1523                        <span class="quote">&#8220;<span class="quote">B.5</span>&#8221;</span> and one from A.3?</p></li></ol></div></li></ol></div><p title="&#8220;I can not set and save default print options for all users on Windows 200x/XP. Why not?&#8221;">
    15241524Do you see any difference in the two settings dialogs? I do not either. However, only the last one, which you
    15251525arrived at with steps C.1 through C.6 will permanently save any settings which will then become the defaults
     
    15301530identical-looking dialogs have a slight difference in their window names; one is called
    15311531<code class="computeroutput">Default Print Values for Printer Foo on Server Bar</code> (which is the one you
    1532 need) and the other is called &#8220;<span class="quote"><code class="computeroutput">Print Settings for Printer Foo on Server
    1533 Bar</code></span>&#8221;. The last one is the one you arrive at when you right-click on the printer and
     1532need) and the other is called <span class="quote">&#8220;<span class="quote"><code class="computeroutput">Print Settings for Printer Foo on Server
     1533Bar</code></span>&#8221;</span>. The last one is the one you arrive at when you right-click on the printer and
    15341534select <span class="guimenuitem">Print Settings...</span>. This is the one that you were taught to use back in the
    15351535days of Windows NT, so it is only natural to try the same way with Windows 200x/XP. You would not dream that
    15361536there is now a different path to arrive at an identical-looking, but functionally different, dialog to set
    15371537defaults for all users.
    1538 </p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>Try (on Windows 200x/XP) to run this command (as a user with the right privileges):
    1539 <a class="indexterm" name="id2630877"></a>
     1538</p><div class="tip" title="Tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>Try (on Windows 200x/XP) to run this command (as a user with the right privileges):
     1539<a class="indexterm" name="id2636975"></a>
    15401540</p><p><strong class="userinput"><code>
    15411541rundll32 printui.dll,PrintUIEntry /p /t3 /n\\<em class="replaceable"><code>SAMBA-SERVER</code></em>\<em class="replaceable"><code>printersharename</code></em>
     
    15481548button (the one that does not set systemwide defaults), you can
    15491549start the commands from inside a DOS box or from <span class="guimenu">Start</span> -&gt; <span class="guimenuitem">Run</span>.
    1550 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2630951"></a>Supporting Large Numbers of Printers</h3></div></div></div><p>
     1550</p></div></div><div class="sect2" title="Supporting Large Numbers of Printers"><div class="titlepage"><div><div><h3 class="title"><a name="id2637048"></a>Supporting Large Numbers of Printers</h3></div></div></div><p>
    15511551One issue that has arisen during the recent development phase of Samba is the need to support driver
    15521552downloads for hundreds of printers. Using Windows NT APW for this task is somewhat awkward (to say the least). If
     
    16281628</pre><p>
    16291629It may not be easy to recognize that the first call to <code class="literal">enumprinters</code> showed the
    1630 &#8220;<span class="quote">dm9110</span>&#8221; printer with an empty string where the driver should have been listed (between
     1630<span class="quote">&#8220;<span class="quote">dm9110</span>&#8221;</span> printer with an empty string where the driver should have been listed (between
    16311631the two commas in the description field). After the <code class="literal">setdriver</code> command
    16321632succeeds, all is well.
    1633 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2631207"></a>Adding New Printers with the Windows NT APW</h3></div></div></div><p>
     1633</p></div><div class="sect2" title="Adding New Printers with the Windows NT APW"><div class="titlepage"><div><div><h3 class="title"><a name="id2637304"></a>Adding New Printers with the Windows NT APW</h3></div></div></div><p>
    16341634By default, Samba exhibits all printer shares defined in <code class="filename">smb.conf</code> in the <span class="guiicon">Printers</span>
    16351635folder. Also located in this folder is the Windows NT Add Printer Wizard icon. The APW will be shown only if:
    1636 </p><div class="itemizedlist"><ul type="disc"><li><p>
     1636</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    16371637        The connected user is able to successfully execute an <code class="literal">OpenPrinterEx(\\server)</code> with
    16381638        administrative privileges (i.e., root or <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a>).
    1639         </p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p> Try this from a Windows 200x/XP DOS box command prompt:
     1639        </p><div class="tip" title="Tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p> Try this from a Windows 200x/XP DOS box command prompt:
    16401640        </p><p><strong class="userinput"><code>
    16411641        runas /netonly /user:root rundll32 printui.dll,PrintUIEntry /p /t0 /n \\<em class="replaceable"><code>SAMBA-SERVER</code></em>\<em class="replaceable"><code>printersharename</code></em>
    16421642        </code></strong></p><p>
    16431643        Click on <span class="guibutton">Printing Preferences</span>.
    1644         </p></div></li><li><p>... contains the setting
     1644        </p></div></li><li class="listitem"><p>... contains the setting
    16451645        <a class="link" href="smb.conf.5.html#SHOWADDPRINTERWIZARD" target="_top">show add printer wizard = yes</a> (the
    16461646        default).</p></li></ul></div><p>
    16471647The APW can do various things:
    1648 </p><div class="itemizedlist"><ul type="disc"><li><p>
     1648</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    16491649        Upload a new driver to the Samba <em class="parameter"><code>[print$]</code></em> share.
    1650         </p></li><li><p>
     1650        </p></li><li class="listitem"><p>
    16511651        Associate an uploaded driver with an existing (but still driverless) print queue.
    1652         </p></li><li><p>
     1652        </p></li><li class="listitem"><p>
    16531653        Exchange the currently used driver for an existing print queue with one that has been uploaded before.
    1654         </p></li><li><p>
     1654        </p></li><li class="listitem"><p>
    16551655        Add an entirely new printer to the Samba host (only in conjunction with a working
    16561656        <a class="link" href="smb.conf.5.html#ADDPRINTERCOMMAND" target="_top">add printer command</a>. A corresponding
     
    16711671you unwittingly under the wrong privilege. You should check it by using the <code class="literal">smbstatus</code>
    16721672command.
    1673 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2631467"></a>Error Message: &#8220;<span class="quote">Cannot connect under a different Name</span>&#8221;</h3></div></div></div><p>
     1673</p></div><div class="sect2" title="Error Message: &#8220;Cannot connect under a different Name&#8221;"><div class="titlepage"><div><div><h3 class="title"><a name="id2637564"></a>Error Message: <span class="quote">&#8220;<span class="quote">Cannot connect under a different Name</span>&#8221;</span></h3></div></div></div><p>
    16741674Once you are connected with the wrong credentials, there is no means to reverse the situation other than
    16751675to close all Explorer windows, and perhaps reboot.
    1676 </p><div class="itemizedlist"><ul type="disc"><li><p>
    1677 <a class="indexterm" name="id2631486"></a>
     1676</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     1677<a class="indexterm" name="id2637584"></a>
    16781678        The <code class="literal">net use \\SAMBA-SERVER\sharename /user:root</code> gives you an error message:
    1679         &#8220;<span class="quote">Multiple connections to a server or a shared resource by the same user utilizing
     1679        <span class="quote">&#8220;<span class="quote">Multiple connections to a server or a shared resource by the same user utilizing
    16801680        several user names are not allowed. Disconnect all previous connections to the server,
    1681         esp. the shared resource, and try again.</span>&#8221;
    1682         </p></li><li><p>
    1683         Every attempt to &#8220;<span class="quote">connect a network drive</span>&#8221; to <code class="filename">\\SAMBASERVER\\print$</code>
    1684         to <code class="constant">z:</code> is countered by the pertinacious message: &#8220;<span class="quote">This
     1681        esp. the shared resource, and try again.</span>&#8221;</span>
     1682        </p></li><li class="listitem"><p>
     1683        Every attempt to <span class="quote">&#8220;<span class="quote">connect a network drive</span>&#8221;</span> to <code class="filename">\\SAMBASERVER\\print$</code>
     1684        to <code class="constant">z:</code> is countered by the pertinacious message: <span class="quote">&#8220;<span class="quote">This
    16851685        network folder is currently connected under different credentials (username and password).
    16861686        Disconnect first any existing connection to this network share in order to connect again under
    1687         a different username and password</span>&#8221;.
     1687        a different username and password</span>&#8221;</span>.
    16881688        </p></li></ul></div><p>
    16891689So you close all connections. You try again. You get the same message. You check from the Samba side, using
     
    17011701</pre><p>
    17021702This will also disconnect all mapped drives and will allow you create fresh connection as required.
    1703 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2631581"></a>Take Care When Assembling Driver Files</h3></div></div></div><p>
     1703</p></div><div class="sect2" title="Take Care When Assembling Driver Files"><div class="titlepage"><div><div><h3 class="title"><a name="id2637678"></a>Take Care When Assembling Driver Files</h3></div></div></div><p>
    17041704You need to be extremely careful when you take notes about the files belonging to a particular
    1705 driver. Don't confuse the files for driver version &#8220;<span class="quote">0</span>&#8221; (for Windows 9x/Me, going into
     1705driver. Don't confuse the files for driver version <span class="quote">&#8220;<span class="quote">0</span>&#8221;</span> (for Windows 9x/Me, going into
    17061706<code class="filename">[print$]/WIN/0/</code>), driver version <code class="filename">2</code> (kernel mode driver for Windows NT,
    17071707going into <code class="filename">[print$]/W32X86/2/</code>; may be used on Windows 200x/XP also), and
    1708 driver version &#8220;<span class="quote">3</span>&#8221; (non-kernel mode driver going into <code class="filename">[print$]/W32X86/3/</code>;
     1708driver version <span class="quote">&#8220;<span class="quote">3</span>&#8221;</span> (non-kernel mode driver going into <code class="filename">[print$]/W32X86/3/</code>;
    17091709cannot be used on Windows NT). Quite often these different driver versions contain
    17101710files that have the same name but actually are very different. If you look at them from
     
    17781778
    17791779</pre><p>
    1780 If we write the &#8220;<span class="quote">version 2</span>&#8221; files and the &#8220;<span class="quote">version 3</span>&#8221; files
     1780If we write the <span class="quote">&#8220;<span class="quote">version 2</span>&#8221;</span> files and the <span class="quote">&#8220;<span class="quote">version 3</span>&#8221;</span> files
    17811781into different text files and compare the result, we see this
    17821782picture:
     
    18321832correct driver files for each driver version. Don't rely on the names alone, and don't interchange files
    18331833belonging to different driver versions.
    1834 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2631890"></a>Samba and Printer Ports</h3></div></div></div><p>
    1835 <a class="indexterm" name="id2631898"></a>
    1836 <a class="indexterm" name="id2631905"></a>
    1837 <a class="indexterm" name="id2631912"></a>
    1838 <a class="indexterm" name="id2631918"></a>
     1834</p></div><div class="sect2" title="Samba and Printer Ports"><div class="titlepage"><div><div><h3 class="title"><a name="id2637988"></a>Samba and Printer Ports</h3></div></div></div><p>
     1835<a class="indexterm" name="id2637996"></a>
     1836<a class="indexterm" name="id2638002"></a>
     1837<a class="indexterm" name="id2638009"></a>
     1838<a class="indexterm" name="id2638016"></a>
    18391839Windows NT/2000 print servers associate a port with each printer. These normally take the form of
    18401840<code class="filename">LPT1:</code>, <code class="filename">COM1:</code>, <code class="filename">FILE:</code>, and so on. Samba must also
    1841 support the concept of ports associated with a printer. By default, only one printer port, named &#8220;<span class="quote">Samba
    1842 Printer Port</span>&#8221;, exists on a system. Samba does not really need such a &#8220;<span class="quote">port</span>&#8221; in order to
     1841support the concept of ports associated with a printer. By default, only one printer port, named <span class="quote">&#8220;<span class="quote">Samba
     1842Printer Port</span>&#8221;</span>, exists on a system. Samba does not really need such a <span class="quote">&#8220;<span class="quote">port</span>&#8221;</span> in order to
    18431843print; rather it is a requirement of Windows clients. They insist on being told about an available port when
    18441844they request this information; otherwise, they throw an error message at you. So Samba fakes the port
    18451845information to keep the Windows clients happy.
    18461846</p><p>
    1847 <a class="indexterm" name="id2631963"></a>
     1847<a class="indexterm" name="id2638060"></a>
    18481848Samba does not support the concept of <code class="constant">Printer Pooling</code> internally either. Printer
    18491849pooling assigns a logical printer to multiple ports as a form of load balancing or failover.
     
    18521852that they are working with Samba), configure the <a class="link" href="smb.conf.5.html#ENUMPORTSCOMMAND" target="_top">enumports command</a>,
    18531853which can be used to define an external program that generates a listing of ports on a system.
    1854 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2631999"></a>Avoiding Common Client Driver Misconfiguration</h3></div></div></div><p>
     1854</p></div><div class="sect2" title="Avoiding Common Client Driver Misconfiguration"><div class="titlepage"><div><div><h3 class="title"><a name="id2638097"></a>Avoiding Common Client Driver Misconfiguration</h3></div></div></div><p>
    18551855So now the printing works, but there are still problems. Most jobs print well, some do not print at
    18561856all. Some jobs have problems with fonts, which do not look good. Some jobs print fast and some
    18571857are dead-slow. We cannot cover it all, but we want to encourage you to read the brief paragraph about
    1858 &#8220;<span class="quote">Avoiding the Wrong PostScript Driver Settings</span>&#8221; in <a class="link" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support">CUPS Printing
     1858<span class="quote">&#8220;<span class="quote">Avoiding the Wrong PostScript Driver Settings</span>&#8221;</span> in <a class="link" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support">CUPS Printing
    18591859Chapter</a>, <a class="link" href="CUPS-printing.html#cups-avoidps1" title="Avoiding Critical PostScript Driver Settings on the Client">Avoiding Critical PostScript Driver Settings on the
    18601860Client</a>.
    1861 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2632036"></a>The Imprints Toolset</h2></div></div></div><p>
    1862 <a class="indexterm" name="id2632044"></a>
     1861</p></div></div><div class="sect1" title="The Imprints Toolset"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2638134"></a>The Imprints Toolset</h2></div></div></div><p>
     1862<a class="indexterm" name="id2638142"></a>
    18631863The Imprints tool set provides a UNIX equivalent of the Windows NT APW.  For complete information, please
    18641864refer to the <a class="ulink" href="http://imprints.sourceforge.net/" target="_top">Imprints</a> Web site as well as the
     
    18721872there are prepared packages to use. Packages for more up-to-date print devices are needed if Imprints
    18731873should have a future. Information regarding the Imprints toolset can be obtained from the <a class="ulink" href="http://imprints.sourceforge.net/" target="_top">Imprints</a> home page.
    1874 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2632082"></a>What Is Imprints?</h3></div></div></div><p>
     1874</p><div class="sect2" title="What Is Imprints?"><div class="titlepage"><div><div><h3 class="title"><a name="id2638180"></a>What Is Imprints?</h3></div></div></div><p>
    18751875Imprints is a collection of tools for supporting these goals:
    1876 </p><div class="itemizedlist"><ul type="disc"><li><p>
     1876</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    18771877        Providing a central repository of information regarding Windows NT and 95/98 printer driver packages.
    1878         </p></li><li><p>
     1878        </p></li><li class="listitem"><p>
    18791879        Providing the tools necessary for creating the Imprints printer driver packages.
    1880         </p></li><li><p>
     1880        </p></li><li class="listitem"><p>
    18811881        Providing an installation client that will obtain printer drivers from a central Internet (or intranet) Imprints Server
    18821882        repository and install them on remote Samba and Windows NT4 print servers.
    1883         </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2632117"></a>Creating Printer Driver Packages</h3></div></div></div><p>
     1883        </p></li></ul></div></div><div class="sect2" title="Creating Printer Driver Packages"><div class="titlepage"><div><div><h3 class="title"><a name="id2638214"></a>Creating Printer Driver Packages</h3></div></div></div><p>
    18841884The process of creating printer driver packages is beyond the scope of this document (refer to Imprints.txt,
    18851885included with the Samba distribution for more information). In short, an Imprints driver package
    18861886is a gzipped tarball containing the driver files, related INF files, and a control file needed by the
    18871887installation client.
    1888 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2632132"></a>The Imprints Server</h3></div></div></div><p>
     1888</p></div><div class="sect2" title="The Imprints Server"><div class="titlepage"><div><div><h3 class="title"><a name="id2638230"></a>The Imprints Server</h3></div></div></div><p>
    18891889The Imprints server is really a database server that may be queried via standard HTTP mechanisms. Each
    18901890printer entry in the database has an associated URL for the actual downloading of the package. Each
     
    18931893the one referred in the Imprints database. It is strongly recommended that this security check
    18941894not be disabled.
    1895 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2632150"></a>The Installation Client</h3></div></div></div><p>
     1895</p></div><div class="sect2" title="The Installation Client"><div class="titlepage"><div><div><h3 class="title"><a name="id2638247"></a>The Installation Client</h3></div></div></div><p>
    18961896More information regarding the Imprints installation client is available from the documentation file
    18971897<code class="filename">Imprints-Client-HOWTO.ps</code> that is included with the Imprints source package. The Imprints
    18981898installation client comes in two forms:
    1899 </p><div class="itemizedlist"><ul type="disc"><li><p>A set of command-line Perl scripts.</p></li><li><p>A GTK+-based graphical interface to the command-line Perl scripts.</p></li></ul></div><p>
     1899</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>A set of command-line Perl scripts.</p></li><li class="listitem"><p>A GTK+-based graphical interface to the command-line Perl scripts.</p></li></ul></div><p>
    19001900The installation client (in both forms) provides a means of querying the Imprints database server for
    19011901a matching list of known printer model names as well as a means to download and install the drivers on
     
    19031903</p><p>
    19041904The basic installation process is in four steps, and Perl code is wrapped around smbclient and rpcclient.
    1905 </p><div class="itemizedlist"><ul type="disc"><li><p>
     1905</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    19061906        For each supported architecture for a given driver:
    1907         </p><div class="orderedlist"><ol type="1"><li><p>rpcclient: Get the appropriate upload directory on the remote server.</p></li><li><p>smbclient: Upload the driver files.</p></li><li><p>rpcclient: Issues an AddPrinterDriver() MS-RPC.</p></li></ol></div><p>
    1908         </p></li><li><p>rpcclient: Issues an AddPrinterEx() MS-RPC to actually create the printer.</p></li></ul></div><p>
     1907        </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>rpcclient: Get the appropriate upload directory on the remote server.</p></li><li class="listitem"><p>smbclient: Upload the driver files.</p></li><li class="listitem"><p>rpcclient: Issues an AddPrinterDriver() MS-RPC.</p></li></ol></div><p>
     1908        </p></li><li class="listitem"><p>rpcclient: Issues an AddPrinterEx() MS-RPC to actually create the printer.</p></li></ul></div><p>
    19091909One of the problems encountered when implementing the Imprints tool set was the namespace issues between
    1910 various supported client architectures. For example, Windows NT includes a driver named &#8220;<span class="quote">Apple LaserWriter
    1911 II NTX v51.8</span>&#8221;, and Windows 95 calls its version of this driver &#8220;<span class="quote">Apple LaserWriter II NTX</span>&#8221;.
     1910various supported client architectures. For example, Windows NT includes a driver named <span class="quote">&#8220;<span class="quote">Apple LaserWriter
     1911II NTX v51.8</span>&#8221;</span>, and Windows 95 calls its version of this driver <span class="quote">&#8220;<span class="quote">Apple LaserWriter II NTX</span>&#8221;</span>.
    19121912</p><p>
    19131913The problem is how to know what client drivers have been uploaded for a printer. An astute reader will
     
    19191919will reveal that Windows NT always uses the NT driver name. This is okay because Windows NT always requires
    19201920that at least the Windows NT version of the printer driver is present. Samba does not have the
    1921 requirement internally; therefore, &#8220;<span class="quote">How can you use the NT driver name if it has not already been installed?</span>&#8221;
     1921requirement internally; therefore, <span class="quote">&#8220;<span class="quote">How can you use the NT driver name if it has not already been installed?</span>&#8221;</span>
    19221922</p><p>
    19231923The way of sidestepping this limitation is to require that all Imprints printer driver packages include both the Intel Windows NT and
    1924192495/98 printer drivers and that the NT driver is installed first.
    1925 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2632283"></a>Adding Network Printers without User Interaction</h2></div></div></div><p>
     1925</p></div></div><div class="sect1" title="Adding Network Printers without User Interaction"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2638381"></a>Adding Network Printers without User Interaction</h2></div></div></div><p>
    19261926The following MS Knowledge Base article may be of some help if you need to handle Windows 2000 clients:
    19271927<span class="emphasis"><em>How to Add Printers with No User Interaction in Windows 2000,</em></span> (<a class="ulink" href="http://support.microsoft.com/default.aspx?scid=kb;en-us;189105" target="_top">Microsoft KB 189105</a>).  It also
     
    19421942</pre><p>
    19431943Here is a list of the used command-line parameters:
    1944 </p><div class="variablelist"><dl><dt><span class="term">/dn</span></dt><dd><p>deletes a network printer.</p></dd><dt><span class="term">/q</span></dt><dd><p>quiet modus.</p></dd><dt><span class="term">/n</span></dt><dd><p>names a printer.</p></dd><dt><span class="term">/in</span></dt><dd><p>adds a network printer connection.</p></dd><dt><span class="term">/y</span></dt><dd><p>sets printer as default printer.</p></dd></dl></div><div class="itemizedlist"><ul type="disc"><li><p>
     1944</p><div class="variablelist"><dl><dt><span class="term">/dn</span></dt><dd><p>deletes a network printer.</p></dd><dt><span class="term">/q</span></dt><dd><p>quiet modus.</p></dd><dt><span class="term">/n</span></dt><dd><p>names a printer.</p></dd><dt><span class="term">/in</span></dt><dd><p>adds a network printer connection.</p></dd><dt><span class="term">/y</span></dt><dd><p>sets printer as default printer.</p></dd></dl></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    19451945        Line 1 deletes a possibly existing previous network printer <span class="emphasis"><em>infotec2105-IPDS</em></span>
    19461946        (which had used native Windows drivers with LPRng that were removed from the server that was
    19471947        converted to CUPS). The <code class="literal">/q</code> at the end prevents confirm
    19481948        or error dialog boxes from popping up. They should not be presented to the user logging on.
    1949         </p></li><li><p>       
     1949        </p></li><li class="listitem"><p>       
    19501950        Line 2 adds the new printer
    19511951        <span class="emphasis"><em>infotec2105-PS</em></span> (which actually is the same
     
    19551955        <code class="literal">cupsaddsmb</code>). The driver is now autodownloaded to the client PC where the
    19561956        user is about to log in.
    1957         </p></li><li><p>
     1957        </p></li><li class="listitem"><p>
    19581958        Line 3 sets the default printer to this new network printer (there might be several other
    19591959        printers installed with this same method, and some may be local as well, so we decide for a
     
    19731973</p><p>
    19741974The additional benefits for this are:
    1975 </p><div class="itemizedlist"><ul type="disc"><li><p>
     1975</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    19761976        It puts in place any printer default setup changes automatically at every user logon.
    1977         </p></li><li><p>
    1978         It allows for &#8220;<span class="quote">roaming</span>&#8221; users' login to the domain from different workstations.
     1977        </p></li><li class="listitem"><p>
     1978        It allows for <span class="quote">&#8220;<span class="quote">roaming</span>&#8221;</span> users' login to the domain from different workstations.
    19791979        </p></li></ul></div><p>
    19801980Since network printers are installed per user, this much simplifies the process of keeping the installation
     
    19821982added, changed, and deleted at will on the server with no user intervention required from the clients
    19831983(you just need to keep the logon scripts up to date).
    1984 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2632557"></a>The <code class="literal">addprinter</code> Command</h2></div></div></div><p>
     1984</p></div><div class="sect1" title="The addprinter Command"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2638654"></a>The <code class="literal">addprinter</code> Command</h2></div></div></div><p>
    19851985The <code class="literal">addprinter</code> command can be configured to be a shell script or program executed by
    19861986Samba. It is triggered by running the APW from a client against the Samba print server. The APW asks
     
    19901990by executing the <code class="literal">lpadmin</code> command on more modern systems) and create the associated share,
    19911991then the APW will in effect really create a new printer on Samba and the UNIX print subsystem!
    1992 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2632596"></a>Migration of Classical Printing to Samba</h2></div></div></div><p>
     1992</p></div><div class="sect1" title="Migration of Classical Printing to Samba"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2638693"></a>Migration of Classical Printing to Samba</h2></div></div></div><p>
    19931993The basic NT-style printer driver management has not changed considerably in 3.0 over the 2.2.x releases
    19941994(apart from many small improvements). Here migration should be quite easy, especially if you followed
     
    19971997an effort. Please read the appropriate release notes and the HOWTO Collection for Samba-2.2.x. You can
    19981998follow several paths. Here are possible scenarios for migration:
    1999 </p><div class="itemizedlist"><ul type="disc"><li><p>
     1999</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    20002000        You need to study and apply the new Windows NT printer and driver support. Previously used
    20012001        parameters <em class="parameter"><code>printer driver file</code></em>, <em class="parameter"><code>printer driver</code></em>,
    20022002        and <em class="parameter"><code>printer driver location</code></em> are no longer supported.
    2003         </p></li><li><p>
     2003        </p></li><li class="listitem"><p>
    20042004        If you want to take advantage of Windows NT printer driver support, you also need to migrate the
    20052005        Windows 9x/Me drivers to the new setup.
    2006         </p></li><li><p>
     2006        </p></li><li class="listitem"><p>
    20072007        An existing <code class="filename">printers.def</code> file (the one specified in the now removed parameter
    20082008        <em class="parameter"><code>printer driver file</code></em>) will no longer work with Samba-3. In 3.0, smbd attempts
     
    20112011        (as 2.2.x used to do) drop down to using a <code class="filename">printers.def</code> (and all associated
    20122012        parameters). The make_printerdef tool is removed and there is no backward compatibility for this.
    2013         </p></li><li><p>You need to install a Windows 9x/Me driver into the
     2013        </p></li><li class="listitem"><p>You need to install a Windows 9x/Me driver into the
    20142014        <em class="parameter"><code>[print$]</code></em> share for a printer on your Samba
    2015         host. The driver files will be stored in the &#8220;<span class="quote">WIN40/0</span>&#8221; subdirectory of
     2015        host. The driver files will be stored in the <span class="quote">&#8220;<span class="quote">WIN40/0</span>&#8221;</span> subdirectory of
    20162016        <em class="parameter"><code>[print$]</code></em>, and some other settings and information go
    2017         into the printing-related TDBs.</p></li><li><p>
     2017        into the printing-related TDBs.</p></li><li class="listitem"><p>
    20182018        If you want to migrate an existing <code class="filename">printers.def</code> file into the new setup, the only current
    20192019        solution is to use the Windows NT APW to install the NT drivers and the 9x/Me drivers. This can be scripted
    20202020        using smbclient and rpcclient. See the Imprints installation client on the <a class="ulink" href="http://imprints.sourceforge.net/" target="_top">Imprints</a> web site for example. See also the discussion of
    20212021        rpcclient usage in <a class="link" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support">CUPS Printing</a>.
    2022         </p></li></ul></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2632744"></a>Publishing Printer Information in Active Directory or LDAP</h2></div></div></div><p>
     2022        </p></li></ul></div></div><div class="sect1" title="Publishing Printer Information in Active Directory or LDAP"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2638842"></a>Publishing Printer Information in Active Directory or LDAP</h2></div></div></div><p>
    20232023This topic has also been addressed in <a class="link" href="NetCommand.html" title="Chapter 13. Remote and Local Management: The Net Command">Remote and Local Management  The
    20242024Net Command</a>. If you wish to volunteer your services to help document this further, please contact
    20252025<a class="ulink" href="mail://jht@samba.org" target="_top">John H. Terpstra</a>.
    2026 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2632774"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2632780"></a>I Give My Root Password but I Do Not Get Access</h3></div></div></div><p>
     2026</p></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2638871"></a>Common Errors</h2></div></div></div><div class="sect2" title="I Give My Root Password but I Do Not Get Access"><div class="titlepage"><div><div><h3 class="title"><a name="id2638877"></a>I Give My Root Password but I Do Not Get Access</h3></div></div></div><p>
    20272027Do not confuse the root password, which is valid for the UNIX system (and in most cases stored in the
    20282028form of a one-way hash in a file named <code class="filename">/etc/shadow</code>), with the password used to
     
    20352035Retype new SMB password: secret
    20362036</pre><p>
    2037 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2632821"></a>My Print Jobs Get Spooled into the Spooling Directory, but Then Get Lost</h3></div></div></div><p>
     2037</p></div><div class="sect2" title="My Print Jobs Get Spooled into the Spooling Directory, but Then Get Lost"><div class="titlepage"><div><div><h3 class="title"><a name="id2638918"></a>My Print Jobs Get Spooled into the Spooling Directory, but Then Get Lost</h3></div></div></div><p>
    20382038Do not use the existing UNIX print system spool directory for the Samba spool directory. It may seem
    20392039convenient and a savings of space, but it only leads to problems. The two must be separate. The UNIX/Linux
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/compiling.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 42. How to Compile Samba</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="Appendix.html" title="Part VI. Reference Section"><link rel="next" href="Portability.html" title="Chapter 43. Portability"></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 42. How to Compile Samba</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Appendix.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="Portability.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="compiling"></a>Chapter 42. How to Compile Samba</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="orgname">Samba Team</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate"> 22 May 2001 </p></div><div><p class="pubdate"> 18 March 2003 </p></div><div><p class="pubdate"> June 2005 </p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="compiling.html#id2687571">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2687577">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2687618">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2687810">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2687884">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2688022">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2688260">Compiling Samba with Active Directory Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#startingSamba">Starting the smbd nmbd and winbindd</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2688531">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2688751">Alternative: Starting smbd as a Daemon</a></span></dt></dl></dd></dl></div><p>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 42. How to Compile Samba</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="Appendix.html" title="Part VI. Reference Section"><link rel="next" href="Portability.html" title="Chapter 43. Portability"></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 42. How to Compile Samba</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Appendix.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="Portability.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 42. How to Compile Samba"><div class="titlepage"><div><div><h2 class="title"><a name="compiling"></a>Chapter 42. How to Compile Samba</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate"> 22 May 2001 </p></div><div><p class="pubdate"> 18 March 2003 </p></div><div><p class="pubdate"> June 2005 </p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="compiling.html#id2693628">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2693634">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2693675">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2693866">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2693941">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2694079">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2694316">Compiling Samba with Active Directory Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#startingSamba">Starting the <span class="application">smbd</span> <span class="application">nmbd</span> and <span class="application">winbindd</span></a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2694587">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2694807">Alternative: Starting <span class="application">smbd</span> as a Daemon</a></span></dt></dl></dd></dl></div><p>
    22You can obtain the Samba source file from the
    33<a class="ulink" href="http://samba.org/" target="_top">Samba Web site</a>. To obtain a development version,
    44you can download Samba from Subversion or using <code class="literal">rsync</code>.
    5 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2687571"></a>Access Samba Source Code via Subversion</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2687577"></a>Introduction</h3></div></div></div><p>
    6 <a class="indexterm" name="id2687585"></a>
     5</p><div class="sect1" title="Access Samba Source Code via Subversion"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2693628"></a>Access Samba Source Code via Subversion</h2></div></div></div><div class="sect2" title="Introduction"><div class="titlepage"><div><div><h3 class="title"><a name="id2693634"></a>Introduction</h3></div></div></div><p>
     6<a class="indexterm" name="id2693642"></a>
    77Samba is developed in an open environment. Developers use a
    8 Subversion to &#8220;<span class="quote">checkin</span>&#8221; (also known as
    9 &#8220;<span class="quote">commit</span>&#8221;) new source code. Samba's various Subversion branches can
     8Subversion to <span class="quote">&#8220;<span class="quote">checkin</span>&#8221;</span> (also known as
     9<span class="quote">&#8220;<span class="quote">commit</span>&#8221;</span>) new source code. Samba's various Subversion branches can
    1010be accessed via anonymous Subversion using the instructions
    1111detailed in this chapter.
     
    1313This chapter is a modified version of the instructions found at the
    1414<a class="ulink" href="http://samba.org/samba/subversion.html" target="_top">Samba</a> Web site.
    15 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2687618"></a>Subversion Access to samba.org</h3></div></div></div><p>
     15</p></div><div class="sect2" title="Subversion Access to samba.org"><div class="titlepage"><div><div><h3 class="title"><a name="id2693675"></a>Subversion Access to samba.org</h3></div></div></div><p>
    1616The machine samba.org runs a publicly accessible Subversion
    1717repository for access to the source code of several packages,
    1818including Samba, rsync, distcc, ccache, and jitterbug. There are two main ways
    1919of accessing the Subversion server on this host.
    20 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2687632"></a>Access via ViewCVS</h4></div></div></div><p>
    21 <a class="indexterm" name="id2687640"></a>
     20</p><div class="sect3" title="Access via ViewCVS"><div class="titlepage"><div><div><h4 class="title"><a name="id2693689"></a>Access via ViewCVS</h4></div></div></div><p>
     21<a class="indexterm" name="id2693696"></a>
    2222You can access the source code via your favorite WWW browser. This allows you to access
    2323the contents of individual files in the repository and also to look at the revision
     
    2727Use the URL
    2828<a class="ulink" href="http://viewcvs.samba.org/" target="_top">http://viewcvs.samba.org/</a>.
    29 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2687668"></a>Access via Subversion</h4></div></div></div><p>
    30 <a class="indexterm" name="id2687676"></a>
     29</p></div><div class="sect3" title="Access via Subversion"><div class="titlepage"><div><div><h4 class="title"><a name="id2693724"></a>Access via Subversion</h4></div></div></div><p>
     30<a class="indexterm" name="id2693732"></a>
    3131You can also access the source code via a normal Subversion client. This gives you much more control over what
    3232you can do with the repository and allows you to check out whole source trees and keep them up to date via
     
    3838</p><p>
    3939To gain access via anonymous Subversion, use the following steps.
    40 </p><div class="procedure"><a name="id2687709"></a><p class="title"><b>Procedure 42.1. Retrieving Samba using Subversion</b></p><ol type="1"><li><p>
     40</p><div class="procedure" title="Procedure 42.1. Retrieving Samba using Subversion"><a name="id2693765"></a><p class="title"><b>Procedure 42.1. Retrieving Samba using Subversion</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    4141        Install a recent copy of Subversion. All you really need is a
    4242        copy of the Subversion client binary.
    43         </p></li><li><p>
     43        </p></li><li class="step" title="Step 2"><p>
    4444        Run the command
    4545        </p><pre class="screen">
     
    5252        </p><p>
    5353        Subversion branches other then trunk can be obtained by adding branches/BRANCH_NAME to the URL you check
    54         out. A list of branch names can be found on the &#8220;<span class="quote">Development</span>&#8221; page of the Samba Web site. A
     54        out. A list of branch names can be found on the <span class="quote">&#8220;<span class="quote">Development</span>&#8221;</span> page of the Samba Web site. A
    5555        common request is to obtain the latest 3.0 release code. This could be done by using the following command:
    5656        </p><pre class="screen">
    5757        <strong class="userinput"><code>svn co svn://svnanon.samba.org/samba/branches/SAMBA_3_0 samba_3</code></strong>.
    5858        </pre><p>
    59         </p></li><li><p>
     59        </p></li><li class="step" title="Step 3"><p>
    6060        Whenever you want to merge in the latest code changes, use the following command from within the Samba
    6161        directory:
     
    6363        <strong class="userinput"><code>svn update</code></strong>
    6464        </pre><p>
    65         </p></li></ol></div></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2687810"></a>Accessing the Samba Sources via rsync and ftp</h2></div></div></div><p>
    66         <a class="indexterm" name="id2687818"></a>
    67         <a class="indexterm" name="id2687825"></a>
     65        </p></li></ol></div></div></div></div><div class="sect1" title="Accessing the Samba Sources via rsync and ftp"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2693866"></a>Accessing the Samba Sources via rsync and ftp</h2></div></div></div><p>
     66        <a class="indexterm" name="id2693875"></a>
     67        <a class="indexterm" name="id2693882"></a>
    6868        <em class="parameter"><code>pserver.samba.org</code></em> also exports unpacked copies of most parts of the Subversion tree
    6969        at the Samba <a class="ulink" href="ftp://pserver.samba.org/pub/unpacked" target="_top">pserver</a> location and also
     
    7575        merging of local changes as Subversion does. <code class="literal">rsync</code> access is most convenient
    7676        for an initial install.                     
    77         </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2687884"></a>Verifying Samba's PGP Signature</h2></div></div></div><p>
    78 <a class="indexterm" name="id2687892"></a>
    79 <a class="indexterm" name="id2687899"></a>
     77        </p></div><div class="sect1" title="Verifying Samba's PGP Signature"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2693941"></a>Verifying Samba's PGP Signature</h2></div></div></div><p>
     78<a class="indexterm" name="id2693949"></a>
     79<a class="indexterm" name="id2693956"></a>
    8080It is strongly recommended that you verify the PGP signature for any source file before
    8181installing it. Even if you're not downloading from a mirror site, verifying PGP signatures
     
    8888<code class="prompt">$ </code><strong class="userinput"><code>wget http://us1.samba.org/samba/ftp/samba-pubkey.asc</code></strong>
    8989</pre><p>
    90 <a class="indexterm" name="id2687947"></a>
     90<a class="indexterm" name="id2694004"></a>
    9191The first file is the PGP signature for the Samba source file; the other is the Samba public
    9292PGP key itself. Import the public PGP key with:
     
    100100</pre><p>
    101101</p><p>
    102 If you receive a message like, &#8220;<span class="quote">Good signature from Samba Distribution Verification Key...,</span>&#8221;
     102If you receive a message like, <span class="quote">&#8220;<span class="quote">Good signature from Samba Distribution Verification Key...,</span>&#8221;</span>
    103103then all is well. The warnings about trust relationships can be ignored. An
    104104example of what you would not want to see would be:
    105105</p><pre class="screen">
    106 gpg: BAD signature from &#8220;<span class="quote">Samba Distribution Verification Key</span>&#8221;
    107 </pre><p>
    108 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2688022"></a>Building the Binaries</h2></div></div></div><p>
    109         <a class="indexterm" name="id2688030"></a>
    110 <a class="indexterm" name="id2688037"></a>
     106gpg: BAD signature from <span class="quote">&#8220;<span class="quote">Samba Distribution Verification Key</span>&#8221;</span>
     107</pre><p>
     108</p></div><div class="sect1" title="Building the Binaries"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2694079"></a>Building the Binaries</h2></div></div></div><p>
     109        <a class="indexterm" name="id2694087"></a>
     110<a class="indexterm" name="id2694094"></a>
    111111        After the source tarball has been unpacked, the next step involves
    112112        configuration to match Samba to your operating system platform.
     
    121121</pre><p>
    122122        </p><p>
    123         <a class="indexterm" name="id2688079"></a>
     123        <a class="indexterm" name="id2694136"></a>
    124124        To build the binaries, run the program <strong class="userinput"><code>./configure
    125125        </code></strong> in the source directory. This should automatically
     
    136136</pre><p>
    137137        </p><p>
    138         <a class="indexterm" name="id2688144"></a>
     138        <a class="indexterm" name="id2694201"></a>
    139139        Execute the following create the binaries:
    140140</p><pre class="screen">
     
    158158        </p><p>
    159159        Note that if you are upgrading from a previous version of Samba the old
    160         versions of the binaries will be renamed with an &#8220;<span class="quote">.old</span>&#8221; extension.
     160        versions of the binaries will be renamed with an <span class="quote">&#8220;<span class="quote">.old</span>&#8221;</span> extension.
    161161        You can go back to the previous version by executing:
    162162</p><pre class="screen">
     
    165165        As you can see from this, building and installing Samba does not need to
    166166        result in disaster!
    167         </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2688260"></a>Compiling Samba with Active Directory Support</h3></div></div></div><p>
     167        </p><div class="sect2" title="Compiling Samba with Active Directory Support"><div class="titlepage"><div><div><h3 class="title"><a name="id2694316"></a>Compiling Samba with Active Directory Support</h3></div></div></div><p>
    168168        In order to compile Samba with ADS support, you need to have installed
    169169        on your system:
    170         </p><div class="itemizedlist"><ul type="disc"><li><p>
     170        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    171171                The MIT or Heimdal Kerberos development libraries
    172172            (either install from the sources or use a package).
    173                 </p></li><li><p>
     173                </p></li><li class="listitem"><p>
    174174                The OpenLDAP development libraries.
    175175                </p></li></ul></div><p>
     
    188188        your LDAP libraries. Look in <code class="filename">config.log</code> to figure
    189189        out why and fix it.
    190         </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2688326"></a>Installing the Required Packages for Debian</h4></div></div></div><p>On Debian, you need to install the following packages:</p><p>
    191                 </p><div class="itemizedlist"><ul type="disc"><li><p>libkrb5-dev</p></li><li><p>krb5-user</p></li></ul></div><p>
    192         </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2688352"></a>Installing the Required Packages for Red Hat Linux</h4></div></div></div><p>On Red Hat Linux, this means you should have at least: </p><p>
    193                 </p><div class="itemizedlist"><ul type="disc"><li><p>krb5-workstation (for kinit)</p></li><li><p>krb5-libs (for linking with)</p></li><li><p>krb5-devel (because you are compiling from source)</p></li></ul></div><p>
     190        </p><div class="sect3" title="Installing the Required Packages for Debian"><div class="titlepage"><div><div><h4 class="title"><a name="id2694382"></a>Installing the Required Packages for Debian</h4></div></div></div><p>On Debian, you need to install the following packages:</p><p>
     191                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>libkrb5-dev</p></li><li class="listitem"><p>krb5-user</p></li></ul></div><p>
     192        </p></div><div class="sect3" title="Installing the Required Packages for Red Hat Linux"><div class="titlepage"><div><div><h4 class="title"><a name="id2694409"></a>Installing the Required Packages for Red Hat Linux</h4></div></div></div><p>On Red Hat Linux, this means you should have at least: </p><p>
     193                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>krb5-workstation (for kinit)</p></li><li class="listitem"><p>krb5-libs (for linking with)</p></li><li class="listitem"><p>krb5-devel (because you are compiling from source)</p></li></ul></div><p>
    194194        </p><p>in addition to the standard development environment.</p><p>If these files are not installed on your system, you should check the installation
    195195        CDs to find which has them and install the files using your tool of choice. If in doubt
    196         about what tool to use, refer to the Red Hat Linux documentation.</p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2688397"></a>SuSE Linux Package Requirements</h4></div></div></div><p>
     196        about what tool to use, refer to the Red Hat Linux documentation.</p></div><div class="sect3" title="SuSE Linux Package Requirements"><div class="titlepage"><div><div><h4 class="title"><a name="id2694454"></a>SuSE Linux Package Requirements</h4></div></div></div><p>
    197197        SuSE Linux installs Heimdal packages that may be required to allow you to build
    198198        binary packages. You should verify that the development libraries have been installed on
     
    204204        the maximum capabilities that are available. You should consider using SuSE-provided
    205205        packages where they are available.
    206         </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="startingSamba"></a>Starting the <span class="application">smbd</span> <span class="application">nmbd</span> and <span class="application">winbindd</span></h2></div></div></div><p>
    207         <a class="indexterm" name="id2688451"></a>
     206        </p></div></div></div><div class="sect1" title="Starting the smbd nmbd and winbindd"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="startingSamba"></a>Starting the <span class="application">smbd</span> <span class="application">nmbd</span> and <span class="application">winbindd</span></h2></div></div></div><p>
     207        <a class="indexterm" name="id2694508"></a>
    208208        You must choose to start <span class="application">smbd</span>, <span class="application">winbindd</span>  and <span class="application">nmbd</span> either as daemons or from
    209209        <span class="application">inetd</span>. Don't try to do both!  Either you can put
     
    217217        The main advantage of starting <span class="application">smbd</span> and <span class="application">nmbd</span> using the recommended daemon method
    218218        is that they will respond slightly more quickly to an initial connection request.
    219         </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2688531"></a>Starting from inetd.conf</h3></div></div></div><a class="indexterm" name="id2688536"></a><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>The following will be different if
     219        </p><div class="sect2" title="Starting from inetd.conf"><div class="titlepage"><div><div><h3 class="title"><a name="id2694587"></a>Starting from inetd.conf</h3></div></div></div><a class="indexterm" name="id2694593"></a><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>The following will be different if
    220220        you use NIS, NIS+, or LDAP to distribute services maps.</p></div><p>Look at your <code class="filename">/etc/services</code>.
    221221        What is defined at port 139/tcp? If nothing is defined,
     
    226226netbios-ns dgram udp wait root /usr/local/samba/sbin/nmbd nmbd
    227227</pre><p>
    228         </p><a class="indexterm" name="id2688599"></a><p>
     228        </p><a class="indexterm" name="id2694656"></a><p>
    229229        The exact syntax of <code class="filename">/etc/inetd.conf</code>
    230230        varies between UNIXes. Look at the other entries in inetd.conf
    231231        for a guide.
    232232        </p><p>
    233         <a class="indexterm" name="id2688619"></a>
     233        <a class="indexterm" name="id2694676"></a>
    234234        Some distributions use xinetd instead of inetd. Consult the
    235235        xinetd manual for configuration information.
    236         </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>Some UNIXes already have entries like netbios_ns
     236        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>Some UNIXes already have entries like netbios_ns
    237237        (note the underscore) in <code class="filename">/etc/services</code>.
    238238        You must edit <code class="filename">/etc/services</code> or
    239239        <code class="filename">/etc/inetd.conf</code> to make them consistent.
    240         </p></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    241         <a class="indexterm" name="id2688657"></a>
     240        </p></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     241        <a class="indexterm" name="id2694714"></a>
    242242        On many systems you may need to use the
    243243        <a class="link" href="smb.conf.5.html#INTERFACES" target="_top">interfaces</a> option in <code class="filename">smb.conf</code> to specify
     
    246246        not know what the broadcast is for your net. <span class="application">nmbd</span> tries
    247247        to determine it at runtime, but fails on some UNIXes.
    248         </p></div><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
     248        </p></div><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
    249249        Many UNIXes only accept around five parameters on the command
    250250        line in <code class="filename">inetd.conf</code>.  This means you shouldn't
     
    254254        Restart <span class="application">inetd</span>, perhaps just send it a HUP,
    255255        like this:
    256 <a class="indexterm" name="id2688726"></a>
     256<a class="indexterm" name="id2694782"></a>
    257257</p><pre class="screen">
    258258<code class="prompt">root# </code><strong class="userinput"><code>killall -HUP inetd</code></strong>
    259259</pre><p>
    260         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2688751"></a>Alternative: Starting <span class="application">smbd</span> as a Daemon</h3></div></div></div><p>
    261         <a class="indexterm" name="id2688765"></a>
    262 <a class="indexterm" name="id2688772"></a>
     260        </p></div><div class="sect2" title="Alternative: Starting smbd as a Daemon"><div class="titlepage"><div><div><h3 class="title"><a name="id2694807"></a>Alternative: Starting <span class="application">smbd</span> as a Daemon</h3></div></div></div><p>
     261        <a class="indexterm" name="id2694821"></a>
     262<a class="indexterm" name="id2694828"></a>
    263263        To start the server as a daemon, you should create a script something
    264264        like this one, perhaps calling it <code class="filename">startsmb</code>.
     
    275275        </p><p>
    276276        To kill it, send a kill signal to the processes <span class="application">nmbd</span> and <span class="application">smbd</span>.
    277         </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     277        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    278278        If you use the SVR4-style init system, you may like to look at the
    279279        <code class="filename">examples/svr4-startup</code> script to make Samba fit
    280280        into that system.
    281         </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2688849"></a>Starting Samba for Red Hat Linux</h4></div></div></div><p>
     281        </p></div><div class="sect3" title="Starting Samba for Red Hat Linux"><div class="titlepage"><div><div><h4 class="title"><a name="id2694906"></a>Starting Samba for Red Hat Linux</h4></div></div></div><p>
    282282        Red Hat Linux has not always included all Samba components in the standard installation.
    283283        So versions of Red Hat Linux do not install the winbind utility, even though it is present
     
    312312</pre><p>
    313313        Samba will be started automatically at every system reboot.
    314         </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2688972"></a>Starting Samba for Novell SUSE Linux</h4></div></div></div><p>
     314        </p></div><div class="sect3" title="Starting Samba for Novell SUSE Linux"><div class="titlepage"><div><div><h4 class="title"><a name="id2695029"></a>Starting Samba for Novell SUSE Linux</h4></div></div></div><p>
    315315        Novell SUSE Linux products automatically install all essential Samba components in a default installation.
    316316        Configure your <code class="filename">smb.conf</code> file, then execute the following to start Samba:
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/diagnosis.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 38. The Samba Checklist</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="troubleshooting.html" title="Part V. Troubleshooting"><link rel="prev" href="troubleshooting.html" title="Part V. Troubleshooting"><link rel="next" href="problems.html" title="Chapter 39. Analyzing and Solving Samba Problems"></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 38. The Samba Checklist</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="troubleshooting.html">Prev</a> </td><th width="60%" align="center">Part V. Troubleshooting</th><td width="20%" align="right"> <a accesskey="n" href="problems.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="diagnosis"></a>Chapter 38. The Samba Checklist</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="orgname">Samba Team</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Dan</span> <span class="orgname">Samba Team</span> <span class="surname">Shearer</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:dan@samba.org">dan@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">Wed Jan 15</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="diagnosis.html#id2682800">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2682839">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2683132">The Tests</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2682800"></a>Introduction</h2></div></div></div><p>
    2 <a class="indexterm" name="id2682808"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 38. The Samba Checklist</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="troubleshooting.html" title="Part V. Troubleshooting"><link rel="prev" href="troubleshooting.html" title="Part V. Troubleshooting"><link rel="next" href="problems.html" title="Chapter 39. Analyzing and Solving Samba Problems"></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 38. The Samba Checklist</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="troubleshooting.html">Prev</a> </td><th width="60%" align="center">Part V. Troubleshooting</th><td width="20%" align="right"> <a accesskey="n" href="problems.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 38. The Samba Checklist"><div class="titlepage"><div><div><h2 class="title"><a name="diagnosis"></a>Chapter 38. The Samba Checklist</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Dan</span> <span class="surname">Shearer</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:dan@samba.org">dan@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">Wed Jan 15</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="diagnosis.html#id2688857">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2688896">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2689189">The Tests</a></span></dt></dl></div><div class="sect1" title="Introduction"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2688857"></a>Introduction</h2></div></div></div><p>
     2<a class="indexterm" name="id2688865"></a>
    33This file contains a list of tests you can perform to validate your
    44Samba server. It also tells you what the likely cause of the problem
     
    1212to solve a problem.
    1313</p><p>
    14 If you send one of the Samba mailing lists  an email saying, &#8220;<span class="quote">It does not work,</span>&#8221;
     14If you send one of the Samba mailing lists  an email saying, <span class="quote">&#8220;<span class="quote">It does not work,</span>&#8221;</span>
    1515and you have not followed this test procedure, you should not be surprised
    1616if your email is ignored.
    17 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2682839"></a>Assumptions</h2></div></div></div><p>
     17</p></div><div class="sect1" title="Assumptions"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2688896"></a>Assumptions</h2></div></div></div><p>
    1818In all of the tests, it is assumed you have a Samba server called
    1919BIGSERVER and a PC called ACLIENT, both in workgroup TESTGROUP.
     
    2525You can add a <em class="parameter"><code>tmp</code></em> share like this by adding the
    2626lines shown in <a class="link" href="diagnosis.html#tmpshare" title="Example 38.1. smb.conf with [tmp] Share">the next example</a>.
    27 </p><div class="example"><a name="tmpshare"></a><p class="title"><b>Example 38.1. smb.conf with [tmp] Share</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[tmp]</code></em></td></tr><tr><td><a class="indexterm" name="id2682910"></a><em class="parameter"><code>comment = temporary files </code></em></td></tr><tr><td><a class="indexterm" name="id2682922"></a><em class="parameter"><code>path = /tmp</code></em></td></tr><tr><td><a class="indexterm" name="id2682933"></a><em class="parameter"><code>read only = yes</code></em></td></tr></table></div></div><br class="example-break"><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     27</p><div class="example"><a name="tmpshare"></a><p class="title"><b>Example 38.1. smb.conf with [tmp] Share</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[tmp]</code></em></td></tr><tr><td><a class="indexterm" name="id2688967"></a><em class="parameter"><code>comment = temporary files </code></em></td></tr><tr><td><a class="indexterm" name="id2688979"></a><em class="parameter"><code>path = /tmp</code></em></td></tr><tr><td><a class="indexterm" name="id2688990"></a><em class="parameter"><code>read only = yes</code></em></td></tr></table></div></div><br class="example-break"><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    2828These tests assume version 3.0.0 or later of the Samba suite.
    2929Some commands shown did not exist in earlier versions.
    3030</p></div><p>
    31 <a class="indexterm" name="id2682955"></a>
    32 <a class="indexterm" name="id2682962"></a>
    33 <a class="indexterm" name="id2682968"></a>
     31<a class="indexterm" name="id2689011"></a>
     32<a class="indexterm" name="id2689018"></a>
     33<a class="indexterm" name="id2689025"></a>
    3434Please pay attention to the error messages you receive. If any error message
    3535reports that your server is being unfriendly, you should first check that your
     
    3737file points to name servers that really do exist.
    3838</p><p>
    39 <a class="indexterm" name="id2682989"></a>
    40 <a class="indexterm" name="id2682996"></a>
    41 <a class="indexterm" name="id2683003"></a>
    42 <a class="indexterm" name="id2683010"></a>
     39<a class="indexterm" name="id2689046"></a>
     40<a class="indexterm" name="id2689053"></a>
     41<a class="indexterm" name="id2689060"></a>
     42<a class="indexterm" name="id2689066"></a>
    4343Also, if you do not have DNS server access for name resolution, please check
    4444that the settings for your <code class="filename">smb.conf</code> file results in <em class="parameter"><code>dns proxy = no</code></em>. The
    4545best way to check this is with <code class="literal">testparm smb.conf</code>.
    4646</p><p>
    47 <a class="indexterm" name="id2683040"></a>
    48 <a class="indexterm" name="id2683047"></a>
    49 <a class="indexterm" name="id2683054"></a>
    50 <a class="indexterm" name="id2683061"></a>
    51 <a class="indexterm" name="id2683068"></a>
     47<a class="indexterm" name="id2689097"></a>
     48<a class="indexterm" name="id2689104"></a>
     49<a class="indexterm" name="id2689111"></a>
     50<a class="indexterm" name="id2689118"></a>
     51<a class="indexterm" name="id2689125"></a>
    5252It is helpful to monitor the log files during testing by using the
    5353<code class="literal">tail -F log_file_name</code> in a separate
     
    6060If you make changes to your <code class="filename">smb.conf</code> file while going through these test,
    6161remember to restart <span class="application">smbd</span> and <span class="application">nmbd</span>.
    62 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2683132"></a>The Tests</h2></div></div></div><div class="procedure"><a name="id2683138"></a><p class="title"><b>Procedure 38.1. Diagnosing Your Samba Server</b></p><ol type="1"><li><p>
    63 <a class="indexterm" name="id2683150"></a>
     62</p></div><div class="sect1" title="The Tests"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2689189"></a>The Tests</h2></div></div></div><div class="procedure" title="Procedure 38.1. Diagnosing Your Samba Server"><a name="id2689194"></a><p class="title"><b>Procedure 38.1. Diagnosing Your Samba Server</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
     63<a class="indexterm" name="id2689207"></a>
    6464In the directory in which you store your <code class="filename">smb.conf</code> file, run the command
    6565<code class="literal">testparm smb.conf</code>. If it reports any errors, then your <code class="filename">smb.conf</code>
    6666configuration file is faulty.
    67 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    68 <a class="indexterm" name="id2683181"></a>
    69 <a class="indexterm" name="id2683188"></a>
     67</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     68<a class="indexterm" name="id2689238"></a>
     69<a class="indexterm" name="id2689245"></a>
    7070Your <code class="filename">smb.conf</code> file may be located in <code class="filename">/etc/samba</code>
    7171or in <code class="filename">/usr/local/samba/lib</code>.
    72 </p></div></li><li><p>
    73 <a class="indexterm" name="id2683222"></a>
     72</p></div></li><li class="step" title="Step 2"><p>
     73<a class="indexterm" name="id2689279"></a>
    7474Run the command <code class="literal">ping BIGSERVER</code> from the PC and
    7575<code class="literal">ping ACLIENT</code> from the UNIX box. If you do not get a valid response,
    7676then your TCP/IP software is not correctly installed.
    7777</p><p>
    78 You will need to start a &#8220;<span class="quote">DOS prompt</span>&#8221; window on the PC to run ping.
    79 </p><p>
    80 <a class="indexterm" name="id2683255"></a>
    81 <a class="indexterm" name="id2683262"></a>
    82 <a class="indexterm" name="id2683268"></a>
    83 If you get a message saying &#8220;<span class="quote"><span class="errorname">host not found</span></span>&#8221; or a similar message, then
     78You will need to start a <span class="quote">&#8220;<span class="quote">DOS prompt</span>&#8221;</span> window on the PC to run ping.
     79</p><p>
     80<a class="indexterm" name="id2689311"></a>
     81<a class="indexterm" name="id2689318"></a>
     82<a class="indexterm" name="id2689325"></a>
     83If you get a message saying <span class="quote">&#8220;<span class="quote"><span class="errorname">host not found</span></span>&#8221;</span> or a similar message, then
    8484your DNS software or <code class="filename">/etc/hosts</code> file is not correctly set up.  If using DNS, check that
    8585the <code class="filename">/etc/resolv.conf</code> has correct, current, entries in it. It is possible to run
     
    8787remainder of these tests.
    8888</p><p>
    89 <a class="indexterm" name="id2683301"></a>
    90 <a class="indexterm" name="id2683307"></a>
    91 <a class="indexterm" name="id2683314"></a>
     89<a class="indexterm" name="id2689357"></a>
     90<a class="indexterm" name="id2689364"></a>
     91<a class="indexterm" name="id2689371"></a>
    9292Another reason why ping might fail is if your host is running firewall
    9393software. You will need to relax the rules to let in the workstation
     
    9595this is done via the appropriate firewall maintenance commands <code class="literal">ipchains</code>
    9696or <code class="literal">iptables</code>).
    97 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     97</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    9898Modern Linux distributions install ipchains/iptables by default.
    9999This is a common problem that is often overlooked.
    100100</p></div><p>
    101 <a class="indexterm" name="id2683349"></a>
    102 <a class="indexterm" name="id2683356"></a>
     101<a class="indexterm" name="id2689406"></a>
     102<a class="indexterm" name="id2689413"></a>
    103103If you wish to check what firewall rules may be present in a system under test, simply run
    104104<code class="literal">iptables -L -v</code>, or if <em class="parameter"><code>ipchains</code></em>-based firewall rules are in use,
     
    130130 pkts bytes target     prot opt in     out     source     destination
    131131</pre><p>
    132 </p></li><li><p>
     132</p></li><li class="step" title="Step 3"><p>
    133133Run the command <code class="literal">smbclient -L BIGSERVER</code>
    134134on the UNIX box. You should get back a list of available shares.
    135135</p><p>
    136 <a class="indexterm" name="id2683431"></a>
    137 <a class="indexterm" name="id2683438"></a>
    138 <a class="indexterm" name="id2683445"></a>
    139 <a class="indexterm" name="id2683452"></a>
    140 <a class="indexterm" name="id2683458"></a>
    141 <a class="indexterm" name="id2683465"></a>
    142 If you get an error message containing the string &#8220;<span class="quote">bad password</span>&#8221;, then
     136<a class="indexterm" name="id2689488"></a>
     137<a class="indexterm" name="id2689495"></a>
     138<a class="indexterm" name="id2689502"></a>
     139<a class="indexterm" name="id2689508"></a>
     140<a class="indexterm" name="id2689515"></a>
     141<a class="indexterm" name="id2689522"></a>
     142If you get an error message containing the string <span class="quote">&#8220;<span class="quote">bad password</span>&#8221;</span>, then
    143143you probably have either an incorrect <em class="parameter"><code>hosts allow</code></em>,
    144144<em class="parameter"><code>hosts deny</code></em>, or <em class="parameter"><code>valid users</code></em> line in your
     
    147147<em class="parameter"><code>valid users</code></em>, or <em class="parameter"><code>invalid users</code></em> lines.
    148148</p><p>
    149 <a class="indexterm" name="id2683536"></a>
     149<a class="indexterm" name="id2689593"></a>
    150150If you get a message <code class="literal">connection refused</code> response, then the <code class="literal">smbd</code> server may
    151151not be running. If you installed it in <code class="filename">inetd.conf</code>, then you probably edited
     
    153153it is running and check that the netbios-ssn port is in a LISTEN
    154154state using <code class="literal">netstat -a</code>.
    155 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    156 <a class="indexterm" name="id2683575"></a>
    157 <a class="indexterm" name="id2683582"></a>
     155</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     156<a class="indexterm" name="id2689632"></a>
     157<a class="indexterm" name="id2689639"></a>
    158158Some UNIX/Linux systems use <code class="literal">xinetd</code> in place of
    159159<code class="literal">inetd</code>. Check your system documentation for the location
     
    162162</p></div><p>
    163163If you get a message saying <code class="literal">session request failed,</code> the server refused the
    164 connection. If it says &#8220;<span class="quote">Your server software is being unfriendly,</span>&#8221; then
     164connection. If it says <span class="quote">&#8220;<span class="quote">Your server software is being unfriendly,</span>&#8221;</span> then
    165165it's probably because you have invalid command line parameters to <span class="application">smbd</span>,
    166166or a similar fatal problem with the initial startup of <span class="application">smbd</span>. Also
     
    172172a session request. The most common of these involve one or more of
    173173the <code class="filename">smb.conf</code> file entries as shown in <a class="link" href="diagnosis.html#modif1" title="Example 38.2. Configuration for Allowing Connections Only from a Certain Subnet">the next example</a>.
    174 </p><div class="example"><a name="modif1"></a><p class="title"><b>Example 38.2. Configuration for Allowing Connections Only from a Certain Subnet</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[globals]</code></em></td></tr><tr><td><a class="indexterm" name="id2683694"></a><em class="parameter"><code>hosts deny = ALL</code></em></td></tr><tr><td><a class="indexterm" name="id2683706"></a><em class="parameter"><code>hosts allow = xxx.xxx.xxx.xxx/yy</code></em></td></tr><tr><td><a class="indexterm" name="id2683718"></a><em class="parameter"><code>interfaces = eth0</code></em></td></tr><tr><td><a class="indexterm" name="id2683730"></a><em class="parameter"><code>bind interfaces only = Yes</code></em></td></tr></table></div></div><br class="example-break"><p>
    175 <a class="indexterm" name="id2683745"></a>
     174</p><div class="example"><a name="modif1"></a><p class="title"><b>Example 38.2. Configuration for Allowing Connections Only from a Certain Subnet</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[globals]</code></em></td></tr><tr><td><a class="indexterm" name="id2689751"></a><em class="parameter"><code>hosts deny = ALL</code></em></td></tr><tr><td><a class="indexterm" name="id2689763"></a><em class="parameter"><code>hosts allow = xxx.xxx.xxx.xxx/yy</code></em></td></tr><tr><td><a class="indexterm" name="id2689775"></a><em class="parameter"><code>interfaces = eth0</code></em></td></tr><tr><td><a class="indexterm" name="id2689786"></a><em class="parameter"><code>bind interfaces only = Yes</code></em></td></tr></table></div></div><br class="example-break"><p>
     175<a class="indexterm" name="id2689801"></a>
    176176In <a class="link" href="diagnosis.html#modif1" title="Example 38.2. Configuration for Allowing Connections Only from a Certain Subnet">Configuration for Allowing Connections Only from a Certain Subnet</a>, no
    177177allowance has been made for any session requests that will automatically translate to the loopback adapter
    178178address 127.0.0.1.  To solve this problem, change these lines as shown in <a class="link" href="diagnosis.html#modif2" title="Example 38.3. Configuration for Allowing Connections from a Certain Subnet and localhost">the following
    179179example</a>.
    180 </p><div class="example"><a name="modif2"></a><p class="title"><b>Example 38.3. Configuration for Allowing Connections from a Certain Subnet and localhost</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[globals]</code></em></td></tr><tr><td><a class="indexterm" name="id2683797"></a><em class="parameter"><code>hosts deny = ALL</code></em></td></tr><tr><td><a class="indexterm" name="id2683808"></a><em class="parameter"><code>hosts allow = xxx.xxx.xxx.xxx/yy 127.</code></em></td></tr><tr><td><a class="indexterm" name="id2683820"></a><em class="parameter"><code>interfaces = eth0 lo</code></em></td></tr></table></div></div><br class="example-break"><p>
    181 <a class="indexterm" name="id2683835"></a>
    182 <a class="indexterm" name="id2683842"></a>
     180</p><div class="example"><a name="modif2"></a><p class="title"><b>Example 38.3. Configuration for Allowing Connections from a Certain Subnet and localhost</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[globals]</code></em></td></tr><tr><td><a class="indexterm" name="id2689854"></a><em class="parameter"><code>hosts deny = ALL</code></em></td></tr><tr><td><a class="indexterm" name="id2689865"></a><em class="parameter"><code>hosts allow = xxx.xxx.xxx.xxx/yy 127.</code></em></td></tr><tr><td><a class="indexterm" name="id2689877"></a><em class="parameter"><code>interfaces = eth0 lo</code></em></td></tr></table></div></div><br class="example-break"><p>
     181<a class="indexterm" name="id2689892"></a>
     182<a class="indexterm" name="id2689899"></a>
    183183Another common cause of these two errors is having something already running on port <code class="constant">139</code>,
    184184such as Samba (<span class="application">smbd</span> is running from <span class="application">inetd</span> already) or Digital's Pathworks. Check
     
    186186lot of frustration!
    187187</p><p>
    188 <a class="indexterm" name="id2683887"></a>
    189 <a class="indexterm" name="id2683893"></a>
    190 <a class="indexterm" name="id2683900"></a>
    191 <a class="indexterm" name="id2683907"></a>
    192 <a class="indexterm" name="id2683914"></a>
     188<a class="indexterm" name="id2689944"></a>
     189<a class="indexterm" name="id2689950"></a>
     190<a class="indexterm" name="id2689957"></a>
     191<a class="indexterm" name="id2689964"></a>
     192<a class="indexterm" name="id2689971"></a>
    193193And yet another possible cause for failure of this test is when the subnet mask and/or broadcast address
    194194settings are incorrect. Please check that the network interface IP address/broadcast address/subnet mask
    195195settings are correct and that Samba has correctly noted these in the <code class="filename">log.nmbd</code> file.
    196 </p></li><li><p>
    197 <a class="indexterm" name="id2683940"></a>
     196</p></li><li class="step" title="Step 4"><p>
     197<a class="indexterm" name="id2689997"></a>
    198198Run the command <code class="literal">nmblookup -B BIGSERVER __SAMBA__</code>.
    199199You should get back the IP address of your Samba server.
    200200</p><p>
    201 <a class="indexterm" name="id2683958"></a>
    202 <a class="indexterm" name="id2683965"></a>
    203 <a class="indexterm" name="id2683971"></a>
     201<a class="indexterm" name="id2690014"></a>
     202<a class="indexterm" name="id2690021"></a>
     203<a class="indexterm" name="id2690028"></a>
    204204If you do not, then <span class="application">nmbd</span> is incorrectly installed. Check your <code class="filename">inetd.conf</code>
    205205if you run it from there, or that the daemon is running and listening to UDP port 137.
     
    209209one-line script that contains the right parameters and run that from
    210210inetd.
    211 </p></li><li><p>
    212 <a class="indexterm" name="id2684008"></a>
     211</p></li><li class="step" title="Step 5"><p>
     212<a class="indexterm" name="id2690065"></a>
    213213Run the command <code class="literal">nmblookup -B ACLIENT `*'</code>.
    214214</p><p>
     
    219219If ACLIENT does not resolve via DNS, then use the IP address of the
    220220client in the above test.
    221 </p></li><li><p>
     221</p></li><li class="step" title="Step 6"><p>
    222222Run the command <code class="literal">nmblookup -d 2 `*'</code>.
    223223</p><p>
     
    229229messages from several hosts.
    230230</p><p>
    231 <a class="indexterm" name="id2684066"></a>
     231<a class="indexterm" name="id2690122"></a>
    232232If this does not give a result similar to the previous test, then nmblookup isn't correctly getting your
    233233broadcast address through its automatic mechanism. In this case you should experiment with the <a class="link" href="smb.conf.5.html#INTERFACES" target="_top">interfaces</a> option in <code class="filename">smb.conf</code> to manually configure your IP address, broadcast, and netmask.
     
    238238This test will probably fail if your subnet mask and broadcast address are
    239239not correct. (Refer to test 3 notes above).
    240 </p></li><li><p>
    241 <a class="indexterm" name="id2684118"></a>
     240</p></li><li class="step" title="Step 7"><p>
     241<a class="indexterm" name="id2690175"></a>
    242242Run the command <code class="literal">smbclient //BIGSERVER/TMP</code>. You should
    243243then be prompted for a password. You should use the password of the account
     
    245245another account, then add the <code class="option">-U accountname</code> option to the end of
    246246the command line  for example, <code class="literal">smbclient //bigserver/tmp -Ujohndoe</code>.
    247 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     247</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    248248It is possible to specify the password along with the username as follows:
    249249<code class="literal">smbclient //bigserver/tmp -Ujohndoe%secret</code>.
    250250</p></div><p>
    251251Once you enter the password, you should get the <code class="prompt">smb&gt;</code> prompt. If you
    252 do not, then look at the error message. If it says &#8220;<span class="quote"><span class="errorname">invalid network
    253 name,</span></span>&#8221; then the service <em class="parameter"><code>tmp</code></em> is not correctly set up in your <code class="filename">smb.conf</code>.
    254 </p><p>
    255 If it says &#8220;<span class="quote"><span class="errorname">bad password,</span></span>&#8221; then the likely causes are:
    256 </p><div class="orderedlist"><ol type="1"><li><p>
     252do not, then look at the error message. If it says <span class="quote">&#8220;<span class="quote"><span class="errorname">invalid network
     253name,</span></span>&#8221;</span> then the service <em class="parameter"><code>tmp</code></em> is not correctly set up in your <code class="filename">smb.conf</code>.
     254</p><p>
     255If it says <span class="quote">&#8220;<span class="quote"><span class="errorname">bad password,</span></span>&#8221;</span> then the likely causes are:
     256</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
    257257        You have shadow passwords (or some other password system) but didn't
    258258        compile in support for them in <span class="application">smbd</span>.
    259         </p></li><li><p>
     259        </p></li><li class="listitem"><p>
    260260        Your <a class="link" href="smb.conf.5.html#VALIDUSERS" target="_top">valid users</a> configuration is incorrect.
    261         </p></li><li><p>
     261        </p></li><li class="listitem"><p>
    262262        You have a mixed-case password and you haven't enabled the <a class="link" href="smb.conf.5.html#PASSWORDLEVEL" target="_top">password level</a> option at a high enough level.
    263         </p></li><li><p>
     263        </p></li><li class="listitem"><p>
    264264        The <a class="link" href="smb.conf.5.html#PATH" target="_top">path</a> line in <code class="filename">smb.conf</code> is incorrect. Check it with <span class="application">testparm</span>.
    265         </p></li><li><p>
     265        </p></li><li class="listitem"><p>
    266266        You enabled password encryption but didn't map UNIX to Samba users. Run
    267267        <code class="literal">smbpasswd -a username</code>
    268268        </p></li></ol></div><p>
    269 <a class="indexterm" name="id2684303"></a>
    270 <a class="indexterm" name="id2684309"></a>
    271 <a class="indexterm" name="id2684316"></a>
    272 <a class="indexterm" name="id2684323"></a>
     269<a class="indexterm" name="id2690360"></a>
     270<a class="indexterm" name="id2690366"></a>
     271<a class="indexterm" name="id2690373"></a>
     272<a class="indexterm" name="id2690380"></a>
    273273Once connected, you should be able to use the commands <code class="literal">dir</code>, <code class="literal">get</code>,
    274274<code class="literal">put</code>, and so on. Type <code class="literal">help command</code> for instructions. You should
    275275especially check that the amount of free disk space shown is correct when you type <code class="literal">dir</code>.
    276 </p></li><li><p>
    277 <a class="indexterm" name="id2684370"></a>
     276</p></li><li class="step" title="Step 8"><p>
     277<a class="indexterm" name="id2690426"></a>
    278278On the PC, type the command <code class="literal">net view \\BIGSERVER</code>. You will
    279279need to do this from within a DOS prompt window. You should get back a
    280280list of shares available on the server.
    281281</p><p>
    282 <a class="indexterm" name="id2684389"></a>
     282<a class="indexterm" name="id2690445"></a>
    283283If you get a message <code class="literal">network name not found</code> or similar error, then NetBIOS
    284284name resolution is not working. This is usually caused by a problem in <code class="literal">nmbd</code>.
    285285To overcome it, you could do one of the following (you only need to choose one of them):
    286 </p><div class="orderedlist"><ol type="1"><li><p>
     286</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
    287287        Fix the <span class="application">nmbd</span> installation.
    288 </p></li><li><p>
     288</p></li><li class="listitem"><p>
    289289        Add the IP address of BIGSERVER to the <code class="literal">wins server</code> box in the
    290290        advanced TCP/IP setup on the PC.
    291 </p></li><li><p>
     291</p></li><li class="listitem"><p>
    292292        Enable Windows name resolution via DNS in the advanced section of the TCP/IP setup.
    293 </p></li><li><p>
     293</p></li><li class="listitem"><p>
    294294        Add BIGSERVER to your lmhosts file on the PC.
    295295</p></li></ol></div><p>
    296 If you get a message &#8220;<span class="quote"><span class="errorname">invalid network name</span></span>&#8221; or
    297 &#8220;<span class="quote"><span class="errorname">bad password error,</span></span>&#8221; then apply the
     296If you get a message <span class="quote">&#8220;<span class="quote"><span class="errorname">invalid network name</span></span>&#8221;</span> or
     297<span class="quote">&#8220;<span class="quote"><span class="errorname">bad password error,</span></span>&#8221;</span> then apply the
    298298same fixes as for the <code class="literal">smbclient -L</code> test. In
    299299particular, make sure your <code class="literal">hosts allow</code> line is correct (see the man pages).
     
    305305name and password.
    306306</p><p>
    307 If you get a message &#8220;<span class="quote"><span class="errorname">specified computer is not receiving requests</span></span>&#8221; or similar error,
     307If you get a message <span class="quote">&#8220;<span class="quote"><span class="errorname">specified computer is not receiving requests</span></span>&#8221;</span> or similar error,
    308308it probably means that the host is not contactable via TCP services.
    309309Check to see if the host is running TCP wrappers, and if so, add an entry in
    310310the <code class="filename">hosts.allow</code> file for your client (or subnet, and so on.)
    311 </p></li><li><p>
     311</p></li><li class="step" title="Step 9"><p>
    312312Run the command <code class="literal">net use x: \\BIGSERVER\TMP</code>. You should
    313313be prompted for a password, then you should get a <code class="computeroutput">command completed
     
    327327and you have <a class="link" href="smb.conf.5.html#ENCRYPTPASSWORDS" target="_top">encrypt passwords = no</a> in <code class="filename">smb.conf</code>.
    328328Change this setting to `yes' to fix this.
    329 </p></li><li><p>
     329</p></li><li class="step" title="Step 10"><p>
    330330Run the command <code class="literal">nmblookup -M <em class="parameter"><code>testgroup</code></em></code> where
    331331<em class="parameter"><code>testgroup</code></em> is the name of the workgroup that your Samba server and
     
    338338sure you have <a class="link" href="smb.conf.5.html#PREFERREDMASTER" target="_top">preferred master = yes</a> to ensure that
    339339an election is held at startup.
    340 </p></li><li><p>
     340</p></li><li class="step" title="Step 11"><p>
    341341From file manager, try to browse the server. Your Samba server should
    342342appear in the browse list of your local workgroup (or the one you
    343343specified in <code class="filename">smb.conf</code>). You should be able to double-click on the name
    344 of the server and get a list of shares. If you get the error message &#8220;<span class="quote">invalid password,</span>&#8221;
     344of the server and get a list of shares. If you get the error message <span class="quote">&#8220;<span class="quote">invalid password,</span>&#8221;</span>
    345345 you are probably running Windows NT and it
    346346is refusing to browse a server that has no encrypted password
     
    349349<a class="link" href="smb.conf.5.html#PASSWORDSERVER" target="_top">password server = Windows_NT_Machine</a> in your
    350350<code class="filename">smb.conf</code> file or make sure <a class="link" href="smb.conf.5.html#ENCRYPTPASSWORDS" target="_top">encrypt passwords</a> is
    351 set to &#8220;<span class="quote">yes</span>&#8221;.
     351set to <span class="quote">&#8220;<span class="quote">yes</span>&#8221;</span>.
    352352</p></li></ol></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="troubleshooting.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="troubleshooting.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="problems.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Part V. Troubleshooting </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 39. Analyzing and Solving Samba Problems</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/domain-member.html

    r274 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 6. Domain Membership</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="samba-bdc.html" title="Chapter 5. Backup Domain Control"><link rel="next" href="StandAloneServer.html" title="Chapter 7. Standalone Servers"></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 6. Domain Membership</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="samba-bdc.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="StandAloneServer.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="domain-member"></a>Chapter 6. Domain Membership</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jeremy</span> <span class="orgname">Samba Team</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="orgname">Samba Team</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Guenther</span> <span class="orgname">SuSE</span> <span class="surname">Deschner</span></h3><span class="contrib">LDAP updates</span> <div class="affiliation"><span class="orgname">SuSE<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:gd@suse.de">gd@suse.de</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="domain-member.html#id2569122">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570526">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570632">Making an MS Windows Workstation or Server a Domain Member</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#domain-member-server">Domain Member Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2571833">Why Is This Better Than security = server?</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#ads-member">Samba ADS Domain Membership</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2572115">Configure smb.conf</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-server">Testing Server Setup</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-smbclient">Testing with smbclient</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2573400">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2573679">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2573719">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2574030">I Can't Join a Windows 2003 PDC</a></span></dt></dl></dd></dl></div><p>
    2 <a class="indexterm" name="id2569070"></a>
    3 <a class="indexterm" name="id2569077"></a>
    4 <a class="indexterm" name="id2569084"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 6. Domain Membership</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="samba-bdc.html" title="Chapter 5. Backup Domain Control"><link rel="next" href="StandAloneServer.html" title="Chapter 7. Standalone Servers"></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 6. Domain Membership</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="samba-bdc.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="StandAloneServer.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 6. Domain Membership"><div class="titlepage"><div><div><h2 class="title"><a name="domain-member"></a>Chapter 6. Domain Membership</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jeremy</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Guenther</span> <span class="surname">Deschner</span></h3><span class="contrib">LDAP updates</span> <div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:gd@samba.org">gd@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="domain-member.html#id2575193">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2576597">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2576703">Making an MS Windows Workstation or Server a Domain Member</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#domain-member-server">Domain Member Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2577904">Why Is This Better Than <em class="parameter"><code>security = server</code></em>?</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#ads-member">Samba ADS Domain Membership</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2578186">Configure <code class="filename">smb.conf</code></a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2578377">Configure <code class="filename">/etc/krb5.conf</code></a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-server">Testing Server Setup</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-smbclient">Testing with <span class="application">smbclient</span></a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2579471">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2579750">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2579789">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2580101">I Can't Join a Windows 2003 PDC</a></span></dt></dl></dd></dl></div><p>
     2<a class="indexterm" name="id2575136"></a>
     3<a class="indexterm" name="id2575143"></a>
     4<a class="indexterm" name="id2575150"></a>
    55Domain membership is a subject of vital concern. Samba must be able to
    66participate as a member server in a Microsoft domain security context, and
     
    88otherwise it would not be able to offer a viable option for many users.
    99</p><p>
    10 <a class="indexterm" name="id2569099"></a>
    11 <a class="indexterm" name="id2569106"></a>
     10<a class="indexterm" name="id2575170"></a>
     11<a class="indexterm" name="id2575177"></a>
    1212This chapter covers background information pertaining to domain membership,
    1313the Samba configuration for it, and MS Windows client procedures for joining a
     
    1717misinformation, incorrect understanding, and lack of knowledge. Hopefully
    1818this chapter will fill the voids.
    19 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2569122"></a>Features and Benefits</h2></div></div></div><p>
    20 <a class="indexterm" name="id2569130"></a>
    21 <a class="indexterm" name="id2569137"></a>
    22 <a class="indexterm" name="id2569144"></a>
     19</p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2575193"></a>Features and Benefits</h2></div></div></div><p>
     20<a class="indexterm" name="id2575201"></a>
     21<a class="indexterm" name="id2575208"></a>
     22<a class="indexterm" name="id2575215"></a>
    2323MS Windows workstations and servers that want to participate in domain security need to
    2424be made domain members. Participating in domain security is often called
     
    2828server) or a Samba server a member of an MS Windows domain security context.
    2929</p><p>
    30 <a class="indexterm" name="id2569176"></a>
    31 <a class="indexterm" name="id2569183"></a>
    32 <a class="indexterm" name="id2569190"></a>
    33 <a class="indexterm" name="id2569196"></a>
     30<a class="indexterm" name="id2575247"></a>
     31<a class="indexterm" name="id2575254"></a>
     32<a class="indexterm" name="id2575260"></a>
     33<a class="indexterm" name="id2575267"></a>
    3434Samba-3 can join an MS Windows NT4-style domain as a native member server, an
    3535MS Windows Active Directory domain as a native member server, or a Samba domain
    3636control network. Domain membership has many advantages:
    37 </p><div class="itemizedlist"><ul type="disc"><li><p>
    38         <a class="indexterm" name="id2569216"></a>
     37</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     38        <a class="indexterm" name="id2575287"></a>
    3939        MS Windows workstation users get the benefit of SSO.
    40         </p></li><li><p>
    41         <a class="indexterm" name="id2569228"></a>
    42         <a class="indexterm" name="id2569235"></a>
    43         <a class="indexterm" name="id2569242"></a>
    44         <a class="indexterm" name="id2569249"></a>
     40        </p></li><li class="listitem"><p>
     41        <a class="indexterm" name="id2575299"></a>
     42        <a class="indexterm" name="id2575306"></a>
     43        <a class="indexterm" name="id2575312"></a>
     44        <a class="indexterm" name="id2575319"></a>
    4545        Domain user access rights and file ownership/access controls can be set
    4646        from the single Domain Security Account Manager (SAM) database
    4747        (works with domain member servers as well as with MS Windows workstations
    4848        that are domain members).
    49         </p></li><li><p>
    50         <a class="indexterm" name="id2569264"></a>
    51         <a class="indexterm" name="id2569270"></a>
     49        </p></li><li class="listitem"><p>
     50        <a class="indexterm" name="id2575334"></a>
     51        <a class="indexterm" name="id2575341"></a>
    5252        Only <span class="application">MS Windows NT4/200x/XP Professional</span>
    5353        workstations that are domain members can use network logon facilities.
    54         </p></li><li><p>
    55         <a class="indexterm" name="id2569289"></a>
    56         <a class="indexterm" name="id2569296"></a>
    57         <a class="indexterm" name="id2569303"></a>
    58         <a class="indexterm" name="id2569310"></a>
     54        </p></li><li class="listitem"><p>
     55        <a class="indexterm" name="id2575360"></a>
     56        <a class="indexterm" name="id2575367"></a>
     57        <a class="indexterm" name="id2575374"></a>
     58        <a class="indexterm" name="id2575381"></a>
    5959        Domain member workstations can be better controlled through the use of
    6060        policy files (<code class="filename">NTConfig.POL</code>) and desktop profiles.
    61         </p></li><li><p>
    62         <a class="indexterm" name="id2569329"></a>
    63         <a class="indexterm" name="id2569336"></a>
    64         <a class="indexterm" name="id2569343"></a>
     61        </p></li><li class="listitem"><p>
     62        <a class="indexterm" name="id2575400"></a>
     63        <a class="indexterm" name="id2575407"></a>
     64        <a class="indexterm" name="id2575414"></a>
    6565        Through the use of logon scripts, users can be given transparent access to network
    6666        applications that run off application servers.
    67         </p></li><li><p>
    68         <a class="indexterm" name="id2569357"></a>
    69         <a class="indexterm" name="id2569364"></a>
    70         <a class="indexterm" name="id2569370"></a>
    71         <a class="indexterm" name="id2569377"></a>
     67        </p></li><li class="listitem"><p>
     68        <a class="indexterm" name="id2575428"></a>
     69        <a class="indexterm" name="id2575435"></a>
     70        <a class="indexterm" name="id2575441"></a>
     71        <a class="indexterm" name="id2575448"></a>
    7272        Network administrators gain better application and user access management
    7373        abilities because there is no need to maintain user accounts on any network
     
    7575        (either NT4/Samba SAM-style domain, NT4 domain that is backend-ed with an
    7676        LDAP directory, or via an Active Directory infrastructure).
    77         </p></li></ul></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="machine-trust-accounts"></a>MS Windows Workstation/Server Machine Trust Accounts</h2></div></div></div><p>
    78 <a class="indexterm" name="id2569406"></a>
    79 <a class="indexterm" name="id2569412"></a>
    80 <a class="indexterm" name="id2569419"></a>
    81 <a class="indexterm" name="id2569426"></a>
     77        </p></li></ul></div></div><div class="sect1" title="MS Windows Workstation/Server Machine Trust Accounts"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="machine-trust-accounts"></a>MS Windows Workstation/Server Machine Trust Accounts</h2></div></div></div><p>
     78<a class="indexterm" name="id2575476"></a>
     79<a class="indexterm" name="id2575483"></a>
     80<a class="indexterm" name="id2575490"></a>
     81<a class="indexterm" name="id2575497"></a>
    8282A Machine Trust Account is an account that is used to authenticate a client machine (rather than a user) to
    83 the domain controller server. In Windows terminology, this is known as a &#8220;<span class="quote">computer account.</span>&#8221; The
     83the domain controller server. In Windows terminology, this is known as a <span class="quote">&#8220;<span class="quote">computer account.</span>&#8221;</span> The
    8484purpose of the machine trust account is to prevent a rogue user and domain controller from colluding to gain
    8585access to a domain member workstation.
    8686</p><p>
    87 <a class="indexterm" name="id2569446"></a>
    88 <a class="indexterm" name="id2569455"></a>
    89 <a class="indexterm" name="id2569462"></a>
    90 <a class="indexterm" name="id2569469"></a>
    91 <a class="indexterm" name="id2569476"></a>
     87<a class="indexterm" name="id2575516"></a>
     88<a class="indexterm" name="id2575526"></a>
     89<a class="indexterm" name="id2575533"></a>
     90<a class="indexterm" name="id2575540"></a>
     91<a class="indexterm" name="id2575547"></a>
    9292The password of a Machine Trust Account acts as the shared secret for secure communication with the domain
    9393controller. This is a security feature to prevent an unauthorized machine with the same NetBIOS name from
     
    9797possess a Machine Trust Account, and, thus, has no shared secret with the domain controller.
    9898</p><p>
    99 <a class="indexterm" name="id2569497"></a>
    100 <a class="indexterm" name="id2569504"></a>
    101 <a class="indexterm" name="id2569510"></a>
    102 <a class="indexterm" name="id2569517"></a>
     99<a class="indexterm" name="id2575568"></a>
     100<a class="indexterm" name="id2575575"></a>
     101<a class="indexterm" name="id2575581"></a>
     102<a class="indexterm" name="id2575588"></a>
    103103A Windows NT4 PDC stores each Machine Trust Account in the Windows Registry.
    104104The introduction of MS Windows 2000 saw the introduction of Active Directory,
     
    107107as follows:
    108108
    109 </p><div class="itemizedlist"><ul type="disc"><li><p>
    110         <a class="indexterm" name="id2569534"></a>
    111         <a class="indexterm" name="id2569541"></a>
    112         <a class="indexterm" name="id2569548"></a>
     109</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     110        <a class="indexterm" name="id2575605"></a>
     111        <a class="indexterm" name="id2575612"></a>
     112        <a class="indexterm" name="id2575619"></a>
    113113        A domain security account (stored in the <a class="link" href="smb.conf.5.html#PASSDBBACKEND" target="_top">passdb backend</a>) that has been configured in
    114114        the <code class="filename">smb.conf</code> file. The precise nature of the account information that is stored depends on the type of
    115115        backend database that has been chosen.
    116116        </p><p>
    117         <a class="indexterm" name="id2569580"></a>
    118         <a class="indexterm" name="id2569587"></a>
    119         <a class="indexterm" name="id2569594"></a>
    120         <a class="indexterm" name="id2569600"></a>
    121         <a class="indexterm" name="id2569607"></a>
    122         <a class="indexterm" name="id2569614"></a>
     117        <a class="indexterm" name="id2575651"></a>
     118        <a class="indexterm" name="id2575658"></a>
     119        <a class="indexterm" name="id2575664"></a>
     120        <a class="indexterm" name="id2575671"></a>
     121        <a class="indexterm" name="id2575678"></a>
     122        <a class="indexterm" name="id2575685"></a>
    123123        The older format of this data is the <code class="filename">smbpasswd</code> database
    124124        that contains the UNIX login ID, the UNIX user identifier (UID), and the
     
    126126        this file that we do not need to concern ourselves with here.
    127127        </p><p>
    128         <a class="indexterm" name="id2569636"></a>
    129         <a class="indexterm" name="id2569643"></a>
    130         <a class="indexterm" name="id2569650"></a>
    131         <a class="indexterm" name="id2569656"></a>
     128        <a class="indexterm" name="id2575707"></a>
     129        <a class="indexterm" name="id2575714"></a>
     130        <a class="indexterm" name="id2575720"></a>
     131        <a class="indexterm" name="id2575727"></a>
    132132        The two newer database types are called ldapsam and tdbsam. Both store considerably more data than the older
    133133        <code class="filename">smbpasswd</code> file did. The extra information enables new user account controls to be
    134134        implemented.
    135         </p></li><li><p>
    136         <a class="indexterm" name="id2569677"></a>
    137         <a class="indexterm" name="id2569684"></a>
     135        </p></li><li class="listitem"><p>
     136        <a class="indexterm" name="id2575748"></a>
     137        <a class="indexterm" name="id2575755"></a>
    138138        A corresponding UNIX account, typically stored in <code class="filename">/etc/passwd</code>. Work is in progress to
    139139        allow a simplified mode of operation that does not require UNIX user accounts, but this has not been a feature
     
    141141        </p></li></ul></div><p>
    142142</p><p>
    143 <a class="indexterm" name="id2569710"></a>
     143<a class="indexterm" name="id2575781"></a>
    144144There are three ways to create Machine Trust Accounts:
    145 </p><div class="itemizedlist"><ul type="disc"><li><p>
    146         <a class="indexterm" name="id2569726"></a>
     145</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     146        <a class="indexterm" name="id2575797"></a>
    147147        Manual creation from the UNIX/Linux command line. Here, both the Samba and
    148148        corresponding UNIX account are created by hand.
    149         </p></li><li><p>
    150         <a class="indexterm" name="id2569740"></a>
    151         <a class="indexterm" name="id2569747"></a>
     149        </p></li><li class="listitem"><p>
     150        <a class="indexterm" name="id2575811"></a>
     151        <a class="indexterm" name="id2575818"></a>
    152152        Using the MS Windows NT4 Server Manager, either from an NT4 domain member
    153153        server or using the Nexus toolkit available from the Microsoft Web site.
    154154        This tool can be run from any MS Windows machine as long as the user is
    155155        logged on as the administrator account.
    156         </p></li><li><p>
    157         <a class="indexterm" name="id2569763"></a>
    158         <a class="indexterm" name="id2569770"></a>
    159         &#8220;<span class="quote">On-the-fly</span>&#8221; creation. The Samba Machine Trust Account is automatically
     156        </p></li><li class="listitem"><p>
     157        <a class="indexterm" name="id2575833"></a>
     158        <a class="indexterm" name="id2575840"></a>
     159        <span class="quote">&#8220;<span class="quote">On-the-fly</span>&#8221;</span> creation. The Samba Machine Trust Account is automatically
    160160        created by Samba at the time the client is joined to the domain.
    161161        (For security, this is the recommended method.) The corresponding UNIX
    162162        account may be created automatically or manually.
    163163        </p></li></ul></div><p>
    164 <a class="indexterm" name="id2569789"></a>
    165 <a class="indexterm" name="id2569795"></a>
     164<a class="indexterm" name="id2575859"></a>
     165<a class="indexterm" name="id2575866"></a>
    166166Neither MS Windows NT4/200x/XP Professional, nor Samba, provide any method for enforcing the method of machine
    167167trust account creation. This is a matter of the administrator's choice.
    168 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2569809"></a>Manual Creation of Machine Trust Accounts</h3></div></div></div><p>
    169 <a class="indexterm" name="id2569817"></a>
    170 <a class="indexterm" name="id2569824"></a>
    171 <a class="indexterm" name="id2569830"></a>
    172 <a class="indexterm" name="id2569836"></a>
     168</p><div class="sect2" title="Manual Creation of Machine Trust Accounts"><div class="titlepage"><div><div><h3 class="title"><a name="id2575880"></a>Manual Creation of Machine Trust Accounts</h3></div></div></div><p>
     169<a class="indexterm" name="id2575888"></a>
     170<a class="indexterm" name="id2575895"></a>
     171<a class="indexterm" name="id2575900"></a>
     172<a class="indexterm" name="id2575907"></a>
    173173The first step in manually creating a Machine Trust Account is to manually
    174174create the corresponding UNIX account in <code class="filename">/etc/passwd</code>.
    175 This can be done using <code class="literal">vipw</code> or another &#8220;<span class="quote">adduser</span>&#8221; command
     175This can be done using <code class="literal">vipw</code> or another <span class="quote">&#8220;<span class="quote">adduser</span>&#8221;</span> command
    176176that is normally used to create new UNIX accounts. The following is an example for
    177177a Linux-based Samba server:
     
    184184</pre><p>
    185185</p><p>
    186 <a class="indexterm" name="id2569905"></a>
    187 <a class="indexterm" name="id2569912"></a>
    188 <a class="indexterm" name="id2569919"></a>
    189 In the example above there is an existing system group &#8220;<span class="quote">machines</span>&#8221; which is used
    190 as the primary group for all machine accounts. In the following examples the &#8220;<span class="quote">machines</span>&#8221; group
     186<a class="indexterm" name="id2575976"></a>
     187<a class="indexterm" name="id2575983"></a>
     188<a class="indexterm" name="id2575989"></a>
     189In the example above there is an existing system group <span class="quote">&#8220;<span class="quote">machines</span>&#8221;</span> which is used
     190as the primary group for all machine accounts. In the following examples the <span class="quote">&#8220;<span class="quote">machines</span>&#8221;</span> group
    191191numeric GID is 100.
    192192</p><p>
    193 <a class="indexterm" name="id2569939"></a>
    194 <a class="indexterm" name="id2569946"></a>
     193<a class="indexterm" name="id2576010"></a>
     194<a class="indexterm" name="id2576017"></a>
    195195On *BSD systems, this can be done using the <code class="literal">chpass</code> utility:
    196196</p><pre class="screen">
     
    199199</pre><p>
    200200</p><p>
    201 <a class="indexterm" name="id2569987"></a>
    202 <a class="indexterm" name="id2569994"></a>
    203 <a class="indexterm" name="id2570000"></a>
    204 <a class="indexterm" name="id2570007"></a>
     201<a class="indexterm" name="id2576058"></a>
     202<a class="indexterm" name="id2576064"></a>
     203<a class="indexterm" name="id2576071"></a>
     204<a class="indexterm" name="id2576078"></a>
    205205The <code class="filename">/etc/passwd</code> entry will list the machine name
    206 with a &#8220;<span class="quote">$</span>&#8221; appended, and will not have a password, will have a null shell and no
    207 home directory. For example, a machine named &#8220;<span class="quote">doppy</span>&#8221; would have an
     206with a <span class="quote">&#8220;<span class="quote">$</span>&#8221;</span> appended, and will not have a password, will have a null shell and no
     207home directory. For example, a machine named <span class="quote">&#8220;<span class="quote">doppy</span>&#8221;</span> would have an
    208208<code class="filename">/etc/passwd</code> entry like this:
    209209</p><pre class="programlisting">
     
    211211</pre><p>
    212212</p><p>
    213 <a class="indexterm" name="id2570049"></a>
    214 <a class="indexterm" name="id2570056"></a>
    215 <a class="indexterm" name="id2570063"></a>
     213<a class="indexterm" name="id2576120"></a>
     214<a class="indexterm" name="id2576127"></a>
     215<a class="indexterm" name="id2576134"></a>
    216216in which <em class="replaceable"><code>machine_nickname</code></em> can be any
    217217descriptive name for the client, such as BasementComputer.
    218218<em class="replaceable"><code>machine_name</code></em> absolutely must be the NetBIOS
    219 name of the client to be joined to the domain. The &#8220;<span class="quote">$</span>&#8221; must be
     219name of the client to be joined to the domain. The <span class="quote">&#8220;<span class="quote">$</span>&#8221;</span> must be
    220220appended to the NetBIOS name of the client or Samba will not recognize
    221221this as a Machine Trust Account.
    222222</p><p>
    223 <a class="indexterm" name="id2570089"></a>
    224 <a class="indexterm" name="id2570096"></a>
    225 <a class="indexterm" name="id2570103"></a>
     223<a class="indexterm" name="id2576160"></a>
     224<a class="indexterm" name="id2576167"></a>
     225<a class="indexterm" name="id2576174"></a>
    226226Now that the corresponding UNIX account has been created, the next step is to create
    227227the Samba account for the client containing the well-known initial
     
    233233</pre><p>
    234234</p><p>
    235 <a class="indexterm" name="id2570144"></a>
    236 <a class="indexterm" name="id2570151"></a>
    237 <a class="indexterm" name="id2570158"></a>
    238 <a class="indexterm" name="id2570165"></a>
     235<a class="indexterm" name="id2576215"></a>
     236<a class="indexterm" name="id2576222"></a>
     237<a class="indexterm" name="id2576229"></a>
     238<a class="indexterm" name="id2576235"></a>
    239239where <em class="replaceable"><code>machine_name</code></em> is the machine's NetBIOS
    240240name. The RID of the new machine account is generated from the UID of
    241241the corresponding UNIX account.
    242 </p><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Join the client to the domain immediately</h3><p>
    243 <a class="indexterm" name="id2570187"></a>
    244 <a class="indexterm" name="id2570194"></a>
    245 <a class="indexterm" name="id2570200"></a>
    246 <a class="indexterm" name="id2570207"></a>
    247 <a class="indexterm" name="id2570214"></a>
     242</p><div class="warning" title="Join the client to the domain immediately" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Join the client to the domain immediately</h3><p>
     243<a class="indexterm" name="id2576257"></a>
     244<a class="indexterm" name="id2576264"></a>
     245<a class="indexterm" name="id2576271"></a>
     246<a class="indexterm" name="id2576278"></a>
     247<a class="indexterm" name="id2576285"></a>
    248248Manually creating a Machine Trust Account using this method is the
    249249equivalent of creating a Machine Trust Account on a Windows NT PDC using
    250 <a class="indexterm" name="id2570224"></a>
     250<a class="indexterm" name="id2576294"></a>
    251251the <span class="application">Server Manager</span>. From the time at which the
    252252account is created to the time the client joins the domain and
     
    255255trusts members of the domain and will serve out a large degree of user
    256256information to such clients. You have been warned!
    257 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2570246"></a>Managing Domain Machine Accounts using NT4 Server Manager</h3></div></div></div><p>
    258 <a class="indexterm" name="id2570254"></a>
    259 <a class="indexterm" name="id2570262"></a>
    260 <a class="indexterm" name="id2570269"></a>
     257</p></div></div><div class="sect2" title="Managing Domain Machine Accounts using NT4 Server Manager"><div class="titlepage"><div><div><h3 class="title"><a name="id2576317"></a>Managing Domain Machine Accounts using NT4 Server Manager</h3></div></div></div><p>
     258<a class="indexterm" name="id2576325"></a>
     259<a class="indexterm" name="id2576332"></a>
     260<a class="indexterm" name="id2576339"></a>
    261261A working <a class="link" href="smb.conf.5.html#ADDMACHINESCRIPT" target="_top">add machine script</a> is essential
    262262for machine trust accounts to be automatically created. This applies no matter whether
    263263you use automatic account creation or the NT4 Domain Server Manager.
    264264</p><p>
    265 <a class="indexterm" name="id2570294"></a>
    266 <a class="indexterm" name="id2570301"></a>
    267 <a class="indexterm" name="id2570308"></a>
    268 <a class="indexterm" name="id2570314"></a>
     265<a class="indexterm" name="id2576365"></a>
     266<a class="indexterm" name="id2576372"></a>
     267<a class="indexterm" name="id2576378"></a>
     268<a class="indexterm" name="id2576385"></a>
    269269If the machine from which you are trying to manage the domain is an
    270270<span class="application">MS Windows NT4 workstation or MS Windows 200x/XP Professional</span>,
     
    273273and <code class="literal">UsrMgr.exe</code> (both are domain management tools for MS Windows NT4 workstation).
    274274</p><p>
    275 <a class="indexterm" name="id2570353"></a>
    276 <a class="indexterm" name="id2570360"></a>
     275<a class="indexterm" name="id2576424"></a>
     276<a class="indexterm" name="id2576430"></a>
    277277If your workstation is a <span class="application">Microsoft Windows 9x/Me</span> family product,
    278278 you should download the <code class="literal">Nexus.exe</code> package from the Microsoft Web site.
     
    284284<a class="ulink" href="http://support.microsoft.com/default.aspx?scid=kb;en-us;172540" target="_top">172540</a>
    285285</p><p>
    286 <a class="indexterm" name="id2570404"></a>
    287 <a class="indexterm" name="id2570411"></a>
     286<a class="indexterm" name="id2576475"></a>
     287<a class="indexterm" name="id2576481"></a>
    288288Launch the <code class="literal">srvmgr.exe</code> (Server Manager for Domains) and follow these steps:
    289 </p><div class="procedure"><a name="id2570426"></a><p class="title"><b>Procedure 6.1. Server Manager Account Machine Account Management</b></p><ol type="1"><li><p>
     289</p><div class="procedure" title="Procedure 6.1. Server Manager Account Machine Account Management"><a name="id2576497"></a><p class="title"><b>Procedure 6.1. Server Manager Account Machine Account Management</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    290290        From the menu select <span class="guimenu">Computer</span>.
    291         </p></li><li><p>
     291        </p></li><li class="step" title="Step 2"><p>
    292292        Click <span class="guimenuitem">Select Domain</span>.
    293         </p></li><li><p>
     293        </p></li><li class="step" title="Step 3"><p>
    294294        Click the name of the domain you wish to administer in the
    295295        <span class="guilabel">Select Domain</span> panel and then click
    296296        <span class="guibutton">OK</span>.
    297         </p></li><li><p>
     297        </p></li><li class="step" title="Step 4"><p>
    298298        Again from the menu select <span class="guimenu">Computer</span>.
    299         </p></li><li><p>
     299        </p></li><li class="step" title="Step 5"><p>
    300300        Select <span class="guimenuitem">Add to Domain</span>.
    301         </p></li><li><p>
     301        </p></li><li class="step" title="Step 6"><p>
    302302        In the dialog box, click the radio button to
    303303        <span class="guilabel">Add NT Workstation of Server</span>, then
    304304        enter the machine name in the field provided, and click the
    305305        <span class="guibutton">Add</span> button.
    306         </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2570526"></a>On-the-Fly Creation of Machine Trust Accounts</h3></div></div></div><p>
    307 <a class="indexterm" name="id2570535"></a>
     306        </p></li></ol></div></div><div class="sect2" title="On-the-Fly Creation of Machine Trust Accounts"><div class="titlepage"><div><div><h3 class="title"><a name="id2576597"></a>On-the-Fly Creation of Machine Trust Accounts</h3></div></div></div><p>
     307<a class="indexterm" name="id2576606"></a>
    308308The third (and recommended) way of creating Machine Trust Accounts is simply to allow the Samba server to
    309309create them as needed when the client is joined to the domain.
    310310</p><p>
    311 <a class="indexterm" name="id2570550"></a>
    312 <a class="indexterm" name="id2570560"></a>
    313 <a class="indexterm" name="id2570567"></a>
     311<a class="indexterm" name="id2576621"></a>
     312<a class="indexterm" name="id2576631"></a>
     313<a class="indexterm" name="id2576638"></a>
    314314Since each Samba Machine Trust Account requires a corresponding UNIX account, a method
    315315for automatically creating the UNIX account is usually supplied; this requires configuration of the
     
    317317accounts may also be created manually.
    318318</p><p>
    319 <a class="indexterm" name="id2570588"></a>
    320 <a class="indexterm" name="id2570595"></a>
     319<a class="indexterm" name="id2576659"></a>
     320<a class="indexterm" name="id2576666"></a>
    321321Here is an example for a Red Hat Linux system:
    322 </p><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2570617"></a><em class="parameter"><code>add machine script = /usr/sbin/useradd -d /var/lib/nobody -g 100 -s /bin/false -M %u</code></em></td></tr></table><p>
    323 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2570632"></a>Making an MS Windows Workstation or Server a Domain Member</h3></div></div></div><p>
     322</p><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2576688"></a><em class="parameter"><code>add machine script = /usr/sbin/useradd -d /var/lib/nobody -g 100 -s /bin/false -M %u</code></em></td></tr></table><p>
     323</p></div><div class="sect2" title="Making an MS Windows Workstation or Server a Domain Member"><div class="titlepage"><div><div><h3 class="title"><a name="id2576703"></a>Making an MS Windows Workstation or Server a Domain Member</h3></div></div></div><p>
    324324The procedure for making an MS Windows workstation or server a member of the domain varies
    325325with the version of Windows.
    326 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2570643"></a>Windows 200x/XP Professional Client</h4></div></div></div><p>
    327 <a class="indexterm" name="id2570651"></a>
    328 <a class="indexterm" name="id2570658"></a>
    329 <a class="indexterm" name="id2570668"></a>
    330 <a class="indexterm" name="id2570675"></a>
     326</p><div class="sect3" title="Windows 200x/XP Professional Client"><div class="titlepage"><div><div><h4 class="title"><a name="id2576714"></a>Windows 200x/XP Professional Client</h4></div></div></div><p>
     327<a class="indexterm" name="id2576722"></a>
     328<a class="indexterm" name="id2576729"></a>
     329<a class="indexterm" name="id2576739"></a>
     330<a class="indexterm" name="id2576745"></a>
    331331        When the user elects to make the client a domain member, Windows 200x prompts for
    332332        an account and password that has privileges to create  machine accounts in the domain.
     
    335335        account is given.
    336336        </p><p>
    337 <a class="indexterm" name="id2570694"></a>
    338 <a class="indexterm" name="id2570701"></a>
     337<a class="indexterm" name="id2576765"></a>
     338<a class="indexterm" name="id2576772"></a>
    339339        For security reasons, the password for this administrator account should be set
    340340        to a password that is other than that used for the root user in <code class="filename">/etc/passwd</code>.
    341341        </p><p>
    342 <a class="indexterm" name="id2570720"></a>
    343 <a class="indexterm" name="id2570726"></a>
    344 <a class="indexterm" name="id2570733"></a>
    345 <a class="indexterm" name="id2570740"></a>
     342<a class="indexterm" name="id2576790"></a>
     343<a class="indexterm" name="id2576797"></a>
     344<a class="indexterm" name="id2576804"></a>
     345<a class="indexterm" name="id2576811"></a>
    346346        The name of the account that is used to create domain member machine trust accounts can be
    347347        anything the network administrator may choose. If it is other than <code class="constant">root</code>,
     
    349349        <a class="link" href="smb.conf.5.html#USERNAMEMAP" target="_top">username map = /etc/samba/smbusers</a>.
    350350        </p><p>
    351 <a class="indexterm" name="id2570780"></a>
    352 <a class="indexterm" name="id2570787"></a>
    353 <a class="indexterm" name="id2570793"></a>
     351<a class="indexterm" name="id2576851"></a>
     352<a class="indexterm" name="id2576858"></a>
     353<a class="indexterm" name="id2576865"></a>
    354354        The session key of the Samba administrator account acts as an encryption key for setting the password of the machine trust
    355355        account. The Machine Trust Account will be created on-the-fly, or updated if it already exists.
    356         </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2570806"></a>Windows NT4 Client</h4></div></div></div><p>
    357 <a class="indexterm" name="id2570814"></a>
    358 <a class="indexterm" name="id2570821"></a>
    359 <a class="indexterm" name="id2570828"></a>
     356        </p></div><div class="sect3" title="Windows NT4 Client"><div class="titlepage"><div><div><h4 class="title"><a name="id2576878"></a>Windows NT4 Client</h4></div></div></div><p>
     357<a class="indexterm" name="id2576886"></a>
     358<a class="indexterm" name="id2576893"></a>
     359<a class="indexterm" name="id2576900"></a>
    360360        If the Machine Trust Account was created manually, on the
    361361        Identification Changes menu enter the domain name, but do not
     
    364364        to the domain.
    365365        </p><p>
    366 <a class="indexterm" name="id2570849"></a>
    367 <a class="indexterm" name="id2570856"></a>
    368 <a class="indexterm" name="id2570862"></a>
    369 <a class="indexterm" name="id2570869"></a>
     366<a class="indexterm" name="id2576919"></a>
     367<a class="indexterm" name="id2576926"></a>
     368<a class="indexterm" name="id2576933"></a>
     369<a class="indexterm" name="id2576940"></a>
    370370        If the Machine Trust Account is to be created on the fly, on the Identification Changes menu enter the domain
    371371        name and check the box <span class="guilabel">Create a Computer Account in the Domain</span>. In this case, joining
    372372        the domain proceeds as above for Windows 2000 (i.e., you must supply a Samba administrator account when
    373373        prompted).
    374         </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2570890"></a>Samba Client</h4></div></div></div><p>
    375 <a class="indexterm" name="id2570898"></a>
     374        </p></div><div class="sect3" title="Samba Client"><div class="titlepage"><div><div><h4 class="title"><a name="id2576961"></a>Samba Client</h4></div></div></div><p>
     375<a class="indexterm" name="id2576968"></a>
    376376        Joining a Samba client to a domain is documented in <a class="link" href="domain-member.html#domain-member-server" title="Domain Member Server">the next section</a>.
    377         </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="domain-member-server"></a>Domain Member Server</h2></div></div></div><p>
    378 <a class="indexterm" name="id2570928"></a>
    379 <a class="indexterm" name="id2570935"></a>
    380 <a class="indexterm" name="id2570942"></a>
    381 <a class="indexterm" name="id2570949"></a>
     377        </p></div></div></div><div class="sect1" title="Domain Member Server"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="domain-member-server"></a>Domain Member Server</h2></div></div></div><p>
     378<a class="indexterm" name="id2576999"></a>
     379<a class="indexterm" name="id2577006"></a>
     380<a class="indexterm" name="id2577013"></a>
     381<a class="indexterm" name="id2577020"></a>
    382382This mode of server operation involves the Samba machine being made a member
    383383of a domain security context. This means by definition that all user
     
    388388</p><p>
    389389<span class="emphasis"><em>
    390 <a class="indexterm" name="id2570968"></a>
    391 <a class="indexterm" name="id2570978"></a>
    392 <a class="indexterm" name="id2570985"></a>
    393 <a class="indexterm" name="id2570991"></a>
    394 <a class="indexterm" name="id2570998"></a>
    395 <a class="indexterm" name="id2571005"></a>
    396 <a class="indexterm" name="id2571012"></a>
    397 <a class="indexterm" name="id2571018"></a>
     390<a class="indexterm" name="id2577039"></a>
     391<a class="indexterm" name="id2577048"></a>
     392<a class="indexterm" name="id2577055"></a>
     393<a class="indexterm" name="id2577062"></a>
     394<a class="indexterm" name="id2577069"></a>
     395<a class="indexterm" name="id2577076"></a>
     396<a class="indexterm" name="id2577082"></a>
     397<a class="indexterm" name="id2577089"></a>
    398398Of course it should be clear that the authentication backend itself could be
    399399from any distributed directory architecture server that is supported by Samba.
     
    401401Server, and so on.
    402402</em></span>
    403 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    404 <a class="indexterm" name="id2571035"></a>
    405 <a class="indexterm" name="id2571042"></a>
    406 <a class="indexterm" name="id2571048"></a>
     403</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     404<a class="indexterm" name="id2577106"></a>
     405<a class="indexterm" name="id2577112"></a>
     406<a class="indexterm" name="id2577119"></a>
    407407When Samba is configured to use an LDAP or other identity management and/or
    408408directory service, it is Samba that continues to perform user and machine
     
    410410authentication handling in place of what Samba is designed to do.
    411411</p></div><p>
    412 <a class="indexterm" name="id2571064"></a>
    413 <a class="indexterm" name="id2571071"></a>
    414 <a class="indexterm" name="id2571078"></a>
     412<a class="indexterm" name="id2577134"></a>
     413<a class="indexterm" name="id2577142"></a>
     414<a class="indexterm" name="id2577149"></a>
    415415Please refer to <a class="link" href="samba-pdc.html" title="Chapter 4. Domain Control">Domain Control</a>, for more information regarding
    416416how to create a domain machine account for a domain member server as well as for
    417417information on how to enable the Samba domain member machine to join the domain
    418418and be fully trusted by it.
    419 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2571097"></a>Joining an NT4-type Domain with Samba-3</h3></div></div></div><p><a class="link" href="domain-member.html#assumptions" title="Table 6.1. Assumptions">Assumptions</a> lists names that are used in the remainder of this chapter.</p><div class="table"><a name="assumptions"></a><p class="title"><b>Table 6.1. Assumptions</b></p><div class="table-contents"><table summary="Assumptions" border="1"><colgroup><col align="right"><col align="left"></colgroup><tbody><tr><td align="right">Samba DMS NetBIOS name:</td><td align="left">SERV1</td></tr><tr><td align="right">Windows 200x/NT domain name:</td><td align="left">MIDEARTH</td></tr><tr><td align="right">Domain's PDC NetBIOS name:</td><td align="left">DOMPDC</td></tr><tr><td align="right">Domain's BDC NetBIOS names:</td><td align="left">DOMBDC1 and DOMBDC2</td></tr></tbody></table></div></div><br class="table-break"><p>
    420 <a class="indexterm" name="id2571182"></a>
     419</p><div class="sect2" title="Joining an NT4-type Domain with Samba-3"><div class="titlepage"><div><div><h3 class="title"><a name="id2577168"></a>Joining an NT4-type Domain with Samba-3</h3></div></div></div><p><a class="link" href="domain-member.html#assumptions" title="Table 6.1. Assumptions">Assumptions</a> lists names that are used in the remainder of this chapter.</p><div class="table"><a name="assumptions"></a><p class="title"><b>Table 6.1. Assumptions</b></p><div class="table-contents"><table summary="Assumptions" border="1"><colgroup><col align="right"><col align="left"></colgroup><tbody><tr><td align="right">Samba DMS NetBIOS name:</td><td align="left">SERV1</td></tr><tr><td align="right">Windows 200x/NT domain name:</td><td align="left">MIDEARTH</td></tr><tr><td align="right">Domain's PDC NetBIOS name:</td><td align="left">DOMPDC</td></tr><tr><td align="right">Domain's BDC NetBIOS names:</td><td align="left">DOMBDC1 and DOMBDC2</td></tr></tbody></table></div></div><br class="table-break"><p>
     420<a class="indexterm" name="id2577252"></a>
    421421First, you must edit your <code class="filename">smb.conf</code> file to tell Samba it should now use domain security.
    422422</p><p>
    423 <a class="indexterm" name="id2571198"></a>
    424 <a class="indexterm" name="id2571205"></a>
    425 <a class="indexterm" name="id2571212"></a>
    426 <a class="indexterm" name="id2571219"></a>
     423<a class="indexterm" name="id2577268"></a>
     424<a class="indexterm" name="id2577275"></a>
     425<a class="indexterm" name="id2577282"></a>
     426<a class="indexterm" name="id2577289"></a>
    427427Change (or add) your <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security</a> line in the [global] section
    428428of your <code class="filename">smb.conf</code> to read:
    429 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2571249"></a><em class="parameter"><code>security = domain</code></em></td></tr></table><p>
     429</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2577320"></a><em class="parameter"><code>security = domain</code></em></td></tr></table><p>
    430430Note that if the parameter <em class="parameter"><code>security = user</code></em> is used, this machine would function as a
    431431standalone server and not as a domain member server. Domain security mode causes Samba to work within the
     
    434434Next change the <a class="link" href="smb.conf.5.html#WORKGROUP" target="_top">workgroup</a> line in the <em class="parameter"><code>[global]</code></em>
    435435section to read:
    436 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2571297"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr></table><p>
     436</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2577368"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr></table><p>
    437437This is the name of the domain we are joining.
    438438</p><p>
    439 <a class="indexterm" name="id2571313"></a>
    440 <a class="indexterm" name="id2571320"></a>
     439<a class="indexterm" name="id2577384"></a>
     440<a class="indexterm" name="id2577391"></a>
    441441You must also have the parameter <a class="link" href="smb.conf.5.html#ENCRYPTPASSWORDS" target="_top">encrypt passwords</a>
    442442set to <code class="constant">yes</code> in order for your users to authenticate to the NT PDC.
     
    444444parameter, but if it is specified in the <code class="filename">smb.conf</code> file, it must be set to <code class="constant">Yes</code>.
    445445</p><p>
    446 <a class="indexterm" name="id2571359"></a>
    447 <a class="indexterm" name="id2571366"></a>
    448 <a class="indexterm" name="id2571372"></a>
    449 <a class="indexterm" name="id2571379"></a>
     446<a class="indexterm" name="id2577430"></a>
     447<a class="indexterm" name="id2577437"></a>
     448<a class="indexterm" name="id2577443"></a>
     449<a class="indexterm" name="id2577450"></a>
    450450Finally, add (or modify) a <a class="link" href="smb.conf.5.html#PASSWORDSERVER" target="_top">password server</a> line in the [global]
    451451section to read:
    452 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2571404"></a><em class="parameter"><code>password server = DOMPDC DOMBDC1 DOMBDC2</code></em></td></tr></table><p>
     452</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2577475"></a><em class="parameter"><code>password server = DOMPDC DOMBDC1 DOMBDC2</code></em></td></tr></table><p>
    453453These are the PDC and BDCs Samba
    454454will attempt to contact in order to authenticate users. Samba will
     
    457457among Domain Controllers.
    458458</p><p>
    459 <a class="indexterm" name="id2571423"></a>
    460 <a class="indexterm" name="id2571430"></a>
    461 <a class="indexterm" name="id2571437"></a>
    462 <a class="indexterm" name="id2571444"></a>
     459<a class="indexterm" name="id2577494"></a>
     460<a class="indexterm" name="id2577501"></a>
     461<a class="indexterm" name="id2577508"></a>
     462<a class="indexterm" name="id2577515"></a>
    463463Alternatively, if you want smbd to determine automatically the list of domain controllers to use for
    464464authentication, you may set this line to be:
    465 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2571459"></a><em class="parameter"><code>password server = *</code></em></td></tr></table><p>
    466 <a class="indexterm" name="id2571471"></a>
     465</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2577530"></a><em class="parameter"><code>password server = *</code></em></td></tr></table><p>
     466<a class="indexterm" name="id2577542"></a>
    467467This method allows Samba to use exactly the same mechanism that NT does. The
    468468method either uses broadcast-based name resolution, performs a WINS database
     
    471471</p><p>
    472472To join the domain, run this command:
    473 <a class="indexterm" name="id2571487"></a>
     473<a class="indexterm" name="id2577558"></a>
    474474</p><pre class="screen">
    475475<code class="prompt">root# </code><strong class="userinput"><code>net rpc join -S DOMPDC -U<em class="replaceable"><code>Administrator%password</code></em></code></strong>
    476476</pre><p>
    477477</p><p>
    478 <a class="indexterm" name="id2571520"></a>
    479 <a class="indexterm" name="id2571527"></a>
    480 <a class="indexterm" name="id2571534"></a>
    481 <a class="indexterm" name="id2571540"></a>
     478<a class="indexterm" name="id2577591"></a>
     479<a class="indexterm" name="id2577598"></a>
     480<a class="indexterm" name="id2577604"></a>
     481<a class="indexterm" name="id2577611"></a>
    482482If the <code class="option">-S DOMPDC</code> argument is not given, the domain name will be obtained from <code class="filename">smb.conf</code> and
    483483the NetBIOS name of the PDC will be obtained either using a WINS lookup or via NetBIOS broadcast based name
    484484look up.
    485485</p><p>
    486 <a class="indexterm" name="id2571563"></a>
    487 <a class="indexterm" name="id2571570"></a>
    488 <a class="indexterm" name="id2571577"></a>
    489 <a class="indexterm" name="id2571584"></a>
     486<a class="indexterm" name="id2577634"></a>
     487<a class="indexterm" name="id2577641"></a>
     488<a class="indexterm" name="id2577648"></a>
     489<a class="indexterm" name="id2577655"></a>
    490490The machine is joining the domain DOM, and the PDC for that domain (the only machine
    491491that has write access to the domain SAM database) is DOMPDC; therefore, use the <code class="option">-S</code>
     
    498498</pre><p>
    499499</p><p>
    500 <a class="indexterm" name="id2571620"></a>
    501 <a class="indexterm" name="id2571632"></a>
    502 <a class="indexterm" name="id2571638"></a>
     500<a class="indexterm" name="id2577691"></a>
     501<a class="indexterm" name="id2577703"></a>
     502<a class="indexterm" name="id2577709"></a>
    503503Where Active Directory is used, the command used to join the ADS domain is:
    504504</p><pre class="screen">
     
    513513administration</a> for further information.
    514514</p><p>
    515 <a class="indexterm" name="id2571696"></a>
    516 <a class="indexterm" name="id2571702"></a>
    517 <a class="indexterm" name="id2571710"></a>
     515<a class="indexterm" name="id2577767"></a>
     516<a class="indexterm" name="id2577773"></a>
     517<a class="indexterm" name="id2577780"></a>
    518518This process joins the server to the domain without separately having to create the machine
    519519trust account on the PDC beforehand.
    520520</p><p>
    521 <a class="indexterm" name="id2571722"></a>
    522 <a class="indexterm" name="id2571731"></a>
    523 <a class="indexterm" name="id2571738"></a>
    524 <a class="indexterm" name="id2571746"></a>
     521<a class="indexterm" name="id2577792"></a>
     522<a class="indexterm" name="id2577802"></a>
     523<a class="indexterm" name="id2577809"></a>
     524<a class="indexterm" name="id2577817"></a>
    525525This command goes through the machine account password change protocol, then writes the new (random) machine
    526526account password for this Samba server into a file in the same directory in which a smbpasswd file would be
     
    528528<code class="filename">/usr/local/samba/private/secrets.tdb</code> or <code class="filename">/etc/samba/secrets.tdb</code>.
    529529</p><p>
    530 <a class="indexterm" name="id2571774"></a>
    531 <a class="indexterm" name="id2571781"></a>
     530<a class="indexterm" name="id2577845"></a>
     531<a class="indexterm" name="id2577852"></a>
    532532This file is created and owned by root and is not readable by any other user. It is
    533533the key to the domain-level security for your system and should be treated as carefully
    534534as a shadow password file.
    535535</p><p>
    536 <a class="indexterm" name="id2571795"></a>
    537 <a class="indexterm" name="id2571802"></a>
    538 <a class="indexterm" name="id2571809"></a>
     536<a class="indexterm" name="id2577866"></a>
     537<a class="indexterm" name="id2577873"></a>
     538<a class="indexterm" name="id2577880"></a>
    539539Finally, restart your Samba daemons and get ready for clients to begin using domain
    540540security. The way you can restart your Samba daemons depends on your distribution,
     
    543543<code class="prompt">root# </code>/etc/init.d/samba restart
    544544</pre><p>
    545 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2571833"></a>Why Is This Better Than <em class="parameter"><code>security = server</code></em>?</h3></div></div></div><p>
    546 <a class="indexterm" name="id2571847"></a>
    547 <a class="indexterm" name="id2571854"></a>
    548 <a class="indexterm" name="id2571861"></a>
     545</p></div><div class="sect2" title="Why Is This Better Than security = server?"><div class="titlepage"><div><div><h3 class="title"><a name="id2577904"></a>Why Is This Better Than <em class="parameter"><code>security = server</code></em>?</h3></div></div></div><p>
     546<a class="indexterm" name="id2577918"></a>
     547<a class="indexterm" name="id2577925"></a>
     548<a class="indexterm" name="id2577932"></a>
    549549Currently, domain security in Samba does not free you from having to create local UNIX users to represent the
    550550users attaching to your server. This means that if domain user <code class="constant">DOM\fred</code> attaches to your
     
    553553NT server in the same way as a Windows 95 or Windows 98 server would.
    554554</p><p>
    555 <a class="indexterm" name="id2571896"></a>
    556 <a class="indexterm" name="id2571902"></a>
    557 <a class="indexterm" name="id2571908"></a>
     555<a class="indexterm" name="id2577966"></a>
     556<a class="indexterm" name="id2577973"></a>
     557<a class="indexterm" name="id2577979"></a>
    558558Please refer to <a class="link" href="winbind.html" title="Chapter 24. Winbind: Use of Domain Accounts">Winbind: Use of Domain Accounts</a>, for information on a system
    559559to automatically assign UNIX UIDs and GIDs to Windows NT domain users and groups.
    560560</p><p>
    561 <a class="indexterm" name="id2571928"></a>
    562 <a class="indexterm" name="id2571934"></a>
    563 <a class="indexterm" name="id2571941"></a>
     561<a class="indexterm" name="id2577999"></a>
     562<a class="indexterm" name="id2578005"></a>
     563<a class="indexterm" name="id2578012"></a>
    564564The advantage of domain-level security is that the authentication in domain-level security is passed down the
    565565authenticated RPC channel in exactly the same way that an NT server would do it. This means Samba servers now
     
    568568domain PDC).
    569569</p><p>
    570 <a class="indexterm" name="id2571959"></a>
    571 <a class="indexterm" name="id2571966"></a>
    572 <a class="indexterm" name="id2571972"></a>
     570<a class="indexterm" name="id2578030"></a>
     571<a class="indexterm" name="id2578036"></a>
     572<a class="indexterm" name="id2578043"></a>
    573573In addition, with <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = server</a>, every Samba daemon on a server has to
    574574keep a connection open to the authenticating server for as long as that daemon lasts. This can drain the
     
    578578connection resources.
    579579</p><p>
    580 <a class="indexterm" name="id2572012"></a>
    581 <a class="indexterm" name="id2572019"></a>
    582 <a class="indexterm" name="id2572026"></a>
    583 <a class="indexterm" name="id2572032"></a>
     580<a class="indexterm" name="id2578083"></a>
     581<a class="indexterm" name="id2578090"></a>
     582<a class="indexterm" name="id2578096"></a>
     583<a class="indexterm" name="id2578103"></a>
    584584Finally, acting in the same manner as an NT server authenticating to a PDC means that as part of the
    585585authentication reply, the Samba server gets the user identification information such as the user SID, the list
    586586of NT groups the user belongs to, and so on.
    587 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     587</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    588588Much of the text of this document was first published in the Web magazine
    589589<a class="ulink" href="http://www.linuxworld.com" target="_top"><span class="emphasis"><em>LinuxWorld</em></span></a> as the article <a class="ulink" href="http://www.linuxworld.com/linuxworld/lw-1998-10/lw-10-samba.html" target="_top">http://www.linuxworld.com/linuxworld/lw-1998-10/lw-10-samba.html</a>
    590590<span class="emphasis"><em>Doing the NIS/NT Samba</em></span>.
    591 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="ads-member"></a>Samba ADS Domain Membership</h2></div></div></div><p>
    592 <a class="indexterm" name="id2572082"></a>
    593 <a class="indexterm" name="id2572089"></a>
    594 <a class="indexterm" name="id2572098"></a>
    595 <a class="indexterm" name="id2572105"></a>
     591</p></div></div></div><div class="sect1" title="Samba ADS Domain Membership"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="ads-member"></a>Samba ADS Domain Membership</h2></div></div></div><p>
     592<a class="indexterm" name="id2578153"></a>
     593<a class="indexterm" name="id2578160"></a>
     594<a class="indexterm" name="id2578169"></a>
     595<a class="indexterm" name="id2578176"></a>
    596596This is a rough guide to setting up Samba-3 with Kerberos authentication against a
    597597Windows 200x KDC. A familiarity with Kerberos is assumed.
    598 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2572115"></a>Configure <code class="filename">smb.conf</code></h3></div></div></div><p>
     598</p><div class="sect2" title="Configure smb.conf"><div class="titlepage"><div><div><h3 class="title"><a name="id2578186"></a>Configure <code class="filename">smb.conf</code></h3></div></div></div><p>
    599599You must use at least the following three options in <code class="filename">smb.conf</code>:
    600 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2572141"></a><em class="parameter"><code>realm = your.kerberos.REALM</code></em></td></tr><tr><td><a class="indexterm" name="id2572153"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td># The following parameter need only be specified if present.</td></tr><tr><td># The default setting if not present is Yes.</td></tr><tr><td><a class="indexterm" name="id2572173"></a><em class="parameter"><code>encrypt passwords = yes</code></em></td></tr></table><p>
    601 <a class="indexterm" name="id2572187"></a>
    602 <a class="indexterm" name="id2572193"></a>
    603 <a class="indexterm" name="id2572200"></a>
    604 <a class="indexterm" name="id2572207"></a>
    605 <a class="indexterm" name="id2572214"></a>
     600</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2578212"></a><em class="parameter"><code>realm = your.kerberos.REALM</code></em></td></tr><tr><td><a class="indexterm" name="id2578224"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td># The following parameter need only be specified if present.</td></tr><tr><td># The default setting if not present is Yes.</td></tr><tr><td><a class="indexterm" name="id2578244"></a><em class="parameter"><code>encrypt passwords = yes</code></em></td></tr></table><p>
     601<a class="indexterm" name="id2578258"></a>
     602<a class="indexterm" name="id2578264"></a>
     603<a class="indexterm" name="id2578271"></a>
     604<a class="indexterm" name="id2578278"></a>
     605<a class="indexterm" name="id2578284"></a>
    606606In case samba cannot correctly identify the appropriate ADS server using the realm name, use the
    607607<a class="link" href="smb.conf.5.html#PASSWORDSERVER" target="_top">password server</a> option in <code class="filename">smb.conf</code>:
    608 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2572245"></a><em class="parameter"><code>password server = your.kerberos.server</code></em></td></tr></table><p>
     608</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2578316"></a><em class="parameter"><code>password server = your.kerberos.server</code></em></td></tr></table><p>
    609609The most common reason for which Samba may not be able to locate the ADS domain controller is a consequence of
    610610sites maintaining some DNS servers on UNIX systems without regard for the DNS requirements of the ADS
    611611infrastructure. There is no harm in specifying a preferred ADS domain controller using the <em class="parameter"><code>password
    612612server</code></em>.
    613 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    614 <a class="indexterm" name="id2572272"></a>
    615 <a class="indexterm" name="id2572278"></a>
     613</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     614<a class="indexterm" name="id2578342"></a>
     615<a class="indexterm" name="id2578349"></a>
    616616You do <span class="emphasis"><em>not</em></span> need an smbpasswd file, and older clients will be authenticated as
    617617if <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = domain</a>, although it will not do any harm and
    618618allows you to have local users not in the domain.
    619 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2572306"></a>Configure <code class="filename">/etc/krb5.conf</code></h3></div></div></div><p>
    620 <a class="indexterm" name="id2572318"></a>
    621 <a class="indexterm" name="id2572325"></a>
    622 <a class="indexterm" name="id2572334"></a>
    623 <a class="indexterm" name="id2572341"></a>
     619</p></div></div><div class="sect2" title="Configure /etc/krb5.conf"><div class="titlepage"><div><div><h3 class="title"><a name="id2578377"></a>Configure <code class="filename">/etc/krb5.conf</code></h3></div></div></div><p>
     620<a class="indexterm" name="id2578389"></a>
     621<a class="indexterm" name="id2578396"></a>
     622<a class="indexterm" name="id2578405"></a>
     623<a class="indexterm" name="id2578412"></a>
    624624With both MIT and Heimdal Kerberos, it is unnecessary to configure the <code class="filename">/etc/krb5.conf</code>,
    625625and it may be detrimental.
    626626</p><p>
    627 <a class="indexterm" name="id2572359"></a>
    628 <a class="indexterm" name="id2572366"></a>
    629 <a class="indexterm" name="id2572372"></a>
    630 <a class="indexterm" name="id2572379"></a>
    631 <a class="indexterm" name="id2572386"></a>
     627<a class="indexterm" name="id2578430"></a>
     628<a class="indexterm" name="id2578436"></a>
     629<a class="indexterm" name="id2578443"></a>
     630<a class="indexterm" name="id2578450"></a>
     631<a class="indexterm" name="id2578456"></a>
    632632Microsoft ADS automatically create SRV records in the DNS zone
    633633<em class="parameter"><code>_kerberos._tcp.REALM.NAME</code></em> for each KDC in the realm. This is part
     
    636636active directory infrastructure.
    637637</p><p>
    638 <a class="indexterm" name="id2572407"></a>
    639 <a class="indexterm" name="id2572414"></a>
    640 <a class="indexterm" name="id2572421"></a>
    641 <a class="indexterm" name="id2572428"></a>
    642 <a class="indexterm" name="id2572435"></a>
    643 <a class="indexterm" name="id2572442"></a>
     638<a class="indexterm" name="id2578478"></a>
     639<a class="indexterm" name="id2578485"></a>
     640<a class="indexterm" name="id2578492"></a>
     641<a class="indexterm" name="id2578499"></a>
     642<a class="indexterm" name="id2578506"></a>
     643<a class="indexterm" name="id2578512"></a>
    644644UNIX systems can use kinit and the DES-CBC-MD5 or DES-CBC-CRC encryption types to authenticate to the Windows
    6456452000 KDC. For further information regarding Windows 2000 ADS kerberos interoperability please refer to the
     
    649649explains much of the magic behind the operation of Kerberos.
    650650</p><p>
    651 <a class="indexterm" name="id2572473"></a>
    652 <a class="indexterm" name="id2572480"></a>
    653 <a class="indexterm" name="id2572486"></a>
    654 <a class="indexterm" name="id2572493"></a>
    655 <a class="indexterm" name="id2572500"></a>
    656 <a class="indexterm" name="id2572507"></a>
     651<a class="indexterm" name="id2578544"></a>
     652<a class="indexterm" name="id2578550"></a>
     653<a class="indexterm" name="id2578557"></a>
     654<a class="indexterm" name="id2578564"></a>
     655<a class="indexterm" name="id2578571"></a>
     656<a class="indexterm" name="id2578578"></a>
    657657MIT's, as well as Heimdal's, recent KRB5 libraries default to checking for SRV records, so they will
    658658automatically find the KDCs. In addition, <code class="filename">krb5.conf</code> only allows specifying
     
    660660libraries to use whichever KDCs are available.
    661661</p><p>
    662 <a class="indexterm" name="id2572528"></a>
     662<a class="indexterm" name="id2578599"></a>
    663663When manually configuring <code class="filename">krb5.conf</code>, the minimal configuration is:
    664664</p><pre class="screen">
     
    675675</pre><p>
    676676</p><p>
    677 <a class="indexterm" name="id2572554"></a>
     677<a class="indexterm" name="id2578624"></a>
    678678When using Heimdal versions before 0.6, use the following configuration settings:
    679679</p><pre class="screen">
     
    692692</pre><p>
    693693</p><p>
    694 <a class="indexterm" name="id2572576"></a>
    695 <a class="indexterm" name="id2572582"></a>
     694<a class="indexterm" name="id2578646"></a>
     695<a class="indexterm" name="id2578653"></a>
    696696Test your config by doing a <strong class="userinput"><code>kinit
    697697<em class="replaceable"><code>USERNAME</code></em>@<em class="replaceable"><code>REALM</code></em></code></strong> and
    698698making sure that your password is accepted by the Win2000 KDC.
    699699</p><p>
    700 <a class="indexterm" name="id2572606"></a>
    701 <a class="indexterm" name="id2572613"></a>
    702 <a class="indexterm" name="id2572619"></a>
    703 <a class="indexterm" name="id2572626"></a>
     700<a class="indexterm" name="id2578677"></a>
     701<a class="indexterm" name="id2578683"></a>
     702<a class="indexterm" name="id2578690"></a>
     703<a class="indexterm" name="id2578696"></a>
    704704With Heimdal versions earlier than 0.6.x you can use only newly created accounts
    705705in ADS or accounts that have had the password changed once after migration, or
     
    708708(and no default etypes in krb5.conf). Unfortunately, this whole area is still
    709709in a state of flux.
    710 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    711 <a class="indexterm" name="id2572647"></a>
    712 <a class="indexterm" name="id2572654"></a>
    713 <a class="indexterm" name="id2572661"></a>
    714 The realm must be in uppercase or you will get a &#8220;<span class="quote"><span class="errorname">Cannot find KDC for
    715 requested realm while getting initial credentials</span></span>&#8221; error (Kerberos
     710</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     711<a class="indexterm" name="id2578718"></a>
     712<a class="indexterm" name="id2578725"></a>
     713<a class="indexterm" name="id2578732"></a>
     714The realm must be in uppercase or you will get a <span class="quote">&#8220;<span class="quote"><span class="errorname">Cannot find KDC for
     715requested realm while getting initial credentials</span></span>&#8221;</span> error (Kerberos
    716716is case-sensitive!).
    717 </p></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    718 <a class="indexterm" name="id2572678"></a>
    719 <a class="indexterm" name="id2572685"></a>
    720 <a class="indexterm" name="id2572692"></a>
    721 <a class="indexterm" name="id2572699"></a>
    722 Time between the two servers must be synchronized. You will get a &#8220;<span class="quote"><span class="errorname">kinit(v5): Clock skew too
    723 great while getting initial credentials</span></span>&#8221; if the time difference (clock skew) is more than five minutes.
     717</p></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     718<a class="indexterm" name="id2578749"></a>
     719<a class="indexterm" name="id2578756"></a>
     720<a class="indexterm" name="id2578762"></a>
     721<a class="indexterm" name="id2578769"></a>
     722Time between the two servers must be synchronized. You will get a <span class="quote">&#8220;<span class="quote"><span class="errorname">kinit(v5): Clock skew too
     723great while getting initial credentials</span></span>&#8221;</span> if the time difference (clock skew) is more than five minutes.
    724724</p></div><p>
    725 <a class="indexterm" name="id2572716"></a>
    726 <a class="indexterm" name="id2572723"></a>
     725<a class="indexterm" name="id2578787"></a>
     726<a class="indexterm" name="id2578794"></a>
    727727Clock skew limits are configurable in the Kerberos protocols. The default setting is five minutes.
    728728</p><p>
    729 <a class="indexterm" name="id2572735"></a>
    730 <a class="indexterm" name="id2572742"></a>
    731 <a class="indexterm" name="id2572748"></a>
    732 <a class="indexterm" name="id2572755"></a>
     729<a class="indexterm" name="id2578806"></a>
     730<a class="indexterm" name="id2578812"></a>
     731<a class="indexterm" name="id2578819"></a>
     732<a class="indexterm" name="id2578826"></a>
    733733You also must ensure that you can do a reverse DNS lookup on the IP address of your KDC. Also, the name that
    734734this reverse lookup maps to must either be the NetBIOS name of the KDC (i.e., the hostname with no domain
    735735attached) or it can be the NetBIOS name followed by the realm.
    736736</p><p>
    737 <a class="indexterm" name="id2572770"></a>
    738 <a class="indexterm" name="id2572777"></a>
    739 <a class="indexterm" name="id2572783"></a>
     737<a class="indexterm" name="id2578841"></a>
     738<a class="indexterm" name="id2578847"></a>
     739<a class="indexterm" name="id2578854"></a>
    740740The easiest way to ensure you get this right is to add a <code class="filename">/etc/hosts</code> entry mapping the IP
    741741address of your KDC to its NetBIOS name. If you do not get this correct, then you will get a <span class="errorname">local
    742742error</span> when you try to join the realm.
    743743</p><p>
    744 <a class="indexterm" name="id2572806"></a>
    745 <a class="indexterm" name="id2572813"></a>
    746 <a class="indexterm" name="id2572820"></a>
    747 <a class="indexterm" name="id2572827"></a>
     744<a class="indexterm" name="id2578877"></a>
     745<a class="indexterm" name="id2578884"></a>
     746<a class="indexterm" name="id2578891"></a>
     747<a class="indexterm" name="id2578898"></a>
    748748If all you want is Kerberos support in <span class="application">smbclient</span>, then you can skip directly to <a class="link" href="domain-member.html#ads-test-smbclient" title="Testing with smbclient">Testing with <span class="application">smbclient</span></a> now.  <a class="link" href="domain-member.html#ads-create-machine-account" title="Create the Computer Account">Create the Computer Account</a> and <a class="link" href="domain-member.html#ads-test-server" title="Testing Server Setup">Testing Server Setup</a> are needed only if you want Kerberos support for <span class="application">smbd</span>
    749749and <span class="application">winbindd</span>.
    750 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="ads-create-machine-account"></a>Create the Computer Account</h3></div></div></div><p>
    751 <a class="indexterm" name="id2572898"></a>
    752 <a class="indexterm" name="id2572904"></a>
    753 <a class="indexterm" name="id2572911"></a>
    754 <a class="indexterm" name="id2572918"></a>
     750</p></div><div class="sect2" title="Create the Computer Account"><div class="titlepage"><div><div><h3 class="title"><a name="ads-create-machine-account"></a>Create the Computer Account</h3></div></div></div><p>
     751<a class="indexterm" name="id2578968"></a>
     752<a class="indexterm" name="id2578975"></a>
     753<a class="indexterm" name="id2578982"></a>
     754<a class="indexterm" name="id2578989"></a>
    755755As a user who has write permission on the Samba private directory (usually root), run:
    756756</p><pre class="screen">
     
    761761On the UNIX/Linux system, this command must be executed by an account that has UID=0 (root).
    762762</p><p>
    763 <a class="indexterm" name="id2572953"></a>
    764 <a class="indexterm" name="id2572959"></a>
    765 <a class="indexterm" name="id2572966"></a>
    766 <a class="indexterm" name="id2572973"></a>
    767 <a class="indexterm" name="id2572980"></a>
    768 <a class="indexterm" name="id2572987"></a>
     763<a class="indexterm" name="id2579024"></a>
     764<a class="indexterm" name="id2579030"></a>
     765<a class="indexterm" name="id2579037"></a>
     766<a class="indexterm" name="id2579044"></a>
     767<a class="indexterm" name="id2579051"></a>
     768<a class="indexterm" name="id2579058"></a>
    769769When making a Windows client a member of an ADS domain within a complex organization, you
    770770may want to create the machine trust account within a particular organizational unit. Samba-3 permits
     
    776776Your ADS manager will be able to advise what should be specified for the "organizational_unit" parameter.
    777777</p><p>
    778 <a class="indexterm" name="id2573037"></a>
    779 <a class="indexterm" name="id2573044"></a>
    780 <a class="indexterm" name="id2573051"></a>
    781 <a class="indexterm" name="id2573058"></a>
    782 For example, you may want to create the machine trust account in a container called &#8220;<span class="quote">Servers</span>&#8221;
    783 under the organizational directory &#8220;<span class="quote">Computers/BusinessUnit/Department,</span>&#8221; like this:
     778<a class="indexterm" name="id2579108"></a>
     779<a class="indexterm" name="id2579115"></a>
     780<a class="indexterm" name="id2579122"></a>
     781<a class="indexterm" name="id2579129"></a>
     782For example, you may want to create the machine trust account in a container called <span class="quote">&#8220;<span class="quote">Servers</span>&#8221;</span>
     783under the organizational directory <span class="quote">&#8220;<span class="quote">Computers/BusinessUnit/Department,</span>&#8221;</span> like this:
    784784</p><pre class="screen">
    785785<code class="prompt">root# </code> <strong class="userinput"><code>net ads join "Computers/BusinessUnit/Department/Servers"</code></strong>
     
    790790valid characters in an OU name and used as escapes for other characters.  If you need a backslash in an OU
    791791name, it may need to be quadrupled to pass through the shell escape and ldap escape.
    792 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2573107"></a>Possible Errors</h4></div></div></div><p>
     792</p><div class="sect3" title="Possible Errors"><div class="titlepage"><div><div><h4 class="title"><a name="id2579178"></a>Possible Errors</h4></div></div></div><p>
    793793</p><div class="variablelist"><dl><dt><span class="term"><span class="errorname">ADS support not compiled in</span></span></dt><dd><p>
    794         <a class="indexterm" name="id2573126"></a>
    795         <a class="indexterm" name="id2573133"></a>
    796         <a class="indexterm" name="id2573140"></a>
     794        <a class="indexterm" name="id2579197"></a>
     795        <a class="indexterm" name="id2579204"></a>
     796        <a class="indexterm" name="id2579211"></a>
    797797        Samba must be reconfigured (remove config.cache) and recompiled (make clean all install) after the
    798798        Kerberos libraries and headers files are installed.
    799799        </p></dd><dt><span class="term"><span class="errorname">net ads join prompts for user name</span></span></dt><dd><p>
    800         <a class="indexterm" name="id2573160"></a>
    801         <a class="indexterm" name="id2573167"></a>
     800        <a class="indexterm" name="id2579231"></a>
     801        <a class="indexterm" name="id2579237"></a>
    802802        You need to log in to the domain using <strong class="userinput"><code>kinit
    803803        <em class="replaceable"><code>USERNAME</code></em>@<em class="replaceable"><code>REALM</code></em></code></strong>.
    804804        <em class="replaceable"><code>USERNAME</code></em> must be a user who has rights to add a machine to the domain.
    805805        </p></dd><dt><span class="term">Unsupported encryption/or checksum types</span></dt><dd><p>
    806         <a class="indexterm" name="id2573200"></a>
    807         <a class="indexterm" name="id2573207"></a>
    808         <a class="indexterm" name="id2573214"></a>
     806        <a class="indexterm" name="id2579271"></a>
     807        <a class="indexterm" name="id2579278"></a>
     808        <a class="indexterm" name="id2579285"></a>
    809809        Make sure that the <code class="filename">/etc/krb5.conf</code> is correctly configured
    810810        for the type and version of Kerberos installed on the system.
    811811        </p></dd></dl></div><p>
    812 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="ads-test-server"></a>Testing Server Setup</h3></div></div></div><p>
    813 <a class="indexterm" name="id2573246"></a>
    814 <a class="indexterm" name="id2573252"></a>
    815 <a class="indexterm" name="id2573259"></a>
     812</p></div></div><div class="sect2" title="Testing Server Setup"><div class="titlepage"><div><div><h3 class="title"><a name="ads-test-server"></a>Testing Server Setup</h3></div></div></div><p>
     813<a class="indexterm" name="id2579316"></a>
     814<a class="indexterm" name="id2579323"></a>
     815<a class="indexterm" name="id2579330"></a>
    816816If the join was successful, you will see a new computer account with the
    817 NetBIOS name of your Samba server in Active Directory (in the &#8220;<span class="quote">Computers</span>&#8221;
     817NetBIOS name of your Samba server in Active Directory (in the <span class="quote">&#8220;<span class="quote">Computers</span>&#8221;</span>
    818818folder under Users and Computers.
    819819</p><p>
    820 <a class="indexterm" name="id2573275"></a>
    821 <a class="indexterm" name="id2573282"></a>
    822 <a class="indexterm" name="id2573291"></a>
     820<a class="indexterm" name="id2579346"></a>
     821<a class="indexterm" name="id2579353"></a>
     822<a class="indexterm" name="id2579362"></a>
    823823On a Windows 2000 client, try <strong class="userinput"><code>net use * \\server\share</code></strong>. You should
    824824be logged in with Kerberos without needing to know a password. If this fails, then run
    825825<strong class="userinput"><code>klist tickets</code></strong>. Did you get a ticket for the server? Does it have
    826826an encryption type of DES-CBC-MD5?
    827 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    828 <a class="indexterm" name="id2573318"></a>
    829 <a class="indexterm" name="id2573325"></a>
    830 <a class="indexterm" name="id2573332"></a>
     827</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     828<a class="indexterm" name="id2579389"></a>
     829<a class="indexterm" name="id2579396"></a>
     830<a class="indexterm" name="id2579403"></a>
    831831Samba can use both DES-CBC-MD5 encryption as well as ARCFOUR-HMAC-MD5 encoding.
    832 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="ads-test-smbclient"></a>Testing with <span class="application">smbclient</span></h3></div></div></div><p>
    833 <a class="indexterm" name="id2573359"></a>
    834 <a class="indexterm" name="id2573366"></a>
    835 <a class="indexterm" name="id2573373"></a>
     832</p></div></div><div class="sect2" title="Testing with smbclient"><div class="titlepage"><div><div><h3 class="title"><a name="ads-test-smbclient"></a>Testing with <span class="application">smbclient</span></h3></div></div></div><p>
     833<a class="indexterm" name="id2579430"></a>
     834<a class="indexterm" name="id2579437"></a>
     835<a class="indexterm" name="id2579443"></a>
    836836On your Samba server try to log in to a Windows 2000 server or your Samba
    837837server using <span class="application">smbclient</span> and Kerberos. Use <span class="application">smbclient</span> as usual, but
    838838specify the <code class="option">-k</code> option to choose Kerberos authentication.
    839 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2573400"></a>Notes</h3></div></div></div><p>
    840 <a class="indexterm" name="id2573408"></a>
    841 <a class="indexterm" name="id2573415"></a>
    842 <a class="indexterm" name="id2573422"></a>
     839</p></div><div class="sect2" title="Notes"><div class="titlepage"><div><div><h3 class="title"><a name="id2579471"></a>Notes</h3></div></div></div><p>
     840<a class="indexterm" name="id2579479"></a>
     841<a class="indexterm" name="id2579486"></a>
     842<a class="indexterm" name="id2579493"></a>
    843843You must change the administrator password at least once after installing a domain controller,
    844844to create the right encryption types.
    845845</p><p>
    846 <a class="indexterm" name="id2573434"></a>
    847 <a class="indexterm" name="id2573441"></a>
    848 <a class="indexterm" name="id2573448"></a>
     846<a class="indexterm" name="id2579505"></a>
     847<a class="indexterm" name="id2579512"></a>
     848<a class="indexterm" name="id2579519"></a>
    849849Windows 200x does not seem to create the <em class="parameter"><code>_kerberos._udp</code></em> and
    850850<em class="parameter"><code>_ldap._tcp</code></em> in the default DNS setup. Perhaps this will be fixed later in service packs.
    851 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2573472"></a>Sharing User ID Mappings between Samba Domain Members</h2></div></div></div><p>
    852 <a class="indexterm" name="id2573481"></a>
    853 <a class="indexterm" name="id2573488"></a>
    854 <a class="indexterm" name="id2573495"></a>
    855 <a class="indexterm" name="id2573501"></a>
     851</p></div></div><div class="sect1" title="Sharing User ID Mappings between Samba Domain Members"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2579543"></a>Sharing User ID Mappings between Samba Domain Members</h2></div></div></div><p>
     852<a class="indexterm" name="id2579552"></a>
     853<a class="indexterm" name="id2579559"></a>
     854<a class="indexterm" name="id2579565"></a>
     855<a class="indexterm" name="id2579572"></a>
    856856Samba maps UNIX users and groups (identified by UIDs and GIDs) to Windows users and groups (identified by SIDs).
    857857These mappings are done by the <em class="parameter"><code>idmap</code></em> subsystem of Samba.
    858858</p><p>
    859 <a class="indexterm" name="id2573520"></a>
    860 <a class="indexterm" name="id2573526"></a>
    861 <a class="indexterm" name="id2573533"></a>
     859<a class="indexterm" name="id2579590"></a>
     860<a class="indexterm" name="id2579597"></a>
     861<a class="indexterm" name="id2579604"></a>
    862862In some cases it is useful to share these mappings between Samba domain members,
    863863so <span class="emphasis"><em>name-&gt;id</em></span> mapping is identical on all machines.
    864864This may be needed in particular when sharing files over both CIFS and NFS.
    865865</p><p>
    866 <a class="indexterm" name="id2573551"></a>
    867 <a class="indexterm" name="id2573557"></a>
     866<a class="indexterm" name="id2579621"></a>
     867<a class="indexterm" name="id2579628"></a>
    868868To use the <span class="emphasis"><em>LDAP</em></span> <em class="parameter"><code>ldap idmap suffix</code></em>, set:
    869 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2573581"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr></table><p>
     869</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2579652"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr></table><p>
    870870See the <code class="filename">smb.conf</code> man page entry for the <a class="link" href="smb.conf.5.html#LDAPIDMAPSUFFIX" target="_top">ldap idmap suffix</a>
    871871parameter for further information.
    872872</p><p>
    873 <a class="indexterm" name="id2573617"></a>
    874 <a class="indexterm" name="id2573624"></a>
    875 <a class="indexterm" name="id2573631"></a>
     873<a class="indexterm" name="id2579688"></a>
     874<a class="indexterm" name="id2579694"></a>
     875<a class="indexterm" name="id2579702"></a>
    876876Do not forget to specify also the <a class="link" href="smb.conf.5.html#LDAPADMINDN" target="_top">ldap admin dn</a>
    877877and to make certain to set the LDAP administrative password into the <code class="filename">secrets.tdb</code> using:
     
    881881In place of <code class="literal">ldap-admin-password</code>, substitute the LDAP administration password for your
    882882system.
    883 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2573679"></a>Common Errors</h2></div></div></div><p>
    884 <a class="indexterm" name="id2573687"></a>
    885 <a class="indexterm" name="id2573694"></a>
     883</p></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2579750"></a>Common Errors</h2></div></div></div><p>
     884<a class="indexterm" name="id2579757"></a>
     885<a class="indexterm" name="id2579764"></a>
    886886In the process of adding/deleting/re-adding domain member machine trust accounts, there are
    887 many traps for the unwary player and many &#8220;<span class="quote">little</span>&#8221; things that can go wrong.
     887many traps for the unwary player and many <span class="quote">&#8220;<span class="quote">little</span>&#8221;</span> things that can go wrong.
    888888It is particularly interesting how often subscribers on the Samba mailing list have concluded
    889 after repeated failed attempts to add a machine account that it is necessary to &#8220;<span class="quote">reinstall</span>&#8221;
     889after repeated failed attempts to add a machine account that it is necessary to <span class="quote">&#8220;<span class="quote">reinstall</span>&#8221;</span>
    890890MS Windows on the machine. In truth, it is seldom necessary to reinstall because of this type
    891891of problem. The real solution is often quite simple, and with an understanding of how MS Windows
    892892networking functions, it is easy to overcome.
    893 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2573719"></a>Cannot Add Machine Back to Domain</h3></div></div></div><p>
    894 <a class="indexterm" name="id2573727"></a>
    895 <a class="indexterm" name="id2573734"></a>
    896 &#8220;<span class="quote">A Windows workstation was reinstalled. The original domain machine trust
     893</p><div class="sect2" title="Cannot Add Machine Back to Domain"><div class="titlepage"><div><div><h3 class="title"><a name="id2579789"></a>Cannot Add Machine Back to Domain</h3></div></div></div><p>
     894<a class="indexterm" name="id2579798"></a>
     895<a class="indexterm" name="id2579805"></a>
     896<span class="quote">&#8220;<span class="quote">A Windows workstation was reinstalled. The original domain machine trust
    897897account was deleted and added immediately. The workstation will not join the domain if I use
    898898the same machine name. Attempts to add the machine fail with a message that the machine already
    899 exists on the network  I know it does not. Why is this failing?</span>&#8221;
    900 </p><p>
    901 <a class="indexterm" name="id2573755"></a>
    902 <a class="indexterm" name="id2573761"></a>
     899exists on the network  I know it does not. Why is this failing?</span>&#8221;</span>
     900</p><p>
     901<a class="indexterm" name="id2579826"></a>
     902<a class="indexterm" name="id2579832"></a>
    903903The original name is still in the NetBIOS name cache and must expire after machine account
    904904deletion before adding that same name as a domain member again. The best advice is to delete
     
    908908<code class="prompt">C:\&gt; </code> nbtstat -R
    909909</pre><p>
    910 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2573794"></a>Adding Machine to Domain Fails</h3></div></div></div><p>
    911 <a class="indexterm" name="id2573802"></a>
    912 <a class="indexterm" name="id2573809"></a>
    913 &#8220;<span class="quote">Adding a Windows 200x or XP Professional machine to the Samba PDC Domain fails with a
     910</p></div><div class="sect2" title="Adding Machine to Domain Fails"><div class="titlepage"><div><div><h3 class="title"><a name="id2579865"></a>Adding Machine to Domain Fails</h3></div></div></div><p>
     911<a class="indexterm" name="id2579873"></a>
     912<a class="indexterm" name="id2579880"></a>
     913<span class="quote">&#8220;<span class="quote">Adding a Windows 200x or XP Professional machine to the Samba PDC Domain fails with a
    914914message that says, <span class="errorname">"The machine could not be added at this time, there is a network problem.
    915 Please try again later."</span> Why?</span>&#8221;
    916 </p><p>
    917 <a class="indexterm" name="id2573829"></a>
     915Please try again later."</span> Why?</span>&#8221;</span>
     916</p><p>
     917<a class="indexterm" name="id2579900"></a>
    918918You should check that there is an <a class="link" href="smb.conf.5.html#ADDMACHINESCRIPT" target="_top">add machine script</a> in your <code class="filename">smb.conf</code>
    919919file. If there is not, please add one that is appropriate for your OS platform. If a script
     
    923923</p><p>
    924924Possible causes include:
    925 </p><div class="itemizedlist"><ul type="disc"><li><p>
    926 <a class="indexterm" name="id2573887"></a>
    927 <a class="indexterm" name="id2573894"></a>
     925</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     926<a class="indexterm" name="id2579958"></a>
     927<a class="indexterm" name="id2579965"></a>
    928928        The script does not actually exist, or could not be located in the path specified.
    929929        </p><p>
    930 <a class="indexterm" name="id2573906"></a>
    931 <a class="indexterm" name="id2573912"></a>
     930<a class="indexterm" name="id2579976"></a>
     931<a class="indexterm" name="id2579983"></a>
    932932        <span class="emphasis"><em>Corrective action:</em></span> Fix it. Make sure when run manually
    933933        that the script will add both the UNIX system account and the Samba SAM account.
    934         </p></li><li><p>
    935 <a class="indexterm" name="id2573929"></a>
    936 <a class="indexterm" name="id2573936"></a>
     934        </p></li><li class="listitem"><p>
     935<a class="indexterm" name="id2580000"></a>
     936<a class="indexterm" name="id2580007"></a>
    937937        The machine could not be added to the UNIX system accounts file <code class="filename">/etc/passwd</code>.
    938938        </p><p>
    939 <a class="indexterm" name="id2573953"></a>
    940 <a class="indexterm" name="id2573960"></a>
     939<a class="indexterm" name="id2580024"></a>
     940<a class="indexterm" name="id2580031"></a>
    941941        <span class="emphasis"><em>Corrective action:</em></span> Check that the machine name is a legal UNIX
    942942        system account name. If the UNIX utility <code class="literal">useradd</code> is called,
     
    945945        nor will it allow spaces in the name.
    946946        </p></li></ul></div><p>
    947 <a class="indexterm" name="id2573992"></a>
    948 <a class="indexterm" name="id2573999"></a>
    949 <a class="indexterm" name="id2574006"></a>
     947<a class="indexterm" name="id2580063"></a>
     948<a class="indexterm" name="id2580070"></a>
     949<a class="indexterm" name="id2580076"></a>
    950950The <a class="link" href="smb.conf.5.html#ADDMACHINESCRIPT" target="_top">add machine script</a> does not create the
    951951machine account in the Samba backend database; it is there only to create a UNIX system
    952952account to which the Samba backend database account can be mapped.
    953 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2574030"></a>I Can't Join a Windows 2003 PDC</h3></div></div></div><p>
    954 <a class="indexterm" name="id2574038"></a>
    955 <a class="indexterm" name="id2574044"></a>
    956 <a class="indexterm" name="id2574051"></a>
    957 <a class="indexterm" name="id2574058"></a>
     953</p></div><div class="sect2" title="I Can't Join a Windows 2003 PDC"><div class="titlepage"><div><div><h3 class="title"><a name="id2580101"></a>I Can't Join a Windows 2003 PDC</h3></div></div></div><p>
     954<a class="indexterm" name="id2580109"></a>
     955<a class="indexterm" name="id2580115"></a>
     956<a class="indexterm" name="id2580122"></a>
     957<a class="indexterm" name="id2580129"></a>
    958958        Windows 2003 requires SMB signing. Client-side SMB signing has been implemented in Samba-3.0.
    959959        Set <a class="link" href="smb.conf.5.html#CLIENTUSESPNEGO" target="_top">client use spnego = yes</a> when communicating
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/go01.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Glossary</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="apa.html" title="Appendix A.  GNU General Public License version 3"><link rel="next" href="ix01.html" title="Index"></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">Glossary</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="apa.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ix01.html">Next</a></td></tr></table><hr></div><div class="glossary"><div class="titlepage"><div><div><h2 class="title"><a name="id2694950"></a>Glossary</h2></div></div></div><dl><dt>Access Control List</dt><dd><p>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Glossary</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="apa.html" title="Appendix A.  GNU General Public License version 3"><link rel="next" href="ix01.html" title="Index"></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">Glossary</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="apa.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ix01.html">Next</a></td></tr></table><hr></div><div class="glossary" title="Glossary"><div class="titlepage"><div><div><h2 class="title"><a name="id2701006"></a>Glossary</h2></div></div></div><dl><dt>Access Control List</dt><dd><p>
    22                A detailed list of permissions granted to users or groups with respect to file and network resource access.
    33                 See <a class="link" href="AccessControls.html" title="Chapter 16. File, Directory, and Share Access Controls">&#8220;File, Directory, and Share Access Controls&#8221;</a>,
     
    1414                The need for the deployment of the NetBIOS layer was also
    1515                removed, thus paving the way for use of the SMB protocol natively
    16                 over TCP/IP (known as NetBIOS-less SMB or &#8220;<span class="quote">naked</span>&#8221;  TCP transport).
     16                over TCP/IP (known as NetBIOS-less SMB or <span class="quote">&#8220;<span class="quote">naked</span>&#8221;</span>  TCP transport).
    1717                </p></dd><dt>Common UNIX Printing System</dt><dd><p>
    1818                A recent implementation of a high capability printing system for UNIX developed by
     
    6666                A highly compressed document format, based on PostScript, used as a document distribution format
    6767                that is supported by Web browsers as well as many applications. Adobe also distributes an application
    68                 called &#8220;<span class="quote">Acrobat,</span>&#8221; which is a PDF reader.
     68                called <span class="quote">&#8220;<span class="quote">Acrobat,</span>&#8221;</span> which is a PDF reader.
    6969                </p></dd><dt>Page Description Language</dt><dd><p>A language for describing the layout and contents of a printed page.
    7070                The best-known PDLs are Adobe PostScript and Hewlett-Packard PCL (Printer Control Language),
     
    9797                The UNC syntax was developed in the early days of MS DOS 3.x and is used internally by the SMB protocol.
    9898                </p></dd></dl></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="apa.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ix01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Appendix A. 
    99     GNU General Public License version 3
     99    <acronym class="acronym">GNU</acronym> General Public License version 3
    100100   </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Index</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/groupmapping.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 12. Group Mapping: MS Windows and UNIX</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="passdb.html" title="Chapter 11. Account Information Databases"><link rel="next" href="NetCommand.html" title="Chapter 13. Remote and Local Management: The Net Command"></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 12. Group Mapping: MS Windows and UNIX</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="passdb.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="NetCommand.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="groupmapping"></a>Chapter 12. Group Mapping: MS Windows and UNIX</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jean François</span> <span class="surname">Micouleau</span></h3></div></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="groupmapping.html#id2595891">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2596307">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2596644">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2597278">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598143">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2598220">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2598231">Sample smb.conf Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598403">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2598530">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2598543">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598630">Adding Domain Users to the Workstation Power Users Group</a></span></dt></dl></dd></dl></div><p>
    2 <a class="indexterm" name="id2595765"></a>
    3 <a class="indexterm" name="id2595774"></a>
    4 <a class="indexterm" name="id2595781"></a>
    5 <a class="indexterm" name="id2595788"></a>
    6 <a class="indexterm" name="id2595794"></a>
    7 <a class="indexterm" name="id2595801"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 12. Group Mapping: MS Windows and UNIX</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="passdb.html" title="Chapter 11. Account Information Databases"><link rel="next" href="NetCommand.html" title="Chapter 13. Remote and Local Management: The Net Command"></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 12. Group Mapping: MS Windows and UNIX</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="passdb.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="NetCommand.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 12. Group Mapping: MS Windows and UNIX"><div class="titlepage"><div><div><h2 class="title"><a name="groupmapping"></a>Chapter 12. Group Mapping: MS Windows and UNIX</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jean François</span> <span class="surname">Micouleau</span></h3></div></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="groupmapping.html#id2601958">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2602374">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2602711">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2603344">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2604210">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2604286">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2604298">Sample <code class="filename">smb.conf</code> Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2604470">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2604597">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2604610">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2604697">Adding Domain Users to the Workstation Power Users Group</a></span></dt></dl></dd></dl></div><p>
     2<a class="indexterm" name="id2601832"></a>
     3<a class="indexterm" name="id2601841"></a>
     4<a class="indexterm" name="id2601847"></a>
     5<a class="indexterm" name="id2601854"></a>
     6<a class="indexterm" name="id2601861"></a>
     7<a class="indexterm" name="id2601868"></a>
    88        Starting with Samba-3, new group mapping functionality is available to create associations
    99        between Windows group SIDs and UNIX group GIDs. The <code class="literal">groupmap</code> subcommand
    1010        included with the <span class="application">net</span> tool can be used to manage these associations.
    1111        </p><p>
    12 <a class="indexterm" name="id2595826"></a>
    13 <a class="indexterm" name="id2595833"></a>
     12<a class="indexterm" name="id2601893"></a>
     13<a class="indexterm" name="id2601900"></a>
    1414        The new facility for mapping NT groups to UNIX system groups allows the administrator to decide
    1515        which NT domain groups are to be exposed to MS Windows clients. Only those NT groups that map
    1616        to a UNIX group that has a value other than the default (<code class="constant">-1</code>) will be exposed
    1717        in group selection lists in tools that access domain users and groups.
    18         </p><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
    19         <a class="indexterm" name="id2595855"></a>
    20 <a class="indexterm" name="id2595862"></a>
     18        </p><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
     19        <a class="indexterm" name="id2601922"></a>
     20<a class="indexterm" name="id2601929"></a>
    2121        The <em class="parameter"><code>domain admin group</code></em> parameter has been removed in Samba-3 and should no longer
    2222        be specified in <code class="filename">smb.conf</code>. In Samba-2.2.x, this parameter was used to give the listed users membership in the
    2323        <code class="constant">Domain Admins</code> Windows group, which gave local admin rights on their workstations
    2424        (in default configurations).
    25         </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2595891"></a>Features and Benefits</h2></div></div></div><p>
     25        </p></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2601958"></a>Features and Benefits</h2></div></div></div><p>
    2626        Samba allows the administrator to create MS Windows NT4/200x group accounts and to
    2727        arbitrarily associate them with UNIX/Linux group accounts.
    2828        </p><p>
    29         <a class="indexterm" name="id2595905"></a>
    30         <a class="indexterm" name="id2595912"></a>
    31         <a class="indexterm" name="id2595918"></a>
    32 <a class="indexterm" name="id2595925"></a>
    33 <a class="indexterm" name="id2595931"></a>
    34 <a class="indexterm" name="id2595938"></a>
    35 <a class="indexterm" name="id2595945"></a>
     29        <a class="indexterm" name="id2601972"></a>
     30        <a class="indexterm" name="id2601978"></a>
     31        <a class="indexterm" name="id2601985"></a>
     32<a class="indexterm" name="id2601992"></a>
     33<a class="indexterm" name="id2601998"></a>
     34<a class="indexterm" name="id2602005"></a>
     35<a class="indexterm" name="id2602012"></a>
    3636        Group accounts can be managed using the MS Windows NT4 or MS Windows 200x/XP Professional MMC tools.
    3737        Appropriate interface scripts should be provided in <code class="filename">smb.conf</code> if it is desired that UNIX/Linux system
     
    4242        parameters in the <code class="filename">smb.conf</code> file.
    4343        </p><div class="figure"><a name="idmap-sid2gid"></a><p class="title"><b>Figure 12.1. IDMAP: Group SID-to-GID Resolution.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/idmap-sid2gid.png" width="270" alt="IDMAP: Group SID-to-GID Resolution."></div></div></div><br class="figure-break"><div class="figure"><a name="idmap-gid2sid"></a><p class="title"><b>Figure 12.2. IDMAP: GID Resolution to Matching SID.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/idmap-gid2sid.png" width="270" alt="IDMAP: GID Resolution to Matching SID."></div></div></div><br class="figure-break"><p>
    44         <a class="indexterm" name="id2596088"></a>
    45 <a class="indexterm" name="id2596095"></a>
    46 <a class="indexterm" name="id2596102"></a>
    47 <a class="indexterm" name="id2596110"></a>
     44        <a class="indexterm" name="id2602155"></a>
     45<a class="indexterm" name="id2602161"></a>
     46<a class="indexterm" name="id2602168"></a>
     47<a class="indexterm" name="id2602177"></a>
    4848        In both cases, when winbindd is not running, only locally resolvable groups can be recognized. Please refer to
    4949        <a class="link" href="groupmapping.html#idmap-sid2gid" title="Figure 12.1. IDMAP: Group SID-to-GID Resolution.">IDMAP: Group SID-to-GID Resolution</a> and <a class="link" href="groupmapping.html#idmap-gid2sid" title="Figure 12.2. IDMAP: GID Resolution to Matching SID.">IDMAP: GID Resolution to Matching SID</a>.  The <code class="literal">net groupmap</code> is
     
    5151        group mappings</a>.
    5252        </p><div class="figure"><a name="idmap-store-gid2sid"></a><p class="title"><b>Figure 12.3. IDMAP Storing Group Mappings.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/idmap-store-gid2sid.png" width="270" alt="IDMAP Storing Group Mappings."></div></div></div><br class="figure-break"><p>
    53         <a class="indexterm" name="id2596197"></a>
    54         <a class="indexterm" name="id2596203"></a>
    55 <a class="indexterm" name="id2596210"></a>
    56 <a class="indexterm" name="id2596217"></a>
     53        <a class="indexterm" name="id2602263"></a>
     54        <a class="indexterm" name="id2602270"></a>
     55<a class="indexterm" name="id2602277"></a>
     56<a class="indexterm" name="id2602283"></a>
    5757        Administrators should be aware that where <code class="filename">smb.conf</code> group interface scripts make
    5858        direct calls to the UNIX/Linux system tools (the shadow utilities, <code class="literal">groupadd</code>,
     
    6363        UNIX/Linux group, an attempt that will of course fail.
    6464        </p><p>
    65         <a class="indexterm" name="id2596265"></a>
    66         <a class="indexterm" name="id2596271"></a>
     65        <a class="indexterm" name="id2602331"></a>
     66        <a class="indexterm" name="id2602338"></a>
    6767        There are several possible workarounds for the operating system tools limitation. One
    6868        method is to use a script that generates a name for the UNIX/Linux system group that
     
    7070        back to the calling Samba interface. This will provide a dynamic workaround solution.
    7171        </p><p>
    72 <a class="indexterm" name="id2596287"></a>
     72<a class="indexterm" name="id2602354"></a>
    7373        Another workaround is to manually create a UNIX/Linux group, then manually create the
    7474        MS Windows NT4/200x group on the Samba server, and then use the <code class="literal">net groupmap</code>
    7575        tool to connect the two to each other.
    76         </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2596307"></a>Discussion</h2></div></div></div><p>
    77 <a class="indexterm" name="id2596315"></a>
    78 <a class="indexterm" name="id2596322"></a>
     76        </p></div><div class="sect1" title="Discussion"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2602374"></a>Discussion</h2></div></div></div><p>
     77<a class="indexterm" name="id2602382"></a>
     78<a class="indexterm" name="id2602389"></a>
    7979        When you install <span class="application">MS Windows NT4/200x</span> on a computer, the installation
    8080        program creates default users and groups, notably the <code class="constant">Administrators</code> group,
     
    8383        local machine.
    8484        </p><p>
    85         <a class="indexterm" name="id2596347"></a>
     85        <a class="indexterm" name="id2602414"></a>
    8686        The <code class="constant">Administrator</code> user is a member of the <code class="constant">Administrators</code> group, and thus inherits
    8787        <code class="constant">Administrators</code> group privileges. If a <code class="constant">joe</code> user is created to be a member of the
     
    8989        <code class="constant">Administrator</code>.
    9090        </p><p>
    91 <a class="indexterm" name="id2596386"></a>
    92 <a class="indexterm" name="id2596393"></a>
    93 <a class="indexterm" name="id2596400"></a>
    94 <a class="indexterm" name="id2596407"></a>
    95         When an MS Windows NT4/200x/XP machine is made a domain member, the &#8220;<span class="quote">Domain Admins</span>&#8221; group of the
     91<a class="indexterm" name="id2602452"></a>
     92<a class="indexterm" name="id2602459"></a>
     93<a class="indexterm" name="id2602466"></a>
     94<a class="indexterm" name="id2602473"></a>
     95        When an MS Windows NT4/200x/XP machine is made a domain member, the <span class="quote">&#8220;<span class="quote">Domain Admins</span>&#8221;</span> group of the
    9696        PDC is added to the local <code class="constant">Administrators</code> group of the workstation. Every member of the
    9797        <code class="constant">Domain Admins</code> group inherits the rights of the local <code class="constant">Administrators</code> group when
    9898        logging on the workstation.
    9999        </p><p>
    100 <a class="indexterm" name="id2596435"></a>
    101 <a class="indexterm" name="id2596442"></a>
     100<a class="indexterm" name="id2602502"></a>
     101<a class="indexterm" name="id2602509"></a>
    102102        The following steps describe how to make Samba PDC users members of the <code class="constant">Domain Admins</code> group.
    103         </p><div class="orderedlist"><ol type="1"><li><p>
     103        </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
    104104                Create a UNIX group (usually in <code class="filename">/etc/group</code>); let's call it <code class="constant">domadm</code>.
    105                 </p></li><li><p>
    106 <a class="indexterm" name="id2596480"></a>
    107                 Add to this group the users that must be &#8220;<span class="quote">Administrators</span>&#8221;. For example,
     105                </p></li><li class="listitem"><p>
     106<a class="indexterm" name="id2602546"></a>
     107                Add to this group the users that must be <span class="quote">&#8220;<span class="quote">Administrators</span>&#8221;</span>. For example,
    108108                if you want <code class="constant">joe, john</code>, and <code class="constant">mary</code> to be administrators,
    109109                your entry in <code class="filename">/etc/group</code> will look like this:
     
    111111                domadm:x:502:joe,john,mary
    112112                </pre><p>
    113                 </p></li><li><p>
    114                 Map this domadm group to the &#8220;<span class="quote">Domain Admins</span>&#8221; group by executing the command:
     113                </p></li><li class="listitem"><p>
     114                Map this domadm group to the <span class="quote">&#8220;<span class="quote">Domain Admins</span>&#8221;</span> group by executing the command:
    115115                </p><p>
    116116</p><pre class="screen">
     
    118118</pre><p>
    119119                </p><p>
    120                 <a class="indexterm" name="id2596547"></a>
    121                 The quotes around &#8220;<span class="quote">Domain Admins</span>&#8221; are necessary due to the space in the group name.
     120                <a class="indexterm" name="id2602614"></a>
     121                The quotes around <span class="quote">&#8220;<span class="quote">Domain Admins</span>&#8221;</span> are necessary due to the space in the group name.
    122122                Also make sure to leave no white space surrounding the equal character (=).
    123123                </p></li></ol></div><p>
    124124        Now <code class="constant">joe, john</code>, and <code class="constant">mary</code> are domain administrators.
    125125        </p><p>
    126         <a class="indexterm" name="id2596576"></a>
     126        <a class="indexterm" name="id2602643"></a>
    127127        It is possible to map any arbitrary UNIX group to any Windows NT4/200x group as well as
    128128        to make any UNIX group a Windows domain group. For example, if you wanted to include a
     
    136136        the space from being interpreted as a command delimiter.
    137137        </p><p>
    138 <a class="indexterm" name="id2596623"></a>
    139 <a class="indexterm" name="id2596630"></a>
     138<a class="indexterm" name="id2602690"></a>
     139<a class="indexterm" name="id2602696"></a>
    140140        Be aware that the RID parameter is an unsigned 32-bit integer that should
    141141        normally start at 1000. However, this RID must not overlap with any RID assigned
     
    143143        you are using. Future versions of the tools may perform the verification automatically,
    144144        but for now the burden is on you.
    145         </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2596644"></a>Warning: User Private Group Problems</h3></div></div></div><p>
    146 <a class="indexterm" name="id2596652"></a>
    147 <a class="indexterm" name="id2596659"></a>
    148 <a class="indexterm" name="id2596666"></a>
     145        </p><div class="sect2" title="Warning: User Private Group Problems"><div class="titlepage"><div><div><h3 class="title"><a name="id2602711"></a>Warning: User Private Group Problems</h3></div></div></div><p>
     146<a class="indexterm" name="id2602719"></a>
     147<a class="indexterm" name="id2602726"></a>
     148<a class="indexterm" name="id2602733"></a>
    149149        Windows does not permit user and group accounts to have the same name.
    150150        This has serious implications for all sites that use private group accounts.
     
    153153        of Linux, by default create private groups.
    154154        </p><p>
    155 <a class="indexterm" name="id2596682"></a>
    156 <a class="indexterm" name="id2596689"></a>
     155<a class="indexterm" name="id2602749"></a>
     156<a class="indexterm" name="id2602756"></a>
    157157        When mapping a UNIX/Linux group to a Windows group account, all conflict can
    158158        be avoided by assuring that the Windows domain group name does not overlap
    159159        with any user account name.
    160         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2596702"></a>Nested Groups: Adding Windows Domain Groups to Windows Local Groups</h3></div></div></div><a class="indexterm" name="id2596708"></a><p>
    161 <a class="indexterm" name="id2596719"></a>
     160        </p></div><div class="sect2" title="Nested Groups: Adding Windows Domain Groups to Windows Local Groups"><div class="titlepage"><div><div><h3 class="title"><a name="id2602768"></a>Nested Groups: Adding Windows Domain Groups to Windows Local Groups</h3></div></div></div><a class="indexterm" name="id2602775"></a><p>
     161<a class="indexterm" name="id2602786"></a>
    162162        This functionality is known as <code class="constant">nested groups</code> and was first added to
    163163        Samba-3.0.3.
    164164        </p><p>
    165 <a class="indexterm" name="id2596735"></a>
     165<a class="indexterm" name="id2602801"></a>
    166166        All MS Windows products since the release of Windows NT 3.10 support the use of nested groups.
    167167        Many Windows network administrators depend on this capability because it greatly simplifies security
    168168        administration.
    169169        </p><p>
    170 <a class="indexterm" name="id2596748"></a>
    171 <a class="indexterm" name="id2596755"></a>
    172 <a class="indexterm" name="id2596762"></a>
    173 <a class="indexterm" name="id2596769"></a>
    174 <a class="indexterm" name="id2596776"></a>
    175 <a class="indexterm" name="id2596783"></a>
    176 <a class="indexterm" name="id2596790"></a>
     170<a class="indexterm" name="id2602815"></a>
     171<a class="indexterm" name="id2602822"></a>
     172<a class="indexterm" name="id2602829"></a>
     173<a class="indexterm" name="id2602836"></a>
     174<a class="indexterm" name="id2602843"></a>
     175<a class="indexterm" name="id2602850"></a>
     176<a class="indexterm" name="id2602857"></a>
    177177        The nested group architecture was designed with the premise that day-to-day user and group membership
    178178        management should be performed on the domain security database. The application of group security
     
    181181        domain global groups and domain global users.
    182182        </p><p>
    183 <a class="indexterm" name="id2596808"></a>
    184 <a class="indexterm" name="id2596815"></a>
    185 <a class="indexterm" name="id2596822"></a>
     183<a class="indexterm" name="id2602875"></a>
     184<a class="indexterm" name="id2602882"></a>
     185<a class="indexterm" name="id2602889"></a>
    186186        You may ask, What are the benefits of this arrangement? The answer is obvious to those who have plumbed
    187187        the dark depths of Windows networking architecture. Consider for a moment a server on which are stored
     
    191191        Answer: Account Unknown.
    192192        </p><p>
    193 <a class="indexterm" name="id2596842"></a>
    194 <a class="indexterm" name="id2596849"></a>
    195 <a class="indexterm" name="id2596856"></a>
    196 <a class="indexterm" name="id2596862"></a>
     193<a class="indexterm" name="id2602908"></a>
     194<a class="indexterm" name="id2602916"></a>
     195<a class="indexterm" name="id2602922"></a>
     196<a class="indexterm" name="id2602929"></a>
    197197        Unraveling the file ownership mess is an unenviable administrative task that can be avoided simply
    198198        by using local groups to control all file and directory access control. In this case, only the members
     
    202202        entries for domain global groups in the new domain that the server has been made a member of.
    203203        </p><p>
    204 <a class="indexterm" name="id2596886"></a>
    205 <a class="indexterm" name="id2596893"></a>
    206 <a class="indexterm" name="id2596900"></a>
    207 <a class="indexterm" name="id2596907"></a>
    208 <a class="indexterm" name="id2596914"></a>
    209 <a class="indexterm" name="id2596921"></a>
    210 <a class="indexterm" name="id2596928"></a>
    211 <a class="indexterm" name="id2596935"></a>
     204<a class="indexterm" name="id2602953"></a>
     205<a class="indexterm" name="id2602960"></a>
     206<a class="indexterm" name="id2602967"></a>
     207<a class="indexterm" name="id2602974"></a>
     208<a class="indexterm" name="id2602981"></a>
     209<a class="indexterm" name="id2602988"></a>
     210<a class="indexterm" name="id2602994"></a>
     211<a class="indexterm" name="id2603001"></a>
    212212        Another prominent example of the use of nested groups involves implementation of administrative privileges
    213213        on domain member workstations and servers. Administrative privileges are given to all members of the
     
    218218        privileges on each domain member.
    219219        </p><p>
    220 <a class="indexterm" name="id2596963"></a>
    221 <a class="indexterm" name="id2596970"></a>
    222 <a class="indexterm" name="id2596977"></a>
    223 <a class="indexterm" name="id2596983"></a>
     220<a class="indexterm" name="id2603029"></a>
     221<a class="indexterm" name="id2603036"></a>
     222<a class="indexterm" name="id2603043"></a>
     223<a class="indexterm" name="id2603050"></a>
    224224        UNIX/Linux has no concept of support for nested groups, and thus Samba has for a long time not supported
    225225        them either. The problem is that you would have to enter UNIX groups as auxiliary members of a group in
     
    229229        controller that the Samba server is a member of.
    230230        </p><p>
    231 <a class="indexterm" name="id2597014"></a>
    232 <a class="indexterm" name="id2597021"></a>
    233 <a class="indexterm" name="id2597028"></a>
    234 <a class="indexterm" name="id2597035"></a>
    235 <a class="indexterm" name="id2597042"></a>
     231<a class="indexterm" name="id2603081"></a>
     232<a class="indexterm" name="id2603087"></a>
     233<a class="indexterm" name="id2603094"></a>
     234<a class="indexterm" name="id2603101"></a>
     235<a class="indexterm" name="id2603108"></a>
    236236        In effect, Samba supplements the <code class="filename">/etc/group</code> data via the dynamic
    237237        <code class="literal">libnss_winbind</code> mechanism. Beginning with Samba-3.0.3, this facility is used to provide
     
    243243        UNIX/Linux group <code class="constant">demo</code>.
    244244        </p><p>
    245 <a class="indexterm" name="id2597088"></a>
    246 <a class="indexterm" name="id2597095"></a>
    247 <a class="indexterm" name="id2597102"></a>
    248 <a class="indexterm" name="id2597108"></a>
    249 <a class="indexterm" name="id2597115"></a>
    250 <a class="indexterm" name="id2597122"></a>
    251 <a class="indexterm" name="id2597129"></a>
     245<a class="indexterm" name="id2603154"></a>
     246<a class="indexterm" name="id2603161"></a>
     247<a class="indexterm" name="id2603168"></a>
     248<a class="indexterm" name="id2603175"></a>
     249<a class="indexterm" name="id2603182"></a>
     250<a class="indexterm" name="id2603188"></a>
     251<a class="indexterm" name="id2603195"></a>
    252252        To enable the use of nested groups, <code class="literal">winbindd</code> must be used with NSS winbind.
    253253        Creation and administration of the local groups is done best via the Windows Domain User Manager or its
     
    257257        <code class="prompt">root# </code> net rpc group add demo -L -Uroot%not24get
    258258        </pre><p>
    259 <a class="indexterm" name="id2597172"></a>
    260 <a class="indexterm" name="id2597179"></a>
     259<a class="indexterm" name="id2603239"></a>
     260<a class="indexterm" name="id2603246"></a>
    261261        Here the -L switch means that you want to create a local group. It may be necessary to add -S and -U
    262262        switches for accessing the correct host with appropriate user or root privileges. Adding and removing
    263263        group members can be done via the <code class="constant">addmem</code> and <code class="constant">delmem</code> subcommands of
    264         <code class="literal">net rpc group</code> command. For example, addition of &#8220;<span class="quote">DOM\Domain Users</span>&#8221; to the
     264        <code class="literal">net rpc group</code> command. For example, addition of <span class="quote">&#8220;<span class="quote">DOM\Domain Users</span>&#8221;</span> to the
    265265        local group <code class="constant">demo</code> is done by executing:
    266266        </p><pre class="screen">
    267267        net rpc group addmem demo "DOM\Domain Users"
    268268        </pre><p>
    269 <a class="indexterm" name="id2597219"></a>
    270 <a class="indexterm" name="id2597226"></a>
    271 <a class="indexterm" name="id2597233"></a>
    272 <a class="indexterm" name="id2597240"></a>
     269<a class="indexterm" name="id2603285"></a>
     270<a class="indexterm" name="id2603292"></a>
     271<a class="indexterm" name="id2603299"></a>
     272<a class="indexterm" name="id2603306"></a>
    273273        Having completed these two steps, the execution of <code class="literal">getent group demo</code> will show demo
    274274        members of the global <code class="constant">Domain Users</code> group as members of  the group
     
    278278        added to the <code class="constant">demo</code> group now have the same local access permissions as local domain
    279279        users have.
    280         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2597278"></a>Important Administrative Information</h3></div></div></div><p>
     280        </p></div><div class="sect2" title="Important Administrative Information"><div class="titlepage"><div><div><h3 class="title"><a name="id2603344"></a>Important Administrative Information</h3></div></div></div><p>
    281281        Administrative rights are necessary in two specific forms:
    282         </p><div class="orderedlist"><ol type="1"><li><p>For Samba-3 domain controllers and domain member servers/clients.</p></li><li><p>To manage domain member Windows workstations.</p></li></ol></div><p>
    283 <a class="indexterm" name="id2597309"></a>
    284 <a class="indexterm" name="id2597316"></a>
    285 <a class="indexterm" name="id2597323"></a>
     282        </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>For Samba-3 domain controllers and domain member servers/clients.</p></li><li class="listitem"><p>To manage domain member Windows workstations.</p></li></ol></div><p>
     283<a class="indexterm" name="id2603375"></a>
     284<a class="indexterm" name="id2603382"></a>
     285<a class="indexterm" name="id2603389"></a>
    286286        Versions of Samba up to and including 3.0.10 do not provide a means for assigning rights and privileges
    287287        that are necessary for system administration tasks from a Windows domain member client machine, so
     
    289289        managing workstation domain membership accounts, can be handled by any account other than root.
    290290        </p><p>
    291 <a class="indexterm" name="id2597340"></a>
    292 <a class="indexterm" name="id2597347"></a>
    293 <a class="indexterm" name="id2597354"></a>
     291<a class="indexterm" name="id2603407"></a>
     292<a class="indexterm" name="id2603414"></a>
     293<a class="indexterm" name="id2603420"></a>
    294294        Samba-3.0.11 introduced a new privilege management interface (see <a class="link" href="rights.html" title="Chapter 15. User Rights and Privileges">User Rights and Privileges</a>)
    295295        that permits these tasks to be delegated to non-root (i.e., accounts other than the equivalent of the
    296296        MS Windows Administrator) accounts.
    297297        </p><p>
    298 <a class="indexterm" name="id2597375"></a>
    299 <a class="indexterm" name="id2597382"></a>
     298<a class="indexterm" name="id2603442"></a>
     299<a class="indexterm" name="id2603448"></a>
    300300        Administrative tasks on a Windows domain member workstation can be done by anyone who is a member of the
    301301        <code class="constant">Domain Admins</code> group. This group can be mapped to any convenient UNIX group.
    302         </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2597396"></a>Applicable Only to Versions Earlier than 3.0.11</h4></div></div></div><p>
    303 <a class="indexterm" name="id2597405"></a>
     302        </p><div class="sect3" title="Applicable Only to Versions Earlier than 3.0.11"><div class="titlepage"><div><div><h4 class="title"><a name="id2603463"></a>Applicable Only to Versions Earlier than 3.0.11</h4></div></div></div><p>
     303<a class="indexterm" name="id2603471"></a>
    304304        Administrative tasks on UNIX/Linux systems, such as adding users or groups, requires
    305305        <code class="constant">root</code>-level privilege. The addition of a Windows client to a Samba domain involves the
    306306        addition of a user account for the Windows client.
    307307        </p><p>
    308 <a class="indexterm" name="id2597422"></a>
    309 <a class="indexterm" name="id2597429"></a>
     308<a class="indexterm" name="id2603489"></a>
     309<a class="indexterm" name="id2603496"></a>
    310310        Many UNIX administrators continue to request that the Samba Team make it possible to add Windows workstations, or
    311311        the ability to add, delete, or modify user accounts, without requiring <code class="constant">root</code> privileges.
    312312        Such a request violates every understanding of basic UNIX system security.
    313313        </p><p>
    314 <a class="indexterm" name="id2597448"></a>
    315 <a class="indexterm" name="id2597454"></a>
    316 <a class="indexterm" name="id2597461"></a>
    317 <a class="indexterm" name="id2597468"></a>
    318 <a class="indexterm" name="id2597475"></a>
    319 <a class="indexterm" name="id2597482"></a>
     314<a class="indexterm" name="id2603514"></a>
     315<a class="indexterm" name="id2603521"></a>
     316<a class="indexterm" name="id2603528"></a>
     317<a class="indexterm" name="id2603535"></a>
     318<a class="indexterm" name="id2603542"></a>
     319<a class="indexterm" name="id2603549"></a>
    320320        There is no safe way to provide access on a UNIX/Linux system without providing
    321321        <code class="constant">root</code>-level privileges. Provision of <code class="constant">root</code> privileges can be done
     
    325325        accounts as well as domain member server and client accounts. This level of privilege is also needed to manage
    326326        share-level ACLs.
    327         </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2597518"></a>Default Users, Groups, and Relative Identifiers</h3></div></div></div><p>
    328         <a class="indexterm" name="id2597526"></a>
    329         <a class="indexterm" name="id2597536"></a>
    330 <a class="indexterm" name="id2597542"></a>
    331 <a class="indexterm" name="id2597549"></a>
    332 <a class="indexterm" name="id2597556"></a>
    333 <a class="indexterm" name="id2597563"></a>
    334 <a class="indexterm" name="id2597570"></a>
    335 <a class="indexterm" name="id2597576"></a>
     327        </p></div></div><div class="sect2" title="Default Users, Groups, and Relative Identifiers"><div class="titlepage"><div><div><h3 class="title"><a name="id2603585"></a>Default Users, Groups, and Relative Identifiers</h3></div></div></div><p>
     328        <a class="indexterm" name="id2603593"></a>
     329        <a class="indexterm" name="id2603602"></a>
     330<a class="indexterm" name="id2603609"></a>
     331<a class="indexterm" name="id2603616"></a>
     332<a class="indexterm" name="id2603623"></a>
     333<a class="indexterm" name="id2603630"></a>
     334<a class="indexterm" name="id2603636"></a>
     335<a class="indexterm" name="id2603643"></a>
    336336        When first installed, Windows NT4/200x/XP are preconfigured with certain user, group, and
    337337        alias entities. Each has a well-known RID. These must be preserved for continued
     
    341341        (provision) the default NT groups.
    342342        </p><p>
    343 <a class="indexterm" name="id2597598"></a>
    344 <a class="indexterm" name="id2597605"></a>
    345 <a class="indexterm" name="id2597612"></a>
    346 <a class="indexterm" name="id2597619"></a>
     343<a class="indexterm" name="id2603665"></a>
     344<a class="indexterm" name="id2603672"></a>
     345<a class="indexterm" name="id2603679"></a>
     346<a class="indexterm" name="id2603686"></a>
    347347        Each essential domain group must be assigned its respective well-known RID. The default users, groups,
    348348        aliases, and RIDs are shown in <a class="link" href="groupmapping.html#WKURIDS" title="Table 12.1. Well-Known User Default RIDs">Well-Known User Default RIDs</a>.
    349         </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    350 <a class="indexterm" name="id2597641"></a>
    351 <a class="indexterm" name="id2597647"></a>
    352 <a class="indexterm" name="id2597654"></a>
    353 <a class="indexterm" name="id2597661"></a>
    354 <a class="indexterm" name="id2597668"></a>
     349        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     350<a class="indexterm" name="id2603707"></a>
     351<a class="indexterm" name="id2603714"></a>
     352<a class="indexterm" name="id2603721"></a>
     353<a class="indexterm" name="id2603728"></a>
     354<a class="indexterm" name="id2603734"></a>
    355355        It is the administrator's responsibility to create the essential domain groups and to assign each
    356356        its default RID.
    357357        </p></div><p>
    358 <a class="indexterm" name="id2597680"></a>
    359 <a class="indexterm" name="id2597687"></a>
     358<a class="indexterm" name="id2603746"></a>
     359<a class="indexterm" name="id2603753"></a>
    360360        It is permissible to create any domain group that may be necessary; just make certain that the essential
    361361        domain groups (well known) have been created and assigned their default RIDs. Other groups you create may
     
    366366        </p><p>
    367367        </p><div class="table"><a name="WKURIDS"></a><p class="title"><b>Table 12.1. Well-Known User Default RIDs</b></p><div class="table-contents"><table summary="Well-Known User Default RIDs" border="1"><colgroup><col align="left"><col align="left"><col align="left"><col align="center"></colgroup><thead><tr><th align="left">Well-Known Entity</th><th align="left">RID</th><th align="left">Type</th><th align="center">Essential</th></tr></thead><tbody><tr><td align="left">Domain Administrator</td><td align="left">500</td><td align="left">User</td><td align="center">No</td></tr><tr><td align="left">Domain Guest</td><td align="left">501</td><td align="left">User</td><td align="center">No</td></tr><tr><td align="left">Domain KRBTGT</td><td align="left">502</td><td align="left">User</td><td align="center">No</td></tr><tr><td align="left">Domain Admins</td><td align="left">512</td><td align="left">Group</td><td align="center">Yes</td></tr><tr><td align="left">Domain Users</td><td align="left">513</td><td align="left">Group</td><td align="center">Yes</td></tr><tr><td align="left">Domain Guests</td><td align="left">514</td><td align="left">Group</td><td align="center">Yes</td></tr><tr><td align="left">Domain Computers</td><td align="left">515</td><td align="left">Group</td><td align="center">No</td></tr><tr><td align="left">Domain Controllers</td><td align="left">516</td><td align="left">Group</td><td align="center">No</td></tr><tr><td align="left">Domain Certificate Admins</td><td align="left">517</td><td align="left">Group</td><td align="center">No</td></tr><tr><td align="left">Domain Schema Admins</td><td align="left">518</td><td align="left">Group</td><td align="center">No</td></tr><tr><td align="left">Domain Enterprise Admins</td><td align="left">519</td><td align="left">Group</td><td align="center">No</td></tr><tr><td align="left">Domain Policy Admins</td><td align="left">520</td><td align="left">Group</td><td align="center">No</td></tr><tr><td align="left">Builtin Admins</td><td align="left">544</td><td align="left">Alias</td><td align="center">No</td></tr><tr><td align="left">Builtin users</td><td align="left">545</td><td align="left">Alias</td><td align="center">No</td></tr><tr><td align="left">Builtin Guests</td><td align="left">546</td><td align="left">Alias</td><td align="center">No</td></tr><tr><td align="left">Builtin Power Users</td><td align="left">547</td><td align="left">Alias</td><td align="center">No</td></tr><tr><td align="left">Builtin Account Operators</td><td align="left">548</td><td align="left">Alias</td><td align="center">No</td></tr><tr><td align="left">Builtin System Operators</td><td align="left">549</td><td align="left">Alias</td><td align="center">No</td></tr><tr><td align="left">Builtin Print Operators</td><td align="left">550</td><td align="left">Alias</td><td align="center">No</td></tr><tr><td align="left">Builtin Backup Operators</td><td align="left">551</td><td align="left">Alias</td><td align="center">No</td></tr><tr><td align="left">Builtin Replicator</td><td align="left">552</td><td align="left">Alias</td><td align="center">No</td></tr><tr><td align="left">Builtin RAS Servers</td><td align="left">553</td><td align="left">Alias</td><td align="center">No</td></tr></tbody></table></div></div><p><br class="table-break">
    368         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2598143"></a>Example Configuration</h3></div></div></div><p>
    369 <a class="indexterm" name="id2598151"></a>
     368        </p></div><div class="sect2" title="Example Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="id2604210"></a>Example Configuration</h3></div></div></div><p>
     369<a class="indexterm" name="id2604218"></a>
    370370                You can list the various groups in the mapping database by executing
    371371                <code class="literal">net groupmap list</code>. Here is an example:
    372372                </p><p>
    373 <a class="indexterm" name="id2598173"></a>
     373<a class="indexterm" name="id2604240"></a>
    374374</p><pre class="screen">
    375375<code class="prompt">root# </code> <strong class="userinput"><code>net groupmap list</code></strong>
     
    380380                </p><p>
    381381                For complete details on <code class="literal">net groupmap</code>, refer to the net(8) man page.
    382                 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2598220"></a>Configuration Scripts</h2></div></div></div><p>
     382                </p></div></div><div class="sect1" title="Configuration Scripts"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2604286"></a>Configuration Scripts</h2></div></div></div><p>
    383383        Everyone needs tools. Some of us like to create our own, others prefer to use canned tools
    384384        (i.e., prepared by someone else for general use).
    385         </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2598231"></a>Sample <code class="filename">smb.conf</code> Add Group Script</h3></div></div></div><p>
    386                 <a class="indexterm" name="id2598245"></a>
    387                 <a class="indexterm" name="id2598252"></a>
    388                 <a class="indexterm" name="id2598259"></a>
    389 <a class="indexterm" name="id2598266"></a>
    390 <a class="indexterm" name="id2598273"></a>
     385        </p><div class="sect2" title="Sample smb.conf Add Group Script"><div class="titlepage"><div><div><h3 class="title"><a name="id2604298"></a>Sample <code class="filename">smb.conf</code> Add Group Script</h3></div></div></div><p>
     386                <a class="indexterm" name="id2604312"></a>
     387                <a class="indexterm" name="id2604319"></a>
     388                <a class="indexterm" name="id2604326"></a>
     389<a class="indexterm" name="id2604333"></a>
     390<a class="indexterm" name="id2604340"></a>
    391391                A script to create complying group names for use by the Samba group interfaces
    392392                is provided in <a class="link" href="groupmapping.html#smbgrpadd.sh" title="Example 12.1. smbgrpadd.sh">smbgrpadd.sh</a>. This script
     
    416416                <code class="filename">smb.conf</code> for the add group Script</a> demonstrates how it may be used.
    417417
    418 </p><div class="example"><a name="smbgrpadd"></a><p class="title"><b>Example 12.2. Configuration of <code class="filename">smb.conf</code> for the add group Script</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2598388"></a><em class="parameter"><code>add group script = /path_to_tool/smbgrpadd.sh "%g"</code></em></td></tr></table></div></div><p><br class="example-break">
    419                 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2598403"></a>Script to Configure Group Mapping</h3></div></div></div><p>
    420 <a class="indexterm" name="id2598411"></a>
     418</p><div class="example"><a name="smbgrpadd"></a><p class="title"><b>Example 12.2. Configuration of <code class="filename">smb.conf</code> for the add group Script</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2604454"></a><em class="parameter"><code>add group script = /path_to_tool/smbgrpadd.sh "%g"</code></em></td></tr></table></div></div><p><br class="example-break">
     419                </p></div><div class="sect2" title="Script to Configure Group Mapping"><div class="titlepage"><div><div><h3 class="title"><a name="id2604470"></a>Script to Configure Group Mapping</h3></div></div></div><p>
     420<a class="indexterm" name="id2604478"></a>
    421421        In our example we have created a UNIX/Linux group called <code class="literal">ntadmin</code>.
    422422        Our script will create the additional groups <code class="literal">Orks</code>, <code class="literal">Elves</code>, and <code class="literal">Gnomes</code>.
     
    424424        For the sake of convenience we elect to save this script as a file called <code class="filename">initGroups.sh</code>.
    425425        This script is given in <a class="link" href="groupmapping.html#set-group-map" title="Example 12.3. Script to Set Group Mapping">intGroups.sh</a>.
    426 <a class="indexterm" name="id2598461"></a>
     426<a class="indexterm" name="id2604528"></a>
    427427</p><div class="example"><a name="set-group-map"></a><p class="title"><b>Example 12.3. Script to Set Group Mapping</b></p><div class="example-contents"><pre class="programlisting">
    428428#!/bin/bash
     
    444444        For information regarding the use of the <code class="literal">net groupmap</code> tool please
    445445        refer to the man page.
    446         </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     446        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    447447        Versions of Samba-3 prior to 3.0.23 automatically create default group mapping for the
    448448        <code class="literal">Domain Admins, Domain Users</code> and <code class="literal">Domain Guests</code> Windows
     
    451451        must now be manually and explicitly created and mapped to a valid UNIX GID by the Samba
    452452        administrator.
    453         </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2598530"></a>Common Errors</h2></div></div></div><p>
     453        </p></div></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2604597"></a>Common Errors</h2></div></div></div><p>
    454454At this time there are many little surprises for the unwary administrator. In a real sense
    455455it is imperative that every step of automated control scripts be carefully tested
    456456manually before putting it into active service.
    457 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2598543"></a>Adding Groups Fails</h3></div></div></div><p>
    458 <a class="indexterm" name="id2598551"></a>
     457</p><div class="sect2" title="Adding Groups Fails"><div class="titlepage"><div><div><h3 class="title"><a name="id2604610"></a>Adding Groups Fails</h3></div></div></div><p>
     458<a class="indexterm" name="id2604618"></a>
    459459                This is a common problem when the <code class="literal">groupadd</code> is called directly
    460460                by the Samba interface script for the <a class="link" href="smb.conf.5.html#ADDGROUPSCRIPT" target="_top">add group script</a> in
    461461                the <code class="filename">smb.conf</code> file.
    462462                </p><p>
    463 <a class="indexterm" name="id2598588"></a>
    464 <a class="indexterm" name="id2598595"></a>
     463<a class="indexterm" name="id2604655"></a>
     464<a class="indexterm" name="id2604662"></a>
    465465                The most common cause of failure is an attempt to add an MS Windows group account
    466466                that has an uppercase character and/or a space character in it.
    467467                </p><p>
    468 <a class="indexterm" name="id2598608"></a>
     468<a class="indexterm" name="id2604675"></a>
    469469                There are three possible workarounds. First, use only group names that comply
    470470                with the limitations of the UNIX/Linux <code class="literal">groupadd</code> system tool.
     
    473473                for the MS Windows group name, then use the procedure listed above to map that group
    474474                to the MS Windows group.
    475                 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2598630"></a>Adding Domain Users to the Workstation Power Users Group</h3></div></div></div><p>&#8220;<span class="quote">
     475                </p></div><div class="sect2" title="Adding Domain Users to the Workstation Power Users Group"><div class="titlepage"><div><div><h3 class="title"><a name="id2604697"></a>Adding Domain Users to the Workstation Power Users Group</h3></div></div></div><p><span class="quote">&#8220;<span class="quote">
    476476                What must I do to add domain users to the Power Users group?
    477                 </span>&#8221;</p><p>
    478 <a class="indexterm" name="id2598644"></a>
     477                </span>&#8221;</span></p><p>
     478<a class="indexterm" name="id2604711"></a>
    479479                The Power Users group is a group that is local to each Windows 200x/XP Professional workstation.
    480480                You cannot add the Domain Users group to the Power Users group automatically, it must be done on
    481481                each workstation by logging in as the local workstation <span class="emphasis"><em>administrator</em></span> and
    482482                then using the following procedure:
    483                 </p><div class="procedure"><ol type="1"><li><p>
     483                </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    484484                        Click <span class="guimenu">Start -&gt; Control Panel -&gt; Users and Passwords</span>.
    485                         </p></li><li><p>
     485                        </p></li><li class="step" title="Step 2"><p>
    486486                        Click the <span class="guimenuitem">Advanced</span> tab.
    487                         </p></li><li><p>
     487                        </p></li><li class="step" title="Step 3"><p>
    488488                        Click the <span class="guibutton">Advanced</span> button.
    489                         </p></li><li><p>
     489                        </p></li><li class="step" title="Step 4"><p>
    490490                        Click <code class="constant">Groups</code>.
    491                         </p></li><li><p>
     491                        </p></li><li class="step" title="Step 5"><p>
    492492                        Double-click <code class="constant">Power Users</code>. This will launch the panel to add users or groups
    493493                        to the local machine <code class="constant">Power Users</code> group.
    494                         </p></li><li><p>
     494                        </p></li><li class="step" title="Step 6"><p>
    495495                        Click the <span class="guibutton">Add</span> button.
    496                         </p></li><li><p>
     496                        </p></li><li class="step" title="Step 7"><p>
    497497                        Select the domain from which the <code class="constant">Domain Users</code> group is to be added.
    498                         </p></li><li><p>
     498                        </p></li><li class="step" title="Step 8"><p>
    499499                        Double-click the <code class="constant">Domain Users</code> group.
    500                         </p></li><li><p>
     500                        </p></li><li class="step" title="Step 9"><p>
    501501                        Click the <span class="guibutton">OK</span> button. If a logon box is presented during this process,
    502502                        please remember to enter the connect as <code class="constant">DOMAIN\UserName</code>, that is, for the
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/idmapper.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 14. Identity Mapping (IDMAP)</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="NetCommand.html" title="Chapter 13. Remote and Local Management: The Net Command"><link rel="next" href="rights.html" title="Chapter 15. User Rights and Privileges"></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 14. Identity Mapping (IDMAP)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="NetCommand.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="rights.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="idmapper"></a>Chapter 14. Identity Mapping (IDMAP)</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="idmapper.html#id2604468">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2604493">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2605507">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2605741">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2605813">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2605876">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2606598">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2607774">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></span></dt></dl></dd></dl></div><p>
    2 <a class="indexterm" name="id2604193"></a>
    3 <a class="indexterm" name="id2604200"></a>
    4 <a class="indexterm" name="id2604207"></a>
    5 <a class="indexterm" name="id2604214"></a>
    6 <a class="indexterm" name="id2604223"></a>
    7 <a class="indexterm" name="id2604230"></a>
    8 <a class="indexterm" name="id2604236"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 14. Identity Mapping (IDMAP)</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="NetCommand.html" title="Chapter 13. Remote and Local Management: The Net Command"><link rel="next" href="rights.html" title="Chapter 15. User Rights and Privileges"></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 14. Identity Mapping (IDMAP)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="NetCommand.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="rights.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 14. Identity Mapping (IDMAP)"><div class="titlepage"><div><div><h2 class="title"><a name="idmapper"></a>Chapter 14. Identity Mapping (IDMAP)</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="idmapper.html#id2610535">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2610560">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2611579">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2611813">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2611885">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2611948">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2612670">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2613846">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></span></dt></dl></dd></dl></div><p>
     2<a class="indexterm" name="id2610260"></a>
     3<a class="indexterm" name="id2610267"></a>
     4<a class="indexterm" name="id2610274"></a>
     5<a class="indexterm" name="id2610281"></a>
     6<a class="indexterm" name="id2610290"></a>
     7<a class="indexterm" name="id2610297"></a>
     8<a class="indexterm" name="id2610303"></a>
    99The Microsoft Windows operating system has a number of features that impose specific challenges
    1010to interoperability with the operating systems on which Samba is implemented. This chapter deals
     
    1717This is followed by an overview of how the IDMAP facility may be implemented.
    1818</p><p>
    19 <a class="indexterm" name="id2604260"></a>
    20 <a class="indexterm" name="id2604267"></a>
    21 <a class="indexterm" name="id2604274"></a>
    22 <a class="indexterm" name="id2604281"></a>
     19<a class="indexterm" name="id2610327"></a>
     20<a class="indexterm" name="id2610334"></a>
     21<a class="indexterm" name="id2610341"></a>
     22<a class="indexterm" name="id2610348"></a>
    2323The IDMAP facility is of concern where more than one Samba server (or Samba network client)
    2424is installed in a domain. Where there is a single Samba server, do not be too concerned regarding
     
    2727another, and that is where the fun begins!
    2828</p><p>
    29 <a class="indexterm" name="id2604302"></a>
    30 <a class="indexterm" name="id2604308"></a>
    31 <a class="indexterm" name="id2604314"></a>
    32 <a class="indexterm" name="id2604321"></a>
    33 <a class="indexterm" name="id2604328"></a>
    34 <a class="indexterm" name="id2604334"></a>
    35 <a class="indexterm" name="id2604341"></a>
    36 <a class="indexterm" name="id2604348"></a>
     29<a class="indexterm" name="id2610368"></a>
     30<a class="indexterm" name="id2610375"></a>
     31<a class="indexterm" name="id2610381"></a>
     32<a class="indexterm" name="id2610388"></a>
     33<a class="indexterm" name="id2610394"></a>
     34<a class="indexterm" name="id2610401"></a>
     35<a class="indexterm" name="id2610408"></a>
     36<a class="indexterm" name="id2610415"></a>
    3737Where user and group account information is stored in an LDAP directory every server can have the same
    3838consistent UID and GID for users and groups. This is achieved using NSS and the nss_ldap tool. Samba
     
    4242or if there is a need to keep the security name-space separate (i.e., the user
    4343<code class="literal">DOMINICUS\FJones</code> must not be given access to the account resources of the user
    44 <code class="literal">FRANCISCUS\FJones</code><sup>[<a name="id2604377" href="#ftn.id2604377" class="footnote">4</a>]</sup> free from inadvertent cross-over, close attention should be given
     44<code class="literal">FRANCISCUS\FJones</code><sup>[<a name="id2610444" href="#ftn.id2610444" class="footnote">4</a>]</sup> free from inadvertent cross-over, close attention should be given
    4545to the way that the IDMAP facility is configured.
    4646</p><p>
    47 <a class="indexterm" name="id2604405"></a>
    48 <a class="indexterm" name="id2604411"></a>
    49 <a class="indexterm" name="id2604418"></a>
    50 <a class="indexterm" name="id2604425"></a>
    51 <a class="indexterm" name="id2604431"></a>
    52 <a class="indexterm" name="id2604438"></a>
     47<a class="indexterm" name="id2610471"></a>
     48<a class="indexterm" name="id2610478"></a>
     49<a class="indexterm" name="id2610485"></a>
     50<a class="indexterm" name="id2610492"></a>
     51<a class="indexterm" name="id2610498"></a>
     52<a class="indexterm" name="id2610505"></a>
    5353The use of IDMAP is important where the Samba server will be accessed by workstations or servers from
    5454more than one domain, in which case it is important to run winbind so it can handle the resolution (ID mapping)
    5555of foreign SIDs to local UNIX UIDs and GIDs.
    5656</p><p>
    57 <a class="indexterm" name="id2604452"></a>
     57<a class="indexterm" name="id2610519"></a>
    5858The use of the IDMAP facility requires the execution of the <code class="literal">winbindd</code> upon Samba startup.
    59 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2604468"></a>Samba Server Deployment Types and IDMAP</h2></div></div></div><p>
    60 <a class="indexterm" name="id2604476"></a>
     59</p><div class="sect1" title="Samba Server Deployment Types and IDMAP"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2610535"></a>Samba Server Deployment Types and IDMAP</h2></div></div></div><p>
     60<a class="indexterm" name="id2610543"></a>
    6161There are four basic server deployment types, as documented in <a class="link" href="ServerType.html" title="Chapter 3. Server Types and Security Modes">the chapter
    6262on Server Types and Security Modes</a>.
    63 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2604493"></a>Standalone Samba Server</h3></div></div></div><p>
    64         <a class="indexterm" name="id2604501"></a>
    65         <a class="indexterm" name="id2604508"></a>
    66         <a class="indexterm" name="id2604514"></a>
     63</p><div class="sect2" title="Standalone Samba Server"><div class="titlepage"><div><div><h3 class="title"><a name="id2610560"></a>Standalone Samba Server</h3></div></div></div><p>
     64        <a class="indexterm" name="id2610568"></a>
     65        <a class="indexterm" name="id2610574"></a>
     66        <a class="indexterm" name="id2610581"></a>
    6767        A standalone Samba server is an implementation that is not a member of a Windows NT4 domain,
    6868        a Windows 200X Active Directory domain, or a Samba domain.
    6969        </p><p>
    70         <a class="indexterm" name="id2604527"></a>
    71         <a class="indexterm" name="id2604534"></a>
    72         <a class="indexterm" name="id2604541"></a>
     70        <a class="indexterm" name="id2610594"></a>
     71        <a class="indexterm" name="id2610601"></a>
     72        <a class="indexterm" name="id2610608"></a>
    7373        By definition, this means that users and groups will be created and controlled locally, and
    7474        the identity of a network user must match a local UNIX/Linux user login. The IDMAP facility
    7575        is therefore of little to no interest, winbind will not be necessary, and the IDMAP facility
    7676        will not be relevant or of interest.
    77         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2604555"></a>Domain Member Server or Domain Member Client</h3></div></div></div><p>
    78         <a class="indexterm" name="id2604564"></a>
    79         <a class="indexterm" name="id2604570"></a>
    80         <a class="indexterm" name="id2604577"></a>
    81         <a class="indexterm" name="id2604584"></a>
    82         <a class="indexterm" name="id2604590"></a>
     77        </p></div><div class="sect2" title="Domain Member Server or Domain Member Client"><div class="titlepage"><div><div><h3 class="title"><a name="id2610622"></a>Domain Member Server or Domain Member Client</h3></div></div></div><p>
     78        <a class="indexterm" name="id2610630"></a>
     79        <a class="indexterm" name="id2610637"></a>
     80        <a class="indexterm" name="id2610644"></a>
     81        <a class="indexterm" name="id2610650"></a>
     82        <a class="indexterm" name="id2610657"></a>
    8383        Samba-3 can act as a Windows NT4 PDC or BDC, thereby providing domain control protocols that
    8484        are compatible with Windows NT4. Samba-3 file and print sharing protocols are compatible with
     
    8686        extensively makes use of Windows SIDs.
    8787        </p><p>
    88         <a class="indexterm" name="id2604606"></a>
    89         <a class="indexterm" name="id2604613"></a>
    90         <a class="indexterm" name="id2604619"></a>
     88        <a class="indexterm" name="id2610678"></a>
     89        <a class="indexterm" name="id2610685"></a>
     90        <a class="indexterm" name="id2610691"></a>
    9191        Samba-3 domain member servers and clients must interact correctly with MS Windows SIDs. Incoming
    9292        Windows SIDs must be translated to local UNIX UIDs and GIDs. Outgoing information from the Samba
    9393        server must provide to MS Windows clients and servers appropriate SIDs.
    9494        </p><p>
    95         <a class="indexterm" name="id2604634"></a>
    96         <a class="indexterm" name="id2604640"></a>
     95        <a class="indexterm" name="id2610706"></a>
     96        <a class="indexterm" name="id2610712"></a>
    9797        A Samba member of a Windows networking domain (NT4-style or ADS) can be configured to handle
    9898        identity mapping in a variety of ways. The mechanism it uses depends on whether or not
     
    100100        The configuration options are briefly described here:
    101101        </p><div class="variablelist"><dl><dt><span class="term">Winbind is not used; users and groups are local: </span></dt><dd><p>
    102                                 <a class="indexterm" name="id2604671"></a>
    103                                 <a class="indexterm" name="id2604678"></a>
    104                                 <a class="indexterm" name="id2604684"></a>
    105                                 <a class="indexterm" name="id2604691"></a>
    106                                 <a class="indexterm" name="id2604698"></a>
    107                                 <a class="indexterm" name="id2604705"></a>
    108                                 <a class="indexterm" name="id2604712"></a>
    109                                 <a class="indexterm" name="id2604718"></a>
    110                                 <a class="indexterm" name="id2604725"></a>
    111                                 <a class="indexterm" name="id2604732"></a>
    112                                 <a class="indexterm" name="id2604739"></a>
     102                                <a class="indexterm" name="id2610743"></a>
     103                                <a class="indexterm" name="id2610750"></a>
     104                                <a class="indexterm" name="id2610756"></a>
     105                                <a class="indexterm" name="id2610763"></a>
     106                                <a class="indexterm" name="id2610770"></a>
     107                                <a class="indexterm" name="id2610777"></a>
     108                                <a class="indexterm" name="id2610784"></a>
     109                                <a class="indexterm" name="id2610790"></a>
     110                                <a class="indexterm" name="id2610797"></a>
     111                                <a class="indexterm" name="id2610804"></a>
     112                                <a class="indexterm" name="id2610811"></a>
    113113                                Where <code class="literal">winbindd</code> is not used Samba (<code class="literal">smbd</code>)
    114114                                uses the underlying UNIX/Linux mechanisms to resolve the identity of incoming
     
    120120                                <code class="filename">/etc/passwd</code> and <code class="filename">/etc/group</code> respectively.
    121121                                </p><p>
    122                                 <a class="indexterm" name="id2604781"></a>
    123                                 <a class="indexterm" name="id2604788"></a>
     122                                <a class="indexterm" name="id2610853"></a>
     123                                <a class="indexterm" name="id2610860"></a>
    124124                                For example, when the user <code class="literal">BERYLIUM\WambatW</code> tries to open a
    125125                                connection to a Samba server the incoming SessionSetupAndX request will make a
     
    127127                                <code class="filename">/etc/passwd</code> file.
    128128                                </p><p>
    129                                 <a class="indexterm" name="id2604819"></a>
    130                                 <a class="indexterm" name="id2604826"></a>
    131                                 <a class="indexterm" name="id2604833"></a>
    132                                 <a class="indexterm" name="id2604840"></a>
    133                                 <a class="indexterm" name="id2604846"></a>
    134                                 <a class="indexterm" name="id2604853"></a>
    135                                 <a class="indexterm" name="id2604859"></a>
    136                                 <a class="indexterm" name="id2604866"></a>
     129                                <a class="indexterm" name="id2610891"></a>
     130                                <a class="indexterm" name="id2610898"></a>
     131                                <a class="indexterm" name="id2610905"></a>
     132                                <a class="indexterm" name="id2610912"></a>
     133                                <a class="indexterm" name="id2610918"></a>
     134                                <a class="indexterm" name="id2610925"></a>
     135                                <a class="indexterm" name="id2610931"></a>
     136                                <a class="indexterm" name="id2610938"></a>
    137137                                This configuration may be used with standalone Samba servers, domain member
    138138                                servers (NT4 or ADS), and for a PDC that uses either an smbpasswd
    139139                                or a tdbsam-based Samba passdb backend.
    140140                                </p></dd><dt><span class="term">Winbind is not used; users and groups resolved via NSS: </span></dt><dd><p>
    141                                 <a class="indexterm" name="id2604889"></a>
    142                                 <a class="indexterm" name="id2604896"></a>
    143                                 <a class="indexterm" name="id2604903"></a>
    144                                 <a class="indexterm" name="id2604910"></a>
    145                                 <a class="indexterm" name="id2604917"></a>
    146                                 <a class="indexterm" name="id2604924"></a>
     141                                <a class="indexterm" name="id2610961"></a>
     142                                <a class="indexterm" name="id2610968"></a>
     143                                <a class="indexterm" name="id2610975"></a>
     144                                <a class="indexterm" name="id2610982"></a>
     145                                <a class="indexterm" name="id2610989"></a>
     146                                <a class="indexterm" name="id2610996"></a>
    147147                                In this situation user and group accounts are treated as if they are local
    148148                                accounts. The only way in which this differs from having local accounts is
     
    150150                                this means that they will reside in either an NIS-type database or else in LDAP.
    151151                                </p><p>
    152                                 <a class="indexterm" name="id2604939"></a>
    153                                 <a class="indexterm" name="id2604946"></a>
    154                                 <a class="indexterm" name="id2604953"></a>
    155                                 <a class="indexterm" name="id2604960"></a>
    156                                 <a class="indexterm" name="id2604966"></a>
    157                                 <a class="indexterm" name="id2604973"></a>
    158                                 <a class="indexterm" name="id2604979"></a>
     152                                <a class="indexterm" name="id2611011"></a>
     153                                <a class="indexterm" name="id2611018"></a>
     154                                <a class="indexterm" name="id2611025"></a>
     155                                <a class="indexterm" name="id2611032"></a>
     156                                <a class="indexterm" name="id2611038"></a>
     157                                <a class="indexterm" name="id2611045"></a>
     158                                <a class="indexterm" name="id2611051"></a>
    159159                                This configuration may be used with standalone Samba servers, domain member
    160160                                servers (NT4 or ADS), and for a PDC that uses either an smbpasswd
    161161                                or a tdbsam-based Samba passdb backend.
    162162                                </p></dd><dt><span class="term">Winbind/NSS with the default local IDMAP table: </span></dt><dd><p>
    163                                 <a class="indexterm" name="id2605002"></a>
    164                                 <a class="indexterm" name="id2605009"></a>
    165                                 <a class="indexterm" name="id2605016"></a>
    166                                 <a class="indexterm" name="id2605023"></a>
     163                                <a class="indexterm" name="id2611074"></a>
     164                                <a class="indexterm" name="id2611081"></a>
     165                                <a class="indexterm" name="id2611088"></a>
     166                                <a class="indexterm" name="id2611095"></a>
    167167                                There are many sites that require only a simple Samba server or a single Samba
    168168                                server that is a member of a Windows NT4 domain or an ADS domain. A typical example
     
    172172                                Active Directory.
    173173                                </p><p>
    174                                 <a class="indexterm" name="id2605041"></a>
    175                                 <a class="indexterm" name="id2605047"></a>
    176                                 <a class="indexterm" name="id2605054"></a>
    177                                 <a class="indexterm" name="id2605061"></a>
    178                                 <a class="indexterm" name="id2605068"></a>
     174                                <a class="indexterm" name="id2611113"></a>
     175                                <a class="indexterm" name="id2611119"></a>
     176                                <a class="indexterm" name="id2611126"></a>
     177                                <a class="indexterm" name="id2611133"></a>
     178                                <a class="indexterm" name="id2611140"></a>
    179179                                Winbind is a great convenience in this situation. All that is needed is a range of
    180180                                UID numbers and GID numbers that can be defined in the <code class="filename">smb.conf</code> file. The
     
    183183                                The SIDs are allocated a UID/GID in the order in which winbind receives them.
    184184                                </p><p>
    185                                 <a class="indexterm" name="id2605102"></a>
    186                                 <a class="indexterm" name="id2605108"></a>
    187                                 <a class="indexterm" name="id2605115"></a>
    188                                 <a class="indexterm" name="id2605122"></a>
     185                                <a class="indexterm" name="id2611174"></a>
     186                                <a class="indexterm" name="id2611180"></a>
     187                                <a class="indexterm" name="id2611187"></a>
     188                                <a class="indexterm" name="id2611194"></a>
    189189                                This configuration is not convenient or practical in sites that have more than one
    190190                                Samba server and that require the same UID or GID for the same user or group across
     
    195195                                the rightful owners.
    196196                                </p></dd><dt><span class="term">Winbind/NSS uses RID based IDMAP: </span></dt><dd><p>
    197                                 <a class="indexterm" name="id2605150"></a>
    198                                 <a class="indexterm" name="id2605157"></a>
    199                                 <a class="indexterm" name="id2605164"></a>
    200                                 <a class="indexterm" name="id2605170"></a>
     197                                <a class="indexterm" name="id2611222"></a>
     198                                <a class="indexterm" name="id2611229"></a>
     199                                <a class="indexterm" name="id2611236"></a>
     200                                <a class="indexterm" name="id2611242"></a>
    201201                                The IDMAP_RID facility is new to Samba version 3.0.8. It was added to make life easier
    202202                                for a number of sites that are committed to use of MS ADS, that do not apply
     
    206206                                IDMAP table problem, then IDMAP_RID is an obvious choice.
    207207                                </p><p>
    208                                 <a class="indexterm" name="id2605189"></a>
    209                                 <a class="indexterm" name="id2605196"></a>
    210                                 <a class="indexterm" name="id2605203"></a>
    211                                 <a class="indexterm" name="id2605210"></a>
    212                                 <a class="indexterm" name="id2605216"></a>
    213                                 <a class="indexterm" name="id2605223"></a>
    214                                 <a class="indexterm" name="id2605229"></a>
    215                                 <a class="indexterm" name="id2605236"></a>
     208                                <a class="indexterm" name="id2611261"></a>
     209                                <a class="indexterm" name="id2611268"></a>
     210                                <a class="indexterm" name="id2611275"></a>
     211                                <a class="indexterm" name="id2611282"></a>
     212                                <a class="indexterm" name="id2611288"></a>
     213                                <a class="indexterm" name="id2611295"></a>
     214                                <a class="indexterm" name="id2611301"></a>
     215                                <a class="indexterm" name="id2611308"></a>
    216216                                This facility requires the allocation of the <em class="parameter"><code>idmap uid</code></em> and the
    217217                                <em class="parameter"><code>idmap gid</code></em> ranges, and within the <em class="parameter"><code>idmap uid</code></em>
     
    223223                                the resulting UID will be <code class="constant">1000 + 1234 = 2234</code>.
    224224                                </p></dd><dt><span class="term">Winbind with an NSS/LDAP backend-based IDMAP facility: </span></dt><dd><p>
    225                                 <a class="indexterm" name="id2605304"></a>
    226                                 <a class="indexterm" name="id2605311"></a>
    227                                 <a class="indexterm" name="id2605318"></a>
    228                                 <a class="indexterm" name="id2605325"></a>
    229                                 <a class="indexterm" name="id2605331"></a>
    230                                 <a class="indexterm" name="id2605338"></a>
    231                                 <a class="indexterm" name="id2605344"></a>
    232                                 <a class="indexterm" name="id2605351"></a>
     225                                <a class="indexterm" name="id2611376"></a>
     226                                <a class="indexterm" name="id2611383"></a>
     227                                <a class="indexterm" name="id2611390"></a>
     228                                <a class="indexterm" name="id2611397"></a>
     229                                <a class="indexterm" name="id2611403"></a>
     230                                <a class="indexterm" name="id2611410"></a>
     231                                <a class="indexterm" name="id2611416"></a>
     232                                <a class="indexterm" name="id2611423"></a>
    233233                                In this configuration <code class="literal">winbind</code> resolved SIDs to UIDs and GIDs from
    234234                                the <em class="parameter"><code>idmap uid</code></em> and <em class="parameter"><code>idmap gid</code></em> ranges specified
     
    237237                                a common IDMAP table.
    238238                                </p><p>
    239                                 <a class="indexterm" name="id2605390"></a>
    240                                 <a class="indexterm" name="id2605397"></a>
    241                                 <a class="indexterm" name="id2605404"></a>
     239                                <a class="indexterm" name="id2611462"></a>
     240                                <a class="indexterm" name="id2611469"></a>
     241                                <a class="indexterm" name="id2611476"></a>
    242242                                It is important that all LDAP IDMAP clients use only the master LDAP server because the
    243243                                <em class="parameter"><code>idmap backend</code></em> facility in the <code class="filename">smb.conf</code> file does not correctly
     
    248248                                SIDs are consistent across all servers.
    249249                                </p><p>
    250                                 <a class="indexterm" name="id2605445"></a>
    251                                 <a class="indexterm" name="id2605452"></a>
     250                                <a class="indexterm" name="id2611517"></a>
     251                                <a class="indexterm" name="id2611524"></a>
    252252                                The use of the LDAP-based passdb backend requires use of the PADL nss_ldap utility or
    253253                                an equivalent. In this situation winbind is used to handle foreign SIDs, that is, SIDs from
     
    256256                                in precisely the same manner as when using winbind with a local IDMAP table.
    257257                                </p><p>
    258                                 <a class="indexterm" name="id2605470"></a>
    259                                 <a class="indexterm" name="id2605477"></a>
    260                                 <a class="indexterm" name="id2605483"></a>
     258                                <a class="indexterm" name="id2611542"></a>
     259                                <a class="indexterm" name="id2611549"></a>
     260                                <a class="indexterm" name="id2611555"></a>
    261261                                The nss_ldap tool set can be used to access UIDs and GIDs via LDAP as well as via Active
    262262                                Directory. In order to use Active Directory, it is necessary to modify the ADS schema by
     
    267267                                Management tool. Each account must be separately UNIX-enabled before the UID and GID data can
    268268                                be used by Samba.
    269                                 </p></dd></dl></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2605507"></a>Primary Domain Controller</h3></div></div></div><p>
    270         <a class="indexterm" name="id2605515"></a>
    271         <a class="indexterm" name="id2605522"></a>
    272         <a class="indexterm" name="id2605528"></a>
    273         <a class="indexterm" name="id2605535"></a>
     269                                </p></dd></dl></div></div><div class="sect2" title="Primary Domain Controller"><div class="titlepage"><div><div><h3 class="title"><a name="id2611579"></a>Primary Domain Controller</h3></div></div></div><p>
     270        <a class="indexterm" name="id2611587"></a>
     271        <a class="indexterm" name="id2611594"></a>
     272        <a class="indexterm" name="id2611600"></a>
     273        <a class="indexterm" name="id2611607"></a>
    274274        Microsoft Windows domain security systems generate the user and group SID as part
    275275        of the process of creation of an account. Windows does not have a concept of the UNIX UID or a GID; rather,
     
    277277        of producing a unique SID for each user and group. Samba generates a machine and a domain SID to which it
    278278        adds an RID that is calculated algorithmically from a base value that can be specified
    279         in the <code class="filename">smb.conf</code> file, plus twice (2x) the UID or GID. This method is called &#8220;<span class="quote">algorithmic mapping</span>&#8221;.
    280         </p><p>
    281         <a class="indexterm" name="id2605564"></a>
     279        in the <code class="filename">smb.conf</code> file, plus twice (2x) the UID or GID. This method is called <span class="quote">&#8220;<span class="quote">algorithmic mapping</span>&#8221;</span>.
     280        </p><p>
     281        <a class="indexterm" name="id2611636"></a>
    282282        For example, if a user has a UID of 4321, and the algorithmic RID base has a value of 1000, the RID will
    283283        be <code class="literal">1000 + (2 x 4321) = 9642</code>. Thus, if the domain SID is
     
    285285        <code class="literal">S-1-5-21-89238497-92787123-12341112-9642</code>.
    286286        </p><p>
    287         <a class="indexterm" name="id2605596"></a>
    288         <a class="indexterm" name="id2605602"></a>
    289         <a class="indexterm" name="id2605609"></a>
    290         <a class="indexterm" name="id2605616"></a>
     287        <a class="indexterm" name="id2611668"></a>
     288        <a class="indexterm" name="id2611674"></a>
     289        <a class="indexterm" name="id2611681"></a>
     290        <a class="indexterm" name="id2611688"></a>
    291291        The foregoing type of SID is produced by Samba as an automatic function and is either produced on the fly
    292292        (as is the case when using a <em class="parameter"><code>passdb backend = [tdbsam | smbpasswd]</code></em>), or may be stored
    293293        as a permanent part of an account in an LDAP-based ldapsam.
    294294        </p><p>
    295         <a class="indexterm" name="id2605636"></a>
    296         <a class="indexterm" name="id2605643"></a>
    297         <a class="indexterm" name="id2605649"></a>
    298         <a class="indexterm" name="id2605656"></a>
    299         <a class="indexterm" name="id2605663"></a>
    300         <a class="indexterm" name="id2605670"></a>
    301         <a class="indexterm" name="id2605676"></a>
    302         <a class="indexterm" name="id2605683"></a>
    303         <a class="indexterm" name="id2605690"></a>
     295        <a class="indexterm" name="id2611708"></a>
     296        <a class="indexterm" name="id2611715"></a>
     297        <a class="indexterm" name="id2611721"></a>
     298        <a class="indexterm" name="id2611728"></a>
     299        <a class="indexterm" name="id2611735"></a>
     300        <a class="indexterm" name="id2611742"></a>
     301        <a class="indexterm" name="id2611748"></a>
     302        <a class="indexterm" name="id2611755"></a>
     303        <a class="indexterm" name="id2611762"></a>
    304304        ADS uses a directory schema that can be extended to accommodate additional
    305305        account attributes such as UIDs and GIDs. The installation of Microsoft Service for UNIX 3.5 will expand
     
    307307        through a snap-in module to the normal ADS account management MMC interface.
    308308        </p><p>
    309         <a class="indexterm" name="id2605706"></a>
    310         <a class="indexterm" name="id2605713"></a>
    311         <a class="indexterm" name="id2605720"></a>
    312         <a class="indexterm" name="id2605726"></a>
     309        <a class="indexterm" name="id2611778"></a>
     310        <a class="indexterm" name="id2611785"></a>
     311        <a class="indexterm" name="id2611792"></a>
     312        <a class="indexterm" name="id2611798"></a>
    313313        Security identifiers used within a domain must be managed to avoid conflict and to preserve itegrity.
    314314        In an NT4 domain context, the PDC manages the distribution of all security credentials to the backup
    315315        domain controllers (BDCs). At this time the only passdb backend for a Samba domain controller that is suitable
    316316        for such information is an LDAP backend.
    317         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2605741"></a>Backup Domain Controller</h3></div></div></div><p>
    318         <a class="indexterm" name="id2605749"></a>
    319         <a class="indexterm" name="id2605756"></a>
    320         <a class="indexterm" name="id2605763"></a>
    321         <a class="indexterm" name="id2605770"></a>
    322         <a class="indexterm" name="id2605777"></a>
    323         <a class="indexterm" name="id2605784"></a>
    324         <a class="indexterm" name="id2605790"></a>
     317        </p></div><div class="sect2" title="Backup Domain Controller"><div class="titlepage"><div><div><h3 class="title"><a name="id2611813"></a>Backup Domain Controller</h3></div></div></div><p>
     318        <a class="indexterm" name="id2611821"></a>
     319        <a class="indexterm" name="id2611828"></a>
     320        <a class="indexterm" name="id2611835"></a>
     321        <a class="indexterm" name="id2611842"></a>
     322        <a class="indexterm" name="id2611849"></a>
     323        <a class="indexterm" name="id2611856"></a>
     324        <a class="indexterm" name="id2611862"></a>
    325325        BDCs have read-only access to security credentials that are stored in LDAP.
    326326        Changes in user or group account information are passed by the BDC to the PDC. Only the PDC can write
     
    331331        in the IDMAP backend. This means that it is is unsafe to use a slave (replicate) LDAP server with
    332332        the IDMAP facility.
    333         </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2605813"></a>Examples of IDMAP Backend Usage</h2></div></div></div><p>
    334 <a class="indexterm" name="id2605821"></a>
    335 <a class="indexterm" name="id2605830"></a>
    336 <a class="indexterm" name="id2605840"></a>
    337 <a class="indexterm" name="id2605846"></a>
    338 <a class="indexterm" name="id2605853"></a>
     333        </p></div></div><div class="sect1" title="Examples of IDMAP Backend Usage"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2611885"></a>Examples of IDMAP Backend Usage</h2></div></div></div><p>
     334<a class="indexterm" name="id2611893"></a>
     335<a class="indexterm" name="id2611902"></a>
     336<a class="indexterm" name="id2611912"></a>
     337<a class="indexterm" name="id2611918"></a>
     338<a class="indexterm" name="id2611925"></a>
    339339Anyone who wishes to use <code class="literal">winbind</code> will find the following example configurations helpful.
    340340Remember that in the majority of cases <code class="literal">winbind</code> is of primary interest for use with
    341341domain member servers (DMSs) and domain member clients (DMCs).
    342 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2605876"></a>Default Winbind TDB</h3></div></div></div><p>
     342</p><div class="sect2" title="Default Winbind TDB"><div class="titlepage"><div><div><h3 class="title"><a name="id2611948"></a>Default Winbind TDB</h3></div></div></div><p>
    343343        Two common configurations are used:
    344         </p><div class="itemizedlist"><ul type="disc"><li><p>
     344        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    345345                Networks that have an NT4 PDC (with or without BDCs) or a Samba PDC (with or without BDCs).
    346                 </p></li><li><p>
     346                </p></li><li class="listitem"><p>
    347347                Networks that use MS Windows 200x ADS.
    348                 </p></li></ul></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2605900"></a>NT4-Style Domains (Includes Samba Domains)</h4></div></div></div><p>
     348                </p></li></ul></div><div class="sect3" title="NT4-Style Domains (Includes Samba Domains)"><div class="titlepage"><div><div><h4 class="title"><a name="id2611972"></a>NT4-Style Domains (Includes Samba Domains)</h4></div></div></div><p>
    349349        <a class="link" href="idmapper.html#idmapnt4dms" title="Example 14.1. NT4 Domain Member Server smb.conf">NT4 Domain Member Server smb.con</a> is a simple example of an NT4 DMS
    350350        <code class="filename">smb.conf</code> file that shows only the global section.
    351         </p><div class="example"><a name="idmapnt4dms"></a><p class="title"><b>Example 14.1. NT4 Domain Member Server smb.conf</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="id2605953"></a><em class="parameter"><code>workgroup = MEGANET2</code></em></td></tr><tr><td><a class="indexterm" name="id2605965"></a><em class="parameter"><code>security = DOMAIN</code></em></td></tr><tr><td><a class="indexterm" name="id2605976"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2605988"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2606000"></a><em class="parameter"><code>template primary group = "Domain Users"</code></em></td></tr><tr><td><a class="indexterm" name="id2606012"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr></table></div></div><br class="example-break"><p>
    352         <a class="indexterm" name="id2606027"></a>
    353         <a class="indexterm" name="id2606034"></a>
     351        </p><div class="example"><a name="idmapnt4dms"></a><p class="title"><b>Example 14.1. NT4 Domain Member Server smb.conf</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="id2612025"></a><em class="parameter"><code>workgroup = MEGANET2</code></em></td></tr><tr><td><a class="indexterm" name="id2612037"></a><em class="parameter"><code>security = DOMAIN</code></em></td></tr><tr><td><a class="indexterm" name="id2612048"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2612060"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2612072"></a><em class="parameter"><code>template primary group = "Domain Users"</code></em></td></tr><tr><td><a class="indexterm" name="id2612084"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr></table></div></div><br class="example-break"><p>
     352        <a class="indexterm" name="id2612099"></a>
     353        <a class="indexterm" name="id2612106"></a>
    354354        The use of <code class="literal">winbind</code> requires configuration of NSS. Edit the <code class="filename">/etc/nsswitch.conf</code>
    355355        so it includes the following entries:
     
    366366        </p><p>
    367367        The creation of the DMS requires the following steps:
    368         </p><div class="procedure"><ol type="1"><li><p>
     368        </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    369369                Create or install an <code class="filename">smb.conf</code> file with the above configuration.
    370                 </p></li><li><p>
     370                </p></li><li class="step" title="Step 2"><p>
    371371                Execute:
    372372</p><pre class="screen">
     
    374374Joined domain MEGANET2.
    375375</pre><p>
    376         <a class="indexterm" name="id2606103"></a>
     376        <a class="indexterm" name="id2612175"></a>
    377377        The success of the join can be confirmed with the following command:
    378378</p><pre class="screen">
     
    381381</pre><p>
    382382                A failed join would report an error message like the following:
    383                 <a class="indexterm" name="id2606125"></a>
     383                <a class="indexterm" name="id2612197"></a>
    384384</p><pre class="screen">
    385385<code class="prompt">root# </code> net rpc testjoin
     
    387387Join to domain 'MEGANET2' is not valid
    388388</pre><p>
    389                 </p></li><li><p>
    390                 <a class="indexterm" name="id2606151"></a>
    391                 <a class="indexterm" name="id2606158"></a>
    392                 <a class="indexterm" name="id2606165"></a>
     389                </p></li><li class="step" title="Step 3"><p>
     390                <a class="indexterm" name="id2612223"></a>
     391                <a class="indexterm" name="id2612230"></a>
     392                <a class="indexterm" name="id2612237"></a>
    393393                Start the <code class="literal">nmbd, winbind,</code> and <code class="literal">smbd</code> daemons in the order shown.
    394                 </p></li></ol></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2606188"></a>ADS Domains</h4></div></div></div><p>
    395         <a class="indexterm" name="id2606196"></a>
    396         <a class="indexterm" name="id2606202"></a>
     394                </p></li></ol></div></div><div class="sect3" title="ADS Domains"><div class="titlepage"><div><div><h4 class="title"><a name="id2612260"></a>ADS Domains</h4></div></div></div><p>
     395        <a class="indexterm" name="id2612268"></a>
     396        <a class="indexterm" name="id2612274"></a>
    397397        The procedure for joining an ADS domain is similar to the NT4 domain join, except the <code class="filename">smb.conf</code> file
    398398        will have the contents shown in <a class="link" href="idmapper.html#idmapadsdms" title="Example 14.2. ADS Domain Member Server smb.conf">ADS Domain Member Server smb.conf</a>
    399         </p><div class="example"><a name="idmapadsdms"></a><p class="title"><b>Example 14.2. ADS Domain Member Server smb.conf</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="id2606254"></a><em class="parameter"><code>workgroup = BUTTERNET</code></em></td></tr><tr><td><a class="indexterm" name="id2606266"></a><em class="parameter"><code>netbios name = GARGOYLE</code></em></td></tr><tr><td><a class="indexterm" name="id2606278"></a><em class="parameter"><code>realm = BUTTERNET.BIZ</code></em></td></tr><tr><td><a class="indexterm" name="id2606289"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2606301"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2606313"></a><em class="parameter"><code>idmap uid = 500-10000000</code></em></td></tr><tr><td><a class="indexterm" name="id2606325"></a><em class="parameter"><code>idmap gid = 500-10000000</code></em></td></tr><tr><td><a class="indexterm" name="id2606336"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2606348"></a><em class="parameter"><code>winbind nested groups = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2606360"></a><em class="parameter"><code>printer admin = "BUTTERNET\Domain Admins"</code></em></td></tr></table></div></div><br class="example-break"><p>
    400         <a class="indexterm" name="id2606376"></a>
    401         <a class="indexterm" name="id2606383"></a>
    402         <a class="indexterm" name="id2606390"></a>
    403         <a class="indexterm" name="id2606396"></a>
    404         <a class="indexterm" name="id2606403"></a>
    405         <a class="indexterm" name="id2606410"></a>
    406         <a class="indexterm" name="id2606417"></a>
     399        </p><div class="example"><a name="idmapadsdms"></a><p class="title"><b>Example 14.2. ADS Domain Member Server smb.conf</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="id2612326"></a><em class="parameter"><code>workgroup = BUTTERNET</code></em></td></tr><tr><td><a class="indexterm" name="id2612338"></a><em class="parameter"><code>netbios name = GARGOYLE</code></em></td></tr><tr><td><a class="indexterm" name="id2612350"></a><em class="parameter"><code>realm = BUTTERNET.BIZ</code></em></td></tr><tr><td><a class="indexterm" name="id2612361"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2612373"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2612385"></a><em class="parameter"><code>idmap uid = 500-10000000</code></em></td></tr><tr><td><a class="indexterm" name="id2612397"></a><em class="parameter"><code>idmap gid = 500-10000000</code></em></td></tr><tr><td><a class="indexterm" name="id2612408"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2612420"></a><em class="parameter"><code>winbind nested groups = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2612432"></a><em class="parameter"><code>printer admin = "BUTTERNET\Domain Admins"</code></em></td></tr></table></div></div><br class="example-break"><p>
     400        <a class="indexterm" name="id2612448"></a>
     401        <a class="indexterm" name="id2612455"></a>
     402        <a class="indexterm" name="id2612462"></a>
     403        <a class="indexterm" name="id2612468"></a>
     404        <a class="indexterm" name="id2612475"></a>
     405        <a class="indexterm" name="id2612482"></a>
     406        <a class="indexterm" name="id2612489"></a>
    407407        ADS DMS operation requires use of kerberos (KRB). For this to work, the <code class="filename">krb5.conf</code>
    408408        must be configured. The exact requirements depends on which version of MIT or Heimdal Kerberos is being
     
    411411        </p><p>
    412412        The creation of the DMS requires the following steps:
    413         </p><div class="procedure"><ol type="1"><li><p>
     413        </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    414414                Create or install an <code class="filename">smb.conf</code> file with the above configuration.
    415                 </p></li><li><p>
     415                </p></li><li class="step" title="Step 2"><p>
    416416                Edit the <code class="filename">/etc/nsswitch.conf</code> file as shown above.
    417                 </p></li><li><p>
     417                </p></li><li class="step" title="Step 3"><p>
    418418                Execute:
    419                 <a class="indexterm" name="id2606475"></a>
     419                <a class="indexterm" name="id2612547"></a>
    420420</p><pre class="screen">
    421421<code class="prompt">root# </code> net ads join -UAdministrator%password
     
    437437Join to domain is not valid
    438438</pre><p>
    439                 <a class="indexterm" name="id2606532"></a>
    440                 <a class="indexterm" name="id2606538"></a>
    441                 <a class="indexterm" name="id2606545"></a>
    442                 <a class="indexterm" name="id2606552"></a>
     439                <a class="indexterm" name="id2612604"></a>
     440                <a class="indexterm" name="id2612610"></a>
     441                <a class="indexterm" name="id2612617"></a>
     442                <a class="indexterm" name="id2612624"></a>
    443443                The specific error message may differ from the above because it depends on the type of failure that
    444444                may have occurred. Increase the <em class="parameter"><code>log level</code></em> to 10, repeat the test,
    445445                and then examine the log files produced to identify the nature of the failure.
    446                 </p></li><li><p>
     446                </p></li><li class="step" title="Step 4"><p>
    447447                Start the <code class="literal">nmbd</code>, <code class="literal">winbind</code>, and <code class="literal">smbd</code> daemons in the order shown.
    448                 </p></li></ol></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2606598"></a>IDMAP_RID with Winbind</h3></div></div></div><p>
    449         <a class="indexterm" name="id2606606"></a>
    450         <a class="indexterm" name="id2606613"></a>
    451         <a class="indexterm" name="id2606620"></a>
    452         <a class="indexterm" name="id2606626"></a>
     448                </p></li></ol></div></div></div><div class="sect2" title="IDMAP_RID with Winbind"><div class="titlepage"><div><div><h3 class="title"><a name="id2612670"></a>IDMAP_RID with Winbind</h3></div></div></div><p>
     449        <a class="indexterm" name="id2612678"></a>
     450        <a class="indexterm" name="id2612685"></a>
     451        <a class="indexterm" name="id2612692"></a>
     452        <a class="indexterm" name="id2612698"></a>
    453453        The <code class="literal">idmap_rid</code> facility is a new tool that, unlike native winbind, creates a
    454454        predictable mapping of MS Windows SIDs to UNIX UIDs and GIDs. The key benefit of this method
     
    457457        is not compatible with trusted domain implementations.
    458458        </p><p>
    459         <a class="indexterm" name="id2606649"></a>
    460         <a class="indexterm" name="id2606656"></a>
    461         <a class="indexterm" name="id2606663"></a>
    462         <a class="indexterm" name="id2606670"></a>
     459        <a class="indexterm" name="id2612721"></a>
     460        <a class="indexterm" name="id2612728"></a>
     461        <a class="indexterm" name="id2612735"></a>
     462        <a class="indexterm" name="id2612742"></a>
    463463        This alternate method of SID to UID/GID  mapping can be achieved using the idmap_rid
    464464        plug-in. This plug-in uses the RID of the user SID to derive the UID and GID by adding the
    465465        RID to a base value specified. This utility requires that the parameter
    466         &#8220;<span class="quote">allow trusted domains = No</span>&#8221; be specified, as it is not compatible
     466        <span class="quote">&#8220;<span class="quote">allow trusted domains = No</span>&#8221;</span> be specified, as it is not compatible
    467467        with multiple domain environments. The <em class="parameter"><code>idmap uid</code></em> and
    468468        <em class="parameter"><code>idmap gid</code></em> ranges must be specified.
    469469        </p><p>
    470         <a class="indexterm" name="id2606702"></a>
    471         <a class="indexterm" name="id2606709"></a>
     470        <a class="indexterm" name="id2612774"></a>
     471        <a class="indexterm" name="id2612781"></a>
    472472        The idmap_rid facility can be used both for NT4/Samba-style domains and Active Directory.
    473473        To use this with an NT4 domain, do not include the <em class="parameter"><code>realm</code></em> parameter; additionally, the
     
    476476        An example <code class="filename">smb.conf</code> file for and ADS domain environment is shown in <a class="link" href="idmapper.html#idmapadsridDMS" title="Example 14.3. ADS Domain Member smb.conf using idmap_rid">ADS
    477477        Domain Member smb.conf using idmap_rid</a>.
    478         </p><div class="example"><a name="idmapadsridDMS"></a><p class="title"><b>Example 14.3. ADS Domain Member smb.conf using idmap_rid</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="id2606776"></a><em class="parameter"><code>workgroup = KPAK</code></em></td></tr><tr><td><a class="indexterm" name="id2606788"></a><em class="parameter"><code>netbios name = BIGJOE</code></em></td></tr><tr><td><a class="indexterm" name="id2606800"></a><em class="parameter"><code>realm = CORP.KPAK.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2606811"></a><em class="parameter"><code>server string = Office Server</code></em></td></tr><tr><td><a class="indexterm" name="id2606823"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2606835"></a><em class="parameter"><code>allow trusted domains = No</code></em></td></tr><tr><td><a class="indexterm" name="id2606847"></a><em class="parameter"><code>idmap backend = idmap_rid:KPAK=500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2606859"></a><em class="parameter"><code>idmap uid = 500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2606871"></a><em class="parameter"><code>idmap gid = 500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2606883"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2606895"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2606907"></a><em class="parameter"><code>winbind enum users = No</code></em></td></tr><tr><td><a class="indexterm" name="id2606919"></a><em class="parameter"><code>winbind enum groups = No</code></em></td></tr><tr><td><a class="indexterm" name="id2606930"></a><em class="parameter"><code>winbind nested groups = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2606942"></a><em class="parameter"><code>printer admin = "Domain Admins"</code></em></td></tr></table></div></div><br class="example-break"><p>
    479         <a class="indexterm" name="id2606958"></a>
    480         <a class="indexterm" name="id2606965"></a>
    481         <a class="indexterm" name="id2606972"></a>
    482         <a class="indexterm" name="id2606978"></a>
     478        </p><div class="example"><a name="idmapadsridDMS"></a><p class="title"><b>Example 14.3. ADS Domain Member smb.conf using idmap_rid</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="id2612848"></a><em class="parameter"><code>workgroup = KPAK</code></em></td></tr><tr><td><a class="indexterm" name="id2612860"></a><em class="parameter"><code>netbios name = BIGJOE</code></em></td></tr><tr><td><a class="indexterm" name="id2612872"></a><em class="parameter"><code>realm = CORP.KPAK.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2612883"></a><em class="parameter"><code>server string = Office Server</code></em></td></tr><tr><td><a class="indexterm" name="id2612895"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2612907"></a><em class="parameter"><code>allow trusted domains = No</code></em></td></tr><tr><td><a class="indexterm" name="id2612919"></a><em class="parameter"><code>idmap backend = idmap_rid:KPAK=500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2612931"></a><em class="parameter"><code>idmap uid = 500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2612943"></a><em class="parameter"><code>idmap gid = 500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2612955"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2612967"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2612979"></a><em class="parameter"><code>winbind enum users = No</code></em></td></tr><tr><td><a class="indexterm" name="id2612991"></a><em class="parameter"><code>winbind enum groups = No</code></em></td></tr><tr><td><a class="indexterm" name="id2613002"></a><em class="parameter"><code>winbind nested groups = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2613014"></a><em class="parameter"><code>printer admin = "Domain Admins"</code></em></td></tr></table></div></div><br class="example-break"><p>
     479        <a class="indexterm" name="id2613030"></a>
     480        <a class="indexterm" name="id2613037"></a>
     481        <a class="indexterm" name="id2613044"></a>
     482        <a class="indexterm" name="id2613050"></a>
    483483        In a large domain with many users it is imperative to disable enumeration of users and groups.
    484484        For example, at a site that has 22,000 users in Active Directory the winbind-based user and
     
    489489        commands. It will be possible to perform the lookup for individual users, as shown in the following procedure.
    490490        </p><p>
    491         <a class="indexterm" name="id2607016"></a>
    492         <a class="indexterm" name="id2607022"></a>
     491        <a class="indexterm" name="id2613088"></a>
     492        <a class="indexterm" name="id2613094"></a>
    493493        The use of this tool requires configuration of NSS as per the native use of winbind. Edit the
    494494        <code class="filename">/etc/nsswitch.conf</code> so it has the following parameters:
     
    504504        </p><p>
    505505        The following procedure can use the idmap_rid facility:
    506         </p><div class="procedure"><ol type="1"><li><p>
     506        </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    507507                Create or install an <code class="filename">smb.conf</code> file with the above configuration.
    508                 </p></li><li><p>
     508                </p></li><li class="step" title="Step 2"><p>
    509509                Edit the <code class="filename">/etc/nsswitch.conf</code> file as shown above.
    510                 </p></li><li><p>
     510                </p></li><li class="step" title="Step 3"><p>
    511511                Execute:
    512512</p><pre class="screen">
     
    516516</pre><p>
    517517                </p><p>
    518                 <a class="indexterm" name="id2607102"></a>
     518                <a class="indexterm" name="id2613174"></a>
    519519                An invalid or failed join can be detected by executing:
    520520</p><pre class="screen">
     
    528528                may have occurred. Increase the <em class="parameter"><code>log level</code></em> to 10, repeat the test,
    529529                and then examine the log files produced to identify the nature of the failure.
    530                 </p></li><li><p>
     530                </p></li><li class="step" title="Step 4"><p>
    531531                Start the <code class="literal">nmbd</code>, <code class="literal">winbind</code>, and <code class="literal">smbd</code> daemons in the order shown.
    532                 </p></li><li><p>
     532                </p></li><li class="step" title="Step 5"><p>
    533533                Validate the operation of this configuration by executing:
    534                 <a class="indexterm" name="id2607167"></a>
     534                <a class="indexterm" name="id2613239"></a>
    535535</p><pre class="screen">
    536536<code class="prompt">root# </code> getent passwd administrator
    537537administrator:x:1000:1013:Administrator:/home/BE/administrator:/bin/bash
    538538</pre><p>
    539                 </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2607189"></a>IDMAP Storage in LDAP Using Winbind</h3></div></div></div><p>
    540         <a class="indexterm" name="id2607197"></a>
    541         <a class="indexterm" name="id2607204"></a>
     539                </p></li></ol></div></div><div class="sect2" title="IDMAP Storage in LDAP Using Winbind"><div class="titlepage"><div><div><h3 class="title"><a name="id2613261"></a>IDMAP Storage in LDAP Using Winbind</h3></div></div></div><p>
     540        <a class="indexterm" name="id2613269"></a>
     541        <a class="indexterm" name="id2613276"></a>
    542542        The storage of IDMAP information in LDAP can be used with both NT4/Samba-3-style domains and
    543543        ADS domains. OpenLDAP is a commonly used LDAP server for this purpose, although any
     
    548548        An example is for an ADS domain is shown in <a class="link" href="idmapper.html#idmapldapDMS" title="Example 14.4. ADS Domain Member Server using LDAP">ADS Domain Member Server using
    549549        LDAP</a>.
    550         </p><div class="example"><a name="idmapldapDMS"></a><p class="title"><b>Example 14.4. ADS Domain Member Server using LDAP</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="id2607257"></a><em class="parameter"><code>workgroup = SNOWSHOW</code></em></td></tr><tr><td><a class="indexterm" name="id2607269"></a><em class="parameter"><code>netbios name = GOODELF</code></em></td></tr><tr><td><a class="indexterm" name="id2607281"></a><em class="parameter"><code>realm = SNOWSHOW.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2607293"></a><em class="parameter"><code>server string = Samba Server</code></em></td></tr><tr><td><a class="indexterm" name="id2607305"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2607316"></a><em class="parameter"><code>log level = 1 ads:10 auth:10 sam:10 rpc:10</code></em></td></tr><tr><td><a class="indexterm" name="id2607328"></a><em class="parameter"><code>ldap admin dn = cn=Manager,dc=SNOWSHOW,dc=COM</code></em></td></tr><tr><td><a class="indexterm" name="id2607341"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2607353"></a><em class="parameter"><code>ldap suffix = dc=SNOWSHOW,dc=COM</code></em></td></tr><tr><td><a class="indexterm" name="id2607364"></a><em class="parameter"><code>idmap backend = ldap:ldap://ldap.snowshow.com</code></em></td></tr><tr><td><a class="indexterm" name="id2607377"></a><em class="parameter"><code>idmap uid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2607388"></a><em class="parameter"><code>idmap gid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2607400"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2607412"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr></table></div></div><br class="example-break"><p>
    551         <a class="indexterm" name="id2607427"></a>
     550        </p><div class="example"><a name="idmapldapDMS"></a><p class="title"><b>Example 14.4. ADS Domain Member Server using LDAP</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="id2613329"></a><em class="parameter"><code>workgroup = SNOWSHOW</code></em></td></tr><tr><td><a class="indexterm" name="id2613341"></a><em class="parameter"><code>netbios name = GOODELF</code></em></td></tr><tr><td><a class="indexterm" name="id2613353"></a><em class="parameter"><code>realm = SNOWSHOW.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2613365"></a><em class="parameter"><code>server string = Samba Server</code></em></td></tr><tr><td><a class="indexterm" name="id2613377"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2613388"></a><em class="parameter"><code>log level = 1 ads:10 auth:10 sam:10 rpc:10</code></em></td></tr><tr><td><a class="indexterm" name="id2613400"></a><em class="parameter"><code>ldap admin dn = cn=Manager,dc=SNOWSHOW,dc=COM</code></em></td></tr><tr><td><a class="indexterm" name="id2613413"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2613425"></a><em class="parameter"><code>ldap suffix = dc=SNOWSHOW,dc=COM</code></em></td></tr><tr><td><a class="indexterm" name="id2613436"></a><em class="parameter"><code>idmap backend = ldap:ldap://ldap.snowshow.com</code></em></td></tr><tr><td><a class="indexterm" name="id2613449"></a><em class="parameter"><code>idmap uid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2613460"></a><em class="parameter"><code>idmap gid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2613472"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2613484"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr></table></div></div><br class="example-break"><p>
     551        <a class="indexterm" name="id2613499"></a>
    552552        In the case of an NT4 or Samba-3-style domain the <em class="parameter"><code>realm</code></em> is not used, and the
    553553        command used to join the domain is <code class="literal">net rpc join</code>. The above example also demonstrates
    554554        advanced error-reporting techniques that are documented in <a class="link" href="bugreport.html#dbglvl" title="Debug Levels">Reporting Bugs</a>.
    555555        </p><p>
    556         <a class="indexterm" name="id2607461"></a>
    557         <a class="indexterm" name="id2607468"></a>
    558         <a class="indexterm" name="id2607475"></a>
     556        <a class="indexterm" name="id2613533"></a>
     557        <a class="indexterm" name="id2613540"></a>
     558        <a class="indexterm" name="id2613547"></a>
    559559        Where MIT kerberos is installed (version 1.3.4 or later), edit the <code class="filename">/etc/krb5.conf</code>
    560560        file so it has the following contents:
     
    595595        .snowshow.com = SNOWSHOW.COM
    596596</pre><p>
    597         </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     597        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    598598        Samba cannot use the Heimdal libraries if there is no <code class="filename">/etc/krb5.conf</code> file.
    599599        So long as there is an empty file, the Heimdal kerberos libraries will be usable. There is no
     
    611611</pre><p>
    612612        </p><p>
    613         <a class="indexterm" name="id2607558"></a>
    614         <a class="indexterm" name="id2607565"></a>
     613        <a class="indexterm" name="id2613630"></a>
     614        <a class="indexterm" name="id2613637"></a>
    615615        You will need the <a class="ulink" href="http://www.padl.com" target="_top">PADL</a> <code class="literal">nss_ldap</code>
    616616        tool set for this solution. Configure the <code class="filename">/etc/ldap.conf</code> file so it has
     
    631631        </p><p>
    632632        The following procedure may be followed to effect a working configuration:
    633         </p><div class="procedure"><ol type="1"><li><p>
     633        </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    634634                Configure the <code class="filename">smb.conf</code> file as shown above.
    635                 </p></li><li><p>
     635                </p></li><li class="step" title="Step 2"><p>
    636636                Create the <code class="filename">/etc/krb5.conf</code> file as shown above.
    637                 </p></li><li><p>
     637                </p></li><li class="step" title="Step 3"><p>
    638638                Configure the <code class="filename">/etc/nsswitch.conf</code> file as shown above.
    639                 </p></li><li><p>
     639                </p></li><li class="step" title="Step 4"><p>
    640640                Download, build, and install the PADL nss_ldap tool set. Configure the
    641641                <code class="filename">/etc/ldap.conf</code> file as shown above.
    642                 </p></li><li><p>
     642                </p></li><li class="step" title="Step 5"><p>
    643643                Configure an LDAP server and initialize the directory with the top-level entries needed by IDMAP,
    644644                shown in the following LDIF file:
     
    660660ou: idmap
    661661</pre><p>
    662                 </p></li><li><p>
     662                </p></li><li class="step" title="Step 6"><p>
    663663                Execute the command to join the Samba DMS to the ADS domain as shown here:
    664664</p><pre class="screen">
     
    667667Joined 'GOODELF' to realm 'SNOWSHOW.COM'
    668668</pre><p>
    669                 </p></li><li><p>
     669                </p></li><li class="step" title="Step 7"><p>
    670670                Store the LDAP server access password in the Samba <code class="filename">secrets.tdb</code> file as follows:
    671671</p><pre class="screen">
    672672<code class="prompt">root# </code> smbpasswd -w not24get
    673673</pre><p>
    674                 </p></li><li><p>
     674                </p></li><li class="step" title="Step 8"><p>
    675675                Start the <code class="literal">nmbd</code>, <code class="literal">winbind</code>, and <code class="literal">smbd</code> daemons in the order shown.
    676676                </p></li></ol></div><p>
    677         <a class="indexterm" name="id2607761"></a>
     677        <a class="indexterm" name="id2613833"></a>
    678678        Follow the diagnositic procedures shown earlier in this chapter to identify success or failure of the join.
    679679        In many cases a failure is indicated by a silent return to the command prompt with no indication of the
    680680        reason for failure.
    681         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2607774"></a>IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</h3></div></div></div><p>
    682         <a class="indexterm" name="id2607783"></a>
    683         <a class="indexterm" name="id2607789"></a>
     681        </p></div><div class="sect2" title="IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension"><div class="titlepage"><div><div><h3 class="title"><a name="id2613846"></a>IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</h3></div></div></div><p>
     682        <a class="indexterm" name="id2613855"></a>
     683        <a class="indexterm" name="id2613861"></a>
    684684        The use of this method is messy. The information provided in the following is for guidance only
    685685        and is very definitely not complete. This method does work; it is used in a number of large sites
     
    688688        An example <code class="filename">smb.conf</code> file is shown in <a class="link" href="idmapper.html#idmaprfc2307" title="Example 14.5. ADS Domain Member Server using RFC2307bis Schema Extension Date via NSS">ADS Domain Member Server using
    689689RFC2307bis Schema Extension Date via NSS</a>.
    690         </p><div class="example"><a name="idmaprfc2307"></a><p class="title"><b>Example 14.5. ADS Domain Member Server using RFC2307bis Schema Extension Date via NSS</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="id2607849"></a><em class="parameter"><code>workgroup = BOBBY</code></em></td></tr><tr><td><a class="indexterm" name="id2607861"></a><em class="parameter"><code>realm = BOBBY.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2607872"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2607884"></a><em class="parameter"><code>idmap uid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2607896"></a><em class="parameter"><code>idmap gid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2607907"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2607919"></a><em class="parameter"><code>winbind cache time = 5</code></em></td></tr><tr><td><a class="indexterm" name="id2607931"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2607943"></a><em class="parameter"><code>winbind trusted domains only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2607956"></a><em class="parameter"><code>winbind nested groups = Yes</code></em></td></tr></table></div></div><br class="example-break"><p>
    691         <a class="indexterm" name="id2607971"></a>
     690        </p><div class="example"><a name="idmaprfc2307"></a><p class="title"><b>Example 14.5. ADS Domain Member Server using RFC2307bis Schema Extension Date via NSS</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="id2613921"></a><em class="parameter"><code>workgroup = BOBBY</code></em></td></tr><tr><td><a class="indexterm" name="id2613933"></a><em class="parameter"><code>realm = BOBBY.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2613944"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2613956"></a><em class="parameter"><code>idmap uid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2613968"></a><em class="parameter"><code>idmap gid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2613979"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2613991"></a><em class="parameter"><code>winbind cache time = 5</code></em></td></tr><tr><td><a class="indexterm" name="id2614003"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2614015"></a><em class="parameter"><code>winbind trusted domains only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2614028"></a><em class="parameter"><code>winbind nested groups = Yes</code></em></td></tr></table></div></div><br class="example-break"><p>
     691        <a class="indexterm" name="id2614043"></a>
    692692        The DMS must be joined to the domain using the usual procedure. Additionally, it is necessary
    693693        to build and install the PADL nss_ldap tool set. Be sure to build this tool set with the
     
    698698</pre><p>
    699699        </p><p>
    700         <a class="indexterm" name="id2607991"></a>
     700        <a class="indexterm" name="id2614063"></a>
    701701        The following <code class="filename">/etc/nsswitch.conf</code> file contents are required:
    702702</p><pre class="screen">
     
    710710</pre><p>
    711711        </p><p>
    712         <a class="indexterm" name="id2608015"></a>
    713         <a class="indexterm" name="id2608022"></a>
     712        <a class="indexterm" name="id2614087"></a>
     713        <a class="indexterm" name="id2614094"></a>
    714714        The <code class="filename">/etc/ldap.conf</code> file must be configured also. Refer to the PADL documentation
    715715        and source code for nss_ldap to specific instructions.
     
    717717        The next step involves preparation of the ADS schema. This is briefly discussed in the remaining
    718718        part of this chapter.
    719         </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2608044"></a>IDMAP, Active Directory, and MS Services for UNIX 3.5</h4></div></div></div><p>
    720                 <a class="indexterm" name="id2608052"></a>
     719        </p><div class="sect3" title="IDMAP, Active Directory, and MS Services for UNIX 3.5"><div class="titlepage"><div><div><h4 class="title"><a name="id2614116"></a>IDMAP, Active Directory, and MS Services for UNIX 3.5</h4></div></div></div><p>
     720                <a class="indexterm" name="id2614124"></a>
    721721                The Microsoft Windows Service for UNIX (SFU) version 3.5 is available for free
    722722                <a class="ulink" href="http://www.microsoft.com/windows/sfu/" target="_top">download</a>
    723723                from the Microsoft Web site. You will need to download this tool and install it following
    724724                Microsoft instructions.
    725                 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2608071"></a>IDMAP, Active Directory and AD4UNIX</h4></div></div></div><p>
     725                </p></div><div class="sect3" title="IDMAP, Active Directory and AD4UNIX"><div class="titlepage"><div><div><h4 class="title"><a name="id2614143"></a>IDMAP, Active Directory and AD4UNIX</h4></div></div></div><p>
    726726                Instructions for obtaining and installing the AD4UNIX tool set can be found from the
    727727                <a class="ulink" href="http://www.geekcomix.com/cgi-bin/classnotes/wiki.pl?LDAP01/An_Alternative_Approach" target="_top">
    728728                Geekcomix</a> Web site.
    729                 </p></div></div></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><code class="literal"><sup>[<a name="ftn.id2604377" href="#id2604377" class="literal">4</a>] </sup>DOMINICUS\FJones</code><code class="literal">FRANCISCUS\FJones</code><code class="literal">FJones</code></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="NetCommand.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="rights.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 13. Remote and Local Management: The Net Command </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 15. User Rights and Privileges</td></tr></table></div></body></html>
     729                </p></div></div></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><code class="literal"><sup>[<a name="ftn.id2610444" href="#id2610444" class="literal">4</a>] </sup>DOMINICUS\FJones</code><code class="literal">FRANCISCUS\FJones</code><code class="literal">FJones</code></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="NetCommand.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="rights.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 13. Remote and Local Management: The Net Command </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 15. User Rights and Privileges</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/index.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>The Official Samba 3.3.x HOWTO and Reference Guide</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="next" href="pr01.html" title="About the Cover Artwork"></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">The Official Samba 3.3.x HOWTO and Reference Guide</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="pr01.html">Next</a></td></tr></table><hr></div><div class="book" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="Samba-HOWTO-Collection"></a>The Official Samba 3.3.x HOWTO and Reference Guide</h1></div><div><div class="authorgroup"><div class="editor"><h4 class="editedby">Edited by</h4><h3 class="editor"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div><div class="editor"><h4 class="editedby">Edited by</h4><h3 class="editor"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div><div class="editor"><h4 class="editedby">Edited by</h4><h3 class="editor"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>&gt;</code></p></div></div></div></div></div><div><p class="pubdate"></p></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="preface"><a href="pr01.html">About the Cover Artwork</a></span></dt><dt><span class="preface"><a href="pr02.html">Attribution</a></span></dt><dt><span class="preface"><a href="pr03.html">Foreword</a></span></dt><dt><span class="preface"><a href="TOSHpreface.html">Preface</a></span></dt><dd><dl><dt><span class="sect1"><a href="TOSHpreface.html#id2551195">Conventions Used</a></span></dt></dl></dd><dt><span class="preface"><a href="IntroSMB.html">Introduction</a></span></dt><dd><dl><dt><span class="sect1"><a href="IntroSMB.html#id2551378">What Is Samba?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2498886">Why This Book?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2551674">Book Structure and Layout</a></span></dt></dl></dd><dt><span class="part"><a href="introduction.html">I. General Installation</a></span></dt><dd><dl><dt><span class="chapter"><a href="install.html">1. How to Install and Test SAMBA</a></span></dt><dd><dl><dt><span class="sect1"><a href="install.html#id2551936">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2551976">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2552018">Configuration File Syntax</a></span></dt><dt><span class="sect2"><a href="install.html#tdbdocs">TDB Database File Information</a></span></dt><dt><span class="sect2"><a href="install.html#id2552921">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2553100">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2553503">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2553562">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2553614">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2553705">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2553786">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2553827">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2553859">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2553870">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2553957">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2553989">The network name cannot be found</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="FastStart.html">2. Fast Start: Cure for Impatience</a></span></dt><dd><dl><dt><span class="sect1"><a href="FastStart.html#id2554132">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2554155">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2554224">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2554243">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2555984">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2556827">Domain Controller</a></span></dt></dl></dd></dl></dd></dl></dd><dt><span class="part"><a href="type.html">II. Server Configuration Basics</a></span></dt><dd><dl><dt><span class="chapter"><a href="ServerType.html">3. Server Types and Security Modes</a></span></dt><dd><dl><dt><span class="sect1"><a href="ServerType.html#id2558832">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2558991">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2559136">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2559298">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2559461">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560148">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560291">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2560566">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2560753">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2560783">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560815">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560852">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560879">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560937">Stand-alone Server is converted to Domain Controller  Now User accounts don't work</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="samba-pdc.html">4. Domain Control</a></span></dt><dd><dl><dt><span class="sect1"><a href="samba-pdc.html#id2561262">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2562485">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2562505">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2563009">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2564263">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2564316">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2564335">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2565206">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2565212">$ Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565312">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565377">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565454">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565573">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565600">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565619">Cannot Log onto Domain Member Workstation After Joining Domain</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="samba-bdc.html">5. Backup Domain Control</a></span></dt><dd><dl><dt><span class="sect1"><a href="samba-bdc.html#id2565803">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2566209">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567331">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567390">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567481">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2568163">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2568620">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2568664">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568719">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568879">Can I Do This All with LDAP?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="domain-member.html">6. Domain Membership</a></span></dt><dd><dl><dt><span class="sect1"><a href="domain-member.html#id2569122">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570526">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570632">Making an MS Windows Workstation or Server a Domain Member</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#domain-member-server">Domain Member Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2571833">Why Is This Better Than security = server?</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#ads-member">Samba ADS Domain Membership</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2572115">Configure smb.conf</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-server">Testing Server Setup</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-smbclient">Testing with smbclient</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2573400">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2573679">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2573719">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2574030">I Can't Join a Windows 2003 PDC</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="StandAloneServer.html">7. Standalone Servers</a></span></dt><dd><dl><dt><span class="sect1"><a href="StandAloneServer.html#id2574163">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2574257">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2574458">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></span></dt><dt><span class="sect2"><a href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></span></dt></dl></dd><dt><span class="sect1"><a href="StandAloneServer.html#id2575441">Common Errors</a></span></dt></dl></dd><dt><span class="chapter"><a href="ClientConfig.html">8. MS Windows Network Configuration Guide</a></span></dt><dd><dl><dt><span class="sect1"><a href="ClientConfig.html#id2575509">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2575569">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2575613">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2578354">Common Errors</a></span></dt></dl></dd></dl></dd><dt><span class="part"><a href="optional.html">III. Advanced Configuration</a></span></dt><dd><dl><dt><span class="chapter"><a href="ChangeNotes.html">9. Important and Critical Change Notes for the Samba 3.x Series</a></span></dt><dd><dl><dt><span class="sect1"><a href="ChangeNotes.html#id2578591">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2578603">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2578662">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2578974">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579095">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579276">LDAP Changes in Samba-3.0.23</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NetworkBrowsing.html">10. Network Browsing</a></span></dt><dd><dl><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579539">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579723">What Is Browsing?</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#netdiscuss">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583150">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583358">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583498">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584183">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2584468">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584620">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2584823">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2585107">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2586371">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586398">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586471">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586519">I Get an "Unable to browse the network" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586766">Invalid Cached Share References Affects Network Browsing</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="passdb.html">11. Account Information Databases</a></span></dt><dd><dl><dt><span class="sect1"><a href="passdb.html#id2587249">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2587476">New Account Storage Systems</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#passdbtech">Technical Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2588044">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a></span></dt><dt><span class="sect2"><a href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2589112">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#acctmgmttools">Account Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2589966">The smbpasswd Tool</a></span></dt><dt><span class="sect2"><a href="passdb.html#pdbeditthing">The pdbedit Tool</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2592519">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2592572">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2592915">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2593072">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2595597">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2595602">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2595640">Configuration of auth methods</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="groupmapping.html">12. Group Mapping: MS Windows and UNIX</a></span></dt><dd><dl><dt><span class="sect1"><a href="groupmapping.html#id2595891">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2596307">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2596644">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2597278">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598143">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2598220">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2598231">Sample smb.conf Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598403">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2598530">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2598543">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598630">Adding Domain Users to the Workstation Power Users Group</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NetCommand.html">13. Remote and Local Management: The Net Command</a></span></dt><dd><dl><dt><span class="sect1"><a href="NetCommand.html#id2599024">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2599319">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2599558">Adding, Renaming, or Deletion of Group Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#nestedgrpmgmgt">Nested Group Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2600928">UNIX and Windows User Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#sbeuseraddn">Adding User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601139">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601187">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601256">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2601684">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2601699">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602068">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2602524">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2602569">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602757">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602787">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2603410">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2603661">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603680">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603746">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603862">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603879">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2603923">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2603958">Restoring the IDMAP Database Dump File</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></span></dt></dl></dd><dt><span class="chapter"><a href="idmapper.html">14. Identity Mapping (IDMAP)</a></span></dt><dd><dl><dt><span class="sect1"><a href="idmapper.html#id2604468">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2604493">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2605507">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2605741">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2605813">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2605876">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2606598">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2607774">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="rights.html">15. User Rights and Privileges</a></span></dt><dd><dl><dt><span class="sect1"><a href="rights.html#id2608451">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2608726">Using the net rpc rights Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2609072">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2609893">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2610070">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="AccessControls.html">16. File, Directory, and Share Access Controls</a></span></dt><dd><dl><dt><span class="sect1"><a href="AccessControls.html#id2610573">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2610760">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2611116">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2611240">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2611906">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2611939">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2612307">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2612644">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2612982">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2613130">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2613477">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2613483">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613530">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613601">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613745">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613960">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614117">Interaction with the Standard Samba create mask Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614486">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614559">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2614978">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2614990">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2615312">File Operations Done as root with force user Set</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2615358">MS Word with Samba Changes Owner of File</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="locking.html">17. File and Record Locking</a></span></dt><dd><dl><dt><span class="sect1"><a href="locking.html#id2615585">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2615682">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2615940">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2616938">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617033">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617446">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617633">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617655">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617721">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2617747">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617814">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617845">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617869">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617901">Additional Reading</a></span></dt></dl></dd><dt><span class="chapter"><a href="securing-samba.html">18. Securing Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="securing-samba.html#id2618075">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2618174">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2618320">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2618336">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618490">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618550">Using Interface Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#firewallports">Using a Firewall</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2619044">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2619099">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2619142">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2619158">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="InterdomainTrusts.html">19. Interdomain Trust Relationships</a></span></dt><dd><dl><dt><span class="sect1"><a href="InterdomainTrusts.html#id2619747">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2620105">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620141">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620238">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620323">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2620532">Configuring Samba NT-Style Domain Trusts</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2621219">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2621232">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2621278">Problems with LDAP ldapsam and Older Versions of smbldap-tools</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="msdfs.html">20. Hosting a Microsoft Distributed File System Tree</a></span></dt><dd><dl><dt><span class="sect1"><a href="msdfs.html#id2621456">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2621875">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2621908">MSDFS UNIX Path Is Case-Critical</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="classicalprinting.html">21. Classical Printing Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="classicalprinting.html#id2622106">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2622330">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622481">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2622540">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2622641">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623122">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2623522">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2623977">Detailed Explanation Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2626693">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2626862">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2626984">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2627200">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2627521">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2627663">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2627756">Add Printer Wizard Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#inst-rpc">Installing Print Drivers Using rpcclient</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2629689">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2629706">First Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630271">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630390">Always Make First Client Connection as root or printer admin</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2630563">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2630584">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630951">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631207">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631467">Error Message: Cannot connect under a different Name</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631581">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631890">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631999">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2632036">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632082">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632117">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632132">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632150">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2632283">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632557">The addprinter Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632596">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632744">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632774">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632780">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632821">My Print Jobs Get Spooled into the Spooling Directory, but Then Get Lost</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="CUPS-printing.html">22. CUPS Printing Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="CUPS-printing.html#id2632968">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2632974">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633034">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633153">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633268">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633517">Simple smb.conf Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633762">More Complex CUPS smb.conf Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2634138">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2634156">Central Spooling vs. Peer-to-Peer Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634206">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634441">Installation of Windows Client Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634728">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2634850">Advanced Intelligent Printing with PostScript Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635579">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635733">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635816">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635936">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636848">Filtering  Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637005">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637193">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637361">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637630">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637715">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637934">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638508">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638521">mime.convs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638590">Raw Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638698">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638977">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640025">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640148">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640243">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640259">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640321">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640393">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640498">Network Printing (Windows Clients and UNIX/Samba Print
    2 Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640516">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640706">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640785">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640876">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640920">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640988">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641003">Printer Drivers Running in Kernel Mode Cause Many
    3 Problems</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641041">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641059">CUPS: A Magical Stone?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641102">PostScript Drivers with No Major Problems, Even in Kernel
    4 Mode</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2641189">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641212">cupsaddsmb: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641310">Prepare Your smb.conf for cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641591">CUPS PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641830">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641949">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641974">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642037">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642336">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642554">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642694">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642886">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643030">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643152">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643233">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643314">Installing the PostScript Driver on a Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-avoidps1">Avoiding Critical PostScript Driver Settings on the Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2643549">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2643723">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643895">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644000">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644132">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645315">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2645661">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645729">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645795">Losing *.tdb Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645846">Using tdbbackup</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2645965">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646141">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646962">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647435">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2647471">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647525">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647565">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647706">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647851">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647917">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647957">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647971">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648188">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2648264">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648349">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648488">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2648535">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648832">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648943">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2648949">Windows 9x/Me Client Can't Install Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#root-ask-loop">cupsaddsmb Keeps Asking for Root Password in Never-ending Loop</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649025">cupsaddsmb or rpcclient addriver Emit Error</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649063">cupsaddsmb Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649137">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649162">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649253">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649304">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649342">Can't Use cupsaddsmb on Samba Server, Which Is a PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649378">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649412">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649445">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649486">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649512">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649558">Print Options for All Users Can't Be Set on Windows 200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649842">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649897">cupsaddsmb Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649947">Permissions on /var/spool/samba/ Get Reset After Each Reboot</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650045">Print Queue Called lp Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650114">Location of Adobe PostScript Driver Files for cupsaddsmb</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2650168">Overview of the CUPS Printing Processes</a></span></dt></dl></dd><dt><span class="chapter"><a href="VFS.html">23. Stackable VFS modules</a></span></dt><dd><dl><dt><span class="sect1"><a href="VFS.html#id2650356">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2650394">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2650789">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2650795">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2650836">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651054">extd_audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#fakeperms">fake_perms</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651380">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651777">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651827">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2652729">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2652755">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2652814">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2652854">vscan-clamav</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="winbind.html">24. Winbind: Use of Domain Accounts</a></span></dt><dd><dl><dt><span class="sect1"><a href="winbind.html#id2653118">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2653461">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2653551">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2653704">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2653749">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2653875">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2653925">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654018">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654066">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654298">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654453">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654529">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2654586">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2654592">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654706">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654858">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2657317">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2657366">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2657408">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2657444">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="AdvancedNetworkManagement.html">25. Advanced Network Management</a></span></dt><dd><dl><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657633">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657660">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657803">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2658393">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658618">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658661">Limiting Logon Connections</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="PolicyMgmt.html">26. System and Account Policies</a></span></dt><dd><dl><dt><span class="sect1"><a href="PolicyMgmt.html#id2658804">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2659098">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2660133">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2660146">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2660228">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2660268">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2660333">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2660490">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2660502">Policy Does Not Work</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="ProfileMgmt.html">27. Desktop Profile Management</a></span></dt><dd><dl><dt><span class="sect1"><a href="ProfileMgmt.html#id2660587">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2660636">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2660690">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2661296">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662645">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662678">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662777">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2663129">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2663269">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2663347">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2663378">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2663529">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2664596">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2664607">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664669">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664840">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2665004">Debugging Roaming Profiles and NT4-style Domain Policies</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="pam.html">28. PAM-Based Distributed Authentication</a></span></dt><dd><dl><dt><span class="sect1"><a href="pam.html#id2665180">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2665810">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2665864">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2666875">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667181">smb.conf PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667262">Remote CIFS Authentication Using winbindd.so</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667365">Password Synchronization Using pam_smbpass.so</a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2667759">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2667770">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667868">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="integrate-ms-networks.html">29. Integrating MS Windows Networks with Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668091">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668111">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668240">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668313">/etc/hosts</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668502">/etc/resolv.conf</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668538">/etc/host.conf</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668589">/etc/nsswitch.conf</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669148">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669234">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669410">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669438">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669465">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2669603">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669616">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669647">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669689">Samba Server Name-Change Problem</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="unicode.html">30. Unicode/Charsets</a></span></dt><dd><dl><dt><span class="sect1"><a href="unicode.html#id2669894">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2669946">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670080">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670215">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670247">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2670386">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2671027">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2671150">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2671297">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2671302">CP850.so Can't Be Found</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Backup.html">31. Backup Techniques</a></span></dt><dd><dl><dt><span class="sect1"><a href="Backup.html#id2671410">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2671454">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2671551">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671723">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671892">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671940">BOBS: Browseable Online Backup System</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="SambaHA.html">32. High Availability</a></span></dt><dd><dl><dt><span class="sect1"><a href="SambaHA.html#id2672036">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2672157">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2672191">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2672321">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673034">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673115">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673255">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673292">Conclusions</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="largefile.html">33. Handling Large Directories</a></span></dt><dt><span class="chapter"><a href="cfgsmarts.html">34. Advanced Configuration Techniques</a></span></dt><dd><dl><dt><span class="sect1"><a href="cfgsmarts.html#id2673923">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2675343">Multiple Virtual Server Hosting</a></span></dt></dl></dd></dl></dd></dl></dd><dt><span class="part"><a href="migration.html">IV. Migration and Updating</a></span></dt><dd><dl><dt><span class="chapter"><a href="upgrading-to-3.0.html">35. Updating and Upgrading Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2676238">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676275">Upgrading from Samba-3.0.x to Samba-3.2.0</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676324">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2676475">New Features in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676484">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2677694">New Functionality</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NT4Migration.html">36. Migration from NT4 PDC to Samba-3 PDC</a></span></dt><dd><dl><dt><span class="sect1"><a href="NT4Migration.html#id2679090">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2679125">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2680070">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2680306">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2680392">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="SWAT.html">37. SWAT: The Samba Web Administration Tool</a></span></dt><dd><dl><dt><span class="sect1"><a href="SWAT.html#id2681115">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2681245">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2681264">Validate SWAT Installation</a></span></dt><dt><span class="sect2"><a href="SWAT.html#xinetd">Enabling SWAT for Use</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2681902">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682054">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2682252">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2682265">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682326">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682428">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682483">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682540">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682603">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682647">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682666">The Password Change Page</a></span></dt></dl></dd></dl></dd></dl></dd><dt><span class="part"><a href="troubleshooting.html">V. Troubleshooting</a></span></dt><dd><dl><dt><span class="chapter"><a href="diagnosis.html">38. The Samba Checklist</a></span></dt><dd><dl><dt><span class="sect1"><a href="diagnosis.html#id2682800">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2682839">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2683132">The Tests</a></span></dt></dl></dd><dt><span class="chapter"><a href="problems.html">39. Analyzing and Solving Samba Problems</a></span></dt><dd><dl><dt><span class="sect1"><a href="problems.html#id2684879">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2684931">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685187">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685238">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685381">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2685707">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2685744">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2685919">How to Get Off the Mailing Lists</a></span></dt></dl></dd><dt><span class="chapter"><a href="bugreport.html">40. Reporting Bugs</a></span></dt><dd><dl><dt><span class="sect1"><a href="bugreport.html#id2686050">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686140">General Information</a></span></dt><dt><span class="sect1"><a href="bugreport.html#dbglvl">Debug Levels</a></span></dt><dd><dl><dt><span class="sect2"><a href="bugreport.html#id2686375">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2686577">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686710">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686836">Patches</a></span></dt></dl></dd><dt><span class="chapter"><a href="tdb.html">41. Managing TDB Files</a></span></dt><dd><dl><dt><span class="sect1"><a href="tdb.html#id2686919">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2687381">Managing TDB Files</a></span></dt></dl></dd></dl></dd><dt><span class="part"><a href="Appendix.html">VI. Reference Section</a></span></dt><dd><dl><dt><span class="chapter"><a href="compiling.html">42. How to Compile Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="compiling.html#id2687571">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2687577">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2687618">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2687810">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2687884">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2688022">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2688260">Compiling Samba with Active Directory Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#startingSamba">Starting the smbd nmbd and winbindd</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2688531">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2688751">Alternative: Starting smbd as a Daemon</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Portability.html">43. Portability</a></span></dt><dd><dl><dt><span class="sect1"><a href="Portability.html#id2689135">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689239">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689278">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689420">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689463">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689525">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2689530">Locking Improvements</a></span></dt><dt><span class="sect2"><a href="Portability.html#winbind-solaris9">Winbind on Solaris 9</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Other-Clients.html">44. Samba and Other CIFS Clients</a></span></dt><dd><dl><dt><span class="sect1"><a href="Other-Clients.html#id2689706">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2689790">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2689796">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2689915">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2689972">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690065">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2690071">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690154">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690180">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690238">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690270">Use TCP/IP as Default Protocol</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#speedimpr">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690327">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2690396">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690417">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2690613">Windows NT 3.1</a></span></dt></dl></dd><dt><span class="chapter"><a href="speed.html">45. Samba Performance Tuning</a></span></dt><dd><dl><dt><span class="sect1"><a href="speed.html#id2690721">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690759">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690856">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690900">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690948">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690972">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691039">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691091">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691115">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691136">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691227">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691323">Samba Performance is Very Slow</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-ldap-tls.html">46. LDAP and Transport Layer Security</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></span></dt><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-config-ldap-tls">Configuring</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-certs">Generating the Certificate Authority</a></span></dt><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-server">Generating the Server Certificate</a></span></dt><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-install">Installing the Certificates</a></span></dt></dl></dd><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-test-ldap-tls">Testing</a></span></dt><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-int-ldap-tls">Troubleshooting</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch47.html">47. Samba Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch47.html#id2692514">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2692732">Commercial Support</a></span></dt></dl></dd><dt><span class="chapter"><a href="DNSDHCP.html">48. DNS and DHCP Configuration Guide</a></span></dt><dd><dl><dt><span class="sect1"><a href="DNSDHCP.html#id2692891">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2693070">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2693161">Dynamic DNS</a></span></dt><dt><span class="sect2"><a href="DNSDHCP.html#DHCP">DHCP Server</a></span></dt></dl></dd></dl></dd></dl></dd><dt><span class="appendix"><a href="apa.html">A.
    5     GNU General Public License version 3
    6   </a></span></dt><dd><dl><dt><span class="bridgehead"><a href="apa.html#id2693460">A.
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>The Official Samba 3.3.x HOWTO and Reference Guide</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="next" href="pr01.html" title="About the Cover Artwork"></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">The Official Samba 3.3.x HOWTO and Reference Guide</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="pr01.html">Next</a></td></tr></table><hr></div><div class="book" title="The Official Samba 3.3.x HOWTO and Reference Guide"><div class="titlepage"><div><div><h1 class="title"><a name="Samba-HOWTO-Collection"></a>The Official Samba 3.3.x HOWTO and Reference Guide</h1></div><div><div class="authorgroup"><div class="editor"><h4 class="editedby">Edited by</h4><h3 class="editor"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div><div class="editor"><h4 class="editedby">Edited by</h4><h3 class="editor"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div><div class="editor"><h4 class="editedby">Edited by</h4><h3 class="editor"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>&gt;</code></p></div></div></div></div></div><div><p class="pubdate"></p></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="preface"><a href="pr01.html">About the Cover Artwork</a></span></dt><dt><span class="preface"><a href="pr02.html">Attribution</a></span></dt><dt><span class="preface"><a href="pr03.html">Foreword</a></span></dt><dt><span class="preface"><a href="TOSHpreface.html">Preface</a></span></dt><dd><dl><dt><span class="sect1"><a href="TOSHpreface.html#id2557252">Conventions Used</a></span></dt></dl></dd><dt><span class="preface"><a href="IntroSMB.html">Introduction</a></span></dt><dd><dl><dt><span class="sect1"><a href="IntroSMB.html#id2557435">What Is Samba?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2504941">Why This Book?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2557731">Book Structure and Layout</a></span></dt></dl></dd><dt><span class="part"><a href="introduction.html">I. General Installation</a></span></dt><dd><dl><dt><span class="chapter"><a href="install.html">1. How to Install and Test SAMBA</a></span></dt><dd><dl><dt><span class="sect1"><a href="install.html#id2557993">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2558033">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2558075">Configuration File Syntax</a></span></dt><dt><span class="sect2"><a href="install.html#tdbdocs">TDB Database File Information</a></span></dt><dt><span class="sect2"><a href="install.html#id2558977">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2559157">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2559561">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2559619">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2559671">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2559762">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2559843">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2559884">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2559917">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2559927">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2560014">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2560047"><span class="quote">&#8220;<span class="quote"><span class="errorname">The network name cannot be found</span></span>&#8221;</span></a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="FastStart.html">2. Fast Start: Cure for Impatience</a></span></dt><dd><dl><dt><span class="sect1"><a href="FastStart.html#id2560189">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2560212">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2560282">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2560300">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2562042">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2562885">Domain Controller</a></span></dt></dl></dd></dl></dd></dl></dd><dt><span class="part"><a href="type.html">II. Server Configuration Basics</a></span></dt><dd><dl><dt><span class="chapter"><a href="ServerType.html">3. Server Types and Security Modes</a></span></dt><dd><dl><dt><span class="sect1"><a href="ServerType.html#id2564889">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2565049">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2565193">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2565355">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2565518">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566205">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566348">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2566623">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2566810">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2566840">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566873">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566910">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566937">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566995">Stand-alone Server is converted to Domain Controller  Now User accounts don't work</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="samba-pdc.html">4. Domain Control</a></span></dt><dd><dl><dt><span class="sect1"><a href="samba-pdc.html#id2567320">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2568544">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2568563">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2569068">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2570321">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2570374">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2570393">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2571265">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2571270"><span class="quote">&#8220;<span class="quote">$</span>&#8221;</span> Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571371">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571436">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571512">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571632">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571659">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571678">Cannot Log onto Domain Member Workstation After Joining Domain</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="samba-bdc.html">5. Backup Domain Control</a></span></dt><dd><dl><dt><span class="sect1"><a href="samba-bdc.html#id2571862">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2572268">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573390">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573448">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573539">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2574222">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2574686">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2574730">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2574784">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2574945">Can I Do This All with LDAP?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="domain-member.html">6. Domain Membership</a></span></dt><dd><dl><dt><span class="sect1"><a href="domain-member.html#id2575193">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2576597">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2576703">Making an MS Windows Workstation or Server a Domain Member</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#domain-member-server">Domain Member Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2577904">Why Is This Better Than <em class="parameter"><code>security = server</code></em>?</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#ads-member">Samba ADS Domain Membership</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2578186">Configure <code class="filename">smb.conf</code></a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2578377">Configure <code class="filename">/etc/krb5.conf</code></a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-server">Testing Server Setup</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-smbclient">Testing with <span class="application">smbclient</span></a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2579471">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2579750">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2579789">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2580101">I Can't Join a Windows 2003 PDC</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="StandAloneServer.html">7. Standalone Servers</a></span></dt><dd><dl><dt><span class="sect1"><a href="StandAloneServer.html#id2580234">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2580328">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2580529">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></span></dt><dt><span class="sect2"><a href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></span></dt></dl></dd><dt><span class="sect1"><a href="StandAloneServer.html#id2581512">Common Errors</a></span></dt></dl></dd><dt><span class="chapter"><a href="ClientConfig.html">8. MS Windows Network Configuration Guide</a></span></dt><dd><dl><dt><span class="sect1"><a href="ClientConfig.html#id2581580">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2581640">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2581683">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2584425">Common Errors</a></span></dt></dl></dd></dl></dd><dt><span class="part"><a href="optional.html">III. Advanced Configuration</a></span></dt><dd><dl><dt><span class="chapter"><a href="ChangeNotes.html">9. Important and Critical Change Notes for the Samba 3.x Series</a></span></dt><dd><dl><dt><span class="sect1"><a href="ChangeNotes.html#id2584662">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2584674">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2584733">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585045">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585166">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585347">LDAP Changes in Samba-3.0.23</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NetworkBrowsing.html">10. Network Browsing</a></span></dt><dd><dl><dt><span class="sect1"><a href="NetworkBrowsing.html#id2585610">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2585793">What Is Browsing?</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#netdiscuss">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589216">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589424">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589564">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590249">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2590534">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590686">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2590890">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2591173">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2592438">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592464">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592537">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592585">I Get an "<span class="errorname">Unable to browse the network</span>" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592832">Invalid Cached Share References Affects Network Browsing</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="passdb.html">11. Account Information Databases</a></span></dt><dd><dl><dt><span class="sect1"><a href="passdb.html#id2593316">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2593543">New Account Storage Systems</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#passdbtech">Technical Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2594111">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a></span></dt><dt><span class="sect2"><a href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2595179">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#acctmgmttools">Account Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2596033">The <code class="literal">smbpasswd</code> Tool</a></span></dt><dt><span class="sect2"><a href="passdb.html#pdbeditthing">The <code class="literal">pdbedit</code> Tool</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2598586">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2598639">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2598981">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2599139">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2601663">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2601669">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2601707">Configuration of <em class="parameter"><code>auth methods</code></em></a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="groupmapping.html">12. Group Mapping: MS Windows and UNIX</a></span></dt><dd><dl><dt><span class="sect1"><a href="groupmapping.html#id2601958">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2602374">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2602711">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2603344">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2604210">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2604286">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2604298">Sample <code class="filename">smb.conf</code> Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2604470">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2604597">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2604610">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2604697">Adding Domain Users to the Workstation Power Users Group</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NetCommand.html">13. Remote and Local Management: The Net Command</a></span></dt><dd><dl><dt><span class="sect1"><a href="NetCommand.html#id2605091">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2605385">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2605625">Adding, Renaming, or Deletion of Group Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#nestedgrpmgmgt">Nested Group Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2606994">UNIX and Windows User Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#sbeuseraddn">Adding User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2607206">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2607254">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2607322">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2607751">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2607766">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2608135">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2608591">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2608636">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2608824">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2608854">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2609477">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2609728">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609747">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609812">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609928">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609946">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2609990">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2610025">Restoring the IDMAP Database Dump File</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></span></dt></dl></dd><dt><span class="chapter"><a href="idmapper.html">14. Identity Mapping (IDMAP)</a></span></dt><dd><dl><dt><span class="sect1"><a href="idmapper.html#id2610535">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2610560">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2611579">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2611813">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2611885">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2611948">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2612670">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2613846">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="rights.html">15. User Rights and Privileges</a></span></dt><dd><dl><dt><span class="sect1"><a href="rights.html#id2614523">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2614798">Using the <span class="quote">&#8220;<span class="quote">net rpc rights</span>&#8221;</span> Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2615144">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2615970">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2616147">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="AccessControls.html">16. File, Directory, and Share Access Controls</a></span></dt><dd><dl><dt><span class="sect1"><a href="AccessControls.html#id2616650">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2616837">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2617188">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2617311">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2617982">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2618015">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2618383">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2618720">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2619058">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2619206">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2619552">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2619559">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2619606">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2619677">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2619821">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620036">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620193">Interaction with the Standard Samba <span class="quote">&#8220;<span class="quote">create mask</span>&#8221;</span> Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620562">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620635">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2621054">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2621066">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2621388">File Operations Done as <span class="emphasis"><em>root</em></span> with <span class="emphasis"><em>force user</em></span> Set</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2621434">MS Word with Samba Changes Owner of File</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="locking.html">17. File and Record Locking</a></span></dt><dd><dl><dt><span class="sect1"><a href="locking.html#id2621671">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2621768">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2622026">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623031">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2623125">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623539">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2623726">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2623748">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623814">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2623839">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2623907">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2623937">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2623962">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623993">Additional Reading</a></span></dt></dl></dd><dt><span class="chapter"><a href="securing-samba.html">18. Securing Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="securing-samba.html#id2624168">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2624266">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2624413">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2624429">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2624583">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2624642">Using Interface Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#firewallports">Using a Firewall</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2625141">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2625196">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2625240">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2625255">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="InterdomainTrusts.html">19. Interdomain Trust Relationships</a></span></dt><dd><dl><dt><span class="sect1"><a href="InterdomainTrusts.html#id2625845">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2626202">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626238">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626335">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626421">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2626630">Configuring Samba NT-Style Domain Trusts</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2627316">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2627329">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2627375">Problems with LDAP ldapsam and Older Versions of smbldap-tools</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="msdfs.html">20. Hosting a Microsoft Distributed File System Tree</a></span></dt><dd><dl><dt><span class="sect1"><a href="msdfs.html#id2627553">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2627972">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2628005">MSDFS UNIX Path Is Case-Critical</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="classicalprinting.html">21. Classical Printing Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="classicalprinting.html#id2628204">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2628427">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2628578">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2628638">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2628739">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2629022">Verifying Configuration with <code class="literal">testparm</code></a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2629220">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2629619">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2630075">Detailed Explanation Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632790">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632959">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2633081">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2633298">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2633618">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2633761">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2633854">Add Printer Wizard Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#inst-rpc">Installing Print Drivers Using <code class="literal">rpcclient</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2635786">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2635803">First Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2636368">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2636487">Always Make First Client Connection as root or <span class="quote">&#8220;<span class="quote">printer admin</span>&#8221;</span></a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2636660">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2636681">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637048">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637304">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637564">Error Message: <span class="quote">&#8220;<span class="quote">Cannot connect under a different Name</span>&#8221;</span></a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637678">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637988">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638097">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2638134">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2638180">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638214">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638230">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638247">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2638381">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638654">The <code class="literal">addprinter</code> Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638693">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638842">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638871">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2638877">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638918">My Print Jobs Get Spooled into the Spooling Directory, but Then Get Lost</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="CUPS-printing.html">22. CUPS Printing Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="CUPS-printing.html#id2639060">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2639066">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639126">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2639245">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2639361">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639609">Simple <code class="filename">smb.conf</code> Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639853">More Complex CUPS <code class="filename">smb.conf</code> Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640231">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640248">Central Spooling vs. <span class="quote">&#8220;<span class="quote">Peer-to-Peer</span>&#8221;</span> Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640299">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640534">Installation of Windows Client Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-raw">Explicitly Enable <span class="quote">&#8220;<span class="quote">raw</span>&#8221;</span> Printing for <span class="emphasis"><em>application/octet-stream</em></span></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640821">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640942">Advanced Intelligent Printing with PostScript Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641672">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641826">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641909">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642028">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642940">Filtering  Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643098">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643286">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643453">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643723">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643807">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644027">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644365">The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644600">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644613"><code class="filename">mime.convs</code></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644682"><span class="quote">&#8220;<span class="quote">Raw</span>&#8221;</span> Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644790">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645069">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645352"><span class="emphasis"><em>cupsomatic/foomatic-rip</em></span> Versus <span class="emphasis"><em>Native CUPS</em></span> Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646117">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646240">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2646335">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646352">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646414">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646485">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2646590">Network Printing (Windows Clients and UNIX/Samba Print
     2Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646608">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646799">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2646878">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646968">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647013">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647081">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2647095">Printer Drivers Running in <span class="quote">&#8220;<span class="quote">Kernel Mode</span>&#8221;</span> Cause Many
     3Problems</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647134">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647151">CUPS: A <span class="quote">&#8220;<span class="quote">Magical Stone</span>&#8221;</span>?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647194">PostScript Drivers with No Major Problems, Even in Kernel
     4Mode</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647282">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2647304"><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647402">Prepare Your <code class="filename">smb.conf</code> for <code class="literal">cupsaddsmb</code></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647683">CUPS <span class="quote">&#8220;<span class="quote">PostScript Driver for Windows NT/200x/XP</span>&#8221;</span></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647923">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648041">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648067">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648129">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648429">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648647">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648787">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648978">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649123">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649245">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649326">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649407">Installing the PostScript Driver on a Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-avoidps1">Avoiding Critical PostScript Driver Settings on the Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2649642">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2649816">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649987">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650092">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650224">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651408">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2651551">The Printing <code class="filename">*.tdb</code> Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2651754">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651821">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651887">Losing <code class="filename">*.tdb</code> Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651938">Using <code class="literal">tdbbackup</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2652058">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2652233">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653055">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2653528">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2653563">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653617">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653658">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653798">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653943">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654009">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654049">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2654063">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2654280">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2654356">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654441">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654580">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2654628">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2654924">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2655035">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2655041">Windows 9x/Me Client Can't Install Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#root-ask-loop"><span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span> Keeps Asking for Root Password in Never-ending Loop</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655118"><span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span> or <span class="quote">&#8220;<span class="quote">rpcclient addriver</span>&#8221;</span> Emit Error</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655156"><span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span> Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655230">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655254">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655345">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655397">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655434">Can't Use <span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span> on Samba Server, Which Is a PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655470">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655505">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655538">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655579">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655604">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655651">Print Options for All Users Can't Be Set on Windows 200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655934">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655990"><code class="literal">cupsaddsmb</code> Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2656039">Permissions on <code class="filename">/var/spool/samba/</code> Get Reset After Each Reboot</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2656138">Print Queue Called <span class="quote">&#8220;<span class="quote">lp</span>&#8221;</span> Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2656207">Location of Adobe PostScript Driver Files for <span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span></a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2656260">Overview of the CUPS Printing Processes</a></span></dt></dl></dd><dt><span class="chapter"><a href="VFS.html">23. Stackable VFS modules</a></span></dt><dd><dl><dt><span class="sect1"><a href="VFS.html#id2656448">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2656487">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2656882">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2656888">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2656928">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657146">extd_audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#fakeperms">fake_perms</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657472">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657868">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657919">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2658822">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2658847">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2658907">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2658946">vscan-clamav</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="winbind.html">24. Winbind: Use of Domain Accounts</a></span></dt><dd><dl><dt><span class="sect1"><a href="winbind.html#id2659210">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2659554">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2659643">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2659796">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2659842">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2659968">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2660018">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660111">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660159">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660391">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660546">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660622">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2660678">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2660684">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660799">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660951">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2663370">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2663418">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2663460">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2663497">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="AdvancedNetworkManagement.html">25. Advanced Network Management</a></span></dt><dd><dl><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2663685">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2663712">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2663855">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2664445">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2664670">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2664713">Limiting Logon Connections</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="PolicyMgmt.html">26. System and Account Policies</a></span></dt><dd><dl><dt><span class="sect1"><a href="PolicyMgmt.html#id2664856">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2665151">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2666185">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2666198">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2666280">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2666320">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2666385">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2666542">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2666554">Policy Does Not Work</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="ProfileMgmt.html">27. Desktop Profile Management</a></span></dt><dd><dl><dt><span class="sect1"><a href="ProfileMgmt.html#id2666639">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2666688">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2666742">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2667353">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2668697">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2668731">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2668829">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2669181">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2669321">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2669400">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2669430">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2669587">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2670655">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2670666">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2670727">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2670898">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2671062">Debugging Roaming Profiles and NT4-style Domain Policies</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="pam.html">28. PAM-Based Distributed Authentication</a></span></dt><dd><dl><dt><span class="sect1"><a href="pam.html#id2671238">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2671868">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2671922">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2672928">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2673234"><code class="filename">smb.conf</code> PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2673315">Remote CIFS Authentication Using <code class="filename">winbindd.so</code></a></span></dt><dt><span class="sect2"><a href="pam.html#id2673418">Password Synchronization Using <code class="filename">pam_smbpass.so</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2673812">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2673824">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2673922">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="integrate-ms-networks.html">29. Integrating MS Windows Networks with Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674144">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674165">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674293">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674366"><code class="filename">/etc/hosts</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674555"><code class="filename">/etc/resolv.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674591"><code class="filename">/etc/host.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674642"><code class="filename">/etc/nsswitch.conf</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675201">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675287">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675465">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675493">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675520">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2675658">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675671">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675702">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675744">Samba Server Name-Change Problem</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="unicode.html">30. Unicode/Charsets</a></span></dt><dd><dl><dt><span class="sect1"><a href="unicode.html#id2675949">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676001">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676134">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676270">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676302">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2676441">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2677082">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2677205">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2677352">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2677357">CP850.so Can't Be Found</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Backup.html">31. Backup Techniques</a></span></dt><dd><dl><dt><span class="sect1"><a href="Backup.html#id2677464">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2677509">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2677606">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2677778">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2677947">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2677995">BOBS: Browseable Online Backup System</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="SambaHA.html">32. High Availability</a></span></dt><dd><dl><dt><span class="sect1"><a href="SambaHA.html#id2678091">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2678212">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2678246">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2678376">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679095">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679176">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679316">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679353">Conclusions</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="largefile.html">33. Handling Large Directories</a></span></dt><dt><span class="chapter"><a href="cfgsmarts.html">34. Advanced Configuration Techniques</a></span></dt><dd><dl><dt><span class="sect1"><a href="cfgsmarts.html#id2679984">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2681404">Multiple Virtual Server Hosting</a></span></dt></dl></dd></dl></dd></dl></dd><dt><span class="part"><a href="migration.html">IV. Migration and Updating</a></span></dt><dd><dl><dt><span class="chapter"><a href="upgrading-to-3.0.html">35. Updating and Upgrading Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2682300">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682336">Upgrading from Samba-3.0.x to Samba-3.2.0</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682386">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2682537">New Features in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682546">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2683756">New Functionality</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NT4Migration.html">36. Migration from NT4 PDC to Samba-3 PDC</a></span></dt><dd><dl><dt><span class="sect1"><a href="NT4Migration.html#id2685152">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2685187">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2686132">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2686367">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2686454">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="SWAT.html">37. SWAT: The Samba Web Administration Tool</a></span></dt><dd><dl><dt><span class="sect1"><a href="SWAT.html#id2687177">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2687302">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2687321">Validate SWAT Installation</a></span></dt><dt><span class="sect2"><a href="SWAT.html#xinetd">Enabling SWAT for Use</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2687958">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688110">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2688308">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2688322">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688382">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688484">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688540">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688596">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688659">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688703">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688722">The Password Change Page</a></span></dt></dl></dd></dl></dd></dl></dd><dt><span class="part"><a href="troubleshooting.html">V. Troubleshooting</a></span></dt><dd><dl><dt><span class="chapter"><a href="diagnosis.html">38. The Samba Checklist</a></span></dt><dd><dl><dt><span class="sect1"><a href="diagnosis.html#id2688857">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2688896">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2689189">The Tests</a></span></dt></dl></dd><dt><span class="chapter"><a href="problems.html">39. Analyzing and Solving Samba Problems</a></span></dt><dd><dl><dt><span class="sect1"><a href="problems.html#id2690936">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2690988">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2691244">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2691294">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2691438">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2691764">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2691801">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2691975">How to Get Off the Mailing Lists</a></span></dt></dl></dd><dt><span class="chapter"><a href="bugreport.html">40. Reporting Bugs</a></span></dt><dd><dl><dt><span class="sect1"><a href="bugreport.html#id2692107">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2692196">General Information</a></span></dt><dt><span class="sect1"><a href="bugreport.html#dbglvl">Debug Levels</a></span></dt><dd><dl><dt><span class="sect2"><a href="bugreport.html#id2692432">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2692634">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2692767">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2692892">Patches</a></span></dt></dl></dd><dt><span class="chapter"><a href="tdb.html">41. Managing TDB Files</a></span></dt><dd><dl><dt><span class="sect1"><a href="tdb.html#id2692976">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2693437">Managing TDB Files</a></span></dt></dl></dd></dl></dd><dt><span class="part"><a href="Appendix.html">VI. Reference Section</a></span></dt><dd><dl><dt><span class="chapter"><a href="compiling.html">42. How to Compile Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="compiling.html#id2693628">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2693634">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2693675">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2693866">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2693941">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2694079">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2694316">Compiling Samba with Active Directory Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#startingSamba">Starting the <span class="application">smbd</span> <span class="application">nmbd</span> and <span class="application">winbindd</span></a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2694587">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2694807">Alternative: Starting <span class="application">smbd</span> as a Daemon</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Portability.html">43. Portability</a></span></dt><dd><dl><dt><span class="sect1"><a href="Portability.html#id2695192">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695296">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695335">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695476">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695520">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695581">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2695587">Locking Improvements</a></span></dt><dt><span class="sect2"><a href="Portability.html#winbind-solaris9">Winbind on Solaris 9</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Other-Clients.html">44. Samba and Other CIFS Clients</a></span></dt><dd><dl><dt><span class="sect1"><a href="Other-Clients.html#id2695763">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2695847">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2695852">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2695972">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696028">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2696122">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2696128">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696211">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696237">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696295">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696326">Use TCP/IP as Default Protocol</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#speedimpr">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2696384">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2696453">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2696474">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2696670">Windows NT 3.1</a></span></dt></dl></dd><dt><span class="chapter"><a href="speed.html">45. Samba Performance Tuning</a></span></dt><dd><dl><dt><span class="sect1"><a href="speed.html#id2696777">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2696815">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2696912">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2696957">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697004">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697029">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697096">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697148">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697172">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697192">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697284">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697380">Samba Performance is Very Slow</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-ldap-tls.html">46. LDAP and Transport Layer Security</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></span></dt><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-config-ldap-tls">Configuring</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-certs">Generating the Certificate Authority</a></span></dt><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-server">Generating the Server Certificate</a></span></dt><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-install">Installing the Certificates</a></span></dt></dl></dd><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-test-ldap-tls">Testing</a></span></dt><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-int-ldap-tls">Troubleshooting</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch47.html">47. Samba Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch47.html#id2698571">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2698789">Commercial Support</a></span></dt></dl></dd><dt><span class="chapter"><a href="DNSDHCP.html">48. DNS and DHCP Configuration Guide</a></span></dt><dd><dl><dt><span class="sect1"><a href="DNSDHCP.html#id2698948">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2699127">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2699218">Dynamic DNS</a></span></dt><dt><span class="sect2"><a href="DNSDHCP.html#DHCP">DHCP Server</a></span></dt></dl></dd></dl></dd></dl></dd><dt><span class="appendix"><a href="apa.html">A.
     5    <acronym class="acronym">GNU</acronym> General Public License version 3
     6  </a></span></dt><dd><dl><dt><span class="bridgehead"><a href="apa.html#id2699516">A.
    77    Preamble
    8   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693605">A.
     8  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699661">A.
    99    TERMS AND CONDITIONS
    10   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693609">A.
     10  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699665">A.
    1111    0. Definitions.
    12   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693701">A.
     12  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699758">A.
    1313    1. Source Code.
    14   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693799">A.
     14  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699856">A.
    1515    2. Basic Permissions.
    16   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693838">A.
     16  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699895">A.
    1717    3. Protecting Users&#8217; Legal Rights From Anti-Circumvention Law.
    18   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693874">A.
     18  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699930">A.
    1919    4. Conveying Verbatim Copies.
    20   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693900">A.
     20  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699957">A.
    2121    5. Conveying Modified Source Versions.
    22   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693996">A.
     22  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700053">A.
    2323    6. Conveying Non-Source Forms.
    24   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694186">A.
     24  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700242">A.
    2525     7. Additional Terms.
    26    </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694321">A.
     26   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700378">A.
    2727     8. Termination.
    28    </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694365">A.
     28   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700422">A.
    2929     9. Acceptance Not Required for Having Copies.
    30    </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694385">A.
     30   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700441">A.
    3131     10. Automatic Licensing of Downstream Recipients.
    32    </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694437">A.
     32   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700493">A.
    3333    11. Patents.
    34   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694582">A.
     34  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700639">A.
    3535    12. No Surrender of Others&#8217; Freedom.
    36   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694604">A.
     36  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700661">A.
    3737    13. Use with the ???TITLE??? Affero General Public License.
    38   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694633">A.
     38  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700690">A.
    3939    14. Revised Versions of this License.
    40   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694695">A.
     40  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700752">A.
    4141    15. Disclaimer of Warranty.
    42   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694721">A.
     42  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700778">A.
    4343    16. Limitation of Liability.
    44   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694742">A.
     44  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700798">A.
    4545    17. Interpretation of Sections 15 and 16.
    46   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694758">A.
     46  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700815">A.
    4747    END OF TERMS AND CONDITIONS
    48   </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694762">A.
     48  </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700819">A.
    4949    How to Apply These Terms to Your New Programs
    50   </a></span></dt></dl></dd><dt><span class="glossary"><a href="go01.html">Glossary</a></span></dt><dt><span class="index"><a href="ix01.html">Index</a></span></dt></dl></div><div class="list-of-figures"><p><b>List of Figures</b></p><dl><dt>4.1. <a href="samba-pdc.html#domain-example">An Example Domain.</a></dt><dt>8.1. <a href="ClientConfig.html#WXPP002">Network Bridge Configuration.</a></dt><dt>8.2. <a href="ClientConfig.html#WXPP003">Internet Protocol (TCP/IP) Properties.</a></dt><dt>8.3. <a href="ClientConfig.html#WXPP005">Advanced Network Settings</a></dt><dt>8.4. <a href="ClientConfig.html#WXPP014">DNS Configuration.</a></dt><dt>8.5. <a href="ClientConfig.html#WXPP009">WINS Configuration</a></dt><dt>8.6. <a href="ClientConfig.html#w2kp001">Local Area Connection Properties.</a></dt><dt>8.7. <a href="ClientConfig.html#w2kp002">Internet Protocol (TCP/IP) Properties.</a></dt><dt>8.8. <a href="ClientConfig.html#w2kp003">Advanced Network Settings.</a></dt><dt>8.9. <a href="ClientConfig.html#w2kp004">DNS Configuration.</a></dt><dt>8.10. <a href="ClientConfig.html#w2kp005">WINS Configuration.</a></dt><dt>8.11. <a href="ClientConfig.html#WME001">The Windows Me Network Configuration Panel.</a></dt><dt>8.12. <a href="ClientConfig.html#WME002">IP Address.</a></dt><dt>8.13. <a href="ClientConfig.html#WME005">DNS Configuration.</a></dt><dt>8.14. <a href="ClientConfig.html#WME003">WINS Configuration.</a></dt><dt>8.15. <a href="ClientConfig.html#wxpp001">The General Panel.</a></dt><dt>8.16. <a href="ClientConfig.html#wxpp004">The Computer Name Panel.</a></dt><dt>8.17. <a href="ClientConfig.html#wxpp006">The Computer Name Changes Panel.</a></dt><dt>8.18. <a href="ClientConfig.html#wxpp007">The Computer Name Changes Panel  Domain MIDEARTH.</a></dt><dt>8.19. <a href="ClientConfig.html#wxpp008">Computer Name Changes  Username and Password Panel.</a></dt><dt>8.20. <a href="ClientConfig.html#WME009">The Network Panel.</a></dt><dt>8.21. <a href="ClientConfig.html#WME010">Client for Microsoft Networks Properties Panel.</a></dt><dt>8.22. <a href="ClientConfig.html#WME013">Identification Panel.</a></dt><dt>8.23. <a href="ClientConfig.html#WME014">Access Control Panel.</a></dt><dt>10.1. <a href="NetworkBrowsing.html#browsing1">Cross-Subnet Browsing Example.</a></dt><dt>11.1. <a href="passdb.html#idmap-sid2uid">IDMAP: Resolution of SIDs to UIDs.</a></dt><dt>11.2. <a href="passdb.html#idmap-uid2sid">IDMAP: Resolution of UIDs to SIDs.</a></dt><dt>12.1. <a href="groupmapping.html#idmap-sid2gid">IDMAP: Group SID-to-GID Resolution.</a></dt><dt>12.2. <a href="groupmapping.html#idmap-gid2sid">IDMAP: GID Resolution to Matching SID.</a></dt><dt>12.3. <a href="groupmapping.html#idmap-store-gid2sid">IDMAP Storing Group Mappings.</a></dt><dt>16.1. <a href="AccessControls.html#access1">Overview of UNIX permissions field.</a></dt><dt>19.1. <a href="InterdomainTrusts.html#trusts1">Trusts overview.</a></dt><dt>22.1. <a href="CUPS-printing.html#1small">Windows Printing to a Local Printer.</a></dt><dt>22.2. <a href="CUPS-printing.html#2small">Printing to a PostScript Printer.</a></dt><dt>22.3. <a href="CUPS-printing.html#3small">Ghostscript as a RIP for Non-PostScript Printers.</a></dt><dt>22.4. <a href="CUPS-printing.html#4small">Prefiltering in CUPS to Form PostScript.</a></dt><dt>22.5. <a href="CUPS-printing.html#5small">Adding Device-Specific Print Options.</a></dt><dt>22.6. <a href="CUPS-printing.html#cups-raster">PostScript to Intermediate Raster Format.</a></dt><dt>22.7. <a href="CUPS-printing.html#cups-raster2">CUPS-Raster Production Using Ghostscript.</a></dt><dt>22.8. <a href="CUPS-printing.html#small8">Image Format to CUPS-Raster Format Conversion.</a></dt><dt>22.9. <a href="CUPS-printing.html#small9">Raster to Printer-Specific Formats.</a></dt><dt>22.10. <a href="CUPS-printing.html#cupsomatic-dia">cupsomatic/foomatic Processing Versus Native CUPS.</a></dt><dt>22.11. <a href="CUPS-printing.html#pdftosocket">PDF to Socket Chain.</a></dt><dt>22.12. <a href="CUPS-printing.html#pdftoepsonusb">PDF to USB Chain.</a></dt><dt>22.13. <a href="CUPS-printing.html#small11">Print Driver Execution on the Client.</a></dt><dt>22.14. <a href="CUPS-printing.html#small12">Print Driver Execution on the Server.</a></dt><dt>22.15. <a href="CUPS-printing.html#13small">Printing via CUPS/Samba Server.</a></dt><dt>22.16. <a href="CUPS-printing.html#small14">cupsaddsmb Flowchart.</a></dt><dt>22.17. <a href="CUPS-printing.html#cups1">Filtering Chain 1.</a></dt><dt>22.18. <a href="CUPS-printing.html#cups2">Filtering Chain with cupsomatic</a></dt><dt>22.19. <a href="CUPS-printing.html#a_small">CUPS Printing Overview.</a></dt><dt>24.1. <a href="winbind.html#winbind_idmap">Winbind Idmap</a></dt><dt>39.1. <a href="problems.html#ethereal1">Starting a Capture.</a></dt><dt>39.2. <a href="problems.html#ethereal2">Main Ethereal Data Window.</a></dt></dl></div><div class="list-of-tables"><p><b>List of Tables</b></p><dl><dt>1.1. <a href="install.html#tdbpermfiledesc">Persistent TDB File Descriptions</a></dt><dt>1.2. <a href="install.html#tdbtempfiledesc">Temporary TDB File Descriptions</a></dt><dt>5.1. <a href="samba-bdc.html#pdc-bdc-table">Domain Backend Account Distribution Options</a></dt><dt>6.1. <a href="domain-member.html#assumptions">Assumptions</a></dt><dt>9.1. <a href="ChangeNotes.html#TOSH-domgroups">Essential Domain Group Mappings</a></dt><dt>10.1. <a href="NetworkBrowsing.html#browsubnet">Browse Subnet Example 1</a></dt><dt>10.2. <a href="NetworkBrowsing.html#brsbex">Browse Subnet Example 2</a></dt><dt>10.3. <a href="NetworkBrowsing.html#brsex2">Browse Subnet Example 3</a></dt><dt>10.4. <a href="NetworkBrowsing.html#brsex3">Browse Subnet Example 4</a></dt><dt>11.1. <a href="passdb.html#policycontrols">NT4 Domain v's Samba Policy Controls</a></dt><dt>11.2. <a href="passdb.html#accountflags">Samba SAM Account Control Block Flags</a></dt><dt>11.3. <a href="passdb.html#attribobjclPartA">Attributes in the sambaSamAccount ObjectClass (LDAP), Part A</a></dt><dt>11.4. <a href="passdb.html#attribobjclPartB">Attributes in the sambaSamAccount ObjectClass (LDAP), Part B</a></dt><dt>11.5. <a href="passdb.html#ldappwsync">Possible ldap passwd sync Values</a></dt><dt>12.1. <a href="groupmapping.html#WKURIDS">Well-Known User Default RIDs</a></dt><dt>15.1. <a href="rights.html#rp-privs">Current Privilege Capabilities</a></dt><dt>16.1. <a href="AccessControls.html#TOSH-Accesstbl">Managing Directories with UNIX and Windows</a></dt><dt>16.2. <a href="AccessControls.html#ugbc">User- and Group-Based Controls</a></dt><dt>16.3. <a href="AccessControls.html#fdpbc">File and Directory Permission-Based Controls</a></dt><dt>16.4. <a href="AccessControls.html#mcoc">Other Controls</a></dt><dt>16.5. <a href="AccessControls.html#fdsacls">How Windows File ACLs Map to UNIX POSIX File ACLs</a></dt><dt>21.1. <a href="classicalprinting.html#printOptions">Default Printing Settings</a></dt><dt>22.1. <a href="CUPS-printing.html#cups-ppds">PPDs Shipped with CUPS</a></dt><dt>23.1. <a href="VFS.html#xtdaudit">Extended Auditing Log Information</a></dt><dt>27.1. <a href="ProfileMgmt.html#ProfileLocs">User Shell Folder Registry Keys Default Values</a></dt><dt>27.2. <a href="ProfileMgmt.html#regkeys">Defaults of Profile Settings Registry Keys</a></dt><dt>27.3. <a href="ProfileMgmt.html#defregpthkeys">Defaults of Default User Profile Paths Registry Keys</a></dt><dt>28.1. <a href="pam.html#smbpassoptions">Options recognized by pam_smbpass</a></dt><dt>29.1. <a href="integrate-ms-networks.html#uniqnetbiosnames">Unique NetBIOS Names</a></dt><dt>29.2. <a href="integrate-ms-networks.html#netbiosnamesgrp">Group Names</a></dt><dt>30.1. <a href="unicode.html#japancharsets">Japanese Character Sets in Samba-2.2 and Samba-3</a></dt><dt>35.1. <a href="upgrading-to-3.0.html#oldtdbfiledesc">Samba-2.2.x TDB File Descriptions</a></dt><dt>36.1. <a href="NT4Migration.html#majtypes">The Three Major Site Types</a></dt><dt>36.2. <a href="NT4Migration.html#natconchoices">Nature of the Conversion Choices</a></dt><dt>40.1. <a href="bugreport.html#dbgclass">Debuggable Functions</a></dt><dt>41.1. <a href="tdb.html#TOSH-TDB">Samba's Trivial Database Files</a></dt></dl></div><div class="list-of-examples"><p><b>List of Examples</b></p><dl><dt>1.1. <a href="install.html#smbconfminimal">A minimal smb.conf</a></dt><dt>1.2. <a href="install.html#simple-example">Another simple smb.conf File</a></dt><dt>2.1. <a href="FastStart.html#anon-example">Anonymous Read-Only Server Configuration</a></dt><dt>2.2. <a href="FastStart.html#anon-rw">Modified Anonymous Read-Write smb.conf</a></dt><dt>2.3. <a href="FastStart.html#anon-print">Anonymous Print Server smb.conf</a></dt><dt>2.4. <a href="FastStart.html#OfficeServer">Secure Office Server smb.conf</a></dt><dt>2.5. <a href="FastStart.html#fast-member-server">Member Server smb.conf (Globals)</a></dt><dt>2.6. <a href="FastStart.html#fast-memberserver-shares">Member Server smb.conf (Shares and Services)</a></dt><dt>2.7. <a href="FastStart.html#fast-engoffice-global">Engineering Office smb.conf (globals)</a></dt><dt>2.8. <a href="FastStart.html#fast-engoffice-shares">Engineering Office smb.conf (shares and services)</a></dt><dt>2.9. <a href="FastStart.html#fast-ldap">LDAP backend smb.conf for PDC</a></dt><dt>2.10. <a href="FastStart.html#fast-bdc">Remote LDAP BDC smb.conf</a></dt><dt>4.1. <a href="samba-pdc.html#pdc-example">smb.conf for being a PDC</a></dt><dt>4.2. <a href="samba-pdc.html#PDC-config">smb.conf for being a PDC</a></dt><dt>5.1. <a href="samba-bdc.html#minimalPDC">Minimal smb.conf for a PDC in Use with a BDC  LDAP Server on PDC</a></dt><dt>5.2. <a href="samba-bdc.html#mulitldapcfg">Multiple LDAP Servers in smb.conf</a></dt><dt>5.3. <a href="samba-bdc.html#minim-bdc">Minimal Setup for Being a BDC</a></dt><dt>7.1. <a href="StandAloneServer.html#simplynice">smb.conf for Reference Documentation Server</a></dt><dt>7.2. <a href="StandAloneServer.html#AnonPtrSvr">smb.conf for Anonymous Printing</a></dt><dt>10.1. <a href="NetworkBrowsing.html#dmbexample">Domain Master Browser smb.conf</a></dt><dt>10.2. <a href="NetworkBrowsing.html#lmbexample">Local master browser smb.conf</a></dt><dt>10.3. <a href="NetworkBrowsing.html#nombexample">smb.conf for Not Being a Master Browser</a></dt><dt>10.4. <a href="NetworkBrowsing.html#remsmb">Local Master Browser smb.conf</a></dt><dt>10.5. <a href="NetworkBrowsing.html#xremmb">smb.conf for Not Being a master browser</a></dt><dt>11.1. <a href="passdb.html#idmapbackendexample">Example Configuration with the LDAP idmap Backend</a></dt><dt>11.2. <a href="passdb.html#confldapex">Configuration with LDAP</a></dt><dt>12.1. <a href="groupmapping.html#smbgrpadd.sh">smbgrpadd.sh</a></dt><dt>12.2. <a href="groupmapping.html#smbgrpadd">Configuration of smb.conf for the add group Script</a></dt><dt>12.3. <a href="groupmapping.html#set-group-map">Script to Set Group Mapping</a></dt><dt>13.1. <a href="NetCommand.html#autopoweruserscript">Script to Auto-add Domain Users to Workstation Power Users Group</a></dt><dt>13.2. <a href="NetCommand.html#magicnetlogon">A Magic Netlogon Share</a></dt><dt>14.1. <a href="idmapper.html#idmapnt4dms">NT4 Domain Member Server smb.conf</a></dt><dt>14.2. <a href="idmapper.html#idmapadsdms">ADS Domain Member Server smb.conf</a></dt><dt>14.3. <a href="idmapper.html#idmapadsridDMS">ADS Domain Member smb.conf using idmap_rid</a></dt><dt>14.4. <a href="idmapper.html#idmapldapDMS">ADS Domain Member Server using LDAP</a></dt><dt>14.5. <a href="idmapper.html#idmaprfc2307">ADS Domain Member Server using RFC2307bis Schema Extension Date via NSS</a></dt><dt>16.1. <a href="AccessControls.html#access2">Example File</a></dt><dt>17.1. <a href="locking.html#far1">Share with Some Files Oplocked</a></dt><dt>17.2. <a href="locking.html#far3">Configuration with Oplock Break Contention Limit</a></dt><dt>20.1. <a href="msdfs.html#dfscfg">smb.conf with DFS Configured</a></dt><dt>21.1. <a href="classicalprinting.html#simpleprc">Simple Configuration with BSD Printing</a></dt><dt>21.2. <a href="classicalprinting.html#extbsdpr">Extended BSD Printing Configuration</a></dt><dt>21.3. <a href="classicalprinting.html#prtdollar">[print$] Example</a></dt><dt>22.1. <a href="CUPS-printing.html#cups-exam-simple">Simplest Printing-Related smb.conf</a></dt><dt>22.2. <a href="CUPS-printing.html#overridesettings">Overriding Global CUPS Settings for One Printer</a></dt><dt>22.3. <a href="CUPS-printing.html#cupsadd-ex">smb.conf for cupsaddsmb Usage</a></dt><dt>23.1. <a href="VFS.html#vfsrecyc">smb.conf with VFS modules</a></dt><dt>23.2. <a href="VFS.html#multimodule">smb.conf with multiple VFS modules</a></dt><dt>23.3. <a href="VFS.html#vfsshadow">Share With shadow_copy VFS</a></dt><dt>24.1. <a href="winbind.html#winbindcfg">smb.conf for Winbind Setup</a></dt><dt>25.1. <a href="AdvancedNetworkManagement.html#Tpees">Script to Enforce Single Resource Logon</a></dt><dt>30.1. <a href="unicode.html#vfscap-intl">VFS CAP</a></dt><dt>34.1. <a href="cfgsmarts.html#elastic">Elastic smb.conf File</a></dt><dt>34.2. <a href="cfgsmarts.html#cdserver">CDROM Server smb-cdserver.conf file</a></dt><dt>34.3. <a href="cfgsmarts.html#mastersmbc">Master smb.conf File Global Section</a></dt><dt>34.4. <a href="cfgsmarts.html#merlinsmbc">MERLIN smb-merlin.conf File Share Section</a></dt><dt>34.5. <a href="cfgsmarts.html#sauronsmbc">SAURON smb-sauron.conf File Share Section</a></dt><dt>38.1. <a href="diagnosis.html#tmpshare">smb.conf with [tmp] Share</a></dt><dt>38.2. <a href="diagnosis.html#modif1">Configuration for Allowing Connections Only from a Certain Subnet</a></dt><dt>38.3. <a href="diagnosis.html#modif2">Configuration for Allowing Connections from a Certain Subnet and localhost</a></dt><dt>44.1. <a href="Other-Clients.html#minimalprofile">Minimal Profile Share</a></dt></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="pr01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"> </td><td width="40%" align="right" valign="top"> About the Cover Artwork</td></tr></table></div></body></html>
     50  </a></span></dt></dl></dd><dt><span class="glossary"><a href="go01.html">Glossary</a></span></dt><dt><span class="index"><a href="ix01.html">Index</a></span></dt></dl></div><div class="list-of-figures"><p><b>List of Figures</b></p><dl><dt>4.1. <a href="samba-pdc.html#domain-example">An Example Domain.</a></dt><dt>8.1. <a href="ClientConfig.html#WXPP002">Network Bridge Configuration.</a></dt><dt>8.2. <a href="ClientConfig.html#WXPP003">Internet Protocol (TCP/IP) Properties.</a></dt><dt>8.3. <a href="ClientConfig.html#WXPP005">Advanced Network Settings</a></dt><dt>8.4. <a href="ClientConfig.html#WXPP014">DNS Configuration.</a></dt><dt>8.5. <a href="ClientConfig.html#WXPP009">WINS Configuration</a></dt><dt>8.6. <a href="ClientConfig.html#w2kp001">Local Area Connection Properties.</a></dt><dt>8.7. <a href="ClientConfig.html#w2kp002">Internet Protocol (TCP/IP) Properties.</a></dt><dt>8.8. <a href="ClientConfig.html#w2kp003">Advanced Network Settings.</a></dt><dt>8.9. <a href="ClientConfig.html#w2kp004">DNS Configuration.</a></dt><dt>8.10. <a href="ClientConfig.html#w2kp005">WINS Configuration.</a></dt><dt>8.11. <a href="ClientConfig.html#WME001">The Windows Me Network Configuration Panel.</a></dt><dt>8.12. <a href="ClientConfig.html#WME002">IP Address.</a></dt><dt>8.13. <a href="ClientConfig.html#WME005">DNS Configuration.</a></dt><dt>8.14. <a href="ClientConfig.html#WME003">WINS Configuration.</a></dt><dt>8.15. <a href="ClientConfig.html#wxpp001">The General Panel.</a></dt><dt>8.16. <a href="ClientConfig.html#wxpp004">The Computer Name Panel.</a></dt><dt>8.17. <a href="ClientConfig.html#wxpp006">The Computer Name Changes Panel.</a></dt><dt>8.18. <a href="ClientConfig.html#wxpp007">The Computer Name Changes Panel  Domain MIDEARTH.</a></dt><dt>8.19. <a href="ClientConfig.html#wxpp008">Computer Name Changes  Username and Password Panel.</a></dt><dt>8.20. <a href="ClientConfig.html#WME009">The Network Panel.</a></dt><dt>8.21. <a href="ClientConfig.html#WME010">Client for Microsoft Networks Properties Panel.</a></dt><dt>8.22. <a href="ClientConfig.html#WME013">Identification Panel.</a></dt><dt>8.23. <a href="ClientConfig.html#WME014">Access Control Panel.</a></dt><dt>10.1. <a href="NetworkBrowsing.html#browsing1">Cross-Subnet Browsing Example.</a></dt><dt>11.1. <a href="passdb.html#idmap-sid2uid">IDMAP: Resolution of SIDs to UIDs.</a></dt><dt>11.2. <a href="passdb.html#idmap-uid2sid">IDMAP: Resolution of UIDs to SIDs.</a></dt><dt>12.1. <a href="groupmapping.html#idmap-sid2gid">IDMAP: Group SID-to-GID Resolution.</a></dt><dt>12.2. <a href="groupmapping.html#idmap-gid2sid">IDMAP: GID Resolution to Matching SID.</a></dt><dt>12.3. <a href="groupmapping.html#idmap-store-gid2sid">IDMAP Storing Group Mappings.</a></dt><dt>16.1. <a href="AccessControls.html#access1">Overview of UNIX permissions field.</a></dt><dt>19.1. <a href="InterdomainTrusts.html#trusts1">Trusts overview.</a></dt><dt>22.1. <a href="CUPS-printing.html#1small">Windows Printing to a Local Printer.</a></dt><dt>22.2. <a href="CUPS-printing.html#2small">Printing to a PostScript Printer.</a></dt><dt>22.3. <a href="CUPS-printing.html#3small">Ghostscript as a RIP for Non-PostScript Printers.</a></dt><dt>22.4. <a href="CUPS-printing.html#4small">Prefiltering in CUPS to Form PostScript.</a></dt><dt>22.5. <a href="CUPS-printing.html#5small">Adding Device-Specific Print Options.</a></dt><dt>22.6. <a href="CUPS-printing.html#cups-raster">PostScript to Intermediate Raster Format.</a></dt><dt>22.7. <a href="CUPS-printing.html#cups-raster2">CUPS-Raster Production Using Ghostscript.</a></dt><dt>22.8. <a href="CUPS-printing.html#small8">Image Format to CUPS-Raster Format Conversion.</a></dt><dt>22.9. <a href="CUPS-printing.html#small9">Raster to Printer-Specific Formats.</a></dt><dt>22.10. <a href="CUPS-printing.html#cupsomatic-dia">cupsomatic/foomatic Processing Versus Native CUPS.</a></dt><dt>22.11. <a href="CUPS-printing.html#pdftosocket">PDF to Socket Chain.</a></dt><dt>22.12. <a href="CUPS-printing.html#pdftoepsonusb">PDF to USB Chain.</a></dt><dt>22.13. <a href="CUPS-printing.html#small11">Print Driver Execution on the Client.</a></dt><dt>22.14. <a href="CUPS-printing.html#small12">Print Driver Execution on the Server.</a></dt><dt>22.15. <a href="CUPS-printing.html#13small">Printing via CUPS/Samba Server.</a></dt><dt>22.16. <a href="CUPS-printing.html#small14">cupsaddsmb Flowchart.</a></dt><dt>22.17. <a href="CUPS-printing.html#cups1">Filtering Chain 1.</a></dt><dt>22.18. <a href="CUPS-printing.html#cups2">Filtering Chain with cupsomatic</a></dt><dt>22.19. <a href="CUPS-printing.html#a_small">CUPS Printing Overview.</a></dt><dt>24.1. <a href="winbind.html#winbind_idmap">Winbind Idmap</a></dt><dt>39.1. <a href="problems.html#ethereal1">Starting a Capture.</a></dt><dt>39.2. <a href="problems.html#ethereal2">Main Ethereal Data Window.</a></dt></dl></div><div class="list-of-tables"><p><b>List of Tables</b></p><dl><dt>1.1. <a href="install.html#tdbpermfiledesc">Persistent TDB File Descriptions</a></dt><dt>1.2. <a href="install.html#tdbtempfiledesc">Temporary TDB File Descriptions</a></dt><dt>5.1. <a href="samba-bdc.html#pdc-bdc-table">Domain Backend Account Distribution Options</a></dt><dt>6.1. <a href="domain-member.html#assumptions">Assumptions</a></dt><dt>9.1. <a href="ChangeNotes.html#TOSH-domgroups">Essential Domain Group Mappings</a></dt><dt>10.1. <a href="NetworkBrowsing.html#browsubnet">Browse Subnet Example 1</a></dt><dt>10.2. <a href="NetworkBrowsing.html#brsbex">Browse Subnet Example 2</a></dt><dt>10.3. <a href="NetworkBrowsing.html#brsex2">Browse Subnet Example 3</a></dt><dt>10.4. <a href="NetworkBrowsing.html#brsex3">Browse Subnet Example 4</a></dt><dt>11.1. <a href="passdb.html#policycontrols">NT4 Domain v's Samba Policy Controls</a></dt><dt>11.2. <a href="passdb.html#accountflags">Samba SAM Account Control Block Flags</a></dt><dt>11.3. <a href="passdb.html#attribobjclPartA">Attributes in the sambaSamAccount ObjectClass (LDAP), Part A</a></dt><dt>11.4. <a href="passdb.html#attribobjclPartB">Attributes in the sambaSamAccount ObjectClass (LDAP), Part B</a></dt><dt>11.5. <a href="passdb.html#ldappwsync">Possible <em class="parameter"><code>ldap passwd sync</code></em> Values</a></dt><dt>12.1. <a href="groupmapping.html#WKURIDS">Well-Known User Default RIDs</a></dt><dt>15.1. <a href="rights.html#rp-privs">Current Privilege Capabilities</a></dt><dt>16.1. <a href="AccessControls.html#TOSH-Accesstbl">Managing Directories with UNIX and Windows</a></dt><dt>16.2. <a href="AccessControls.html#ugbc">User- and Group-Based Controls</a></dt><dt>16.3. <a href="AccessControls.html#fdpbc">File and Directory Permission-Based Controls</a></dt><dt>16.4. <a href="AccessControls.html#mcoc">Other Controls</a></dt><dt>16.5. <a href="AccessControls.html#fdsacls">How Windows File ACLs Map to UNIX POSIX File ACLs</a></dt><dt>21.1. <a href="classicalprinting.html#printOptions">Default Printing Settings</a></dt><dt>22.1. <a href="CUPS-printing.html#cups-ppds">PPDs Shipped with CUPS</a></dt><dt>23.1. <a href="VFS.html#xtdaudit">Extended Auditing Log Information</a></dt><dt>27.1. <a href="ProfileMgmt.html#ProfileLocs">User Shell Folder Registry Keys Default Values</a></dt><dt>27.2. <a href="ProfileMgmt.html#regkeys">Defaults of Profile Settings Registry Keys</a></dt><dt>27.3. <a href="ProfileMgmt.html#defregpthkeys">Defaults of Default User Profile Paths Registry Keys</a></dt><dt>28.1. <a href="pam.html#smbpassoptions">Options recognized by <em class="parameter"><code>pam_smbpass</code></em></a></dt><dt>29.1. <a href="integrate-ms-networks.html#uniqnetbiosnames">Unique NetBIOS Names</a></dt><dt>29.2. <a href="integrate-ms-networks.html#netbiosnamesgrp">Group Names</a></dt><dt>30.1. <a href="unicode.html#japancharsets">Japanese Character Sets in Samba-2.2 and Samba-3</a></dt><dt>35.1. <a href="upgrading-to-3.0.html#oldtdbfiledesc">Samba-2.2.x TDB File Descriptions</a></dt><dt>36.1. <a href="NT4Migration.html#majtypes">The Three Major Site Types</a></dt><dt>36.2. <a href="NT4Migration.html#natconchoices">Nature of the Conversion Choices</a></dt><dt>40.1. <a href="bugreport.html#dbgclass">Debuggable Functions</a></dt><dt>41.1. <a href="tdb.html#TOSH-TDB">Samba's Trivial Database Files</a></dt></dl></div><div class="list-of-examples"><p><b>List of Examples</b></p><dl><dt>1.1. <a href="install.html#smbconfminimal">A minimal smb.conf</a></dt><dt>1.2. <a href="install.html#simple-example">Another simple smb.conf File</a></dt><dt>2.1. <a href="FastStart.html#anon-example">Anonymous Read-Only Server Configuration</a></dt><dt>2.2. <a href="FastStart.html#anon-rw">Modified Anonymous Read-Write smb.conf</a></dt><dt>2.3. <a href="FastStart.html#anon-print">Anonymous Print Server smb.conf</a></dt><dt>2.4. <a href="FastStart.html#OfficeServer">Secure Office Server smb.conf</a></dt><dt>2.5. <a href="FastStart.html#fast-member-server">Member Server smb.conf (Globals)</a></dt><dt>2.6. <a href="FastStart.html#fast-memberserver-shares">Member Server smb.conf (Shares and Services)</a></dt><dt>2.7. <a href="FastStart.html#fast-engoffice-global">Engineering Office smb.conf (globals)</a></dt><dt>2.8. <a href="FastStart.html#fast-engoffice-shares">Engineering Office smb.conf (shares and services)</a></dt><dt>2.9. <a href="FastStart.html#fast-ldap">LDAP backend smb.conf for PDC</a></dt><dt>2.10. <a href="FastStart.html#fast-bdc">Remote LDAP BDC smb.conf</a></dt><dt>4.1. <a href="samba-pdc.html#pdc-example">smb.conf for being a PDC</a></dt><dt>4.2. <a href="samba-pdc.html#PDC-config">smb.conf for being a PDC</a></dt><dt>5.1. <a href="samba-bdc.html#minimalPDC">Minimal smb.conf for a PDC in Use with a BDC  LDAP Server on PDC</a></dt><dt>5.2. <a href="samba-bdc.html#mulitldapcfg">Multiple LDAP Servers in <code class="filename">smb.conf</code></a></dt><dt>5.3. <a href="samba-bdc.html#minim-bdc">Minimal Setup for Being a BDC</a></dt><dt>7.1. <a href="StandAloneServer.html#simplynice">smb.conf for Reference Documentation Server</a></dt><dt>7.2. <a href="StandAloneServer.html#AnonPtrSvr"><code class="filename">smb.conf</code> for Anonymous Printing</a></dt><dt>10.1. <a href="NetworkBrowsing.html#dmbexample">Domain Master Browser smb.conf</a></dt><dt>10.2. <a href="NetworkBrowsing.html#lmbexample">Local master browser smb.conf</a></dt><dt>10.3. <a href="NetworkBrowsing.html#nombexample">smb.conf for Not Being a Master Browser</a></dt><dt>10.4. <a href="NetworkBrowsing.html#remsmb">Local Master Browser smb.conf</a></dt><dt>10.5. <a href="NetworkBrowsing.html#xremmb"><code class="filename">smb.conf</code> for Not Being a master browser</a></dt><dt>11.1. <a href="passdb.html#idmapbackendexample">Example Configuration with the LDAP idmap Backend</a></dt><dt>11.2. <a href="passdb.html#confldapex">Configuration with LDAP</a></dt><dt>12.1. <a href="groupmapping.html#smbgrpadd.sh">smbgrpadd.sh</a></dt><dt>12.2. <a href="groupmapping.html#smbgrpadd">Configuration of <code class="filename">smb.conf</code> for the add group Script</a></dt><dt>12.3. <a href="groupmapping.html#set-group-map">Script to Set Group Mapping</a></dt><dt>13.1. <a href="NetCommand.html#autopoweruserscript">Script to Auto-add Domain Users to Workstation Power Users Group</a></dt><dt>13.2. <a href="NetCommand.html#magicnetlogon">A Magic Netlogon Share</a></dt><dt>14.1. <a href="idmapper.html#idmapnt4dms">NT4 Domain Member Server smb.conf</a></dt><dt>14.2. <a href="idmapper.html#idmapadsdms">ADS Domain Member Server smb.conf</a></dt><dt>14.3. <a href="idmapper.html#idmapadsridDMS">ADS Domain Member smb.conf using idmap_rid</a></dt><dt>14.4. <a href="idmapper.html#idmapldapDMS">ADS Domain Member Server using LDAP</a></dt><dt>14.5. <a href="idmapper.html#idmaprfc2307">ADS Domain Member Server using RFC2307bis Schema Extension Date via NSS</a></dt><dt>16.1. <a href="AccessControls.html#access2">Example File</a></dt><dt>17.1. <a href="locking.html#far1">Share with Some Files Oplocked</a></dt><dt>17.2. <a href="locking.html#far3">Configuration with Oplock Break Contention Limit</a></dt><dt>20.1. <a href="msdfs.html#dfscfg">smb.conf with DFS Configured</a></dt><dt>21.1. <a href="classicalprinting.html#simpleprc">Simple Configuration with BSD Printing</a></dt><dt>21.2. <a href="classicalprinting.html#extbsdpr">Extended BSD Printing Configuration</a></dt><dt>21.3. <a href="classicalprinting.html#prtdollar">[print$] Example</a></dt><dt>22.1. <a href="CUPS-printing.html#cups-exam-simple">Simplest Printing-Related smb.conf</a></dt><dt>22.2. <a href="CUPS-printing.html#overridesettings">Overriding Global CUPS Settings for One Printer</a></dt><dt>22.3. <a href="CUPS-printing.html#cupsadd-ex">smb.conf for cupsaddsmb Usage</a></dt><dt>23.1. <a href="VFS.html#vfsrecyc">smb.conf with VFS modules</a></dt><dt>23.2. <a href="VFS.html#multimodule">smb.conf with multiple VFS modules</a></dt><dt>23.3. <a href="VFS.html#vfsshadow">Share With shadow_copy VFS</a></dt><dt>24.1. <a href="winbind.html#winbindcfg">smb.conf for Winbind Setup</a></dt><dt>25.1. <a href="AdvancedNetworkManagement.html#Tpees">Script to Enforce Single Resource Logon</a></dt><dt>30.1. <a href="unicode.html#vfscap-intl">VFS CAP</a></dt><dt>34.1. <a href="cfgsmarts.html#elastic">Elastic smb.conf File</a></dt><dt>34.2. <a href="cfgsmarts.html#cdserver">CDROM Server smb-cdserver.conf file</a></dt><dt>34.3. <a href="cfgsmarts.html#mastersmbc">Master smb.conf File Global Section</a></dt><dt>34.4. <a href="cfgsmarts.html#merlinsmbc">MERLIN smb-merlin.conf File Share Section</a></dt><dt>34.5. <a href="cfgsmarts.html#sauronsmbc">SAURON smb-sauron.conf File Share Section</a></dt><dt>38.1. <a href="diagnosis.html#tmpshare">smb.conf with [tmp] Share</a></dt><dt>38.2. <a href="diagnosis.html#modif1">Configuration for Allowing Connections Only from a Certain Subnet</a></dt><dt>38.3. <a href="diagnosis.html#modif2">Configuration for Allowing Connections from a Certain Subnet and localhost</a></dt><dt>44.1. <a href="Other-Clients.html#minimalprofile">Minimal Profile Share</a></dt></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="pr01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"> </td><td width="40%" align="right" valign="top"> About the Cover Artwork</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/install.html

    r274 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 1. How to Install and Test SAMBA</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="introduction.html" title="Part I. General Installation"><link rel="prev" href="introduction.html" title="Part I. General Installation"><link rel="next" href="FastStart.html" title="Chapter 2. Fast Start: Cure for Impatience"></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 1. How to Install and Test SAMBA</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="introduction.html">Prev</a> </td><th width="60%" align="center">Part I. General Installation</th><td width="20%" align="right"> <a accesskey="n" href="FastStart.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="install"></a>Chapter 1. How to Install and Test SAMBA</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="orgname">Samba Team</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Karl</span> <span class="orgname">Samba Team</span> <span class="surname">Auer</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:kauer@biplane.com.au">kauer@biplane.com.au</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Dan</span> <span class="orgname">Samba Team</span> <span class="surname">Shearer</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:dan@samba.org">dan@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="install.html#id2551936">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2551976">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2552018">Configuration File Syntax</a></span></dt><dt><span class="sect2"><a href="install.html#tdbdocs">TDB Database File Information</a></span></dt><dt><span class="sect2"><a href="install.html#id2552921">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2553100">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2553503">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2553562">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2553614">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2553705">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2553786">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2553827">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2553859">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2553870">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2553957">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2553989">The network name cannot be found</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2551936"></a>Obtaining and Installing Samba</h2></div></div></div><p>
    2         <a class="indexterm" name="id2551944"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 1. How to Install and Test SAMBA</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="introduction.html" title="Part I. General Installation"><link rel="prev" href="introduction.html" title="Part I. General Installation"><link rel="next" href="FastStart.html" title="Chapter 2. Fast Start: Cure for Impatience"></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 1. How to Install and Test SAMBA</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="introduction.html">Prev</a> </td><th width="60%" align="center">Part I. General Installation</th><td width="20%" align="right"> <a accesskey="n" href="FastStart.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 1. How to Install and Test SAMBA"><div class="titlepage"><div><div><h2 class="title"><a name="install"></a>Chapter 1. How to Install and Test SAMBA</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Karl</span> <span class="surname">Auer</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:kauer@biplane.com.au">kauer@biplane.com.au</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Dan</span> <span class="surname">Shearer</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:dan@samba.org">dan@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="install.html#id2557993">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2558033">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2558075">Configuration File Syntax</a></span></dt><dt><span class="sect2"><a href="install.html#tdbdocs">TDB Database File Information</a></span></dt><dt><span class="sect2"><a href="install.html#id2558977">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2559157">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2559561">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2559619">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2559671">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2559762">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2559843">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2559884">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2559917">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2559927">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2560014">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2560047"><span class="quote">&#8220;<span class="quote"><span class="errorname">The network name cannot be found</span></span>&#8221;</span></a></span></dt></dl></dd></dl></div><div class="sect1" title="Obtaining and Installing Samba"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2557993"></a>Obtaining and Installing Samba</h2></div></div></div><p>
     2        <a class="indexterm" name="id2558001"></a>
    33        Binary packages of Samba are included in almost any Linux or UNIX distribution. There are also some
    44        packages available at <a class="ulink" href="http://samba.org/" target="_top">the Samba home page</a>. Refer to the manual of your
    55        operating system for details on installing packages for your specific operating system.
    66        </p><p>
    7         <a class="indexterm" name="id2551962"></a>
     7        <a class="indexterm" name="id2558019"></a>
    88        If you need to compile Samba from source, check <a class="link" href="compiling.html" title="Chapter 42. How to Compile Samba">How to Compile Samba</a>.
    9         </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2551976"></a>Configuring Samba (smb.conf)</h2></div></div></div><p>
    10         <a class="indexterm" name="id2551984"></a>
    11         <a class="indexterm" name="id2551990"></a>
     9        </p></div><div class="sect1" title="Configuring Samba (smb.conf)"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2558033"></a>Configuring Samba (smb.conf)</h2></div></div></div><p>
     10        <a class="indexterm" name="id2558041"></a>
     11        <a class="indexterm" name="id2558047"></a>
    1212        Samba's configuration is stored in the <code class="filename">smb.conf</code> file, which usually resides in
    1313        <code class="filename">/etc/samba/smb.conf</code> or <code class="filename">/usr/local/samba/lib/smb.conf</code>. You can either
    1414        edit this file yourself or do it using one of the many graphical tools that are available, such as the
    1515        Web-based interface SWAT, that is included with Samba.
    16         </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2552018"></a>Configuration File Syntax</h3></div></div></div><p>
    17         <a class="indexterm" name="id2552026"></a>
     16        </p><div class="sect2" title="Configuration File Syntax"><div class="titlepage"><div><div><h3 class="title"><a name="id2558075"></a>Configuration File Syntax</h3></div></div></div><p>
     17        <a class="indexterm" name="id2558083"></a>
    1818        The <code class="filename">smb.conf</code> file uses the same syntax as the various old <code class="filename">.ini</code> files in Windows
    1919        3.1: Each file consists of various sections, which are started by putting the section name between brackets
     
    2222        editing tool.
    2323        </p><p>
    24         <a class="indexterm" name="id2552063"></a>
    25         <a class="indexterm" name="id2552069"></a>
    26         <a class="indexterm" name="id2552077"></a>
    27         <a class="indexterm" name="id2552084"></a>
    28         <a class="indexterm" name="id2552090"></a>
    29         <a class="indexterm" name="id2552098"></a>
     24        <a class="indexterm" name="id2558120"></a>
     25        <a class="indexterm" name="id2558126"></a>
     26        <a class="indexterm" name="id2558134"></a>
     27        <a class="indexterm" name="id2558141"></a>
     28        <a class="indexterm" name="id2558147"></a>
     29        <a class="indexterm" name="id2558155"></a>
    3030        Each section in the <code class="filename">smb.conf</code> file represents either a share or a meta-service on the Samba server. The
    3131        section <code class="literal">[global]</code> is special, since it contains settings that apply to the whole Samba
     
    3636        from Windows clients prior to being dispatched to the UNIX/Linux print spooler.
    3737        </p><p>
    38 <a class="indexterm" name="id2552141"></a>
    39 <a class="indexterm" name="id2552148"></a>
    40 <a class="indexterm" name="id2552154"></a>
    41 <a class="indexterm" name="id2552160"></a>
    42 <a class="indexterm" name="id2552166"></a>
    43 <a class="indexterm" name="id2552173"></a>
     38<a class="indexterm" name="id2558198"></a>
     39<a class="indexterm" name="id2558205"></a>
     40<a class="indexterm" name="id2558211"></a>
     41<a class="indexterm" name="id2558217"></a>
     42<a class="indexterm" name="id2558224"></a>
     43<a class="indexterm" name="id2558230"></a>
    4444        The <code class="literal">printers</code> meta-service will cause every printer that is either specified in a
    4545        <code class="literal">printcap</code> file, via the <code class="literal">lpstat</code>,  or via the CUPS API, to be
     
    5050        of it will be displayed as part of the printer name in Windows Explorer browse lists.
    5151        </p><p>
    52         <a class="indexterm" name="id2552222"></a>
     52        <a class="indexterm" name="id2558280"></a>
    5353        Each section of the <code class="filename">smb.conf</code> file that specifies a share, or a meta-service, is called a stanza.
    5454        The <code class="literal">global</code> stanza specifies settings that affect all the other stanzas in the
     
    5757        and some can be used globally or just within a share or meta-service stanza.
    5858        </p><p>
    59         <a class="indexterm" name="id2552265"></a>
     59        <a class="indexterm" name="id2558322"></a>
    6060        <a class="link" href="install.html#smbconfminimal" title="Example 1.1. A minimal smb.conf">A minimal smb.conf</a> contains a very minimal <code class="filename">smb.conf</code>.
    61         <a class="indexterm" name="id2552284"></a>
    62         </p><div class="example"><a name="smbconfminimal"></a><p class="title"><b>Example 1.1. A minimal smb.conf</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2552312"></a><em class="parameter"><code>workgroup = WKG</code></em></td></tr><tr><td><a class="indexterm" name="id2552323"></a><em class="parameter"><code>netbios name = MYNAME</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[share1]</code></em></td></tr><tr><td><a class="indexterm" name="id2552341"></a><em class="parameter"><code>path = /tmp</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[share2]</code></em></td></tr><tr><td><a class="indexterm" name="id2552360"></a><em class="parameter"><code>path = /my_shared_folder</code></em></td></tr><tr><td><a class="indexterm" name="id2552371"></a><em class="parameter"><code>comment = Some random files</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="tdbdocs"></a>TDB Database File Information</h3></div></div></div><p>
     61        <a class="indexterm" name="id2558341"></a>
     62        </p><div class="example"><a name="smbconfminimal"></a><p class="title"><b>Example 1.1. A minimal smb.conf</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2558369"></a><em class="parameter"><code>workgroup = WKG</code></em></td></tr><tr><td><a class="indexterm" name="id2558380"></a><em class="parameter"><code>netbios name = MYNAME</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[share1]</code></em></td></tr><tr><td><a class="indexterm" name="id2558399"></a><em class="parameter"><code>path = /tmp</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[share2]</code></em></td></tr><tr><td><a class="indexterm" name="id2558417"></a><em class="parameter"><code>path = /my_shared_folder</code></em></td></tr><tr><td><a class="indexterm" name="id2558428"></a><em class="parameter"><code>comment = Some random files</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect2" title="TDB Database File Information"><div class="titlepage"><div><div><h3 class="title"><a name="tdbdocs"></a>TDB Database File Information</h3></div></div></div><p>
    6363        This section contains brief descriptions of the databases that are used by Samba-3.
    6464        </p><p>
    65 <a class="indexterm" name="id2552398"></a>
     65<a class="indexterm" name="id2558455"></a>
    6666        The directory in which Samba stores the tdb files is determined by compile-time directives. Samba-3 stores
    6767        tdb files in two locations. The best way to determine these locations is to execute the following
     
    8181        <code class="filename">/var/lib/samba</code> directory.
    8282        </p><p>
    83 <a class="indexterm" name="id2552450"></a>
     83<a class="indexterm" name="id2558507"></a>
    8484        The persistent tdb files are described in <a class="link" href="install.html#tdbpermfiledesc" title="Table 1.1. Persistent TDB File Descriptions">the Persistent TDB File
    8585        Descriptions table</a>. All persistent tdb files should be regularly backed up. Use the
     
    107107                                needing to renegotiate the connection setup process.
    108108                        </p></td><td align="left">no</td></tr><tr><td align="left">sessionid</td><td align="justify"><p>Temporary cache for miscellaneous session information and for utmp handling.</p></td><td align="left">no</td></tr><tr><td align="left">unexpected</td><td align="justify"><p>Stores packets received for which no process is actively listening.</p></td><td align="left">no</td></tr><tr><td align="left">winbindd_cache</td><td align="justify"><p>Cache of Identity information received from an NT4 domain or from ADS. Includes user
    109                                 lists, etc.</p></td><td align="left">yes</td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2552921"></a>Starting Samba</h3></div></div></div><p>
    110         <a class="indexterm" name="id2552928"></a>
     109                                lists, etc.</p></td><td align="left">yes</td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect2" title="Starting Samba"><div class="titlepage"><div><div><h3 class="title"><a name="id2558977"></a>Starting Samba</h3></div></div></div><p>
     110        <a class="indexterm" name="id2558984"></a>
    111111        Samba essentially consists of two or three daemons. A daemon is a UNIX application that runs in the background and provides services.
    112112        An example of a service is the Apache Web server for which the daemon is called <code class="literal">httpd</code>. In the case of Samba there
     
    115115        The Samba server is made up of the following daemons:
    116116        </p><div class="variablelist"><dl><dt><span class="term">nmbd</span></dt><dd><p>
    117                         <a class="indexterm" name="id2552960"></a>
    118                         <a class="indexterm" name="id2552966"></a>
     117                        <a class="indexterm" name="id2559016"></a>
     118                        <a class="indexterm" name="id2559022"></a>
    119119                        This daemon handles all name registration and resolution requests. It is the primary vehicle involved
    120120                        in network browsing. It handles all UDP-based protocols. The <code class="literal">nmbd</code> daemon should
    121121                        be the first command started as part of the Samba startup process.
    122122                        </p></dd><dt><span class="term">smbd</span></dt><dd><p>
    123                         <a class="indexterm" name="id2552994"></a>
    124                         <a class="indexterm" name="id2553000"></a>
     123                        <a class="indexterm" name="id2559050"></a>
     124                        <a class="indexterm" name="id2559056"></a>
    125125                        This daemon handles all TCP/IP-based connection services for file- and print-based operations. It also
    126126                        manages local authentication. It should be started immediately following the startup of <code class="literal">nmbd</code>.
    127127                        </p></dd><dt><span class="term">winbindd</span></dt><dd><p>
    128                         <a class="indexterm" name="id2553027"></a>
    129                         <a class="indexterm" name="id2553033"></a>
     128                        <a class="indexterm" name="id2559083"></a>
     129                        <a class="indexterm" name="id2559089"></a>
    130130                        This daemon should be started when Samba is a member of a Windows NT4 or ADS domain. It is also needed when
    131131                        Samba has trust relationships with another domain. The <code class="literal">winbindd</code> daemon will check the
     
    135135                        will start but it will not be able to allocate UIDs or GIDs.
    136136                        </p></dd></dl></div><p>
    137         <a class="indexterm" name="id2553084"></a>
     137        <a class="indexterm" name="id2559142"></a>
    138138        When Samba has been packaged by an operating system vendor, the startup process is typically a custom feature of its
    139139        integration into the platform as a whole. Please refer to your operating system platform administration manuals for
    140140        specific information pertaining to correct management of Samba startup.
    141         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2553100"></a>Example Configuration</h3></div></div></div><p>
    142         <a class="indexterm" name="id2553108"></a>
    143         <a class="indexterm" name="id2553114"></a>
    144         <a class="indexterm" name="id2553120"></a>
    145         <a class="indexterm" name="id2553126"></a>
    146         <a class="indexterm" name="id2553133"></a>
     141        </p></div><div class="sect2" title="Example Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="id2559157"></a>Example Configuration</h3></div></div></div><p>
     142        <a class="indexterm" name="id2559165"></a>
     143        <a class="indexterm" name="id2559171"></a>
     144        <a class="indexterm" name="id2559177"></a>
     145        <a class="indexterm" name="id2559184"></a>
     146        <a class="indexterm" name="id2559190"></a>
    147147        There are sample configuration files in the examples subdirectory in the source code distribution tarball
    148148        package. It is suggested you read them carefully so you can see how the options go together in practice. See
     
    150150        <code class="filename">smb.conf.default</code> configuration file and adapt it to your needs. It contains plenty of comments.
    151151        </p><p>
    152         <a class="indexterm" name="id2553154"></a>
     152        <a class="indexterm" name="id2559211"></a>
    153153        The simplest useful configuration file would contain something like that shown in
    154154        <a class="link" href="install.html#simple-example" title="Example 1.2. Another simple smb.conf File">Another simple smb.conf File</a>.
    155         <a class="indexterm" name="id2553170"></a>
    156         </p><div class="example"><a name="simple-example"></a><p class="title"><b>Example 1.2. Another simple smb.conf File</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2553199"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2553218"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2553228"></a><em class="parameter"><code>read only = no</code></em></td></tr></table></div></div><br class="example-break"><p>
    157         <a class="indexterm" name="id2553242"></a>
    158         <a class="indexterm" name="id2553248"></a>
    159         <a class="indexterm" name="id2553254"></a>
    160         <a class="indexterm" name="id2553260"></a>
     155        <a class="indexterm" name="id2559227"></a>
     156        </p><div class="example"><a name="simple-example"></a><p class="title"><b>Example 1.2. Another simple smb.conf File</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2559256"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2559275"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2559285"></a><em class="parameter"><code>read only = no</code></em></td></tr></table></div></div><br class="example-break"><p>
     157        <a class="indexterm" name="id2559299"></a>
     158        <a class="indexterm" name="id2559305"></a>
     159        <a class="indexterm" name="id2559311"></a>
     160        <a class="indexterm" name="id2559318"></a>
    161161        This will allow connections by anyone with an account on the server, using either
    162162        their login name or <em class="parameter"><code>homes</code></em> as the service name.
     
    164164        workgroup name is WORKGROUP.)
    165165        </p><p>
    166         <a class="indexterm" name="id2553279"></a>
     166        <a class="indexterm" name="id2559337"></a>
    167167        Make sure you put the <code class="filename">smb.conf</code> file in the correct place. Note, the correct location of this file
    168168        depends on how the binary files were built. You can discover the correct location by executing from
     
    172172</pre><p>
    173173        </p><p>
    174         <a class="indexterm" name="id2553313"></a>
     174        <a class="indexterm" name="id2559370"></a>
    175175        For more information about security settings for the <em class="parameter"><code>[homes]</code></em> share, please refer to
    176176        <a class="link" href="securing-samba.html" title="Chapter 18. Securing Samba">Securing Samba</a>.
    177         </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2553334"></a>Test Your Config File with <code class="literal">testparm</code></h4></div></div></div><p>
    178         <a class="indexterm" name="id2553346"></a>
    179         <a class="indexterm" name="id2553352"></a>
    180         <a class="indexterm" name="id2553358"></a>
     177        </p><div class="sect3" title="Test Your Config File with testparm"><div class="titlepage"><div><div><h4 class="title"><a name="id2559391"></a>Test Your Config File with <code class="literal">testparm</code></h4></div></div></div><p>
     178        <a class="indexterm" name="id2559403"></a>
     179        <a class="indexterm" name="id2559409"></a>
     180        <a class="indexterm" name="id2559415"></a>
    181181        It's important to validate the contents of the <code class="filename">smb.conf</code> file using the <span class="application">testparm</span> program.
    182182        If testparm runs correctly, it will list the loaded services. If not, it will give an error message.
     
    190190        Always run testparm again whenever the <code class="filename">smb.conf</code> file is changed!
    191191        </p><p>
    192         <a class="indexterm" name="id2553406"></a>
    193         <a class="indexterm" name="id2553413"></a>
    194         <a class="indexterm" name="id2553419"></a>
    195         <a class="indexterm" name="id2553425"></a>
     192        <a class="indexterm" name="id2559464"></a>
     193        <a class="indexterm" name="id2559470"></a>
     194        <a class="indexterm" name="id2559476"></a>
     195        <a class="indexterm" name="id2559482"></a>
    196196        The <code class="filename">smb.conf</code> file is constantly checked by the Samba daemons <code class="literal">smbd</code> and every instance of
    197197        itself that it spawns, <code class="literal">nmbd</code> and <code class="literal">winbindd</code>. It is good practice to
     
    206206        This administrative method makes it possible to maintain detailed configuration change records while at
    207207        the same time keeping the working <code class="filename">smb.conf</code> file size to the minimum necessary.
    208         </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2553503"></a>SWAT</h3></div></div></div><p>
    209         <a class="indexterm" name="id2553511"></a>
     208        </p></div></div><div class="sect2" title="SWAT"><div class="titlepage"><div><div><h3 class="title"><a name="id2559561"></a>SWAT</h3></div></div></div><p>
     209        <a class="indexterm" name="id2559568"></a>
    210210        SWAT is a Web-based interface that can be used to facilitate the configuration of Samba.  SWAT might not
    211211        be available in the Samba package that shipped with your platform, but in a separate package. If you need to build SWAT please read the SWAT man page regarding compilation, installation, and
     
    223223        remove all comments!
    224224        More information about SWAT can be found in <a class="link" href="SWAT.html" title="Chapter 37. SWAT: The Samba Web Administration Tool">The Samba Web Administration Tool</a>.
    225         </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2553562"></a>List Shares Available on the Server</h2></div></div></div><p>
     225        </p></div></div><div class="sect1" title="List Shares Available on the Server"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2559619"></a>List Shares Available on the Server</h2></div></div></div><p>
    226226        To list shares that are available from the configured Samba server, execute the
    227227        following command:
     
    237237        You can force it to list the shares without a password by adding the option
    238238        <code class="option">-N</code> to the command line.
    239         </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2553614"></a>Connect with a UNIX Client</h2></div></div></div><p>
     239        </p></div><div class="sect1" title="Connect with a UNIX Client"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2559671"></a>Connect with a UNIX Client</h2></div></div></div><p>
    240240        Enter the following command:
    241241</p><pre class="screen">
     
    246246        is <em class="replaceable"><code>fred</code></em>, you would type:</p><pre class="screen">
    247247<code class="prompt">$ </code><strong class="userinput"><code>smbclient //<em class="replaceable"><code>bambi</code></em>/<em class="replaceable"><code>fred</code></em></code></strong>
    248 </pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2553705"></a>Connect from a Remote SMB Client</h2></div></div></div><p>
     248</pre></div><div class="sect1" title="Connect from a Remote SMB Client"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2559762"></a>Connect from a Remote SMB Client</h2></div></div></div><p>
    249249        Now that Samba is working correctly locally, you can try to access it from other clients. Within a few
    250250        minutes, the Samba host should be listed in the Network Neighborhood on all Windows clients of its subnet.
     
    267267        </p><p>
    268268</p><pre class="screen"><code class="prompt">C:\&gt; </code><strong class="userinput"><code>print filename</code></strong>
    269 </pre><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2553786"></a>What If Things Don't Work?</h3></div></div></div><p>
     269</pre><div class="sect2" title="What If Things Don't Work?"><div class="titlepage"><div><div><h3 class="title"><a name="id2559843"></a>What If Things Don't Work?</h3></div></div></div><p>
    270270        You might want to read <a class="link" href="diagnosis.html" title="Chapter 38. The Samba Checklist">The Samba Checklist</a>.  If you are still
    271271        stuck, refer to <a class="link" href="problems.html" title="Chapter 39. Analyzing and Solving Samba Problems">Analyzing and Solving Samba Problems</a>.  Samba has
     
    275275        </p><p>
    276276        If you are new to Samba, and particularly if you are new to Windows networking, or to UNIX/Linux,
    277         the book &#8220;<span class="quote">Samba-3 by Example</span>&#8221; will help you to create a validated network environment.
     277        the book <span class="quote">&#8220;<span class="quote">Samba-3 by Example</span>&#8221;</span> will help you to create a validated network environment.
    278278        Simply choose from the first five chapters the network design that most closely matches site needs,
    279279        then follow the simple step-by-step procedure to deploy it. Later, when you have a working network
    280280        you may well want to refer back to this book for further insight into opportunities for improvement.
    281         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2553827"></a>Still Stuck?</h3></div></div></div><p>
     281        </p></div><div class="sect2" title="Still Stuck?"><div class="titlepage"><div><div><h3 class="title"><a name="id2559884"></a>Still Stuck?</h3></div></div></div><p>
    282282        The best advice under the stress of abject frustration is to cool down! That may be challenging
    283283        of itself, but while you are angry or annoyed your ability to seek out a solution is somewhat
     
    288288        Now that you have cooled down a bit, please refer to <a class="link" href="diagnosis.html" title="Chapter 38. The Samba Checklist">the Samba Checklist</a>
    289289        for a process that can be followed to identify the cause of your problem.
    290         </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2553859"></a>Common Errors</h2></div></div></div><p>
     290        </p></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2559917"></a>Common Errors</h2></div></div></div><p>
    291291The following questions and issues are raised repeatedly on the Samba mailing list.
    292 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2553870"></a>Large Number of smbd Processes</h3></div></div></div><p>
     292</p><div class="sect2" title="Large Number of smbd Processes"><div class="titlepage"><div><div><h3 class="title"><a name="id2559927"></a>Large Number of smbd Processes</h3></div></div></div><p>
    293293        Samba consists of three core programs: <span class="application">nmbd</span>, <span class="application">smbd</span>, and <span class="application">winbindd</span>. <span class="application">nmbd</span> is the name server message daemon,
    294294        <span class="application">smbd</span> is the server message daemon, and <span class="application">winbindd</span> is the daemon that handles communication with domain controllers.
     
    303303        <span class="application">winbindd</span> will run as one or two daemons, depending on whether or not it is being
    304304        run in <span class="emphasis"><em>split mode</em></span> (in which case there will be two instances).
    305         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2553957"></a>Error Message: open_oplock_ipc</h3></div></div></div><p>
    306         An error message is observed in the log files when <span class="application">smbd</span> is started: &#8220;<span class="quote">open_oplock_ipc: Failed to
    307         get local UDP socket for address 100007f. Error was Cannot assign requested.</span>&#8221;
     305        </p></div><div class="sect2" title="Error Message: open_oplock_ipc"><div class="titlepage"><div><div><h3 class="title"><a name="id2560014"></a>Error Message: open_oplock_ipc</h3></div></div></div><p>
     306        An error message is observed in the log files when <span class="application">smbd</span> is started: <span class="quote">&#8220;<span class="quote">open_oplock_ipc: Failed to
     307        get local UDP socket for address 100007f. Error was Cannot assign requested.</span>&#8221;</span>
    308308        </p><p>
    309309        Your loopback device isn't working correctly. Make sure it is configured correctly. The loopback
    310310        device is an internal (virtual) network device with the IP address <span class="emphasis"><em>127.0.0.1</em></span>.
    311311        Read your OS documentation for details on how to configure the loopback on your system.
    312         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2553989"></a>&#8220;<span class="quote"><span class="errorname">The network name cannot be found</span></span>&#8221;</h3></div></div></div><p>
     312        </p></div><div class="sect2" title="&#8220;The network name cannot be found&#8221;"><div class="titlepage"><div><div><h3 class="title"><a name="id2560047"></a><span class="quote">&#8220;<span class="quote"><span class="errorname">The network name cannot be found</span></span>&#8221;</span></h3></div></div></div><p>
    313313                This error can be caused by one of these misconfigurations:
    314                 </p><div class="itemizedlist"><ul type="disc"><li><p>You specified a nonexisting path
    315                         for the share in <code class="filename">smb.conf</code>.</p></li><li><p>The user you are trying to access the share with does not
     314                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>You specified a nonexisting path
     315                        for the share in <code class="filename">smb.conf</code>.</p></li><li class="listitem"><p>The user you are trying to access the share with does not
    316316                        have sufficient permissions to access the path for
    317                         the share. Both read (r) and access (x) should be possible.</p></li><li><p>The share you are trying to access does not exist.</p></li></ul></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="introduction.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="introduction.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="FastStart.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Part I. General Installation </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 2. Fast Start: Cure for Impatience</td></tr></table></div></body></html>
     317                        the share. Both read (r) and access (x) should be possible.</p></li><li class="listitem"><p>The share you are trying to access does not exist.</p></li></ul></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="introduction.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="introduction.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="FastStart.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Part I. General Installation </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 2. Fast Start: Cure for Impatience</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/integrate-ms-networks.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 29. Integrating MS Windows Networks with Samba</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="pam.html" title="Chapter 28. PAM-Based Distributed Authentication"><link rel="next" href="unicode.html" title="Chapter 30. Unicode/Charsets"></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 29. Integrating MS Windows Networks with Samba</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pam.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="unicode.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="integrate-ms-networks"></a>Chapter 29. Integrating MS Windows Networks with Samba</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate"> (Jan 01 2001) </p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668091">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668111">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668240">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668313">/etc/hosts</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668502">/etc/resolv.conf</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668538">/etc/host.conf</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668589">/etc/nsswitch.conf</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669148">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669234">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669410">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669438">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669465">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2669603">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669616">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669647">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669689">Samba Server Name-Change Problem</a></span></dt></dl></dd></dl></div><p>
    2 <a class="indexterm" name="id2668049"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 29. Integrating MS Windows Networks with Samba</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="pam.html" title="Chapter 28. PAM-Based Distributed Authentication"><link rel="next" href="unicode.html" title="Chapter 30. Unicode/Charsets"></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 29. Integrating MS Windows Networks with Samba</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pam.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="unicode.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 29. Integrating MS Windows Networks with Samba"><div class="titlepage"><div><div><h2 class="title"><a name="integrate-ms-networks"></a>Chapter 29. Integrating MS Windows Networks with Samba</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate"> (Jan 01 2001) </p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674144">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674165">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674293">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674366"><code class="filename">/etc/hosts</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674555"><code class="filename">/etc/resolv.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674591"><code class="filename">/etc/host.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674642"><code class="filename">/etc/nsswitch.conf</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675201">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675287">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675465">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675493">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675520">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2675658">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675671">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675702">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675744">Samba Server Name-Change Problem</a></span></dt></dl></dd></dl></div><p>
     2<a class="indexterm" name="id2674102"></a>
    33This chapter deals with NetBIOS over TCP/IP name to IP address resolution. If
    44your MS Windows clients are not configured to use NetBIOS over TCP/IP, then this
    55section does not apply to your installation. If your installation involves the use of
    66NetBIOS over TCP/IP, then this chapter may help you to resolve networking problems.
    7 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    8 <a class="indexterm" name="id2668066"></a>
    9 <a class="indexterm" name="id2668073"></a>
     7</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     8<a class="indexterm" name="id2674120"></a>
     9<a class="indexterm" name="id2674126"></a>
    1010NetBIOS over TCP/IP has nothing to do with NetBEUI. NetBEUI is NetBIOS
    1111over Logical Link Control (LLC). On modern networks it is highly advised
     
    1313NetBEUI over TCP/IP  the existence of such a protocol is a complete
    1414and utter misapprehension.
    15 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2668091"></a>Features and Benefits</h2></div></div></div><p>
     15</p></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2674144"></a>Features and Benefits</h2></div></div></div><p>
    1616Many MS Windows network administrators have never been exposed to basic TCP/IP
    1717networking as it is implemented in a UNIX/Linux operating system. Likewise, many UNIX and
     
    2121This chapter gives a short introduction to the basics of how a name can be resolved to
    2222its IP address for each operating system environment.
    23 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2668111"></a>Background Information</h2></div></div></div><p>
    24 <a class="indexterm" name="id2668119"></a>
    25 <a class="indexterm" name="id2668126"></a>
    26 <a class="indexterm" name="id2668133"></a>
    27 <a class="indexterm" name="id2668140"></a>
    28 <a class="indexterm" name="id2668147"></a>
     23</p></div><div class="sect1" title="Background Information"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2674165"></a>Background Information</h2></div></div></div><p>
     24<a class="indexterm" name="id2674172"></a>
     25<a class="indexterm" name="id2674179"></a>
     26<a class="indexterm" name="id2674186"></a>
     27<a class="indexterm" name="id2674193"></a>
     28<a class="indexterm" name="id2674200"></a>
    2929Since the introduction of MS Windows 2000, it is possible to run MS Windows networking
    3030without the use of NetBIOS over TCP/IP. NetBIOS over TCP/IP uses UDP port 137 for NetBIOS
     
    3232TCP/IP is disabled on MS Windows 2000 and later clients, then only the TCP port 445 is
    3333used, and the UDP port 137 and TCP port 139 are not.
    34 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     34</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    3535When using Windows 2000 or later clients, if NetBIOS over TCP/IP is not disabled, then
    3636the client will use UDP port 137 (NetBIOS Name Service, also known as the Windows Internet
    3737Name Service, or WINS), TCP port 139, and TCP port 445 (for actual file and print traffic).
    3838</p></div><p>
    39 <a class="indexterm" name="id2668175"></a>
    40 <a class="indexterm" name="id2668181"></a>
    41 <a class="indexterm" name="id2668188"></a>
    42 <a class="indexterm" name="id2668195"></a>
    43 <a class="indexterm" name="id2668201"></a>
    44 <a class="indexterm" name="id2668208"></a>
     39<a class="indexterm" name="id2674228"></a>
     40<a class="indexterm" name="id2674234"></a>
     41<a class="indexterm" name="id2674241"></a>
     42<a class="indexterm" name="id2674248"></a>
     43<a class="indexterm" name="id2674255"></a>
     44<a class="indexterm" name="id2674261"></a>
    4545When NetBIOS over TCP/IP is disabled, the use of DNS is essential. Most installations that disable NetBIOS
    4646over TCP/IP today use MS Active Directory Service (ADS). ADS requires
    47 <a class="indexterm" name="id2668218"></a> dynamic DNS with Service Resource
    48 Records (SRV RR) and with Incremental Zone Transfers (IXFR).  <a class="indexterm" name="id2668229"></a>
     47<a class="indexterm" name="id2674271"></a> dynamic DNS with Service Resource
     48Records (SRV RR) and with Incremental Zone Transfers (IXFR).  <a class="indexterm" name="id2674282"></a>
    4949Use of DHCP with ADS is recommended as a further means of maintaining central control over the client
    5050workstation network configuration.
    51 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2668240"></a>Name Resolution in a Pure UNIX/Linux World</h2></div></div></div><p>
     51</p></div><div class="sect1" title="Name Resolution in a Pure UNIX/Linux World"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2674293"></a>Name Resolution in a Pure UNIX/Linux World</h2></div></div></div><p>
    5252The key configuration files covered in this section are:
    53 </p><a class="indexterm" name="id2668250"></a><a class="indexterm" name="id2668257"></a><a class="indexterm" name="id2668264"></a><a class="indexterm" name="id2668271"></a><div class="itemizedlist"><ul type="disc"><li><p><code class="filename">/etc/hosts</code></p></li><li><p><code class="filename">/etc/resolv.conf</code></p></li><li><p><code class="filename">/etc/host.conf</code></p></li><li><p><code class="filename">/etc/nsswitch.conf</code></p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2668313"></a><code class="filename">/etc/hosts</code></h3></div></div></div><p>
     53</p><a class="indexterm" name="id2674304"></a><a class="indexterm" name="id2674310"></a><a class="indexterm" name="id2674317"></a><a class="indexterm" name="id2674324"></a><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><code class="filename">/etc/hosts</code></p></li><li class="listitem"><p><code class="filename">/etc/resolv.conf</code></p></li><li class="listitem"><p><code class="filename">/etc/host.conf</code></p></li><li class="listitem"><p><code class="filename">/etc/nsswitch.conf</code></p></li></ul></div><div class="sect2" title="/etc/hosts"><div class="titlepage"><div><div><h3 class="title"><a name="id2674366"></a><code class="filename">/etc/hosts</code></h3></div></div></div><p>
    5454This file contains a static list of IP addresses and names.
    5555</p><pre class="programlisting">
     
    5858</pre><p>
    5959</p><p>
    60 <a class="indexterm" name="id2668336"></a>
    61 <a class="indexterm" name="id2668343"></a>
     60<a class="indexterm" name="id2674389"></a>
     61<a class="indexterm" name="id2674396"></a>
    6262The purpose of <code class="filename">/etc/hosts</code> is to provide a
    6363name resolution mechanism so users do not need to remember
    6464IP addresses.
    6565</p><p>
    66 <a class="indexterm" name="id2668361"></a>
    67 <a class="indexterm" name="id2668368"></a>
    68 <a class="indexterm" name="id2668375"></a>
     66<a class="indexterm" name="id2674414"></a>
     67<a class="indexterm" name="id2674421"></a>
     68<a class="indexterm" name="id2674428"></a>
    6969Network packets that are sent over the physical network transport
    7070layer communicate not via IP addresses but rather using the Media
     
    7373numbers that are separated by a dot (or period)  for example, 168.192.1.1.
    7474</p><p>
    75 <a class="indexterm" name="id2668393"></a>
     75<a class="indexterm" name="id2674447"></a>
    7676MAC addresses use 48 bits (or 6 bytes) and are typically represented
    7777as two-digit hexadecimal numbers separated by colons: 40:8e:0a:12:34:56.
     
    8585address that will be returned in the Address Resolution Protocol (ARP) reply.
    8686</p><p>
    87 <a class="indexterm" name="id2668424"></a>
     87<a class="indexterm" name="id2674478"></a>
    8888When a user or a process wants to communicate with another machine,
    89 the protocol implementation ensures that the &#8220;<span class="quote">machine name</span>&#8221; or &#8220;<span class="quote">host
    90 name</span>&#8221; is resolved to an IP address in a manner that is controlled
     89the protocol implementation ensures that the <span class="quote">&#8220;<span class="quote">machine name</span>&#8221;</span> or <span class="quote">&#8220;<span class="quote">host
     90name</span>&#8221;</span> is resolved to an IP address in a manner that is controlled
    9191by the TCP/IP configuration control files. The file
    9292<code class="filename">/etc/hosts</code> is one such file.
    9393</p><p>
    94 <a class="indexterm" name="id2668451"></a>
     94<a class="indexterm" name="id2674504"></a>
    9595When the IP address of the destination interface has been determined, a protocol called ARP/RARP is used to
    9696identify the MAC address of the target interface. ARP is a broadcast-oriented method that uses User Datagram
     
    100100IP address for each interface.
    101101</p><p>
    102 <a class="indexterm" name="id2668480"></a>
     102<a class="indexterm" name="id2674534"></a>
    103103The <code class="filename">/etc/hosts</code> file is foundational to all
    104104UNIX/Linux TCP/IP installations and as a minimum will contain
     
    108108resolution can exist before any other method of name resolution
    109109becomes available.
    110 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2668502"></a><code class="filename">/etc/resolv.conf</code></h3></div></div></div><p>
     110</p></div><div class="sect2" title="/etc/resolv.conf"><div class="titlepage"><div><div><h3 class="title"><a name="id2674555"></a><code class="filename">/etc/resolv.conf</code></h3></div></div></div><p>
    111111This file tells the name resolution libraries:
    112 </p><div class="itemizedlist"><ul type="disc"><li><p>The name of the domain to which the machine
     112</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>The name of the domain to which the machine
    113113        belongs.
    114         </p></li><li><p>The name(s) of any domains that should be
     114        </p></li><li class="listitem"><p>The name(s) of any domains that should be
    115115        automatically searched when trying to resolve unqualified
    116116        host names to their IP address.
    117         </p></li><li><p>The name or IP address of available domain
     117        </p></li><li class="listitem"><p>The name or IP address of available domain
    118118        name servers that may be asked to perform name-to-address
    119119        translation lookups.
    120         </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2668538"></a><code class="filename">/etc/host.conf</code></h3></div></div></div><p>
    121 <a class="indexterm" name="id2668549"></a>
     120        </p></li></ul></div></div><div class="sect2" title="/etc/host.conf"><div class="titlepage"><div><div><h3 class="title"><a name="id2674591"></a><code class="filename">/etc/host.conf</code></h3></div></div></div><p>
     121<a class="indexterm" name="id2674602"></a>
    122122<code class="filename">/etc/host.conf</code> is the primary means by which the setting in
    123123<code class="filename">/etc/resolv.conf</code> may be effected. It is a critical configuration file. This file controls
     
    128128</pre><p>Both addresses should be returned. Please refer to the
    129129man page for <code class="filename">host.conf</code> for further details.
    130 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2668589"></a><code class="filename">/etc/nsswitch.conf</code></h3></div></div></div><p>
    131 <a class="indexterm" name="id2668600"></a>
     130</p></div><div class="sect2" title="/etc/nsswitch.conf"><div class="titlepage"><div><div><h3 class="title"><a name="id2674642"></a><code class="filename">/etc/nsswitch.conf</code></h3></div></div></div><p>
     131<a class="indexterm" name="id2674654"></a>
    132132This file controls the actual name resolution targets. The
    133133file typically has resolver object specifications as follows:
     
    161161principal of speaking only when necessary.
    162162</p><p>
    163 <a class="indexterm" name="id2668636"></a>
    164 <a class="indexterm" name="id2668643"></a>
    165 <a class="indexterm" name="id2668650"></a>
    166 <a class="indexterm" name="id2668657"></a>
    167 <a class="indexterm" name="id2668664"></a>
     163<a class="indexterm" name="id2674690"></a>
     164<a class="indexterm" name="id2674696"></a>
     165<a class="indexterm" name="id2674703"></a>
     166<a class="indexterm" name="id2674710"></a>
     167<a class="indexterm" name="id2674717"></a>
    168168Starting with version 2.2.0, Samba has Linux support for extensions to
    169169the name service switch infrastructure so Linux clients will
     
    173173nsswitch/libnss_wins.so</code></strong>). The resulting library should
    174174then be installed in the <code class="filename">/lib</code> directory, and
    175 the <em class="parameter"><code>wins</code></em> parameter needs to be added to the &#8220;<span class="quote">hosts:</span>&#8221; line in
     175the <em class="parameter"><code>wins</code></em> parameter needs to be added to the <span class="quote">&#8220;<span class="quote">hosts:</span>&#8221;</span> line in
    176176the <code class="filename">/etc/nsswitch.conf</code> file. At this point, it
    177177will be possible to ping any MS Windows machine by its NetBIOS
    178178machine name, as long as that machine is within the workgroup to
    179179which both the Samba machine and the MS Windows machine belong.
    180 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2668713"></a>Name Resolution as Used within MS Windows Networking</h2></div></div></div><p>
    181 <a class="indexterm" name="id2668722"></a>
    182 <a class="indexterm" name="id2668728"></a>
    183 <a class="indexterm" name="id2668735"></a>
    184 <a class="indexterm" name="id2668742"></a>
     180</p></div></div><div class="sect1" title="Name Resolution as Used within MS Windows Networking"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2674766"></a>Name Resolution as Used within MS Windows Networking</h2></div></div></div><p>
     181<a class="indexterm" name="id2674775"></a>
     182<a class="indexterm" name="id2674782"></a>
     183<a class="indexterm" name="id2674789"></a>
     184<a class="indexterm" name="id2674796"></a>
    185185MS Windows networking is predicated on the name each machine is given. This name is known variously (and
    186 inconsistently) as the &#8220;<span class="quote">computer name,</span>&#8221; &#8220;<span class="quote">machine name,</span>&#8221; &#8220;<span class="quote">networking
    187 name,</span>&#8221; &#8220;<span class="quote">NetBIOS name,</span>&#8221; or &#8220;<span class="quote">SMB name.</span>&#8221; All terms mean the same thing with the
    188 exception of &#8220;<span class="quote">NetBIOS name,</span>&#8221; which can also apply to the name of the workgroup or the domain
    189 name. The terms &#8220;<span class="quote">workgroup</span>&#8221; and &#8220;<span class="quote">domain</span>&#8221; are really just a simple name with which
     186inconsistently) as the <span class="quote">&#8220;<span class="quote">computer name,</span>&#8221;</span> <span class="quote">&#8220;<span class="quote">machine name,</span>&#8221;</span> <span class="quote">&#8220;<span class="quote">networking
     187name,</span>&#8221;</span> <span class="quote">&#8220;<span class="quote">NetBIOS name,</span>&#8221;</span> or <span class="quote">&#8220;<span class="quote">SMB name.</span>&#8221;</span> All terms mean the same thing with the
     188exception of <span class="quote">&#8220;<span class="quote">NetBIOS name,</span>&#8221;</span> which can also apply to the name of the workgroup or the domain
     189name. The terms <span class="quote">&#8220;<span class="quote">workgroup</span>&#8221;</span> and <span class="quote">&#8220;<span class="quote">domain</span>&#8221;</span> are really just a simple name with which
    190190the machine is associated. All NetBIOS names are exactly 16 characters in length. The
    19119116<sup>th</sup> character is reserved.  It is used to store a 1-byte value that indicates
     
    196196list typical NetBIOS name/service type registrations.
    197197</p><div class="table"><a name="uniqnetbiosnames"></a><p class="title"><b>Table 29.1. Unique NetBIOS Names</b></p><div class="table-contents"><table summary="Unique NetBIOS Names" border="1"><colgroup><col align="left"><col align="justify"></colgroup><tbody><tr><td align="left">MACHINENAME&lt;00&gt;</td><td align="justify">Server Service is running on MACHINENAME</td></tr><tr><td align="left">MACHINENAME&lt;03&gt;</td><td align="justify">Generic machine name (NetBIOS name)</td></tr><tr><td align="left">MACHINENAME&lt;20&gt;</td><td align="justify">LanMan server service is running on MACHINENAME</td></tr><tr><td align="left">WORKGROUP&lt;1b&gt;</td><td align="justify">Domain master browser</td></tr></tbody></table></div></div><br class="table-break"><div class="table"><a name="netbiosnamesgrp"></a><p class="title"><b>Table 29.2. Group Names</b></p><div class="table-contents"><table summary="Group Names" border="1"><colgroup><col align="left"><col align="justify"></colgroup><tbody><tr><td align="left">WORKGROUP&lt;03&gt;</td><td align="justify">Generic name registered by all members of WORKGROUP</td></tr><tr><td align="left">WORKGROUP&lt;1c&gt;</td><td align="justify">Domain cntrollers/netlogon servers</td></tr><tr><td align="left">WORKGROUP&lt;1d&gt;</td><td align="justify">Local master browsers</td></tr><tr><td align="left">WORKGROUP&lt;1e&gt;</td><td align="justify">Browser election service</td></tr></tbody></table></div></div><br class="table-break"><p>
    198 <a class="indexterm" name="id2668939"></a>
     198<a class="indexterm" name="id2674992"></a>
    199199It should be noted that all NetBIOS machines register their own
    200200names as per <a class="link" href="integrate-ms-networks.html#uniqnetbiosnames" title="Table 29.1. Unique NetBIOS Names">Unique NetBIOS names</a> and <a class="link" href="integrate-ms-networks.html#netbiosnamesgrp" title="Table 29.2. Group Names">group names</a>. This is in vast contrast to TCP/IP
     
    203203are associated with each IP address.
    204204</p><p>
    205 <a class="indexterm" name="id2668974"></a>
    206 <a class="indexterm" name="id2668981"></a>
    207 <a class="indexterm" name="id2668987"></a>
     205<a class="indexterm" name="id2675027"></a>
     206<a class="indexterm" name="id2675034"></a>
     207<a class="indexterm" name="id2675041"></a>
    208208One further point of clarification should be noted. The <code class="filename">/etc/hosts</code>
    209209file and the DNS records do not provide the NetBIOS name information
     
    217217Whichever machine first replies, it then ends up providing the logon services.
    218218</p><p>
    219 <a class="indexterm" name="id2669019"></a>
    220 <a class="indexterm" name="id2669026"></a>
    221 The name &#8220;<span class="quote">workgroup</span>&#8221; or &#8220;<span class="quote">domain</span>&#8221; really can be confusing, since these
     219<a class="indexterm" name="id2675072"></a>
     220<a class="indexterm" name="id2675079"></a>
     221The name <span class="quote">&#8220;<span class="quote">workgroup</span>&#8221;</span> or <span class="quote">&#8220;<span class="quote">domain</span>&#8221;</span> really can be confusing, since these
    222222have the added significance of indicating what is the security
    223 architecture of the MS Windows network. The term &#8220;<span class="quote">workgroup</span>&#8221; indicates
     223architecture of the MS Windows network. The term <span class="quote">&#8220;<span class="quote">workgroup</span>&#8221;</span> indicates
    224224that the primary nature of the network environment is that of a
    225225peer-to-peer design. In a workgroup, all machines are responsible for
     
    231231of a username and a matching password.
    232232</p><p>
    233 <a class="indexterm" name="id2669059"></a>
    234 <a class="indexterm" name="id2669065"></a>
    235 <a class="indexterm" name="id2669075"></a>
    236 <a class="indexterm" name="id2669084"></a>
    237 <a class="indexterm" name="id2669094"></a>
    238 <a class="indexterm" name="id2669103"></a>
    239 <a class="indexterm" name="id2669110"></a>
    240 <a class="indexterm" name="id2669117"></a>
     233<a class="indexterm" name="id2675112"></a>
     234<a class="indexterm" name="id2675118"></a>
     235<a class="indexterm" name="id2675128"></a>
     236<a class="indexterm" name="id2675137"></a>
     237<a class="indexterm" name="id2675147"></a>
     238<a class="indexterm" name="id2675156"></a>
     239<a class="indexterm" name="id2675163"></a>
     240<a class="indexterm" name="id2675170"></a>
    241241MS Windows networking is thus predetermined to use machine names
    242242for all local and remote machine message passing. The protocol used is
     
    253253Since we are primarily concerned with TCP/IP, this demonstration is
    254254limited to this area.
    255 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2669148"></a>The NetBIOS Name Cache</h3></div></div></div><p>
    256 <a class="indexterm" name="id2669155"></a>
    257 <a class="indexterm" name="id2669162"></a>
    258 <a class="indexterm" name="id2669169"></a>
     255</p><div class="sect2" title="The NetBIOS Name Cache"><div class="titlepage"><div><div><h3 class="title"><a name="id2675201"></a>The NetBIOS Name Cache</h3></div></div></div><p>
     256<a class="indexterm" name="id2675208"></a>
     257<a class="indexterm" name="id2675215"></a>
     258<a class="indexterm" name="id2675222"></a>
    259259All MS Windows machines employ an in-memory buffer in which is
    260260stored the NetBIOS names and IP addresses for all external
     
    264264configured name resolution mechanisms.
    265265</p><p>
    266 <a class="indexterm" name="id2669184"></a>
     266<a class="indexterm" name="id2675237"></a>
    267267If a machine whose name is in the local name cache is shut
    268268down before the name is expired and flushed from the cache, then
     
    272272frustrating for users but is a characteristic of the protocol.
    273273</p><p>
    274 <a class="indexterm" name="id2669200"></a>
    275 <a class="indexterm" name="id2669207"></a>
    276 <a class="indexterm" name="id2669214"></a>
     274<a class="indexterm" name="id2675253"></a>
     275<a class="indexterm" name="id2675260"></a>
     276<a class="indexterm" name="id2675267"></a>
    277277The MS Windows utility that allows examination of the NetBIOS
    278 name cache is called &#8220;<span class="quote">nbtstat.</span>&#8221; The Samba equivalent
     278name cache is called <span class="quote">&#8220;<span class="quote">nbtstat.</span>&#8221;</span> The Samba equivalent
    279279is called <code class="literal">nmblookup</code>.
    280 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2669234"></a>The LMHOSTS File</h3></div></div></div><p>
    281 <a class="indexterm" name="id2669242"></a>
     280</p></div><div class="sect2" title="The LMHOSTS File"><div class="titlepage"><div><div><h3 class="title"><a name="id2675287"></a>The LMHOSTS File</h3></div></div></div><p>
     281<a class="indexterm" name="id2675295"></a>
    282282This file is usually located in MS Windows NT 4.0 or Windows 200x/XP in the directory
    283283<code class="filename">%SystemRoot%\SYSTEM32\DRIVERS\ETC</code> and contains the IP address
     
    364364# Therefore it is not advisable to simply add lmhosts file entries onto the
    365365# end of this file.
    366 </pre></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2669410"></a>HOSTS File</h3></div></div></div><p>
     366</pre></div><div class="sect2" title="HOSTS File"><div class="titlepage"><div><div><h3 class="title"><a name="id2675465"></a>HOSTS File</h3></div></div></div><p>
    367367This file is usually located in MS Windows NT 4.0 or Windows 200x/XP in
    368368the directory <code class="filename">%SystemRoot%\SYSTEM32\DRIVERS\ETC</code> and contains
     
    371371on how the TCP/IP environment is configured. This file is in
    372372every way the equivalent of the UNIX/Linux <code class="filename">/etc/hosts</code> file.
    373 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2669438"></a>DNS Lookup</h3></div></div></div><p>
    374 <a class="indexterm" name="id2669446"></a>
     373</p></div><div class="sect2" title="DNS Lookup"><div class="titlepage"><div><div><h3 class="title"><a name="id2675493"></a>DNS Lookup</h3></div></div></div><p>
     374<a class="indexterm" name="id2675501"></a>
    375375This capability is configured in the TCP/IP setup area in the network
    376376configuration facility. If enabled, an elaborate name resolution sequence
     
    383383WINS server to obtain a lookup before DNS, HOSTS, LMHOSTS, or broadcast
    384384lookup is used.
    385 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2669465"></a>WINS Lookup</h3></div></div></div><p>
    386 <a class="indexterm" name="id2669473"></a>
    387 <a class="indexterm" name="id2669480"></a>
    388 <a class="indexterm" name="id2669489"></a>
     385</p></div><div class="sect2" title="WINS Lookup"><div class="titlepage"><div><div><h3 class="title"><a name="id2675520"></a>WINS Lookup</h3></div></div></div><p>
     386<a class="indexterm" name="id2675528"></a>
     387<a class="indexterm" name="id2675535"></a>
     388<a class="indexterm" name="id2675544"></a>
    389389A WINS (Windows Internet Name Server) service is the equivalent of the
    390390rfc1001/1002 specified NBNS (NetBIOS Name Server). A WINS server stores
     
    394394To configure Samba to be a WINS server, the following parameter needs
    395395to be added to the <code class="filename">smb.conf</code> file:
    396 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2669522"></a><em class="parameter"><code>wins support = Yes</code></em></td></tr></table><p>
    397 <a class="indexterm" name="id2669536"></a>
     396</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2675577"></a><em class="parameter"><code>wins support = Yes</code></em></td></tr></table><p>
     397<a class="indexterm" name="id2675591"></a>
    398398To configure Samba to use a WINS server, the following parameters are
    399399needed in the <code class="filename">smb.conf</code> file:
    400 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2669558"></a><em class="parameter"><code>wins support = No</code></em></td></tr><tr><td><a class="indexterm" name="id2669570"></a><em class="parameter"><code>wins server = xxx.xxx.xxx.xxx</code></em></td></tr></table><p>
     400</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2675613"></a><em class="parameter"><code>wins support = No</code></em></td></tr><tr><td><a class="indexterm" name="id2675625"></a><em class="parameter"><code>wins server = xxx.xxx.xxx.xxx</code></em></td></tr></table><p>
    401401where <em class="replaceable"><code>xxx.xxx.xxx.xxx</code></em> is the IP address
    402402of the WINS server.
    403403</p><p>For information about setting up Samba as a WINS server, read
    404 <a class="link" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing">Network Browsing</a>.</p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2669603"></a>Common Errors</h2></div></div></div><p>
     404<a class="link" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing">Network Browsing</a>.</p></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2675658"></a>Common Errors</h2></div></div></div><p>
    405405TCP/IP network configuration problems find every network administrator sooner or later.
    406406The cause can be anything from keyboard mishaps to forgetfulness to simple mistakes to
    407407carelessness. Of course, no one is ever deliberately careless!
    408 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2669616"></a>Pinging Works Only One Way</h3></div></div></div><p>
    409         &#8220;<span class="quote">I can ping my Samba server from Windows, but I cannot ping my Windows
    410         machine from the Samba server.</span>&#8221;
     408</p><div class="sect2" title="Pinging Works Only One Way"><div class="titlepage"><div><div><h3 class="title"><a name="id2675671"></a>Pinging Works Only One Way</h3></div></div></div><p>
     409        <span class="quote">&#8220;<span class="quote">I can ping my Samba server from Windows, but I cannot ping my Windows
     410        machine from the Samba server.</span>&#8221;</span>
    411411        </p><p>
    412412        The Windows machine was at IP address 192.168.1.2 with netmask 255.255.255.0, the
     
    416416        Due to inconsistent netmasks, the Windows machine was on network 192.168.1.0/24, while
    417417        the Samba server was on network 192.168.1.128/25  logically a different network.
    418         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2669647"></a>Very Slow Network Connections</h3></div></div></div><p>
     418        </p></div><div class="sect2" title="Very Slow Network Connections"><div class="titlepage"><div><div><h3 class="title"><a name="id2675702"></a>Very Slow Network Connections</h3></div></div></div><p>
    419419        A common cause of slow network response includes:
    420         </p><div class="itemizedlist"><ul type="disc"><li><p>Client is configured to use DNS and the DNS server is down.</p></li><li><p>Client is configured to use remote DNS server, but the
    421                 remote connection is down.</p></li><li><p>Client is configured to use a WINS server, but there is no WINS server.</p></li><li><p>Client is not configured to use a WINS server, but there is a WINS server.</p></li><li><p>Firewall is filtering out DNS or WINS traffic.</p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2669689"></a>Samba Server Name-Change Problem</h3></div></div></div><p>
    422         &#8220;<span class="quote">The name of the Samba server was changed, Samba was restarted, and now the Samba server cannot be
     420        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Client is configured to use DNS and the DNS server is down.</p></li><li class="listitem"><p>Client is configured to use remote DNS server, but the
     421                remote connection is down.</p></li><li class="listitem"><p>Client is configured to use a WINS server, but there is no WINS server.</p></li><li class="listitem"><p>Client is not configured to use a WINS server, but there is a WINS server.</p></li><li class="listitem"><p>Firewall is filtering out DNS or WINS traffic.</p></li></ul></div></div><div class="sect2" title="Samba Server Name-Change Problem"><div class="titlepage"><div><div><h3 class="title"><a name="id2675744"></a>Samba Server Name-Change Problem</h3></div></div></div><p>
     422        <span class="quote">&#8220;<span class="quote">The name of the Samba server was changed, Samba was restarted, and now the Samba server cannot be
    423423        pinged by its new name from an MS Windows NT4 workstation, but it does still respond to pinging using
    424         the old name. Why?</span>&#8221;
     424        the old name. Why?</span>&#8221;</span>
    425425        </p><p>
    426426        From this description, three things are obvious:
    427         </p><div class="itemizedlist"><ul type="disc"><li><p>WINS is not in use; only broadcast-based name resolution is used.</p></li><li><p>The Samba server was renamed and restarted within the last 10 or 15 minutes.</p></li><li><p>The old Samba server name is still in the NetBIOS name cache on the MS Windows NT4 workstation.</p></li></ul></div><p>
     427        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>WINS is not in use; only broadcast-based name resolution is used.</p></li><li class="listitem"><p>The Samba server was renamed and restarted within the last 10 or 15 minutes.</p></li><li class="listitem"><p>The old Samba server name is still in the NetBIOS name cache on the MS Windows NT4 workstation.</p></li></ul></div><p>
    428428        To find what names are present in the NetBIOS name cache on the MS Windows NT4 machine,
    429429        open a <code class="literal">cmd</code> shell and then:
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/introduction.html

    r274 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part I. General Installation</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="IntroSMB.html" title="Introduction"><link rel="next" href="install.html" title="Chapter 1. How to Install and Test SAMBA"></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">Part I. General Installation</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="IntroSMB.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="install.html">Next</a></td></tr></table><hr></div><div class="part" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="introduction"></a>Part I. General Installation</h1></div></div></div><div class="partintro" lang="en"><div><div><div><h1 class="title"><a name="id2551796"></a>Preparing Samba for Configuration</h1></div></div></div><p>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part I. General Installation</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="IntroSMB.html" title="Introduction"><link rel="next" href="install.html" title="Chapter 1. How to Install and Test SAMBA"></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">Part I. General Installation</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="IntroSMB.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="install.html">Next</a></td></tr></table><hr></div><div class="part" title="Part I. General Installation"><div class="titlepage"><div><div><h1 class="title"><a name="introduction"></a>Part I. General Installation</h1></div></div></div><div class="partintro" title="Preparing Samba for Configuration"><div><div><div><h1 class="title"><a name="id2557853"></a>Preparing Samba for Configuration</h1></div></div></div><p>
    22This section of the Samba-HOWTO-Collection contains general info on how to install Samba
    33and how to configure the parts of Samba you will most likely need.
    44PLEASE read this.
    5 </p><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="install.html">1. How to Install and Test SAMBA</a></span></dt><dd><dl><dt><span class="sect1"><a href="install.html#id2551936">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2551976">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2552018">Configuration File Syntax</a></span></dt><dt><span class="sect2"><a href="install.html#tdbdocs">TDB Database File Information</a></span></dt><dt><span class="sect2"><a href="install.html#id2552921">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2553100">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2553503">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2553562">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2553614">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2553705">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2553786">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2553827">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2553859">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2553870">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2553957">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2553989">The network name cannot be found</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="FastStart.html">2. Fast Start: Cure for Impatience</a></span></dt><dd><dl><dt><span class="sect1"><a href="FastStart.html#id2554132">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2554155">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2554224">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2554243">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2555984">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2556827">Domain Controller</a></span></dt></dl></dd></dl></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="IntroSMB.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="install.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Introduction </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 1. How to Install and Test SAMBA</td></tr></table></div></body></html>
     5</p><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="install.html">1. How to Install and Test SAMBA</a></span></dt><dd><dl><dt><span class="sect1"><a href="install.html#id2557993">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2558033">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2558075">Configuration File Syntax</a></span></dt><dt><span class="sect2"><a href="install.html#tdbdocs">TDB Database File Information</a></span></dt><dt><span class="sect2"><a href="install.html#id2558977">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2559157">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2559561">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2559619">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2559671">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2559762">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2559843">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2559884">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2559917">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2559927">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2560014">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2560047"><span class="quote">&#8220;<span class="quote"><span class="errorname">The network name cannot be found</span></span>&#8221;</span></a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="FastStart.html">2. Fast Start: Cure for Impatience</a></span></dt><dd><dl><dt><span class="sect1"><a href="FastStart.html#id2560189">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2560212">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2560282">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2560300">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2562042">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2562885">Domain Controller</a></span></dt></dl></dd></dl></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="IntroSMB.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="install.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Introduction </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 1. How to Install and Test SAMBA</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/ix01.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Index</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="go01.html" title="Glossary"></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">Index</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="go01.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> </td></tr></table><hr></div><div class="index"><div class="titlepage"><div><div><h2 class="title"><a name="id2695486"></a>Index</h2></div></div></div><div class="index"><div class="indexdiv"><h3>Symbols</h3><dl><dt>"Printers" folder, <a class="indexterm" href="CUPS-printing.html#id2642037">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2643314">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a></dt><dt>$, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></dt><dt>%i macro, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>%L, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>%PDF, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>%SystemRoot%\System32\config, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>../source/nsswitch, <a class="indexterm" href="winbind.html#id2656647">Configure Winbind and PAM</a></dt><dt>.ai, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>.AppleDouble, <a class="indexterm" href="VFS.html#id2651777">netatalk</a></dt><dt>.eps, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>.pdf, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>.PDS extension, <a class="indexterm" href="ProfileMgmt.html#id2662004">Windows NT4 Workstation</a></dt><dt>.profiles, <a class="indexterm" href="ProfileMgmt.html#id2660841">Windows 9x/Me User Profiles</a></dt><dt>.ps, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>.recycle, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>/bin/false, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>/dev/null, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>/dev/shadowvol, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>/etc/cups/, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>/etc/cups/mime.convs, <a class="indexterm" href="CUPS-printing.html#id2634206">Raw Print Serving: Vendor Drivers on Windows Clients</a>, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a>, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2638698">application/octet-stream Printing</a></dt><dt>/etc/cups/mime.types, <a class="indexterm" href="CUPS-printing.html#id2634206">Raw Print Serving: Vendor Drivers on Windows Clients</a>, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a>, <a class="indexterm" href="CUPS-printing.html#id2638698">application/octet-stream Printing</a></dt><dt>/etc/fstab, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>/etc/group, <a class="indexterm" href="ServerType.html#id2559461">Share-Level Security</a>, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2598231">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="Portability.html#id2689135">HPUX</a></dt><dt>/etc/groups, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>/etc/host.conf, <a class="indexterm" href="integrate-ms-networks.html#id2668240">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668538">/etc/host.conf</a></dt><dt>/etc/hosts, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668240">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668313">/etc/hosts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>/etc/hosts&gt;, <a class="indexterm" href="integrate-ms-networks.html#id2668313">/etc/hosts</a></dt><dt>/etc/inetd.conf, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="compiling.html#id2688531">Starting from inetd.conf</a></dt><dt>/etc/init.d/samba, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="winbind.html#id2656253">Linux</a></dt><dt>/etc/init.d/samba.server, <a class="indexterm" href="winbind.html#id2656458">Solaris</a></dt><dt>/etc/init.d/smb, <a class="indexterm" href="winbind.html#id2656253">Linux</a></dt><dt>/etc/krb5.conf, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2573107">Possible Errors</a>, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a></dt><dt>/etc/ldap.conf, <a class="indexterm" href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a>, <a class="indexterm" href="idmapper.html#id2607774">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>/etc/logingroup, <a class="indexterm" href="Portability.html#id2689135">HPUX</a></dt><dt>/etc/mime.conv, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>/etc/mime.types, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>/etc/nsswitch.conf, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605900">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2607774">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a>, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668240">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668589">/etc/nsswitch.conf</a></dt><dt>/etc/openldap/slapd.conf, <a class="indexterm" href="FastStart.html#id2557721">The Primary Domain Controller</a></dt><dt>/etc/openldap/sldap.conf, <a class="indexterm" href="passdb.html#id2594483">Accounts and Groups Management</a></dt><dt>/etc/pam.conf, <a class="indexterm" href="winbind.html#id2657160">Solaris-Specific Configuration</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a>, <a class="indexterm" href="pam.html#id2665810">Technical Discussion</a>, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>/etc/pam.d, <a class="indexterm" href="winbind.html#id2654706">Requirements</a>, <a class="indexterm" href="winbind.html#id2654858">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2656647">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>/etc/pam.d/, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a>, <a class="indexterm" href="pam.html#id2665810">Technical Discussion</a></dt><dt>/etc/pam.d/ftp, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/pam.d/login, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/pam.d/samba, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/passwd, <a class="indexterm" href="ServerType.html#id2559461">Share-Level Security</a>, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2565212">$ Cannot Be Included in Machine Name</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a>, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a>, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2592572">Plaintext</a>, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="groupmapping.html#id2597396">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>/etc/printcap, <a class="indexterm" href="CUPS-printing.html#id2633153">Basic CUPS Support Configuration</a></dt><dt>/etc/resolv.conf, <a class="indexterm" href="integrate-ms-networks.html#id2668240">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>/etc/samba, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="cfgsmarts.html#id2675343">Multiple Virtual Server Hosting</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>/etc/samba/scripts, <a class="indexterm" href="NetCommand.html#id2600629">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>/etc/samba/secrets.tdb, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>/etc/samba/smb.conf, <a class="indexterm" href="install.html#id2551976">Configuring Samba (smb.conf)</a></dt><dt>/etc/samba/smbpasswd, <a class="indexterm" href="passdb.html#id2592572">Plaintext</a></dt><dt>/etc/samba/smbusers, <a class="indexterm" href="NetCommand.html#id2601256">User Mapping</a></dt><dt>/etc/shadow, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a>, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a></dt><dt>/etc/smbpasswd, <a class="indexterm" href="passdb.html#id2592572">Plaintext</a></dt><dt>/etc/ssl/certs/slapd.pem, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></dt><dt>/etc/xinetd.d, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/xinetd.d/telnet, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/export, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></dt><dt>/lib/libnss_example.so, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a></dt><dt>/lib/libnss_files.so, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a></dt><dt>/lib/security, <a class="indexterm" href="winbind.html#id2656647">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2665864">PAM Configuration Syntax</a></dt><dt>/lib/security/, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a></dt><dt>/opt/samba/bin, <a class="indexterm" href="SWAT.html#id2681334">Locating the SWAT File</a></dt><dt>/tmp, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>/usr/bin/openssl, <a class="indexterm" href="SWAT.html#id2681902">Securing SWAT through SSL</a></dt><dt>/usr/lib/samba/vfs, <a class="indexterm" href="VFS.html#id2650394">Discussion</a></dt><dt>/usr/lib/security, <a class="indexterm" href="winbind.html#id2655343">NSS Winbind on AIX</a>, <a class="indexterm" href="winbind.html#id2656647">Configure Winbind and PAM</a></dt><dt>/usr/lib/security/methods.cfg, <a class="indexterm" href="winbind.html#id2655343">NSS Winbind on AIX</a></dt><dt>/usr/local/lib, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>/usr/local/samba, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>/usr/local/samba/bin, <a class="indexterm" href="winbind.html#id2656253">Linux</a>, <a class="indexterm" href="winbind.html#id2656458">Solaris</a>, <a class="indexterm" href="SWAT.html#id2681334">Locating the SWAT File</a></dt><dt>/usr/local/samba/lib, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>/usr/local/samba/lib/vfs, <a class="indexterm" href="VFS.html#id2650394">Discussion</a></dt><dt>/usr/local/samba/private/secrets.tdb, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>/usr/local/samba/swat, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>/usr/local/samba/var, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a>, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a></dt><dt>/usr/local/samba/var/locks, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>/usr/sbin, <a class="indexterm" href="SWAT.html#id2681334">Locating the SWAT File</a>, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>/usr/share/samba/swat, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>/var/locks/*.tdb, <a class="indexterm" href="speed.html#id2691227">Corrupt tdb Files</a></dt><dt>/var/log/samba, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a></dt><dt>/var/run/samba, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>/var/spool/cups/, <a class="indexterm" href="CUPS-printing.html#id2648188">Autodeletion or Preservation of CUPS Spool Files</a></dt><dt>/var/spool/samba, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="CUPS-printing.html#id2648188">Autodeletion or Preservation of CUPS Spool Files</a></dt><dt>250-user limit, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a></dt><dt>3.0.11, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>4,500 user accounts, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a></dt><dt>4294967295, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>8.3 file names, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>&gt;Domain User Manager, <a class="indexterm" href="InterdomainTrusts.html#id2620141">Creating an NT4 Domain Trust</a></dt><dt>\\%L\%U\.profiles, <a class="indexterm" href="ProfileMgmt.html#id2660841">Windows 9x/Me User Profiles</a></dt><dt>\\SERVER, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a></dt><dt>_kerberos.REALM.NAME, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>_kerberos._udp, <a class="indexterm" href="domain-member.html#id2573400">Notes</a></dt><dt>_ldap._tcp, <a class="indexterm" href="domain-member.html#id2573400">Notes</a></dt><dt>_ldap._tcp.pdc._msdcs.quenya.org, <a class="indexterm" href="samba-bdc.html#id2567603">NetBIOS Over TCP/IP Disabled</a></dt></dl></div><div class="indexdiv"><h3></h3><dl><dt>, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a>, <a class="indexterm" href="install.html#id2553100">Example Configuration</a>, <a class="indexterm" href="FastStart.html#anon-ro">Anonymous Read-Only Document Server</a>, <a class="indexterm" href="FastStart.html#id2554659">Anonymous Read-Write Document Server</a>, <a class="indexterm" href="FastStart.html#id2554870">Anonymous Print Server</a>, <a class="indexterm" href="FastStart.html#id2555235">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2556059">Example Configuration</a>, <a class="indexterm" href="FastStart.html#id2556907">Example: Engineering Office</a>, <a class="indexterm" href="FastStart.html#id2557721">The Primary Domain Controller</a>, <a class="indexterm" href="FastStart.html#id2558338">Backup Domain Controller</a>, <a class="indexterm" href="ServerType.html#id2559423">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2559620">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2560220">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2560468">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2560566">Password Checking</a>, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2564382">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2566715">Example PDC Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2570526">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2570890">Samba Client</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2572115">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583358">Use of the Remote Announce Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583498">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584620">Name Resolution Order</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2594059">Configuring Samba</a>, <a class="indexterm" href="groupmapping.html#id2598231">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="NetCommand.html#id2600629">Managing Nest Groups on Workstations from the Samba Server</a>, <a class="indexterm" href="idmapper.html#id2605900">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a>, <a class="indexterm" href="idmapper.html#id2607774">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a>, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a>, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="AccessControls.html#id2614117">Interaction with the Standard Samba create mask Parameters</a>, <a class="indexterm" href="AccessControls.html#id2614990">Users Cannot Write to a Public Share</a>, <a class="indexterm" href="AccessControls.html#id2615358">MS Word with Samba Changes Owner of File</a>, <a class="indexterm" href="locking.html#id2617043">Disabling Oplocks</a>, <a class="indexterm" href="locking.html#id2617138">Disabling Kernel Oplocks</a>, <a class="indexterm" href="securing-samba.html#id2618174">Features and Benefits</a>, <a class="indexterm" href="securing-samba.html#id2618336">Using Host-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2618490">User-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a>, <a class="indexterm" href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a>, <a class="indexterm" href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a>, <a class="indexterm" href="msdfs.html#id2621908">MSDFS UNIX Path Is Case-Critical</a>, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2623122">Rapid Configuration Validation</a>, <a class="indexterm" href="classicalprinting.html#id2623522">Extended Printing Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a>, <a class="indexterm" href="classicalprinting.html#id2626984">Creating the [print$] Share</a>, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2633517">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2633762">More Complex CUPS smb.conf Settings</a>, <a class="indexterm" href="CUPS-printing.html#id2640516">From Windows Clients to a CUPS/Samba Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2641310">Prepare Your smb.conf for cupsaddsmb</a>, <a class="indexterm" href="VFS.html#id2650394">Discussion</a>, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2655457">Configure smb.conf</a>, <a class="indexterm" href="winbind.html#id2656253">Linux</a>, <a class="indexterm" href="winbind.html#id2657160">Solaris-Specific Configuration</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="ProfileMgmt.html#id2660701">NT4/200x User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2660841">Windows 9x/Me User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2660998">Mixed Windows Windows 9x/Me and NT4/200x User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2664840">Changing the Default Profile</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669148">The NetBIOS Name Cache</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669465">WINS Lookup</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a>, <a class="indexterm" href="unicode.html#id2671027">Individual Implementations</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a>, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="cfgsmarts.html#id2675343">Multiple Virtual Server Hosting</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678922">IdMap LDAP Support</a>, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a>, <a class="indexterm" href="bugreport.html#dbglvl">Debug Levels</a>, <a class="indexterm" href="bugreport.html#id2686375">Debugging-Specific Operations</a>, <a class="indexterm" href="Other-Clients.html#id2690417">Windows 2000 Service Pack 2</a> (see SSO)</dt><dd><dl><dt>backend, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt><dt>logon</dt><dd><dl><dt>service, <a class="indexterm" href="samba-bdc.html#id2566209">Essential Background Information</a></dt></dl></dd></dl></dd></dl></div><div class="indexdiv"><h3>A</h3><dl><dt>abbreviated keystrokes, <a class="indexterm" href="ClientConfig.html#id2575613">TCP/IP Configuration</a></dt><dt>aborting shutdown, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>accept connections, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>access, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a></dt><dt>Access, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>access authentication, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>access control, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a>, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a>, <a class="indexterm" href="AdvancedNetworkManagement.html">Advanced Network Management</a></dt><dt>Access Control, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Access Control Entries (see ACE)</dt><dt>Access Control List, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>access control needs, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>access controls, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="AccessControls.html#id2610573">Features and Benefits</a>, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>Access Controls, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>access denied, <a class="indexterm" href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a></dt><dt>access policies, <a class="indexterm" href="passdb.html#id2592232">Domain Account Policy Managment</a></dt><dt>access rights, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>account, <a class="indexterm" href="install.html#id2553100">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dd><dl><dt>backend, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt><dt>database, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></dt><dd><dl><dt>backends, <a class="indexterm" href="ServerType.html#id2558832">Features and Benefits</a></dt></dl></dd></dl></dd><dt>account access controls, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>account attributes, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a></dt><dt>account backends, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>account containers, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a></dt><dt>account control block (see ACB)</dt><dt>account control flags, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>account controls, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>Account Controls, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></dt><dt>account database, <a class="indexterm" href="passdb.html#id2592519">Password Backends</a></dt><dt>account deleted, <a class="indexterm" href="passdb.html#id2591481">Deleting Accounts</a></dt><dt>account encode_bits, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>account flag order, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>Account Flags, <a class="indexterm" href="passdb.html#id2591158">Listing User and Machine Accounts</a></dt><dt>account flags, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>account import/export, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2592394">Account Import/Export</a></dt><dt>account information, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="NetCommand.html#id2600928">UNIX and Windows User Management</a></dt><dt>account information database, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>account management, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a></dt><dt>account name, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>account policies, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a></dt><dt>account policy, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>account restrictions, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></dt><dt>account security, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>account storage backends, <a class="indexterm" href="upgrading-to-3.0.html#id2678169">Passdb Backends and Authentication</a></dt><dt>account storage mechanisms, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>account storage system, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>Account Unknown, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>accountability, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>accounts, <a class="indexterm" href="winbind.html#id2654592">Introduction</a></dt><dt>ACL, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a>, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a>, <a class="indexterm" href="securing-samba.html#id2618174">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a>, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>ACLs, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="classicalprinting.html#id2626862">The Obsoleted [printer$] Section</a></dt><dd><dl><dt>File System, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>POSIX, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="AccessControls.html#id2610573">Features and Benefits</a></dt><dt>share, <a class="indexterm" href="AccessControls.html#id2610573">Features and Benefits</a></dt><dt>Windows, <a class="indexterm" href="AccessControls.html#id2610573">Features and Benefits</a></dt></dl></dd><dt>ACLs on share, <a class="indexterm" href="AccessControls.html#id2613247">Windows 200x/XP</a></dt><dt>ACLs on shares, <a class="indexterm" href="AccessControls.html#id2610573">Features and Benefits</a></dt><dt>across network segments, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>active directory, <a class="indexterm" href="ServerType.html#id2558832">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2564263">Samba ADS Domain Control</a></dt><dt>Active Directory, <a class="indexterm" href="samba-bdc.html#id2567331">Active Directory Domain Control</a>, <a class="indexterm" href="domain-member.html#ads-member">Samba ADS Domain Membership</a>, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a>, <a class="indexterm" href="idmapper.html#id2604493">Standalone Samba Server</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>Active Directory Server, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>AD4UNIX, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>ADAM, <a class="indexterm" href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a></dt><dt>add a user account, <a class="indexterm" href="passdb.html#id2591394">Adding User Accounts</a></dt><dt>add client machines, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>add domain users and groups to a local group, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>add drivers, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>add machine script, <a class="indexterm" href="domain-member.html#id2570526">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678073">Changes in Behavior</a></dt><dt>Add Printer Wizard, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>add printer wizard, <a class="indexterm" href="CUPS-printing.html#id2634728">Driver Upload Methods</a></dt><dt>add user script, <a class="indexterm" href="passdb.html#id2591042">User Account Management</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678073">Changes in Behavior</a></dt><dt>add/delete/change share, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>adddriver, <a class="indexterm" href="classicalprinting.html#id2628585">Installing Driver Files into [print$]</a>, <a class="indexterm" href="classicalprinting.html#id2628941">Running rpcclient with adddriver</a>, <a class="indexterm" href="classicalprinting.html#id2629434">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2643723">A Check of the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2645315">Troubleshooting Revisited</a></dt><dt>additional driver, <a class="indexterm" href="classicalprinting.html#id2630271">Additional Client Driver Installation</a></dt><dt>additional privileges, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>addmem, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>AddPrinterDriver(), <a class="indexterm" href="CUPS-printing.html#id2643723">A Check of the rpcclient man Page</a></dt><dt>admincfg.exe, <a class="indexterm" href="Other-Clients.html#id2690180">Configuring Windows for Workgroups Password Handling</a></dt><dt>administrative actions, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>administrative duties, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dt>administrative privileges, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a></dt><dt>administrative responsibilities, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>administrative rights, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>administrative rights and privileges, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Administrative Templates, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a></dt><dt>Administrator, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2597278">Important Administrative Information</a>, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a></dt><dt>administrator account, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2570806">Windows NT4 Client</a></dt><dt>Administrator account, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>administrator password, <a class="indexterm" href="domain-member.html#id2573400">Notes</a></dt><dt>Administrator%password, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>Adobe, <a class="indexterm" href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2641102">PostScript Drivers with No Major Problems, Even in Kernel
    2 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id2646520">The Grand Unification Achieved</a></dt><dt>Adobe driver, <a class="indexterm" href="CUPS-printing.html#id2642336">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>Adobe driver files, <a class="indexterm" href="CUPS-printing.html#id2641830">Recognizing Different Driver Files</a></dt><dt>Adobe PostScript, <a class="indexterm" href="CUPS-printing.html#id2642037">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2647565">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>Adobe PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2643314">Installing the PostScript Driver on a Client</a></dt><dt>Adobe PPD, <a class="indexterm" href="CUPS-printing.html#id2645965">CUPS Print Drivers from Linuxprinting.org</a></dt><dt>Adobe specifications, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></dt><dt>ADS, <a class="indexterm" href="ServerType.html#id2560148">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2572115">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a>, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2594483">Accounts and Groups Management</a>, <a class="indexterm" href="NetCommand.html#id2599319">Administrative Tasks and Methods</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619747">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2654529">Result Caching</a>, <a class="indexterm" href="PolicyMgmt.html#id2658804">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2660333">System Startup and Logon Processing Overview</a>, <a class="indexterm" href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678169">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a>, <a class="indexterm" href="DNSDHCP.html#id2692891">Features and Benefits</a> (see Active Directory)</dt><dt>ADS DC, <a class="indexterm" href="domain-member.html#id2572115">Configure smb.conf</a></dt><dt>ADS domain, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a></dt><dt>ADS domain members, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>ADS manager, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>ADS schema, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a></dt><dt>Advanced TCP/IP configuration, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>advantages, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>affect users, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a></dt><dt>affordable power, <a class="indexterm" href="SambaHA.html#id2672191">The Ultimate Goal</a></dt><dt>AFPL, <a class="indexterm" href="CUPS-printing.html#id2635579">Ghostscript: The Software RIP for Non-PostScript Printers</a></dt><dt>AFPL Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2637361">pstoraster</a></dt><dt>AFS, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a></dt><dt>AIX, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a>, <a class="indexterm" href="winbind.html#id2655343">NSS Winbind on AIX</a></dt><dt>algorithmic mapping, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a></dt><dt>alias group, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>allow access, <a class="indexterm" href="securing-samba.html#id2618336">Using Host-Based Protection</a></dt><dt>allow trusted domains, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a></dt><dt>already exists, <a class="indexterm" href="domain-member.html#id2573719">Cannot Add Machine Back to Domain</a></dt><dt>alternative solution, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>Amanda, <a class="indexterm" href="Backup.html#id2671892">Amanda</a></dt><dt>analyzes data, <a class="indexterm" href="problems.html#id2684879">Diagnostics Tools</a></dt><dt>anonymous, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dd><dl><dt>print server, <a class="indexterm" href="FastStart.html#id2554870">Anonymous Print Server</a></dt><dt>read-write server, <a class="indexterm" href="FastStart.html#id2554659">Anonymous Read-Write Document Server</a></dt></dl></dd><dt>anonymous access, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a></dt><dt>anonymous file server, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>anonymous server, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>ANSI compiler, <a class="indexterm" href="Portability.html#id2689135">HPUX</a></dt><dt>anticipate failure, <a class="indexterm" href="SambaHA.html#id2672036">Features and Benefits</a></dt><dt>API, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>Appliances, <a class="indexterm" href="winbind.html#id2653704">Target Uses</a></dt><dt>application servers, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a></dt><dt>application/cups.vnd-postscript, <a class="indexterm" href="CUPS-printing.html#id2642336">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>application/octet-stream, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a>, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2638698">application/octet-stream Printing</a></dt><dt>application/pdf, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a></dt><dt>application/postscript, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2637193">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2642336">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>application/vnd.cups-postscript, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2637193">pstops</a></dt><dt>application/vnd.cups-raster, <a class="indexterm" href="CUPS-printing.html#id2638977">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>application/vnd.cups-raw, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a></dt><dt>application/x-shell, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a></dt><dt>apt-get, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>ARCFOUR-HMAC-MD5, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt><dt>architecture, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>ARP/RARP, <a class="indexterm" href="integrate-ms-networks.html#id2668313">/etc/hosts</a></dt><dt>ASCII, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a>, <a class="indexterm" href="unicode.html#id2669946">What Are Charsets and Unicode?</a>, <a class="indexterm" href="unicode.html#id2670247">Japanese Charsets</a></dt><dt>ASCII text, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a></dt><dt>assign rights, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>assigned RID, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a></dt><dt>assistance, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>associations, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a></dt><dt>attach gdb, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a></dt><dt>attribute, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a></dt><dt>attributes, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>audit file access, <a class="indexterm" href="VFS.html#id2650795">audit</a></dt><dt>audit module, <a class="indexterm" href="VFS.html#id2651054">extd_audit</a></dt><dt>auth, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>authenticate, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>authenticate users, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>authenticated, <a class="indexterm" href="domain-member.html#id2572115">Configure smb.conf</a></dt><dt>authenticating server, <a class="indexterm" href="ProfileMgmt.html#id2663529">MS Windows NT4 Workstation</a></dt><dt>authentication, <a class="indexterm" href="ServerType.html#id2558832">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2592394">Account Import/Export</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="winbind.html#id2656647">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dd><dl><dt>backend, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt></dl></dd><dt>authentication agents, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>authentication architecture, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>authentication backend, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>authentication control, <a class="indexterm" href="winbind.html#id2654592">Introduction</a></dt><dt>authentication database, <a class="indexterm" href="InterdomainTrusts.html#id2619747">Features and Benefits</a></dt><dt>authentication management, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a></dt><dt>authentication mechanisms, <a class="indexterm" href="winbind.html#id2654592">Introduction</a></dt><dt>authentication methods, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a></dt><dt>authentication module API, <a class="indexterm" href="winbind.html#id2655343">NSS Winbind on AIX</a></dt><dt>authentication regime, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>authentication reply, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a></dt><dt>authentication server, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>authentication service, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>authentication system, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>authenticatior, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt><dt>authoritative, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>authoritive, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>authorization, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a></dt><dt>auto-reconnect, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>autogen.sh, <a class="indexterm" href="compiling.html#id2688022">Building the Binaries</a></dt><dt>autogenerated printcap, <a class="indexterm" href="classicalprinting.html#id2625479">Default UNIX System Printing Commands</a></dt><dt>automatic account creation, <a class="indexterm" href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>automatic mapping, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>automatic reconnects, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>automatic redundancy, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>autopoweruser.sh, <a class="indexterm" href="NetCommand.html#id2600629">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>autotyping, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>AUXILIARY, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>auxiliary members, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>availability, <a class="indexterm" href="SambaHA.html#id2672036">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>available, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>available port, <a class="indexterm" href="classicalprinting.html#id2631890">Samba and Printer Ports</a></dt><dt>available printerd, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>available rights, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>average print run, <a class="indexterm" href="CUPS-printing.html#id2634850">Advanced Intelligent Printing with PostScript Driver Download</a></dt></dl></div><div class="indexdiv"><h3>B</h3><dl><dt>b-node, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>back up, <a class="indexterm" href="winbind.html#id2654706">Requirements</a></dt><dt>backed up, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>backend, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a></dt><dt>backend authentication, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>backend database, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></dt><dt>backend failures, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>backend file system pool, <a class="indexterm" href="SambaHA.html#id2672767">Restrictive Constraints on Distributed File Systems</a></dt><dt>backends, <a class="indexterm" href="ChangeNotes.html#id2579095">Passdb Changes</a>, <a class="indexterm" href="CUPS-printing.html#id2648535">Printing from CUPS to Windows-Attached Printers</a></dt><dt>backup, <a class="indexterm" href="Backup.html#id2671410">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a>, <a class="indexterm" href="tdb.html#id2686919">Features and Benefits</a></dt><dt>backup domain controller, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>backup solution, <a class="indexterm" href="Backup.html#id2671454">Discussion of Backup Solutions</a></dt><dt>BackupPC, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a></dt><dt>bad hardware, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></dt><dt>bad logon attempts, <a class="indexterm" href="passdb.html#id2591566">Changing User Accounts</a></dt><dt>Bad networking hardware, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></dt><dt>bad password, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>banner pages, <a class="indexterm" href="CUPS-printing.html#id2642336">Windows CUPS PostScript Driver Versus Adobe Driver</a>, <a class="indexterm" href="CUPS-printing.html#id2642554">Run cupsaddsmb (Quiet Mode)</a></dt><dt>barriers, <a class="indexterm" href="securing-samba.html#id2618075">Introduction</a></dt><dt>Batch Oplock, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>BDC, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2567331">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568719">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2605741">Backup Domain Controller</a>, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a>, <a class="indexterm" href="NT4Migration.html#id2680070">Steps in Migration Process</a></dt><dt>BDCs, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>behavior approximately same, <a class="indexterm" href="upgrading-to-3.0.html#id2676324">Quick Migration Guide</a></dt><dt>between domains, <a class="indexterm" href="InterdomainTrusts.html#id2620532">Configuring Samba NT-Style Domain Trusts</a></dt><dt>bias, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>binary format TDB, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>BIND, <a class="indexterm" href="DNSDHCP.html#id2693161">Dynamic DNS</a></dt><dt>bind interfaces only, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>BIND9, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></dt><dt>BIND9.NET, <a class="indexterm" href="DNSDHCP.html#id2692891">Features and Benefits</a></dt><dt>bindery-enabled, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>block device, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>block incoming packets, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>BOBS, <a class="indexterm" href="Backup.html#id2671940">BOBS: Browseable Online Backup System</a></dt><dt>bogus, <a class="indexterm" href="ServerType.html#id2560468">Example Configuration</a></dt><dt>boot disk`, <a class="indexterm" href="winbind.html#id2654706">Requirements</a></dt><dt>bridge, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>bridges networks, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>brlock.tdb, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>broadcast, <a class="indexterm" href="samba-bdc.html#id2567390">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>broadcast address, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>broadcast isolated subnet, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>broadcast messages, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>broadcast messaging, <a class="indexterm" href="samba-bdc.html#id2567481">How Does a Workstation find its Domain Controller?</a></dt><dt>Broadcast node, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>broadcast request, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a></dt><dt>broadcast traffic, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></dt><dt>broadcast-based, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>broadcast-based name resolution, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>broadcasts, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>browse across subnet, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></dt><dt>browse list, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>browse list handling, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a></dt><dt>browse list maintainers, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>browse list management, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a></dt><dt>browse lists, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>browse resources, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a></dt><dt>browse server resources, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a></dt><dt>browse shares, <a class="indexterm" href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a></dt><dt>browse.dat, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a></dt><dt>browseable, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt><dt>browser election, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></dt><dt>browser elections, <a class="indexterm" href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>BrowseShortNames, <a class="indexterm" href="CUPS-printing.html#id2650045">Print Queue Called lp Mishandles Print Jobs</a></dt><dt>browsing, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a></dt><dt>browsing across subnets, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></dt><dt>browsing another subnet, <a class="indexterm" href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a></dt><dt>browsing intrinsics, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>browsing problems, <a class="indexterm" href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586371">Common Errors</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586519">I Get an "Unable to browse the network" Error</a></dt><dt>BSD, <a class="indexterm" href="samba-pdc.html#id2565212">$ Cannot Be Included in Machine Name</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>BSD Printing, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a></dt><dt>BSD-style printing, <a class="indexterm" href="classicalprinting.html#id2623522">Extended Printing Configuration</a></dt><dt>bug report, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>bug reports, <a class="indexterm" href="bugreport.html#id2686050">Introduction</a></dt><dt>Bugzilla, <a class="indexterm" href="bugreport.html#id2686050">Introduction</a></dt><dt>built-in commands, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a></dt><dt>bypasses privilege, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>byte ranges, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>byte-range lock, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>byte-range locking, <a class="indexterm" href="locking.html#id2615682">Discussion</a>, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt></dl></div><div class="indexdiv"><h3>C</h3><dl><dt>c:\winnt\inf, <a class="indexterm" href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></dt><dt>C:\WinNT\System32\config, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>cached</dt><dd><dl><dt>password, <a class="indexterm" href="ServerType.html#id2560566">Password Checking</a></dt></dl></dd><dt>cached encrypted password, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>cached in memory, <a class="indexterm" href="passdb.html#id2588500">Advantages of Non-Encrypted Passwords</a></dt><dt>cached local file, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>cached locally, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>cached references, <a class="indexterm" href="NetworkBrowsing.html#id2586766">Invalid Cached Share References Affects Network Browsing</a></dt><dt>caching, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>caching reads, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>caching scheme, <a class="indexterm" href="winbind.html#id2654529">Result Caching</a></dt><dt>caching writes, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>called name, <a class="indexterm" href="securing-samba.html#id2618336">Using Host-Based Protection</a></dt><dt>cannot join domain, <a class="indexterm" href="ClientConfig.html#id2578354">Common Errors</a></dt><dt>canonicalize files, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>CAP, <a class="indexterm" href="unicode.html#id2670247">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a>, <a class="indexterm" href="Other-Clients.html#id2689706">Macintosh Clients</a></dt><dt>cap-share, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>capability to delete, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>CAP_LINUX_IMMUTABLE, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>case options, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>case sensitivity, <a class="indexterm" href="pam.html#id2665864">PAM Configuration Syntax</a></dt><dt>case-insensitive, <a class="indexterm" href="ServerType.html#id2559298">User Level Security</a>, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>case-preserving, <a class="indexterm" href="ServerType.html#id2559298">User Level Security</a></dt><dt>central environment, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>centralized</dt><dd><dl><dt>authentication, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt></dl></dd><dt>centralized identity management, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>centrally managed, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>certificate, <a class="indexterm" href="SWAT.html#id2681902">Securing SWAT through SSL</a></dt><dt>Certificate Authority (see CA)</dt><dt>cfdisk, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>challenge/response mechanis, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>change capabilities, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a></dt><dt>change motivations, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>change password, <a class="indexterm" href="domain-member.html#id2573400">Notes</a></dt><dt>change passwords, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a></dt><dt>changed parameters, <a class="indexterm" href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></dt><dt>changes password, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></dt><dt>character device, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>character set, <a class="indexterm" href="unicode.html#id2669946">What Are Charsets and Unicode?</a></dt><dt>character sets, <a class="indexterm" href="unicode.html#id2670080">Samba and Charsets</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>charset, <a class="indexterm" href="unicode.html#id2669946">What Are Charsets and Unicode?</a></dt><dt>charset conversion, <a class="indexterm" href="unicode.html#id2670215">Conversion from Old Names</a></dt><dt>chattr, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>check for locks, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>check logs, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></dt><dt>checksum-search, <a class="indexterm" href="Backup.html#id2671723">Rsync</a></dt><dt>chmod, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>chown, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="AccessControls.html#id2613601">Viewing File Ownership</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>chpass, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></dt><dt>CIFS, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>CIFS function calls, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>CIFS/SMB, <a class="indexterm" href="SambaHA.html#id2672036">Features and Benefits</a>, <a class="indexterm" href="SambaHA.html#id2672321">Why Is This So Hard?</a></dt><dt>Citrix, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></dt><dt>clear purpose preferred, <a class="indexterm" href="Backup.html#id2671454">Discussion of Backup Solutions</a></dt><dt>clear-text, <a class="indexterm" href="ServerType.html#id2560566">Password Checking</a>, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>clear-text passwords, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>client client instructions, <a class="indexterm" href="ClientConfig.html#id2575509">Features and Benefits</a></dt><dt>Client for Microsoft Networks, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Client for Novell Networks, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>client-server mode, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a></dt><dt>client-side caching, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>client-side data caching, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a>, <a class="indexterm" href="locking.html#id2616635">PDM Data Shares</a></dt><dt>clock skew, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>cluster servers, <a class="indexterm" href="SambaHA.html#id2672440">The Front-End Challenge</a></dt><dt>clustered file server, <a class="indexterm" href="SambaHA.html#id2672191">The Ultimate Goal</a></dt><dt>Clustered smbds, <a class="indexterm" href="SambaHA.html#id2672836">Server Pool Communications</a></dt><dt>clustering technologies, <a class="indexterm" href="SambaHA.html#id2672191">The Ultimate Goal</a></dt><dt>cluttering, <a class="indexterm" href="bugreport.html#id2686375">Debugging-Specific Operations</a></dt><dt>cmd, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a>, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>cmd shell, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>CN, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a>, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>code maintainer, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>codepages, <a class="indexterm" href="unicode.html#id2669894">Features and Benefits</a></dt><dt>collating, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a></dt><dt>collisions, <a class="indexterm" href="speed.html#id2691136">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>color, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>COM1:, <a class="indexterm" href="classicalprinting.html#id2631890">Samba and Printer Ports</a></dt><dt>command-line, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a></dt><dt>command-line utility, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>commenting out setting, <a class="indexterm" href="classicalprinting.html#id2623122">Rapid Configuration Validation</a></dt><dt>commercial Linux products, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>commercial support, <a class="indexterm" href="ch47.html">Samba Support</a>, <a class="indexterm" href="ch47.html#id2692732">Commercial Support</a></dt><dt>commit the settings, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>Common Internet Filesystem (see CIFS)</dt><dt>Common restrictions, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></dt><dt>Common UNIX Printing System (see CUPS)</dt><dt>common.adm, <a class="indexterm" href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></dt><dt>comp.protocols.smb, <a class="indexterm" href="bugreport.html#id2686050">Introduction</a></dt><dt>compatible, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a>, <a class="indexterm" href="Portability.html">Portability</a></dt><dt>compile, <a class="indexterm" href="install.html#id2551936">Obtaining and Installing Samba</a></dt><dt>compile-time options, <a class="indexterm" href="classicalprinting.html#id2623122">Rapid Configuration Validation</a></dt><dt>complex file name space, <a class="indexterm" href="SambaHA.html#id2673034">A Simple Solution</a></dt><dt>complex organization, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>complexity, <a class="indexterm" href="StandAloneServer.html#id2574458">Example Configuration</a></dt><dt>compliance, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>complicated, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>complicated problem, <a class="indexterm" href="SambaHA.html#id2672534">Demultiplexing SMB Requests</a></dt><dt>comprehensive documentation, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>Computer Account, <a class="indexterm" href="domain-member.html#id2570806">Windows NT4 Client</a></dt><dt>computer account, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt><dt>computer accounts, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>Computer Management, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a>, <a class="indexterm" href="AccessControls.html#id2613247">Windows 200x/XP</a></dt><dt>Computer Name, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>computer name, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a></dt><dt>concurrent access, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>Conectiva, <a class="indexterm" href="CUPS-printing.html#id2646752">Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</a></dt><dt>config.cache, <a class="indexterm" href="domain-member.html#id2573107">Possible Errors</a></dt><dt>CONFIG.POL, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a></dt><dt>Config.POL, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659098">Windows 9x/ME Policies</a></dt><dt>configuration</dt><dd><dl><dt>documentation, <a class="indexterm" href="install.html#id2553334">Test Your Config File with testparm</a></dt></dl></dd><dt>configuration files, <a class="indexterm" href="SWAT.html#id2681115">Features and Benefits</a></dt><dt>configuration problem, <a class="indexterm" href="bugreport.html#id2686050">Introduction</a></dt><dt>configuration syntax, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a></dt><dt>configuration techniques, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>configuration too complex, <a class="indexterm" href="StandAloneServer.html#id2575441">Common Errors</a></dt><dt>configuration tool, <a class="indexterm" href="SWAT.html">SWAT: The Samba Web Administration Tool</a></dt><dt>configuration wizard, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>configure, <a class="indexterm" href="compiling.html#id2688022">Building the Binaries</a></dt><dt>configuring a firewall, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>confirm address, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>confirm the password, <a class="indexterm" href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a></dt><dt>confirm the trust, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>connect transparently, <a class="indexterm" href="SambaHA.html#id2672191">The Ultimate Goal</a></dt><dt>connection resources, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a></dt><dt>connections, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>connections.tdb, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>consistent case, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>console, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>consumer expects, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>container, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>continuity of service, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>contribute, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>Control Panel, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>convert</dt><dd><dl><dt>domain member server, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt></dl></dd><dt>converted, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a></dt><dt>copy'n'paste, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>core files, <a class="indexterm" href="bugreport.html#id2686577">Internal Errors</a></dt><dt>core graphic engine, <a class="indexterm" href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a></dt><dt>core values, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>corrupted file, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>cosine.schema, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a></dt><dt>country of origin, <a class="indexterm" href="ch47.html#id2692732">Commercial Support</a></dt><dt>CP850, <a class="indexterm" href="unicode.html#id2670080">Samba and Charsets</a></dt><dt>CP932, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>cracker, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>create, <a class="indexterm" href="AccessControls.html#id2611116">Managing Directories</a></dt><dt>Create a Computer Account, <a class="indexterm" href="domain-member.html#id2570806">Windows NT4 Client</a></dt><dt>create a domain machine account, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>create domain member, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a></dt><dt>create machine trust account, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>create partition, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>Create the Computer Account, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>create user accounts, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a></dt><dt>create volume, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>credentials, <a class="indexterm" href="ServerType.html#id2559298">User Level Security</a>, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>credentials validation, <a class="indexterm" href="samba-bdc.html#id2567537">NetBIOS Over TCP/IP Enabled</a></dt><dt>critical aspects of configuration, <a class="indexterm" href="ClientConfig.html#id2575509">Features and Benefits</a></dt><dt>crle, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>cron, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a></dt><dt>cross post, <a class="indexterm" href="problems.html#id2685744">Getting Mailing List Help</a></dt><dt>cross-segment browsing, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>cross-subnet browsing, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>CUPS, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2623522">Extended Printing Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a>, <a class="indexterm" href="CUPS-printing.html#id2632974">Features and Benefits</a>, <a class="indexterm" href="CUPS-printing.html#id2633034">Overview</a>, <a class="indexterm" href="CUPS-printing.html#id2633153">Basic CUPS Support Configuration</a>, <a class="indexterm" href="CUPS-printing.html#id2635816">Using Windows-Formatted Vendor PPDs</a></dt><dd><dl><dt>Page Accounting, <a class="indexterm" href="CUPS-printing.html#id2647435">Page Accounting with CUPS</a></dt><dt>quotas, <a class="indexterm" href="CUPS-printing.html#id2647471">Setting Up Quotas</a></dt></dl></dd><dt>CUPS API, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a>, <a class="indexterm" href="classicalprinting.html#id2625479">Default UNIX System Printing Commands</a></dt><dt>CUPS backends, <a class="indexterm" href="CUPS-printing.html#id2637934">CUPS Backends</a></dt><dt>CUPS filtering, <a class="indexterm" href="CUPS-printing.html#id2635936">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a></dt><dt>CUPS filtering chain, <a class="indexterm" href="CUPS-printing.html#id2637934">CUPS Backends</a></dt><dt>CUPS libarary API, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>CUPS PostScript, <a class="indexterm" href="CUPS-printing.html#id2642037">Caveats to Be Considered</a></dt><dt>CUPS PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2642336">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>CUPS print filters, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>CUPS raster, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2637361">pstoraster</a></dt><dt>CUPS-PPD, <a class="indexterm" href="CUPS-printing.html#id2646364">cupsomatic, pdqomatic, lpdomatic, directomatic</a></dt><dt>cups.hlp, <a class="indexterm" href="CUPS-printing.html#id2642037">Caveats to Be Considered</a></dt><dt>cupsaddsmb, <a class="indexterm" href="CUPS-printing.html#id2634728">Driver Upload Methods</a>, <a class="indexterm" href="CUPS-printing.html#id2641212">cupsaddsmb: The Unknown Utility</a>, <a class="indexterm" href="CUPS-printing.html#id2642037">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2642554">Run cupsaddsmb (Quiet Mode)</a>, <a class="indexterm" href="CUPS-printing.html#id2642694">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2642886">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2643152">cupsaddsmb with a Samba PDC</a>, <a class="indexterm" href="CUPS-printing.html#id2643233">cupsaddsmb Flowchart</a>, <a class="indexterm" href="CUPS-printing.html#id2643314">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2644132">Requirements for adddriver and setdriver to Succeed</a></dt><dt>cupsd.conf, <a class="indexterm" href="classicalprinting.html#id2625479">Default UNIX System Printing Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2633153">Basic CUPS Support Configuration</a>, <a class="indexterm" href="CUPS-printing.html#id2638521">mime.convs</a>, <a class="indexterm" href="CUPS-printing.html#id2648188">Autodeletion or Preservation of CUPS Spool Files</a></dt><dt>cupsomatic, <a class="indexterm" href="CUPS-printing.html#id2635816">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2645965">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2646364">cupsomatic, pdqomatic, lpdomatic, directomatic</a></dt><dt>currupted, <a class="indexterm" href="tdb.html#id2686919">Features and Benefits</a></dt><dt>custom scripts, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>customer expected, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>customers, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>customized print commands, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a></dt></dl></div><div class="indexdiv"><h3>D</h3><dl><dt>daemon, <a class="indexterm" href="install.html#id2552921">Starting Samba</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2654706">Requirements</a>, <a class="indexterm" href="compiling.html#id2688751">Alternative: Starting smbd as a Daemon</a></dt><dt>daemon running, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>daemons, <a class="indexterm" href="winbind.html#id2656602">Restarting</a></dt><dt>damaged data, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>data caching, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>data corruption, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a>, <a class="indexterm" href="locking.html#id2616511">UNIX or NFS Client-Accessed Files</a></dt><dt>data interchange, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>data stream, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a></dt><dt>database, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676324">Quick Migration Guide</a></dt><dt>DatabaseFS, <a class="indexterm" href="VFS.html#id2652755">DatabaseFS</a></dt><dt>DAVE, <a class="indexterm" href="Other-Clients.html#id2689706">Macintosh Clients</a></dt><dt>dbx, <a class="indexterm" href="bugreport.html#id2686577">Internal Errors</a></dt><dt>DCE RPC, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a></dt><dt>DDK, <a class="indexterm" href="CUPS-printing.html#id2641102">PostScript Drivers with No Major Problems, Even in Kernel
    3 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id2641591">CUPS PostScript Driver for Windows NT/200x/XP</a></dt><dt>DDNS, <a class="indexterm" href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a></dt><dt>de-multiplex, <a class="indexterm" href="SambaHA.html#id2672440">The Front-End Challenge</a></dt><dt>de-multiplexing, <a class="indexterm" href="SambaHA.html#id2672534">Demultiplexing SMB Requests</a></dt><dt>Debian, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>Debian Sarge, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>debug, <a class="indexterm" href="bugreport.html#id2686577">Internal Errors</a></dt><dt>debug level, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#dbglvl">Debug Levels</a></dt><dt>debugging, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#id2686375">Debugging-Specific Operations</a></dt><dt>debugging passwords, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a></dt><dt>debugging problems, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a></dt><dt>dedicated heartbeat, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>dedicated print server, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>default accounts, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>default aliases, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a></dt><dt>default behavior, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>default devmode, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></dt><dt>default DNS setup, <a class="indexterm" href="domain-member.html#id2573400">Notes</a></dt><dt>default gateways, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>default groups, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a></dt><dt>default mapping, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a></dt><dt>default mappings, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>default print command, <a class="indexterm" href="classicalprinting.html#id2625479">Default UNIX System Printing Commands</a></dt><dt>default print commands, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>default printer, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a></dt><dt>default printing, <a class="indexterm" href="CUPS-printing.html#id2632974">Features and Benefits</a></dt><dt>default profile, <a class="indexterm" href="ProfileMgmt.html#id2663347">Default Profile for Windows Users</a>, <a class="indexterm" href="ProfileMgmt.html#id2664840">Changing the Default Profile</a></dt><dt>default settings, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>default shells, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>Default User, <a class="indexterm" href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a></dt><dt>default users, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a></dt><dt>defective hardware, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></dt><dt>deferred open, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>defined shares, <a class="indexterm" href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a></dt><dt>delegate administrative privileges, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>delegated, <a class="indexterm" href="groupmapping.html#id2597278">Important Administrative Information</a></dt><dt>delegation, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>delete, <a class="indexterm" href="AccessControls.html#id2611116">Managing Directories</a></dt><dt>delete a file, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>delete roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a></dt><dt>delete user script, <a class="indexterm" href="passdb.html#id2591481">Deleting Accounts</a></dt><dt>deleted files, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>deleted parameters, <a class="indexterm" href="upgrading-to-3.0.html#id2676823">Removed Parameters</a></dt><dt>delmem, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>demote, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt><dt>demoted, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>denial of service, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>deny, <a class="indexterm" href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a></dt><dt>deny access, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>deny modes, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>deny-none, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>DENY_ALL, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>DENY_DOS, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>DENY_FCB, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>DENY_NONE, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>DENY_READ, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>DENY_WRITE, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>deployment, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>deployment guidelines, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a></dt><dt>DES-CBC-CRC, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>DES-CBC-MD5, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt><dt>desirable solution, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>desktop cache, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>desktop profile, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>desktop profiles, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></dt><dt>deterents, <a class="indexterm" href="securing-samba.html#id2618075">Introduction</a></dt><dt>development libraries, <a class="indexterm" href="winbind.html#id2654706">Requirements</a></dt><dt>devfsd package, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>device mode, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></dt><dt>device-specific commands, <a class="indexterm" href="CUPS-printing.html#id2638977">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>DFS, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a> (see MS-DFS, Distributed File Systems)</dt><dt>DFS junction, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>DFS links, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>DFS root, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>DFS server, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>DFS tree, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>DFS-aware, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>DFS-aware clients, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>DHCP, <a class="indexterm" href="ClientConfig.html#id2575613">TCP/IP Configuration</a>, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a>, <a class="indexterm" href="DNSDHCP.html#id2692891">Features and Benefits</a></dt><dt>DHCP servers, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>DHCP-enabled, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>DHCP-enabled operation, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>diagnostic, <a class="indexterm" href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a></dt><dt>diagnostic tools, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a></dt><dt>diff, <a class="indexterm" href="bugreport.html#id2686836">Patches</a></dt><dt>differences, <a class="indexterm" href="Backup.html#id2671723">Rsync</a></dt><dt>different resources, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>differently encrypted passwords, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a></dt><dt>differing protocol, <a class="indexterm" href="upgrading-to-3.0.html#id2676324">Quick Migration Guide</a></dt><dt>dir, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>direct internet access, <a class="indexterm" href="securing-samba.html#id2618075">Introduction</a></dt><dt>directory, <a class="indexterm" href="samba-bdc.html#id2567331">Active Directory Domain Control</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="idmapper.html#id2605741">Backup Domain Controller</a></dt><dt>directory access control, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>directory access permissions, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>directory controls, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>Directory Information Tree (see DIT)</dt><dt>directory permissions, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>directory schema, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a></dt><dt>Directory Separators, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>directory server, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a></dt><dt>directory_mode, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>disable LMB, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></dt><dt>disable locking, <a class="indexterm" href="locking.html#id2615585">Features and Benefits</a></dt><dt>disable roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2661076">Disabling Roaming Profile Support</a></dt><dt>disabling oplocks, <a class="indexterm" href="locking.html#id2616635">PDM Data Shares</a></dt><dt>disass, <a class="indexterm" href="bugreport.html#id2686577">Internal Errors</a></dt><dt>disaster recovery, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>disconnect a connection, <a class="indexterm" href="ProfileMgmt.html#id2660701">NT4/200x User Profiles</a></dt><dt>disk, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>disk space, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>disparate information systems, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>display PostScript, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>displayName, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a></dt><dt>distort, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>distribute authentication systems, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>distributed, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>distributed account, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>Distributed Computing Environment (see DCE)</dt><dt>distributed directory, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>distributed file system, <a class="indexterm" href="SambaHA.html#id2672191">The Ultimate Goal</a> (see DFS)</dt><dt>Distributed File Systems, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a></dt><dt>distributed file systems, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a></dt><dt>distributed locking protocol, <a class="indexterm" href="SambaHA.html#id2673034">A Simple Solution</a></dt><dt>distribution, <a class="indexterm" href="install.html#id2553100">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>dithering algorithm, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></dt><dt>DMB, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2567390">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>DMB for a workgroup, <a class="indexterm" href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a></dt><dt>DMC, <a class="indexterm" href="idmapper.html#id2605813">Examples of IDMAP Backend Usage</a></dt><dt>DMS, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="idmapper.html#id2605813">Examples of IDMAP Backend Usage</a>, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>DN, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a>, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>DNS, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2567481">How Does a Workstation find its Domain Controller?</a>, <a class="indexterm" href="samba-bdc.html#id2567603">NetBIOS Over TCP/IP Disabled</a>, <a class="indexterm" href="domain-member.html#id2572115">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a>, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a>, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669438">DNS Lookup</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a>, <a class="indexterm" href="DNSDHCP.html#id2692891">Features and Benefits</a>, <a class="indexterm" href="DNSDHCP.html#id2693070">Example Configuration</a></dt><dd><dl><dt>Active Directory, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></dt><dt>Dynamic, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a>, <a class="indexterm" href="DNSDHCP.html#id2693161">Dynamic DNS</a></dt><dt>SRV records, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></dt></dl></dd><dt>DNS Configuration, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></dt><dt>DNS lookup, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>DNS name resolution, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>dns proxy, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a></dt><dt>DNS server, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>DNS server access, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a></dt><dt>DNS server settings, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>DNS servers, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>DNS zon, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>DNS/LDAP/ADS, <a class="indexterm" href="NetworkBrowsing.html#id2584823">Technical Overview of Browsing</a></dt><dt>document design, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>documentation, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="SWAT.html#id2681115">Features and Benefits</a>, <a class="indexterm" href="problems.html">Analyzing and Solving Samba Problems</a></dt><dt>domain, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="passdb.html#id2591394">Adding User Accounts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a></dt><dd><dl><dt>control, <a class="indexterm" href="ServerType.html#id2558991">Server Types</a></dt><dd><dl><dt>role, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt></dl></dd><dt>controller, <a class="indexterm" href="ServerType.html#id2558832">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html">Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt><dd><dl><dt>convert, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt><dt>hierarchy, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt></dl></dd><dt>controllers, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></dt><dt>groups, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></dt><dt>master</dt><dd><dl><dt>browser, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a></dt></dl></dd><dt>member, <a class="indexterm" href="ServerType.html#id2558991">Server Types</a>, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt><dd><dl><dt>server, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a></dt></dl></dd><dt>member server, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt><dt>security, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></dt><dd><dl><dt>protocols, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt></dl></dd><dt>trust account, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt></dl></dd><dt>domain access, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>domain account access policies, <a class="indexterm" href="passdb.html#id2592232">Domain Account Policy Managment</a></dt><dt>domain admin group, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a></dt><dt>domain Administrator, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>Domain Admins, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2597278">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>Domain Admins group, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a></dt><dt>domain authentication, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dt>domain context, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>domain control, <a class="indexterm" href="samba-pdc.html#id2562485">Basics of Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2568620">Common Errors</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="NT4Migration.html">Migration from NT4 PDC to Samba-3 PDC</a></dt><dd><dl><dt>backup, <a class="indexterm" href="ServerType.html#id2558991">Server Types</a></dt><dt>primary, <a class="indexterm" href="ServerType.html#id2558991">Server Types</a></dt></dl></dd><dt>domain control database (see SAM)</dt><dt>domain controller, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2566209">Essential Background Information</a>, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2567331">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2567537">NetBIOS Over TCP/IP Enabled</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a>, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a>, <a class="indexterm" href="NT4Migration.html#id2680070">Steps in Migration Process</a></dt><dt>Domain Controller, <a class="indexterm" href="CUPS-printing.html#id2642037">Caveats to Be Considered</a></dt><dt>domain controllers, <a class="indexterm" href="samba-pdc.html#id2564263">Samba ADS Domain Control</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>domain environment, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>domain global, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global group, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global groups, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain global user, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global users, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain group, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a></dt><dt>domain group settings, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain groups, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a></dt><dt>Domain Groups, <a class="indexterm" href="passdb.html#id2594483">Accounts and Groups Management</a></dt><dt>Domain Guests, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>domain information, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>domain join, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a>, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a></dt><dt>domain joining, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>domain logon, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2564316">Domain and Network Logon Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2564335">Domain Network Logon Service</a>, <a class="indexterm" href="samba-bdc.html#id2566715">Example PDC Configuration</a>, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>domain logon server, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>domain logons, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a>, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>domain management tools, <a class="indexterm" href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>domain master, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a></dt><dt>domain member, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2573679">Common Errors</a>, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a>, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="winbind.html#id2653749">Handling of Foreign SIDs</a>, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>Domain Member, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dd><dl><dt>joining, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a></dt></dl></dd><dt>domain member client, <a class="indexterm" href="groupmapping.html#id2597278">Important Administrative Information</a></dt><dt>Domain Member Client (see DMC)</dt><dt>domain member server, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a>, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>Domain Member Server (see DMS)</dt><dt>domain member servers, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>domain member workstations, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain members, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a>, <a class="indexterm" href="winbind.html#id2654592">Introduction</a></dt><dt>domain membership, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a></dt><dt>domain name, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Domain Name System (see DNS)</dt><dt>domain non-member, <a class="indexterm" href="winbind.html#id2653749">Handling of Foreign SIDs</a></dt><dt>domain policies, <a class="indexterm" href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></dt><dt>domain radio button, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>domain security, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a>, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a>, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a></dt><dt>domain security account, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>Domain Server Manager, <a class="indexterm" href="groupmapping.html#id2597396">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>domain SID, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></dt><dt>domain trust, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620141">Creating an NT4 Domain Trust</a></dt><dt>domain user, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a></dt><dt>domain user accounts, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></dt><dt>domain user manager, <a class="indexterm" href="passdb.html#id2591042">User Account Management</a></dt><dt>Domain User Manager, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2597396">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></dt><dt>Domain Users, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>domain users, <a class="indexterm" href="winbind.html#id2654706">Requirements</a>, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="winbind.html#id2657317">Conclusion</a></dt><dt>Domain Users group, <a class="indexterm" href="groupmapping.html#id2598630">Adding Domain Users to the Workstation Power Users Group</a></dt><dt>domain-level, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a></dt><dt>domain-level security, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>domain-wide browse list, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a></dt><dt>DOMAIN&lt;1B&gt;, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a></dt><dt>DOMAIN&lt;1C&gt;, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a></dt><dt>DOMAIN&lt;1D&gt;, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a></dt><dt>draft, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></dt><dt>Drive Identification, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>driver, <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a></dt><dt>driver CDROM, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a></dt><dt>driver download, <a class="indexterm" href="classicalprinting.html#id2627200">[print$] Stanza Parameters</a></dt><dt>Driver File, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a></dt><dt>driver files, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a></dt><dt>Driver Path, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a></dt><dt>dual-daemon winbindd, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>due diligence, <a class="indexterm" href="Backup.html#id2671454">Discussion of Backup Solutions</a></dt><dt>duplex, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>duplex printing, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>duplicate, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></dt><dt>duplication of information, <a class="indexterm" href="winbind.html#id2653461">Introduction</a></dt><dt>DVI, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a></dt><dt>Dynamic DNS (see DDNS)</dt><dt>Dynamic Host Configuration Protocol (see DHCP)</dt><dt>dynamic link loader, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>dynamic registration files, <a class="indexterm" href="DNSDHCP.html#id2693161">Dynamic DNS</a></dt><dt>Dynamic SMB servers, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>dynamically loadable library modules, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt></dl></div><div class="indexdiv"><h3>E</h3><dl><dt>e-Directory, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>EAs, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>economically wise, <a class="indexterm" href="SambaHA.html#id2672036">Features and Benefits</a></dt><dt>eDirectory, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>editreg, <a class="indexterm" href="PolicyMgmt.html#id2660146">Samba Editreg Toolset</a></dt><dt>efficient authentication, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>election, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>election criteria, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>election packet, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>election process, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>EMF, <a class="indexterm" href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2640259">From Windows Clients to an NT Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2640393">Driver Execution on the Server</a></dt><dt>enables clients to print, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a></dt><dt>enables NetBIOS over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>encapsulating, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>encoding, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt><dt>encryped password, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>encrypted, <a class="indexterm" href="ServerType.html#id2558832">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2560566">Password Checking</a>, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>encrypted password, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>encrypted passwords, <a class="indexterm" href="ServerType.html#id2560566">Password Checking</a>, <a class="indexterm" href="passdb.html#id2587249">Features and Benefits</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a>, <a class="indexterm" href="ProfileMgmt.html#id2662777">Profile Migration from Windows NT4/200x Server to Samba</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678169">Passdb Backends and Authentication</a></dt><dt>encrypted session, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>encryption, <a class="indexterm" href="ServerType.html#id2560291">Server Security (User Level Security)</a></dt><dt>encryption key, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a></dt><dt>encryption types, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2573400">Notes</a></dt><dt>enforcing, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>English, <a class="indexterm" href="unicode.html#id2670247">Japanese Charsets</a>, <a class="indexterm" href="SWAT.html#id2682054">Enabling SWAT Internationalization Support</a></dt><dt>Enhanced MetaFile (see EMF)</dt><dt>enterprise, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>enumdrivers, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2643723">A Check of the rpcclient man Page</a></dt><dt>enumerate domain groups, <a class="indexterm" href="winbind.html#id2653925">Microsoft Remote Procedure Calls</a></dt><dt>enumerate domain users, <a class="indexterm" href="winbind.html#id2653925">Microsoft Remote Procedure Calls</a></dt><dt>EnumJobs(), <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>enumprinters, <a class="indexterm" href="CUPS-printing.html#id2643723">A Check of the rpcclient man Page</a></dt><dt>environment variables, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a></dt><dt>EPM (see ESP meta packager)</dt><dt>Epson Stylus, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>Epson Stylus inkjet, <a class="indexterm" href="CUPS-printing.html#id2646836">Foomatic Database-Generated PPDs</a></dt><dt>equivalence, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>equivalent rights and privileges, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>error message, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a>, <a class="indexterm" href="classicalprinting.html#id2628941">Running rpcclient with adddriver</a></dt><dt>error messages, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a></dt><dt>errors that can afflict, <a class="indexterm" href="ClientConfig.html#id2578354">Common Errors</a></dt><dt>ESC/P, <a class="indexterm" href="CUPS-printing.html#id2640393">Driver Execution on the Server</a></dt><dt>ESP, <a class="indexterm" href="CUPS-printing.html#id2635579">Ghostscript: The Software RIP for Non-PostScript Printers</a></dt><dd><dl><dt>Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>meta packager, <a class="indexterm" href="CUPS-printing.html#id2641591">CUPS PostScript Driver for Windows NT/200x/XP</a></dt><dt>Print Pro, <a class="indexterm" href="CUPS-printing.html#id2640025">Sources of CUPS Drivers/PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2641974">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></dt></dl></dd><dt>ESP Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a></dt><dt>established, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>ethereal, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="problems.html#id2685187">Tcpdump</a>, <a class="indexterm" href="problems.html#id2685238">Ethereal</a>, <a class="indexterm" href="problems.html#id2685381">The Windows Network Monitor</a></dt><dt>Ethernet adapters, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>EUC-JP, <a class="indexterm" href="unicode.html#id2670247">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>eucJP-ms locale, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>Event Viewer, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657660">Remote Server Administration</a></dt><dt>Everyone - Full Control, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a></dt><dt>Everyone group, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>EVMS, <a class="indexterm" href="VFS.html#id2651827">shadow_copy</a></dt><dt>examples, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>examples/LDAP, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>execute, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>existing LDAP DIT, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a></dt><dt>expands control abilities, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>expired password, <a class="indexterm" href="passdb.html#id2591566">Changing User Accounts</a></dt><dt>explicit trust, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>explicitly set, <a class="indexterm" href="classicalprinting.html#id2623122">Rapid Configuration Validation</a></dt><dt>exploit opportunities, <a class="indexterm" href="PolicyMgmt.html#id2658804">Features and Benefits</a></dt><dt>exploitation, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>exported file system, <a class="indexterm" href="SambaHA.html#id2673034">A Simple Solution</a></dt><dt>exposed, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>extd_audit module, <a class="indexterm" href="VFS.html#id2651054">extd_audit</a></dt><dt>Extended Attributes, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>extended attributes, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>Extended BSD Printing, <a class="indexterm" href="classicalprinting.html#id2623522">Extended Printing Configuration</a></dt><dt>extended characters, <a class="indexterm" href="unicode.html#id2669946">What Are Charsets and Unicode?</a></dt><dt>extended protocol, <a class="indexterm" href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a></dt><dt>extended SAM, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>extra machine, <a class="indexterm" href="cfgsmarts.html#id2675343">Multiple Virtual Server Hosting</a></dt></dl></div><div class="indexdiv"><h3>F</h3><dl><dt>fail, <a class="indexterm" href="SambaHA.html#id2672036">Features and Benefits</a></dt><dt>failed join, <a class="indexterm" href="idmapper.html#id2605900">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a></dt><dt>failed logins, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a></dt><dt>failover communication, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>failover process, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>failover servers, <a class="indexterm" href="SambaHA.html#id2673034">A Simple Solution</a></dt><dt>fails, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></dt><dt>failure, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a></dt><dt>failure semantics, <a class="indexterm" href="SambaHA.html#id2672976">Required Modifications to Samba</a></dt><dt>fake-permissions module, <a class="indexterm" href="ProfileMgmt.html#id2663129">Mandatory Profiles</a></dt><dt>fake_permissions, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>fake_perms, <a class="indexterm" href="VFS.html#fakeperms">fake_perms</a>, <a class="indexterm" href="ProfileMgmt.html#id2663129">Mandatory Profiles</a></dt><dt>fdisk, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>Federated Identity Management (see FIM)</dt><dt>federated organizations, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>federated-identity, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>Fiber Channel, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>fickle, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a></dt><dt>fid, <a class="indexterm" href="SambaHA.html#id2672534">Demultiplexing SMB Requests</a></dt><dt>file access permissions, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>File Naming Conventions, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>file ownership, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a></dt><dt>file serving, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>File System, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dd><dl><dt>case sensitivity, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>feature comparison, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>UNIX, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>Windows, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt></dl></dd><dt>file system capabilities, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>FILE:, <a class="indexterm" href="classicalprinting.html#id2631890">Samba and Printer Ports</a></dt><dt>filemanager, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a></dt><dt>filename mangling, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>filter, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>Filter Oplock, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>FilterLimit, <a class="indexterm" href="CUPS-printing.html#id2638521">mime.convs</a></dt><dt>filters, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>FIM, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>firewall, <a class="indexterm" href="securing-samba.html#id2618075">Introduction</a>, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>firewall active, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>firewall setups, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>fixed IP address, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>fixed IP addresses, <a class="indexterm" href="ClientConfig.html#id2575613">TCP/IP Configuration</a></dt><dt>flush local locks, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>flush name cache, <a class="indexterm" href="NetworkBrowsing.html#id2586398">Flushing the Samba NetBIOS Name Cache</a></dt><dt>foomatic, <a class="indexterm" href="CUPS-printing.html#id2635816">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2646141">foomatic-rip and Foomatic Explained</a>, <a class="indexterm" href="CUPS-printing.html#id2646289">Foomatic's Strange Name</a></dt><dt>Foomatic database, <a class="indexterm" href="CUPS-printing.html#id2646836">Foomatic Database-Generated PPDs</a></dt><dt>Foomatic Printer, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></dt><dt>Foomatic tutorial, <a class="indexterm" href="CUPS-printing.html#id2646520">The Grand Unification Achieved</a></dt><dt>foomatic-rip, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2645965">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2646141">foomatic-rip and Foomatic Explained</a>, <a class="indexterm" href="CUPS-printing.html#id2646520">The Grand Unification Achieved</a></dt><dt>Foomatic/cupsomatic, <a class="indexterm" href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>force an election, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>force election, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a></dt><dt>forced synchronization, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>foreign domain, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>foreign SID, <a class="indexterm" href="winbind.html#id2653749">Handling of Foreign SIDs</a></dt><dt>foreign user, <a class="indexterm" href="winbind.html#id2653749">Handling of Foreign SIDs</a></dt><dt>FQDN, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>framing error, <a class="indexterm" href="speed.html#id2691136">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>free support, <a class="indexterm" href="ch47.html">Samba Support</a>, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>FreeBSD, <a class="indexterm" href="samba-pdc.html#id2565212">$ Cannot Be Included in Machine Name</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>freezing, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>French, <a class="indexterm" href="SWAT.html#id2682054">Enabling SWAT Internationalization Support</a></dt><dt>front-end virtual server, <a class="indexterm" href="SambaHA.html#id2672440">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2672534">Demultiplexing SMB Requests</a></dt><dt>frustrating experience, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a></dt><dt>FTP, <a class="indexterm" href="passdb.html#id2588500">Advantages of Non-Encrypted Passwords</a></dt><dt>ftp, <a class="indexterm" href="Backup.html#id2671723">Rsync</a>, <a class="indexterm" href="compiling.html#id2687810">Accessing the Samba Sources via rsync and ftp</a></dt><dt>ftp access, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftp service, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftp services, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftpd, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>full rights, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>functional components, <a class="indexterm" href="bugreport.html#id2686375">Debugging-Specific Operations</a></dt><dt>functionality, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt></dl></div><div class="indexdiv"><h3>G</h3><dl><dt>gateway address, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>gcc, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a>, <a class="indexterm" href="Portability.html#id2689135">HPUX</a></dt><dt>gdb, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#id2686577">Internal Errors</a>, <a class="indexterm" href="bugreport.html#id2686710">Attaching to a Running Process</a></dt><dt>GDI, <a class="indexterm" href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2640259">From Windows Clients to an NT Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2640393">Driver Execution on the Server</a></dt><dt>general security service application programming interface (see GSSAPI)</dt><dt>generic PostScript, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>generic raster, <a class="indexterm" href="CUPS-printing.html#id2637361">pstoraster</a></dt><dt>generic raster format, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a></dt><dt>genlogon.pl, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658393">Network Logon Script Magic</a></dt><dt>Gentoo, <a class="indexterm" href="speed.html#id2691136">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>Germany, <a class="indexterm" href="SambaHA.html#id2672157">Technical Discussion</a></dt><dt>get, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>getdriver, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2628585">Installing Driver Files into [print$]</a></dt><dt>getdriverdir, <a class="indexterm" href="CUPS-printing.html#id2643723">A Check of the rpcclient man Page</a></dt><dt>getent, <a class="indexterm" href="NetCommand.html#id2599600">Adding or Creating a New Group</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>getent group demo, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>gethostbyname() function call, <a class="indexterm" href="NetworkBrowsing.html#id2584620">Name Resolution Order</a></dt><dt>getpwnam, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>getpwnam() call, <a class="indexterm" href="upgrading-to-3.0.html#id2678073">Changes in Behavior</a></dt><dt>GetSID.exe, <a class="indexterm" href="ProfileMgmt.html#id2663064">Get SID</a></dt><dt>GhostScript, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a>, <a class="indexterm" href="CUPS-printing.html#id2635579">Ghostscript: The Software RIP for Non-PostScript Printers</a></dt><dd><dl><dt>(see also PostScript)</dt></dl></dd><dt>Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2638977">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dd><dl><dt>ESP (see ESP
    4         GhostScript)</dt></dl></dd><dt>GID, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2579095">Passdb Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2653749">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>GID numbers, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>GID range, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>GIF, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>global print command, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a></dt><dt>global right, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>global section, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>Global support, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>global-level, <a class="indexterm" href="classicalprinting.html#id2622540">Printing-Related Configuration Parameters</a></dt><dt>GNOME, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>GNU Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2637361">pstoraster</a></dt><dt>GNU GPL, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a></dt><dt>GNU tar, <a class="indexterm" href="Backup.html#id2671892">Amanda</a></dt><dt>GNU/Linux, <a class="indexterm" href="VFS.html#id2650394">Discussion</a></dt><dt>GPG, <a class="indexterm" href="compiling.html#id2687884">Verifying Samba's PGP Signature</a></dt><dt>GPL, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>gpolmig.exe, <a class="indexterm" href="PolicyMgmt.html#id2659660">Administration of Windows 200x/XP Policies</a></dt><dt>GPOs, <a class="indexterm" href="PolicyMgmt.html#id2658804">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659660">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2660333">System Startup and Logon Processing Overview</a>, <a class="indexterm" href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a></dt><dt>grace time, <a class="indexterm" href="passdb.html#id2591566">Changing User Accounts</a></dt><dt>grant rights, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>graphical objects, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>graphically illustrated client configuration, <a class="indexterm" href="ClientConfig.html#id2575509">Features and Benefits</a></dt><dt>grayscale, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></dt><dt>greater scalability, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>greatest mistake, <a class="indexterm" href="StandAloneServer.html#id2575441">Common Errors</a></dt><dt>grep, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>group, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dd><dl><dt>account, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>mapping, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt></dl></dd><dt>group account, <a class="indexterm" href="groupmapping.html#id2597278">Important Administrative Information</a>, <a class="indexterm" href="idmapper.html#id2605741">Backup Domain Controller</a></dt><dt>group accounts, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2596644">Warning: User Private Group Problems</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>group management, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></dt><dt>group mapping, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a></dt><dt>group mappings, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a></dt><dt>group membership, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>group ownership, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a></dt><dt>group permissions, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>Group Policies, <a class="indexterm" href="PolicyMgmt.html#id2658804">Features and Benefits</a></dt><dt>group policies, <a class="indexterm" href="PolicyMgmt.html#id2658804">Features and Benefits</a></dt><dt>group policy, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>Group Policy, <a class="indexterm" href="PolicyMgmt.html#id2659098">Windows 9x/ME Policies</a></dt><dt>Group Policy Container (see GPC)</dt><dt>Group Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2659098">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2660228">Windows NT4/200x</a>, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>Group Policy Objects, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a> (see GPO)</dt><dt>group policy objects (see GPOs)</dt><dt>Group Policy Template (see GPT)</dt><dt>group privileges, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a></dt><dt>group profiles, <a class="indexterm" href="ProfileMgmt.html#id2663269">Creating and Managing Group Profiles</a></dt><dt>group SID, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></dt><dt>groupadd, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2598231">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="groupmapping.html#id2598543">Adding Groups Fails</a></dt><dt>groupadd limitations, <a class="indexterm" href="groupmapping.html#id2598231">Sample smb.conf Add Group Script</a></dt><dt>groupdel, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a></dt><dt>groupmap, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a></dt><dt>groupmod, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a></dt><dt>grouppol.inf, <a class="indexterm" href="PolicyMgmt.html#id2659098">Windows 9x/ME Policies</a></dt><dt>groups, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a>, <a class="indexterm" href="PolicyMgmt.html#id2658804">Features and Benefits</a></dt><dd><dl><dt>domain, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a></dt><dt>mapping, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a></dt><dt>nested, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt></dl></dd><dt>groups of users, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>growing, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>GSSAPI, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>gtklp, <a class="indexterm" href="CUPS-printing.html#id2646836">Foomatic Database-Generated PPDs</a></dt><dt>guest, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></dt><dt>guest account, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a>, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>GUI, <a class="indexterm" href="CUPS-printing.html#id2633034">Overview</a></dt><dt>Gutenprint, <a class="indexterm" href="CUPS-printing.html#id2637715">rasterto [printers specific]</a>, <a class="indexterm" href="CUPS-printing.html#id2646648">Driver Development Outside</a></dt></dl></div><div class="indexdiv"><h3>H</h3><dl><dt>h-node, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>harvesting password hashes, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>hashed password equivalent, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>headers files, <a class="indexterm" href="domain-member.html#id2573107">Possible Errors</a></dt><dt>Heimdal, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>Heimdal kerberos, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a></dt><dt>help, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>help command, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>heterogeneous computing, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a></dt><dt>HEX, <a class="indexterm" href="unicode.html#id2670247">Japanese Charsets</a></dt><dt>hi-res photo, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></dt><dt>high availability, <a class="indexterm" href="SambaHA.html#id2672036">Features and Benefits</a></dt><dt>high order ports, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>high-availability, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>high-availability services, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>high-speed server interconnect, <a class="indexterm" href="SambaHA.html#id2673034">A Simple Solution</a></dt><dt>higher availability, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>HKEY_CURRENT_USER, <a class="indexterm" href="ProfileMgmt.html#id2663529">MS Windows NT4 Workstation</a></dt><dt>HKEY_LOCAL_MACHINE, <a class="indexterm" href="PolicyMgmt.html#id2659418">Registry Spoiling</a></dt><dt>holy grail, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a></dt><dt>home directories, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a>, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>home directory, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>home directory template, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>home drive, <a class="indexterm" href="samba-bdc.html#id2566715">Example PDC Configuration</a></dt><dt>host multiple servers, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>host security, <a class="indexterm" href="securing-samba.html#id2618174">Features and Benefits</a></dt><dt>host-based protection, <a class="indexterm" href="securing-samba.html#id2618174">Features and Benefits</a></dt><dt>hostname, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>hosts allow, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>hosts deny, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>house-keeping, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>HOWTO documents, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a></dt><dt>HP JetDirect, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>HP Photosmart, <a class="indexterm" href="CUPS-printing.html#id2646836">Foomatic Database-Generated PPDs</a></dt><dt>HP-GL, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>HP-GL., <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a></dt><dt>hpgltops, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a></dt><dt>HPIJS, <a class="indexterm" href="CUPS-printing.html#id2646648">Driver Development Outside</a></dt><dt>HPUX, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>http, <a class="indexterm" href="Backup.html#id2671723">Rsync</a></dt><dt>hybrid, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>Hybrid node, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt></dl></div><div class="indexdiv"><h3>I</h3><dl><dt>IANA, <a class="indexterm" href="CUPS-printing.html#id2637361">pstoraster</a></dt><dt>ID mapping, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>ID mapping database, <a class="indexterm" href="winbind.html#id2654453">User and Group ID Allocation</a></dt><dt>ID range, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a></dt><dt>IDEALX, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a></dt><dt>Identification, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>identify, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a></dt><dt>identity, <a class="indexterm" href="idmapper.html#id2604493">Standalone Samba Server</a></dt><dt>identity information, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>identity management, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dd><dl><dt>centralized, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt></dl></dd><dt>identity resolution, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a></dt><dt>IDMAP, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604493">Standalone Samba Server</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a></dt><dt>idmap, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>idmap backend, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678922">IdMap LDAP Support</a></dt><dt>IDMAP backend, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>idmap gid, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a></dt><dt>idmap GID, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>IDMAP infrastructure, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>idmap uid, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a></dt><dt>idmap UID, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>idmap_ad, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>idmap_ldap module, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>idmap_rid, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a></dt><dt>IETF, <a class="indexterm" href="CUPS-printing.html#id2633034">Overview</a></dt><dt>ifconfig, <a class="indexterm" href="compiling.html#id2688531">Starting from inetd.conf</a>, <a class="indexterm" href="speed.html#id2691136">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>ignore connection, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>imagetoraster, <a class="indexterm" href="CUPS-printing.html#id2637630">imagetops and imagetoraster</a></dt><dt>immutible, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>impersonate, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>implementing oplocks, <a class="indexterm" href="locking.html#id2616792">Advanced Samba Oplocks Parameters</a></dt><dt>Implicit Classes, <a class="indexterm" href="CUPS-printing.html#id2650045">Print Queue Called lp Mishandles Print Jobs</a></dt><dt>important announcements, <a class="indexterm" href="securing-samba.html#id2619099">Upgrading Samba</a></dt><dt>Imprints, <a class="indexterm" href="classicalprinting.html#id2632036">The Imprints Toolset</a></dt><dt>imprints, <a class="indexterm" href="CUPS-printing.html#id2634728">Driver Upload Methods</a></dt><dt>include, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>independent, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a>, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>individual domain user, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>individual section, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>inetd, <a class="indexterm" href="SWAT.html#id2681264">Validate SWAT Installation</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a>, <a class="indexterm" href="compiling.html#startingSamba">Starting the smbd nmbd and winbindd</a>, <a class="indexterm" href="compiling.html#id2688531">Starting from inetd.conf</a></dt><dt>inetd.conf, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>inetorgperson.schema, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a></dt><dt>inf file, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a></dt><dt>infrastructure, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a>, <a class="indexterm" href="winbind.html#id2653704">Target Uses</a></dt><dt>inheritance, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>inherits rights, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a></dt><dt>initdb.ldif, <a class="indexterm" href="FastStart.html#id2557721">The Primary Domain Controller</a></dt><dt>initGroups.sh, <a class="indexterm" href="FastStart.html#id2556907">Example: Engineering Office</a>, <a class="indexterm" href="groupmapping.html#id2598403">Script to Configure Group Mapping</a>, <a class="indexterm" href="NT4Migration.html#id2680070">Steps in Migration Process</a></dt><dt>inktype, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></dt><dt>insecure, <a class="indexterm" href="StandAloneServer.html#id2574163">Features and Benefits</a>, <a class="indexterm" href="securing-samba.html#id2618336">Using Host-Based Protection</a></dt><dt>inspire simplicity, <a class="indexterm" href="StandAloneServer.html#id2574458">Example Configuration</a></dt><dt>inspired structure, <a class="indexterm" href="SambaHA.html#id2672157">Technical Discussion</a></dt><dt>install drivers, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2626693">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>interactive help, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>interdomain</dt><dd><dl><dt>trust</dt><dd><dl><dt>account, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt></dl></dd><dt>trustrs, <a class="indexterm" href="ServerType.html#id2558832">Features and Benefits</a></dt></dl></dd><dt>interdomain connection, <a class="indexterm" href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a></dt><dt>interdomain trust, <a class="indexterm" href="InterdomainTrusts.html#id2620532">Configuring Samba NT-Style Domain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>interdomain trust accounts, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a></dt><dt>interdomain trusts, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619747">Features and Benefits</a></dt><dt>Interdomain Trusts, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dd><dl><dt>Completing, <a class="indexterm" href="InterdomainTrusts.html#id2620238">Completing an NT4 Domain Trust</a></dt><dt>creating, <a class="indexterm" href="InterdomainTrusts.html#id2620105">Native MS Windows NT4 Trusts Configuration</a></dt><dt>Facilities, <a class="indexterm" href="InterdomainTrusts.html#id2620323">Interdomain Trust Facilities</a></dt></dl></dd><dt>interface, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>interface scripts, <a class="indexterm" href="passdb.html#id2591042">User Account Management</a></dt><dt>interface-based exclusion, <a class="indexterm" href="securing-samba.html#id2618174">Features and Benefits</a></dt><dt>interfaces, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a>, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>intermediate information, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a></dt><dt>intermediate tools, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>internal ordering, <a class="indexterm" href="SWAT.html#id2681115">Features and Benefits</a></dt><dt>internationalization support, <a class="indexterm" href="SWAT.html#id2681245">Guidelines and Technical Tips</a></dt><dt>Internet, <a class="indexterm" href="securing-samba.html#id2618336">Using Host-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>Internet Engineering Task Force (see IETF)</dt><dt>Internet Printing Protocol (see IPP)</dt><dt>Internet Protocol TCP/IP, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>Internetworking Packet Exchange (see IPX)</dt><dt>internetworking super daemon, <a class="indexterm" href="SWAT.html#id2681115">Features and Benefits</a></dt><dt>interoperability, <a class="indexterm" href="ServerType.html#id2558832">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="SambaHA.html#id2672767">Restrictive Constraints on Distributed File Systems</a></dt><dt>intolerance, <a class="indexterm" href="SambaHA.html#id2672036">Features and Benefits</a></dt><dt>invalid shell, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a></dt><dt>invalid users, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>IP address, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>IP address automatically, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>IP addresses, <a class="indexterm" href="integrate-ms-networks.html#id2668313">/etc/hosts</a></dt><dt>IP aliases, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>IPC$, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a>, <a class="indexterm" href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a></dt><dt>IPC$ connections, <a class="indexterm" href="SambaHA.html#id2672440">The Front-End Challenge</a></dt><dt>ipchains, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>ipconfig, <a class="indexterm" href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a></dt><dt>iPlanet, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>IPP, <a class="indexterm" href="CUPS-printing.html#id2642886">Understanding cupsaddsmb</a></dt><dt>IPP client, <a class="indexterm" href="CUPS-printing.html#id2649445">Administrator Cannot Install Printers for All Local Users</a></dt><dt>iptables, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>IPX, <a class="indexterm" href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a></dt><dt>IRC, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>IRIX, <a class="indexterm" href="VFS.html#id2650394">Discussion</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>ISC</dt><dd><dl><dt>DHCP, <a class="indexterm" href="DNSDHCP.html#id2692891">Features and Benefits</a></dt><dt>DNS, <a class="indexterm" href="DNSDHCP.html#id2692891">Features and Benefits</a></dt></dl></dd><dt>ISC DHCP server, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>isolated workgroup, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></dt><dt>IXFR, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a></dt></dl></div><div class="indexdiv"><h3>J</h3><dl><dt>Japanese, <a class="indexterm" href="unicode.html#id2670247">Japanese Charsets</a>, <a class="indexterm" href="SWAT.html#id2682054">Enabling SWAT Internationalization Support</a></dt><dt>Japanese locale, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>Japanese UNIX, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>Java, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>JIS X 0208, <a class="indexterm" href="unicode.html#id2670247">Japanese Charsets</a></dt><dt>join, <a class="indexterm" href="idmapper.html#id2605900">NT4-Style Domains (Includes Samba Domains)</a></dt><dt>join client, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>join domain, <a class="indexterm" href="samba-pdc.html#id2565312">Joining Domain Fails Because of Existing Machine Account</a></dt><dt>join the ADS domain, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>join the domain, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>join the machine, <a class="indexterm" href="domain-member.html#id2570806">Windows NT4 Client</a></dt><dt>joined client, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>Joined domain, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>joining domain, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a></dt><dt>joining the domain, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>JPEG, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt></dl></div><div class="indexdiv"><h3>K</h3><dl><dt>KB 129202, <a class="indexterm" href="locking.html#id2617901">Additional Reading</a></dt><dt>KB 224992, <a class="indexterm" href="locking.html#id2617901">Additional Reading</a></dt><dt>KB 296264, <a class="indexterm" href="locking.html#id2617901">Additional Reading</a></dt><dt>KB 811492, <a class="indexterm" href="locking.html#id2617869">Long Delays Deleting Files over Network with XP SP1</a></dt><dt>KB 812937, <a class="indexterm" href="locking.html#id2617845">Problems Saving Files in MS Office on Windows XP</a></dt><dt>KDC, <a class="indexterm" href="domain-member.html#ads-member">Samba ADS Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>KDE, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>KDE konqueror, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>KDE session, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>KDEPrint, <a class="indexterm" href="CUPS-printing.html#id2633034">Overview</a></dt><dt>kerberos, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a></dt><dt>Kerberos, <a class="indexterm" href="domain-member.html#ads-member">Samba ADS Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2573107">Possible Errors</a>, <a class="indexterm" href="domain-member.html#ads-test-smbclient">Testing with smbclient</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a>, <a class="indexterm" href="winbind.html#id2654018">Microsoft Active Directory Services</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678169">Passdb Backends and Authentication</a></dt><dd><dl><dt>/etc/krb5.conf, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt></dl></dd><dt>Kerberos authentication, <a class="indexterm" href="domain-member.html#ads-test-smbclient">Testing with smbclient</a></dt><dt>killall, <a class="indexterm" href="compiling.html#id2688531">Starting from inetd.conf</a></dt><dt>kinit, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a>, <a class="indexterm" href="domain-member.html#id2573107">Possible Errors</a></dt><dt>kixstart, <a class="indexterm" href="NT4Migration.html#id2679910">Logon Scripts</a></dt><dt>kprinter, <a class="indexterm" href="CUPS-printing.html#id2646836">Foomatic Database-Generated PPDs</a></dt><dt>KRB, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a></dt><dt>KRB5, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>krb5.conf, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt></dl></div><div class="indexdiv"><h3>L</h3><dl><dt>LAN, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a>, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a>, <a class="indexterm" href="problems.html#id2684879">Diagnostics Tools</a></dt><dt>LanMan, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2566209">Essential Background Information</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>LanMan logon service, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a></dt><dt>LanMan passwords, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a></dt><dt>LanManager, <a class="indexterm" href="ServerType.html#id2559298">User Level Security</a>, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>LanManager-compatible, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a></dt><dt>LanManger password, <a class="indexterm" href="passdb.html#id2591158">Listing User and Machine Accounts</a></dt><dt>laptops, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a></dt><dt>large directory, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>large domain, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a></dt><dt>large numbers of files, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>large organizations, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>last change time, <a class="indexterm" href="passdb.html#id2591158">Listing User and Machine Accounts</a></dt><dt>latency, <a class="indexterm" href="locking.html#id2616546">Slow and/or Unreliable Networks</a></dt><dt>laws, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>LCT (see last change time)</dt><dt>LDAP, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="samba-bdc.html#id2568879">Can I Do This All with LDAP?</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a>, <a class="indexterm" href="passdb.html#id2593320">Supported LDAP Servers</a>, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a>, <a class="indexterm" href="passdb.html#id2594059">Configuring Samba</a>, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605741">Backup Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619747">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a>, <a class="indexterm" href="winbind.html#id2654018">Microsoft Active Directory Services</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678169">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dd><dl><dt>directories, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>master, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></dt><dt>server, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></dt><dt>slave, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></dt></dl></dd><dt>LDAP administration password, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a></dt><dt>LDAP administrative password, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>LDAP backend, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676324">Quick Migration Guide</a></dt><dt>LDAP backends, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>LDAP database, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a>, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>LDAP deployment, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>LDAP directory, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>ldap group suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678757">New Suffix for Searching</a></dt><dt>LDAP idmap Backend, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>ldap idmap suffix, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678757">New Suffix for Searching</a></dt><dt>ldap machine suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2678757">New Suffix for Searching</a></dt><dt>LDAP queries, <a class="indexterm" href="upgrading-to-3.0.html#id2678757">New Suffix for Searching</a></dt><dt>LDAP redirects, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>LDAP schema, <a class="indexterm" href="ChangeNotes.html#id2579276">LDAP Changes in Samba-3.0.23</a></dt><dt>LDAP server, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>ldap suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678757">New Suffix for Searching</a></dt><dt>ldap user suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2678757">New Suffix for Searching</a></dt><dt>LDAP-based, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>LDAP., <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a></dt><dt>LDAP/Kerberos, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>LDAPS, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>ldapsam, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a>, <a class="indexterm" href="passdb.html#id2593320">Supported LDAP Servers</a>, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a>, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>ldapsam_compat, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>ldapsearch, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>LDAPv3, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>ldconfig, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>ldd, <a class="indexterm" href="CUPS-printing.html#id2633268">Linking smbd with libcups.so</a></dt><dt>LDIF, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>LDIF file, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a></dt><dt>legacy systems, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>legal UNIX system account name, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></dt><dt>Level1 Oplock, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>Level1 oplock, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>Level2 Oplock, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>LGPL, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a></dt><dt>libcups, <a class="indexterm" href="classicalprinting.html#id2625479">Default UNIX System Printing Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2633268">Linking smbd with libcups.so</a></dt><dt>libcups.so, <a class="indexterm" href="CUPS-printing.html#id2633268">Linking smbd with libcups.so</a></dt><dt>libcups.so.2, <a class="indexterm" href="CUPS-printing.html#id2633268">Linking smbd with libcups.so</a></dt><dt>Liberty Alliance, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>libiconv, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>libnss_winbind, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>libnss_winbind.so, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>libnss_wins.so, <a class="indexterm" href="integrate-ms-networks.html#id2668589">/etc/nsswitch.conf</a></dt><dt>libraries, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>licensing, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>limitations, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>linewidth, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>link loader configuration, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>Links</dt><dd><dl><dt>hard, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>soft, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt></dl></dd><dt>Linux, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>Linux High Availability project, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>Linux LVM, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>Linux LVM partition, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>LinuxKongress2002, <a class="indexterm" href="CUPS-printing.html#id2646520">The Grand Unification Achieved</a></dt><dt>Linuxprinting.org, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2645965">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2646648">Driver Development Outside</a></dt><dt>list of domain controllers, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>listen for connections, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>listen own socket, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>LLC, <a class="indexterm" href="integrate-ms-networks.html">Integrating MS Windows Networks with Samba</a></dt><dt>LM/NT password hashes, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>LMB, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583498">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a> (see Local Master Browser)</dt><dt>LMHOSTS, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669234">The LMHOSTS File</a></dt><dt>lmhosts, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a></dt><dt>load balancing, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>loaded modules, <a class="indexterm" href="VFS.html#id2650356">Features and Benefits</a></dt><dt>loading printer drivers, <a class="indexterm" href="classicalprinting.html#id2625108">Any [my_printer_name] Section</a></dt><dt>local</dt><dd><dl><dt>groups, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></dt><dt>master</dt><dd><dl><dt>browser, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a></dt></dl></dd></dl></dd><dt>local access permissions, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>local accounts, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>local administrative privileges, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>Local Area Connection, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>Local Area Connection Properties, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>local authentication, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a></dt><dt>local authentication database, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a></dt><dt>local cache, <a class="indexterm" href="integrate-ms-networks.html#id2669148">The NetBIOS Name Cache</a></dt><dt>local disk, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a></dt><dt>local domain, <a class="indexterm" href="winbind.html#id2653749">Handling of Foreign SIDs</a></dt><dt>local group, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>local groups, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a></dt><dt>Local Machine Trust Account, <a class="indexterm" href="samba-bdc.html#id2568664">Machine Accounts Keep Expiring</a></dt><dt>Local Master Browser, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583358">Use of the Remote Announce Parameter</a></dt><dt>local master browser (see LMB)</dt><dt>local names, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>local print driver, <a class="indexterm" href="classicalprinting.html#id2627200">[print$] Stanza Parameters</a></dt><dt>local profile, <a class="indexterm" href="ProfileMgmt.html#id2661076">Disabling Roaming Profile Support</a>, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>local profiles, <a class="indexterm" href="ProfileMgmt.html#id2660587">Features and Benefits</a></dt><dt>local registry values, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a></dt><dt>Local security policies, <a class="indexterm" href="CUPS-printing.html#id2649412">Windows 200x/XP Local Security Policies</a></dt><dt>local smbpasswd file, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a></dt><dt>local spool area, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a></dt><dt>local subnet, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>local system printing, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a></dt><dt>local UNIX groups, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dt>local user, <a class="indexterm" href="idmapper.html#id2604493">Standalone Samba Server</a>, <a class="indexterm" href="winbind.html#id2656602">Restarting</a></dt><dt>local user account, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>local users, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a></dt><dt>locale, <a class="indexterm" href="SWAT.html#id2682054">Enabling SWAT Internationalization Support</a></dt><dt>localhost, <a class="indexterm" href="securing-samba.html#id2618336">Using Host-Based Protection</a></dt><dt>locally known UID, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>locate domain controller, <a class="indexterm" href="samba-bdc.html#id2567481">How Does a Workstation find its Domain Controller?</a></dt><dt>Lock caching, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>lock directory, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>lock password, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>lock the account, <a class="indexterm" href="passdb.html#id2591566">Changing User Accounts</a></dt><dt>locking, <a class="indexterm" href="locking.html">File and Record Locking</a>, <a class="indexterm" href="locking.html#id2615585">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2615682">Discussion</a>, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a></dt><dt>locking protocol, <a class="indexterm" href="locking.html#id2615585">Features and Benefits</a></dt><dt>locking semantics, <a class="indexterm" href="locking.html#id2615585">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>locking.tdb, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>lockout, <a class="indexterm" href="ServerType.html#id2560468">Example Configuration</a></dt><dt>log files, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a></dt><dd><dl><dt>monitoring, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a></dt></dl></dd><dt>log level, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a>, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#dbglvl">Debug Levels</a></dt><dt>log.nmbd, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>logging, <a class="indexterm" href="VFS.html#id2651211">Configuration of Auditing</a>, <a class="indexterm" href="bugreport.html#id2686375">Debugging-Specific Operations</a></dt><dt>logical directories, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>Logical Link Control (see LLC)</dt><dt>logical volume, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>Logical Volume Manager (see LVM)</dt><dt>Login, <a class="indexterm" href="passdb.html#id2588500">Advantages of Non-Encrypted Passwords</a></dt><dt>login, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>login id, <a class="indexterm" href="passdb.html#id2591158">Listing User and Machine Accounts</a></dt><dt>login name, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>login shells, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>LoginID, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>logon, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></dt><dt>logon authentication, <a class="indexterm" href="samba-bdc.html#id2567603">NetBIOS Over TCP/IP Disabled</a></dt><dt>logon drive, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>logon home, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2660841">Windows 9x/Me User Profiles</a></dt><dt>logon name, <a class="indexterm" href="NetCommand.html#id2601256">User Mapping</a></dt><dt>logon path, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>logon processing, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>logon requests, <a class="indexterm" href="samba-bdc.html#id2566209">Essential Background Information</a>, <a class="indexterm" href="samba-bdc.html#id2567537">NetBIOS Over TCP/IP Enabled</a>, <a class="indexterm" href="samba-bdc.html#id2568719">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></dt><dt>logon script, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a></dt><dt>Logon Scripts, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>Logon scripts, <a class="indexterm" href="NT4Migration.html#id2679910">Logon Scripts</a></dt><dt>logon server, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ProfileMgmt.html#id2663529">MS Windows NT4 Workstation</a></dt><dt>logons, <a class="indexterm" href="ProfileMgmt.html#id2660701">NT4/200x User Profiles</a></dt><dt>lookups, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>loopback adapter, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>loopback interface, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a>, <a class="indexterm" href="Portability.html#id2689420">Red Hat Linux</a></dt><dt>lower-case, <a class="indexterm" href="ServerType.html#id2559298">User Level Security</a></dt><dt>lowercase filenames, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>lp, <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a>, <a class="indexterm" href="CUPS-printing.html#id2650045">Print Queue Called lp Mishandles Print Jobs</a></dt><dt>lpadmin, <a class="indexterm" href="CUPS-printing.html#id2638590">Raw Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2640148">Printing with Interface Scripts</a>, <a class="indexterm" href="CUPS-printing.html#id2645965">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2647471">Setting Up Quotas</a></dt><dt>LPD, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>lpinfo, <a class="indexterm" href="CUPS-printing.html#id2637934">CUPS Backends</a></dt><dt>lpq cache time, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>lpq command, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>LPRNG, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>lpstat, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a>, <a class="indexterm" href="CUPS-printing.html#id2645315">Troubleshooting Revisited</a></dt><dt>LPT1:, <a class="indexterm" href="classicalprinting.html#id2631890">Samba and Printer Ports</a></dt><dt>LsaEnumTrustedDomains, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a></dt><dt>LTSP, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>Lustre, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a></dt><dt>lvcreate, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>LVM, <a class="indexterm" href="VFS.html#id2651827">shadow_copy</a>, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>LVM snapshots, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>LVM volume, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>lvm10 package, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt></dl></div><div class="indexdiv"><h3>M</h3><dl><dt>m-node, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>MAC address, <a class="indexterm" href="integrate-ms-networks.html#id2668313">/etc/hosts</a></dt><dt>MAC Addresses, <a class="indexterm" href="integrate-ms-networks.html#id2668313">/etc/hosts</a></dt><dt>Mac OS X , <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>machine, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a></dt><dd><dl><dt>account, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>machine account, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>machine account password</dt><dd><dl><dt>change protocol, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt></dl></dd><dt>machine accounts, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>machine accounts database, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>machine authentication, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>machine name, <a class="indexterm" href="integrate-ms-networks.html#id2668313">/etc/hosts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a></dt><dt>Machine Policy Objects, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>machine SID, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></dt><dt>machine trust account, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a>, <a class="indexterm" href="domain-member.html#id2573719">Cannot Add Machine Back to Domain</a></dt><dd><dl><dt>create privilege, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a></dt><dt>creation, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>password, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt></dl></dd><dt>Machine Trust Account, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2570806">Windows NT4 Client</a></dt><dd><dl><dt>creation, <a class="indexterm" href="domain-member.html#id2570526">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>password, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></dt><dt>UNIX account, <a class="indexterm" href="domain-member.html#id2570526">On-the-Fly Creation of Machine Trust Accounts</a></dt></dl></dd><dt>Machine Trust Accounts, <a class="indexterm" href="samba-bdc.html#id2568664">Machine Accounts Keep Expiring</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dd><dl><dt>creating, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt></dl></dd><dt>machine trust accounts, <a class="indexterm" href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="domain-member.html#id2573679">Common Errors</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a></dt><dt>machine_name, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></dt><dt>machine_nickname, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></dt><dt>Macintosh, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>macros, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a></dt><dt>mail, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>mailing list, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>mailing lists, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>maintaining ids, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>major changes, <a class="indexterm" href="upgrading-to-3.0.html#id2677694">New Functionality</a></dt><dt>make, <a class="indexterm" href="integrate-ms-networks.html#id2668589">/etc/nsswitch.conf</a>, <a class="indexterm" href="compiling.html#id2688022">Building the Binaries</a></dt><dt>man, <a class="indexterm" href="SWAT.html#id2681115">Features and Benefits</a></dt><dt>man page, <a class="indexterm" href="winbind.html#id2655457">Configure smb.conf</a></dt><dt>man pages, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dt>man-in-the-middle, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>manage accounts, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>manage drivers, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>manage groups, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>manage printers, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>manage privileges, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a></dt><dt>manage roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2660587">Features and Benefits</a></dt><dt>manage share permissions, <a class="indexterm" href="AccessControls.html#id2613141">Windows NT4 Workstation/Server</a></dt><dt>manage share-level ACL, <a class="indexterm" href="groupmapping.html#id2597396">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>manage shares, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>manage users, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>manageability, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>Manageability, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>managed by humans, <a class="indexterm" href="SambaHA.html#id2672036">Features and Benefits</a></dt><dt>management bottleneck, <a class="indexterm" href="locking.html#id2616594">Multiuser Databases</a></dt><dt>management costs, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>management overheads, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>management procedures, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>management tools, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a></dt><dt>managing rights, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>mandatory profiles, <a class="indexterm" href="ProfileMgmt.html#id2663129">Mandatory Profiles</a></dt><dt>Mandrake, <a class="indexterm" href="CUPS-printing.html#id2646752">Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</a></dt><dt>Mandriva, <a class="indexterm" href="CUPS-printing.html#id2646752">Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</a></dt><dt>manual UNIX account creation, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>manual WINS server entries, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>manually configured, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>manually configured DNS settings, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>map, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="NT4Migration.html#id2680021">User and Group Accounts</a></dt><dt>mapped, <a class="indexterm" href="groupmapping.html#id2597278">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>mapping, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>mapping home directory, <a class="indexterm" href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a></dt><dt>mapping printer driver, <a class="indexterm" href="classicalprinting.html#id2629548">Running rpcclient with setdriver</a></dt><dt>mappings, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>maps UNIX users and groups, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>master browser, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>master browsers, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>master server, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>master smb.conf, <a class="indexterm" href="cfgsmarts.html#id2675343">Multiple Virtual Server Hosting</a></dt><dt>MasterAnnouncement, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>match case, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>maximum value, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>mbd kept spawning, <a class="indexterm" href="speed.html#id2691227">Corrupt tdb Files</a></dt><dt>Meccano set, <a class="indexterm" href="Backup.html#id2671454">Discussion of Backup Solutions</a></dt><dt>mechanism, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>media type, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></dt><dt>member, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>member machine, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>memory, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>messages.tdb, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>messaging systems, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>Meta node, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>meta-directory, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>meta-service, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt><dt>meta-services, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>Microsoft Active Directory, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>Microsoft Developer Network CDs, <a class="indexterm" href="problems.html#id2685381">The Windows Network Monitor</a></dt><dt>Microsoft driver, <a class="indexterm" href="CUPS-printing.html#id2641102">PostScript Drivers with No Major Problems, Even in Kernel
    5 Mode</a></dt><dt>Microsoft management console (see MMC)</dt><dt>Microsoft Remote Procedure Call (see MSRPC)</dt><dt>Microsoft Windows 9x/Me, <a class="indexterm" href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>Microsoft Wolfpack, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>middle-ware, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>migrate, <a class="indexterm" href="ServerType.html">Server Types and Security Modes</a>, <a class="indexterm" href="NT4Migration.html">Migration from NT4 PDC to Samba-3 PDC</a></dt><dt>migrate account settings, <a class="indexterm" href="NT4Migration.html#id2680021">User and Group Accounts</a></dt><dt>migrate group, <a class="indexterm" href="NT4Migration.html#id2680021">User and Group Accounts</a></dt><dt>migrate user, <a class="indexterm" href="NT4Migration.html#id2680021">User and Group Accounts</a></dt><dt>migrating, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>migration, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>migration plan, <a class="indexterm" href="NT4Migration.html#id2679090">Planning and Getting Started</a></dt><dt>migration process, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>MIME, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2636848">Filtering  Overview</a>, <a class="indexterm" href="CUPS-printing.html#id2638698">application/octet-stream Printing</a></dt><dd><dl><dt>filters, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>raw, <a class="indexterm" href="FastStart.html#id2554870">Anonymous Print Server</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a></dt></dl></dd><dt>MIME conversion rules, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a></dt><dt>MIME recognition, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a></dt><dt>MIME type, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a>, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2638698">application/octet-stream Printing</a></dt><dt>mime.types, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>minimal</dt><dd><dl><dt>configuration, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt></dl></dd><dt>minimal configuration, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt><dt>minimum security control, <a class="indexterm" href="StandAloneServer.html">Standalone Servers</a></dt><dt>misconfigurations, <a class="indexterm" href="install.html#id2553334">Test Your Config File with testparm</a></dt><dt>misconfigured settings, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a></dt><dt>misinformation, <a class="indexterm" href="domain-member.html">Domain Membership</a></dt><dt>mission-critical, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a>, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>MIT, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a></dt><dt>MIT kerberos, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a></dt><dt>MIT Kerberos, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>mixed mode, <a class="indexterm" href="ServerType.html#id2560148">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>mixed profile, <a class="indexterm" href="ProfileMgmt.html#id2660998">Mixed Windows Windows 9x/Me and NT4/200x User Profiles</a></dt><dt>mkdir, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>mkfs.xfs, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>MMC, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a>, <a class="indexterm" href="AccessControls.html#id2613247">Windows 200x/XP</a>, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2660228">Windows NT4/200x</a>, <a class="indexterm" href="ProfileMgmt.html#id2661076">Disabling Roaming Profile Support</a></dt><dt>MMC snap-in, <a class="indexterm" href="PolicyMgmt.html#id2659660">Administration of Windows 200x/XP Policies</a></dt><dt>modem/ISDN, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>moderately secure, <a class="indexterm" href="securing-samba.html#id2618174">Features and Benefits</a></dt><dt>modprobe, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>module, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>modules, <a class="indexterm" href="VFS.html#id2650356">Features and Benefits</a>, <a class="indexterm" href="VFS.html#id2650394">Discussion</a></dt><dt>more than one protocol, <a class="indexterm" href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a></dt><dt>mount, <a class="indexterm" href="ServerType.html#id2559461">Share-Level Security</a>, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>mouse-over, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>moveuser.exe, <a class="indexterm" href="ProfileMgmt.html#id2663022">moveuser.exe</a></dt><dt>MS DCE RPC, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a></dt><dt>MS Windows 2000, <a class="indexterm" href="samba-bdc.html#id2567331">Active Directory Domain Control</a></dt><dt>MS Windows NT4/200x, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>MS Windows SID, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>MS WINS, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a></dt><dt>MS-DFS, <a class="indexterm" href="SambaHA.html#id2673255">MS-DFS: The Poor Man's Cluster</a></dt><dt>MS-RPC, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>MS-WINS replication, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>msdfs links, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>msg, <a class="indexterm" href="SWAT.html#id2682054">Enabling SWAT Internationalization Support</a></dt><dt>msg file, <a class="indexterm" href="SWAT.html#id2682054">Enabling SWAT Internationalization Support</a></dt><dt>MSRPC, <a class="indexterm" href="winbind.html#id2653925">Microsoft Remote Procedure Calls</a>, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a></dt><dt>multibyte character sets, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>multibyte charsets, <a class="indexterm" href="unicode.html#id2669946">What Are Charsets and Unicode?</a></dt><dt>multiple backends, <a class="indexterm" href="passdb.html#id2592519">Password Backends</a></dt><dt>multiple domains, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>multiple hosting, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>multiple modules, <a class="indexterm" href="VFS.html#id2650394">Discussion</a></dt><dt>multiple network interfaces, <a class="indexterm" href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a></dt><dt>multiple network segments, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>multiple personality, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>multiple server hosting, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>multiple server personalities, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>multiple servers, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a>, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>multiple universal naming convention provider (see MUP)</dt><dt>multiple VFS, <a class="indexterm" href="VFS.html#id2650394">Discussion</a></dt><dt>multiple virtual servers, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>multiple Windows workgroups or domains, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>multiple WINS servers, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>Multiuser databases, <a class="indexterm" href="locking.html#id2616594">Multiuser Databases</a></dt><dt>mutual assistance, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>mutually exclusive options, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a></dt><dt>My Network Places, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a></dt><dt>Myrinet, <a class="indexterm" href="SambaHA.html#id2672922">Server Pool Communications Demands</a></dt></dl></div><div class="indexdiv"><h3>N</h3><dl><dt>n security context, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>n-memory buffer, <a class="indexterm" href="integrate-ms-networks.html#id2669148">The NetBIOS Name Cache</a></dt><dt>name conflict, <a class="indexterm" href="classicalprinting.html#id2625108">Any [my_printer_name] Section</a></dt><dt>name lookup, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669148">The NetBIOS Name Cache</a></dt><dt>name lookups, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>name registration, <a class="indexterm" href="samba-bdc.html#id2567390">What Qualifies a Domain Controller on the Network?</a></dt><dt>name resolution, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584823">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586371">Common Errors</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668313">/etc/hosts</a>, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a></dt><dt>name resolution across routed networks, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>name resolve order, <a class="indexterm" href="NetworkBrowsing.html#id2584620">Name Resolution Order</a></dt><dt>name service switch (see NSS)</dt><dt>name-to-address, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a></dt><dt>nameserv.h, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>name_type, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584620">Name Resolution Order</a></dt><dt>native ACLs, <a class="indexterm" href="AccessControls.html#id2610573">Features and Benefits</a></dt><dt>native dump, <a class="indexterm" href="Backup.html#id2671892">Amanda</a></dt><dt>native member, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a></dt><dt>native mode, <a class="indexterm" href="ServerType.html#id2560148">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="winbind.html#id2654018">Microsoft Active Directory Services</a></dt><dt>NBT, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a></dt><dt>nbtstat, <a class="indexterm" href="domain-member.html#id2573719">Cannot Add Machine Back to Domain</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669148">The NetBIOS Name Cache</a></dt><dt>necessary rights, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>negotiate, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>negotiating the charset, <a class="indexterm" href="unicode.html#id2669946">What Are Charsets and Unicode?</a></dt><dt>nested group, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>Nested Group Support, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>nested groups, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>net, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a>, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="NetCommand.html#id2599319">Administrative Tasks and Methods</a>, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a>, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dd><dl><dt>ads, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></dt><dd><dl><dt>join, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a>, <a class="indexterm" href="NetCommand.html#id2601699">Machine Trust Accounts</a>, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a></dt><dt>leave, <a class="indexterm" href="NetCommand.html#id2601699">Machine Trust Accounts</a></dt><dt>printer info, <a class="indexterm" href="NetCommand.html#id2603746">Printers and ADS</a></dt><dt>printer publish, <a class="indexterm" href="NetCommand.html#id2603746">Printers and ADS</a></dt><dt>printer remove, <a class="indexterm" href="NetCommand.html#id2603746">Printers and ADS</a></dt><dt>printer search, <a class="indexterm" href="NetCommand.html#id2603746">Printers and ADS</a></dt><dt>status, <a class="indexterm" href="NetCommand.html#id2601699">Machine Trust Accounts</a></dt><dt>testjoin, <a class="indexterm" href="NetCommand.html#id2601699">Machine Trust Accounts</a></dt></dl></dd><dt>getlocalsid, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>groupmap, <a class="indexterm" href="FastStart.html#id2556907">Example: Engineering Office</a>, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2598143">Example Configuration</a>, <a class="indexterm" href="NT4Migration.html#id2680070">Steps in Migration Process</a></dt><dd><dl><dt>add, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>delete, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>list, <a class="indexterm" href="groupmapping.html#id2598143">Example Configuration</a>, <a class="indexterm" href="NetCommand.html#id2599600">Adding or Creating a New Group</a></dt><dt>modify, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt></dl></dd><dt>localgroup, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>rap, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></dt><dd><dl><dt>session, <a class="indexterm" href="NetCommand.html#id2603680">Session and Connection Management</a></dt></dl></dd><dt>rpc, <a class="indexterm" href="FastStart.html#id2556059">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></dt><dd><dl><dt>getsid, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></dt><dt>group, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2599600">Adding or Creating a New Group</a></dt><dt>group add, <a class="indexterm" href="NetCommand.html#id2599600">Adding or Creating a New Group</a></dt><dt>group addmem, <a class="indexterm" href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a>, <a class="indexterm" href="NetCommand.html#id2600629">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>group delete, <a class="indexterm" href="NetCommand.html#id2600110">Deleting a Group Account</a></dt><dt>group delmem, <a class="indexterm" href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a></dt><dt>group list, <a class="indexterm" href="NetCommand.html#id2599600">Adding or Creating a New Group</a></dt><dt>group members, <a class="indexterm" href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a></dt><dt>group rename, <a class="indexterm" href="NetCommand.html#id2600150">Rename Group Accounts</a></dt><dt>info, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a>, <a class="indexterm" href="ProfileMgmt.html#id2662971">Side Bar Notes</a></dt><dt>join, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="NetCommand.html#id2601699">Machine Trust Accounts</a>, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="NT4Migration.html#id2680070">Steps in Migration Process</a></dt><dt>join bdc, <a class="indexterm" href="NetCommand.html#id2601699">Machine Trust Accounts</a></dt><dt>join member, <a class="indexterm" href="NetCommand.html#id2601699">Machine Trust Accounts</a></dt><dt>list, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>printer migrate drivers, <a class="indexterm" href="NetCommand.html#id2603410">Printer Migration</a></dt><dt>printer migrate forms, <a class="indexterm" href="NetCommand.html#id2603410">Printer Migration</a></dt><dt>printer migrate printers, <a class="indexterm" href="NetCommand.html#id2603410">Printer Migration</a></dt><dt>printer migrate security, <a class="indexterm" href="NetCommand.html#id2603410">Printer Migration</a></dt><dt>printer migrate settings, <a class="indexterm" href="NetCommand.html#id2603410">Printer Migration</a></dt><dt>right list accounts, <a class="indexterm" href="NetCommand.html#id2602897">Share Migration</a></dt><dt>rights grant, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>rights list, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>rights list accounts, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>share add, <a class="indexterm" href="NetCommand.html#id2602569">Creating, Editing, and Removing Shares</a></dt><dt>share delete, <a class="indexterm" href="NetCommand.html#id2602569">Creating, Editing, and Removing Shares</a></dt><dt>share migrate, <a class="indexterm" href="NetCommand.html#id2602897">Share Migration</a></dt><dt>share migrate all, <a class="indexterm" href="NetCommand.html#id2603351">Simultaneous Share and File Migration</a></dt><dt>share migrate files, <a class="indexterm" href="NetCommand.html#id2603094">File and Directory Migration</a></dt><dt>share migrate security, <a class="indexterm" href="NetCommand.html#id2603309">Share-ACL Migration</a></dt><dt>testjoin, <a class="indexterm" href="NetCommand.html#id2601699">Machine Trust Accounts</a></dt><dt>trustdom add, <a class="indexterm" href="NetCommand.html#id2602068">Interdomain Trusts</a></dt><dt>trustdom establish, <a class="indexterm" href="NetCommand.html#id2602068">Interdomain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a></dt><dt>trustdom list, <a class="indexterm" href="NetCommand.html#id2602068">Interdomain Trusts</a></dt><dt>trustdom revoke, <a class="indexterm" href="NetCommand.html#id2602068">Interdomain Trusts</a></dt><dt>user add, <a class="indexterm" href="NetCommand.html#sbeuseraddn">Adding User Accounts</a></dt><dt>user delete, <a class="indexterm" href="NetCommand.html#id2601139">Deletion of User Accounts</a>, <a class="indexterm" href="NetCommand.html#id2601699">Machine Trust Accounts</a></dt><dt>user info, <a class="indexterm" href="NetCommand.html#id2601187">Managing User Accounts</a></dt><dt>user password, <a class="indexterm" href="NetCommand.html#sbeuseraddn">Adding User Accounts</a></dt><dt>user rename, <a class="indexterm" href="NetCommand.html#id2601187">Managing User Accounts</a></dt><dt>vampire, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="NetCommand.html#id2602787">Share, Directory, and File Migration</a>, <a class="indexterm" href="NT4Migration.html#id2680070">Steps in Migration Process</a></dt></dl></dd><dt>setlocalsid, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></dt><dt>time, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></dt><dd><dl><dt>set, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></dt><dt>system, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></dt><dt>zone, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></dt></dl></dd><dt>use, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt></dl></dd><dt>NET, <a class="indexterm" href="PolicyMgmt.html#id2660268">Samba PDC</a></dt><dt>net command, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>net getlocalsid, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>net groupmap, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>net rpc user add, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>net tool, <a class="indexterm" href="upgrading-to-3.0.html#id2678169">Passdb Backends and Authentication</a></dt><dt>net use, <a class="indexterm" href="classicalprinting.html#id2631467">Error Message: Cannot connect under a different Name</a></dt><dt>net use /home, <a class="indexterm" href="ProfileMgmt.html#id2660841">Windows 9x/Me User Profiles</a></dt><dt>net use lpt1:, <a class="indexterm" href="CUPS-printing.html#id2643314">Installing the PostScript Driver on a Client</a></dt><dt>net view, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>netatalk, <a class="indexterm" href="VFS.html#id2651777">netatalk</a></dt><dt>NetAtalk, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>Netatalk, <a class="indexterm" href="Other-Clients.html#id2689706">Macintosh Clients</a></dt><dt>NetBEUI, <a class="indexterm" href="integrate-ms-networks.html">Integrating MS Windows Networks with Samba</a></dt><dt>NetBIOS, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2567390">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="samba-bdc.html#id2567481">How Does a Workstation find its Domain Controller?</a>, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#netdiscuss">Discussion</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584823">Technical Overview of Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html">Integrating MS Windows Networks with Samba</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669148">The NetBIOS Name Cache</a></dt><dd><dl><dt>brooadcast, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a></dt><dt>name, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>netbios alias, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>netbios aliases, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>NetBIOS broadcast, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>NetBIOS disabled, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a></dt><dt>NetBIOS flags, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>NetBIOS name, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>netbios name, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>NetBIOS name cache, <a class="indexterm" href="domain-member.html#id2573719">Cannot Add Machine Back to Domain</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586398">Flushing the Samba NetBIOS Name Cache</a></dt><dt>NetBIOS name length, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a></dt><dt>NetBIOS name resolution, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>NetBIOS Name Server (see NBNS)</dt><dt>NetBIOS name type, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html#id2584620">Name Resolution Order</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668589">/etc/nsswitch.conf</a></dt><dt>NetBIOS network interface, <a class="indexterm" href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a></dt><dt>NetBIOS networking, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a></dt><dt>NetBIOS over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584823">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a></dt><dt>NetBIOS over TCP/IP disabled, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></dt><dt>NetBIOS-less, <a class="indexterm" href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>NetBIOS-less SMB, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>NetBIOSless SMB over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>NetBT, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a></dt><dt>netlogon, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt><dt>NETLOGON, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2663529">MS Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a></dt><dt>Netlogon, <a class="indexterm" href="samba-bdc.html#id2566209">Essential Background Information</a></dt><dt>NetLogon service, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a></dt><dt>netlogon share, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NT4Migration.html#id2680070">Steps in Migration Process</a></dt><dt>Netmon, <a class="indexterm" href="problems.html#id2685381">The Windows Network Monitor</a></dt><dt>Netmon., <a class="indexterm" href="problems.html#id2685441">Installing Network Monitor on an NT Workstation</a></dt><dt>netmon.exe, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>NetSAMLogon, <a class="indexterm" href="ProfileMgmt.html#id2660636">Roaming Profiles</a></dt><dt>Netscape's Directory Server, <a class="indexterm" href="passdb.html#id2593320">Supported LDAP Servers</a></dt><dt>NetServerEnum2, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>NetUserGetInfo, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ProfileMgmt.html#id2660636">Roaming Profiles</a></dt><dt>NetWare, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a></dt><dt>NetWare Bindery, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>NetWare Core Protocol-based server, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>NetWkstaUserLogon, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a></dt><dt>network</dt><dd><dl><dt>browsing, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt><dt>logon, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dd><dl><dt>service, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a></dt></dl></dd><dt>performance, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt><dt>wide-area, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt></dl></dd><dt>network access controls, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>network access profile, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>network administrator, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>network administrator's toolbox, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a></dt><dt>network administrators, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>network analyzer, <a class="indexterm" href="problems.html#id2684879">Diagnostics Tools</a></dt><dt>network bandwidth, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>Network Basic Extended User Interface (see NetBEUI)</dt><dt>Network Basic Input/Output System (see NetBIOS)</dt><dt>Network Bridge, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>Network Bridge Configuration, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>network browsing problems, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></dt><dt>network client, <a class="indexterm" href="ClientConfig.html#id2575509">Features and Benefits</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>network clients, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>network configuration problems, <a class="indexterm" href="ClientConfig.html#id2575613">TCP/IP Configuration</a></dt><dt>network difficulty, <a class="indexterm" href="ClientConfig.html#id2575509">Features and Benefits</a></dt><dt>network environment, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657803">Remote Desktop Management</a></dt><dt>Network ID, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>network interface, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>network logon, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>network logon services, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a></dt><dt>network membership, <a class="indexterm" href="ClientConfig.html#id2575569">Technical Details</a></dt><dt>Network Monitor, <a class="indexterm" href="problems.html#id2685381">The Windows Network Monitor</a></dt><dt>Network Monitor Tools and Agent, <a class="indexterm" href="problems.html#id2685441">Installing Network Monitor on an NT Workstation</a></dt><dt>Network Neighborhood, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a>, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a>, <a class="indexterm" href="classicalprinting.html#id2629206">Check Samba for Driver Recognition</a></dt><dt>network neighborhood, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>network policies, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a></dt><dt>network security, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>network segment, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>Network settings, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></dt><dt>network sniffer, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>network storage, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a></dt><dt>network traffic, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>networked workstation, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a></dt><dt>networking advocates, <a class="indexterm" href="Backup.html#id2671454">Discussion of Backup Solutions</a></dt><dt>networking environment, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a></dt><dt>networking systems, <a class="indexterm" href="ClientConfig.html#id2578354">Common Errors</a></dt><dt>networks access, <a class="indexterm" href="speed.html#id2691323">Samba Performance is Very Slow</a></dt><dt>Networks Properties, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>new account, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>new parameters, <a class="indexterm" href="upgrading-to-3.0.html#id2676994">New Parameters</a></dt><dt>newsgroup, <a class="indexterm" href="bugreport.html#id2686050">Introduction</a></dt><dt>Nexus toolkit, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>Nexus.exe, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657660">Remote Server Administration</a></dt><dt>NFS, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a>, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a>, <a class="indexterm" href="SambaHA.html#id2672767">Restrictive Constraints on Distributed File Systems</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678922">IdMap LDAP Support</a></dt><dt>NFS clients, <a class="indexterm" href="locking.html#id2616511">UNIX or NFS Client-Accessed Files</a></dt><dt>NIS, <a class="indexterm" href="ServerType.html#id2559461">Share-Level Security</a>, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a></dt><dt>NIS database, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a></dt><dt>nmbd, <a class="indexterm" href="install.html#id2552921">Starting Samba</a>, <a class="indexterm" href="install.html#id2553334">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2555235">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2556059">Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586398">Flushing the Samba NetBIOS Name Cache</a>, <a class="indexterm" href="idmapper.html#id2605900">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="winbind.html#id2654858">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2656253">Linux</a>, <a class="indexterm" href="winbind.html#id2656458">Solaris</a>, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a>, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a>, <a class="indexterm" href="speed.html#id2691227">Corrupt tdb Files</a></dt><dt>nmblookup, <a class="indexterm" href="integrate-ms-networks.html#id2669148">The NetBIOS Name Cache</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>No NetBIOS layer, <a class="indexterm" href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a></dt><dt>no network logon service, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a></dt><dt>no printcap file, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>nobody, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>nobody account, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>node-type, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>NoMachine, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>NoMachine.Com, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>non-authentication-based account management, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>non-authoritative, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>non-LDAP</dt><dd><dl><dt>backend, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a></dt></dl></dd><dt>non-member Windows client, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>non-PostScript, <a class="indexterm" href="CUPS-printing.html#id2635936">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2638977">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>non-PostScript printers, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2646836">Foomatic Database-Generated PPDs</a></dt><dt>nonhierarchical, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>nontransitive, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>normal color, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></dt><dt>normal user, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>not domain member, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a></dt><dt>not domain members, <a class="indexterm" href="StandAloneServer.html">Standalone Servers</a></dt><dt>not part of domain, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a></dt><dt>not stored anywhere, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>not transitive, <a class="indexterm" href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>Novell, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>Novell eDirectory server, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>NSS, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a>, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2594483">Accounts and Groups Management</a>, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a>, <a class="indexterm" href="winbind.html#id2653875">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2656647">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2657317">Conclusion</a></dt><dt>nsswitch.conf, <a class="indexterm" href="ServerType.html#id2559461">Share-Level Security</a></dt><dt>nss_ldap, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2607774">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>nss_winbind.so.1, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>NT domain, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a></dt><dt>NT groups, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a></dt><dt>NT migration scripts, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a></dt><dt>NT password, <a class="indexterm" href="passdb.html#id2591158">Listing User and Machine Accounts</a></dt><dt>NT Server Manager, <a class="indexterm" href="AccessControls.html#id2613141">Windows NT4 Workstation/Server</a></dt><dt>NT-controlled domain, <a class="indexterm" href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a></dt><dt>NT-encrypted password, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>NT-encrypted passwords, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a></dt><dt>NT4, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>NT4 Domain, <a class="indexterm" href="idmapper.html#id2604493">Standalone Samba Server</a></dt><dt>NT4 domain, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a></dt><dt>NT4 domain members, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>NT4 style policy updates, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></dt><dt>NT4 User Manager for Domains, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>NT4-style, <a class="indexterm" href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>NT4-style domain, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>NT4-style domains, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>Nt4sp6ai.exe, <a class="indexterm" href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></dt><dt>NTConfig.POL, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2659098">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659418">Registry Spoiling</a>, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659660">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2660146">Samba Editreg Toolset</a>, <a class="indexterm" href="ProfileMgmt.html#id2663529">MS Windows NT4 Workstation</a>, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>ntconfig.pol, <a class="indexterm" href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></dt><dt>ntdrivers.tdb, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>ntforms.tdb, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>NTFS, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>NTLMv2, <a class="indexterm" href="securing-samba.html#id2619044">NTLMv2 Security</a></dt><dt>ntlm_auth, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>ntprinters.tdb, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>NTUser.DAT, <a class="indexterm" href="PolicyMgmt.html#id2660146">Samba Editreg Toolset</a>, <a class="indexterm" href="ProfileMgmt.html#id2663129">Mandatory Profiles</a>, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>NTuser.DAT, <a class="indexterm" href="ProfileMgmt.html#id2662004">Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2662678">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a>, <a class="indexterm" href="NT4Migration.html#id2679977">Profile Migration/Creation</a></dt><dt>NTuser.MAN, <a class="indexterm" href="ProfileMgmt.html#id2662004">Windows NT4 Workstation</a></dt><dt>NTUser.MAN, <a class="indexterm" href="ProfileMgmt.html#id2663129">Mandatory Profiles</a></dt><dt>NT_STATUS_LOGON_FAILURE, <a class="indexterm" href="upgrading-to-3.0.html#id2678073">Changes in Behavior</a></dt><dt>NT_STATUS_UNSUCCESSFUL, <a class="indexterm" href="classicalprinting.html#id2628941">Running rpcclient with adddriver</a></dt><dt>null shell, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></dt><dt>NX, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt></dl></div><div class="indexdiv"><h3>O</h3><dl><dt>object class, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>object class declaration, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>object module dependencies, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>ObjectClass, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>ObjectClasses, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a></dt><dt>obtuse complexity, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>office server, <a class="indexterm" href="FastStart.html#id2555235">Secure Read-Write File and Print Server</a></dt><dt>OID, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>old sambaAccount, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>Omni, <a class="indexterm" href="CUPS-printing.html#id2646648">Driver Development Outside</a></dt><dt>on the fly, <a class="indexterm" href="domain-member.html#id2570806">Windows NT4 Client</a></dt><dt>on-the-fly, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a></dt><dt>on-the-fly logon scripts, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>on-the-fly policy files, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>one direction, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>one domain, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>one-way trust, <a class="indexterm" href="InterdomainTrusts.html#id2620323">Interdomain Trust Facilities</a></dt><dt>only one WINS server, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a></dt><dt>OpenGFS, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a></dt><dt>OpenLDAP, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="ChangeNotes.html#id2579276">LDAP Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2593320">Supported LDAP Servers</a>, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>OpenLDAP backend, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a></dt><dt>OpenSSL, <a class="indexterm" href="SWAT.html#id2681902">Securing SWAT through SSL</a>, <a class="indexterm" href="ch-ldap-tls.html#s1-config-ldap-tls-certs">Generating the Certificate Authority</a></dt><dt>operating costs, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>operating system search path, <a class="indexterm" href="SWAT.html#id2681334">Locating the SWAT File</a></dt><dt>oplock, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a></dt><dt>oplock break, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a>, <a class="indexterm" href="locking.html#id2616704">Beware of Force User</a></dt><dt>oplock handling, <a class="indexterm" href="SambaHA.html#id2672767">Restrictive Constraints on Distributed File Systems</a></dt><dt>oplock mechanism, <a class="indexterm" href="locking.html#id2616792">Advanced Samba Oplocks Parameters</a></dt><dt>oplock messages, <a class="indexterm" href="SambaHA.html#id2672976">Required Modifications to Samba</a></dt><dt>oplock parameters, <a class="indexterm" href="locking.html#id2616792">Advanced Samba Oplocks Parameters</a></dt><dt>oplocks, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>oplocks disabled, <a class="indexterm" href="locking.html#id2616594">Multiuser Databases</a></dt><dt>oplocks management, <a class="indexterm" href="locking.html#id2616635">PDM Data Shares</a></dt><dt>opportunistic locking, <a class="indexterm" href="locking.html#id2615585">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>Opportunistic locking, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>optional, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>ordinary connection, <a class="indexterm" href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a></dt><dt>Organization for the Advancement of Structured Information Standards (see OASIS)</dt><dt>organizational directory, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>organizational unit, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a> (see OU)</dt><dt>os level, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>OSS/Free Software, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>other, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>output duplexing, <a class="indexterm" href="CUPS-printing.html#id2637193">pstops</a></dt><dt>outside threat, <a class="indexterm" href="securing-samba.html#id2618336">Using Host-Based Protection</a></dt><dt>own home directory, <a class="indexterm" href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a></dt><dt>ownership, <a class="indexterm" href="AccessControls.html#id2613601">Viewing File Ownership</a></dt><dt>ownership cost, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>ownership rights, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt></dl></div><div class="indexdiv"><h3>P</h3><dl><dt>p-node, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>package, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>packages, <a class="indexterm" href="install.html#id2551936">Obtaining and Installing Samba</a></dt><dt>packet sniffer, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>packet trace, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>PADL, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a></dt><dt>PADL Software, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>page description languages (see PDL)</dt><dt>pager program, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a></dt><dt>page_log, <a class="indexterm" href="CUPS-printing.html#id2647706">The page_log File Syntax</a></dt><dt>paid-for support, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>PAM, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a>, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2592572">Plaintext</a>, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a>, <a class="indexterm" href="winbind.html#id2653875">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2654706">Requirements</a>, <a class="indexterm" href="winbind.html#id2654858">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2656647">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2657317">Conclusion</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a>, <a class="indexterm" href="pam.html#id2665810">Technical Discussion</a></dt><dt>PAM authentication module, <a class="indexterm" href="pam.html#id2665864">PAM Configuration Syntax</a></dt><dt>PAM configuration, <a class="indexterm" href="winbind.html#id2654706">Requirements</a></dt><dt>PAM management, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a></dt><dt>PAM module, <a class="indexterm" href="winbind.html#id2655343">NSS Winbind on AIX</a></dt><dt>PAM modules, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>PAM-capable, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam-devel, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>PAM-enabled, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>PAM-specific tokens, <a class="indexterm" href="pam.html#id2665864">PAM Configuration Syntax</a></dt><dt>pam_krb5.so, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam_ldap, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>pam_ldap.so, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam_mkhomedir, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>pam_ncp_auth.so, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam_pwdb.so, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam_securetty.so, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>pam_smbpass.so, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam_smbpasswd.so, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam_smb_auth.so, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam_unix.so, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam_unix2.so, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam_userdb.so, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam_winbind.so, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2656647">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>parameters, <a class="indexterm" href="classicalprinting.html#id2623122">Rapid Configuration Validation</a></dt><dt>paranoid, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>passdb, <a class="indexterm" href="samba-bdc.html#id2568664">Machine Accounts Keep Expiring</a></dt><dt>passdb backend, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2591481">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a>, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678757">New Suffix for Searching</a></dt><dt>passdb backends, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>passed across the network, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>passwd, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a>, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>password, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a>, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dd><dl><dt>plaintext, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a></dt></dl></dd><dt>password aging, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a></dt><dt>password assigned, <a class="indexterm" href="InterdomainTrusts.html#id2620238">Completing an NT4 Domain Trust</a></dt><dt>password backend, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a>, <a class="indexterm" href="passdb.html#id2591158">Listing User and Machine Accounts</a></dt><dt>password backends, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>password change facility, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>password database, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>password encryption, <a class="indexterm" href="passdb.html#id2592572">Plaintext</a></dt><dt>password expiration, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>password expired, <a class="indexterm" href="passdb.html#id2591566">Changing User Accounts</a></dt><dt>password history, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>password management, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a></dt><dt>password prompt, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>password scheme, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>password server, <a class="indexterm" href="ServerType.html#id2560291">Server Security (User Level Security)</a>, <a class="indexterm" href="domain-member.html#id2572115">Configure smb.conf</a></dt><dt>password uniqueness, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>passwords, <a class="indexterm" href="winbind.html#id2653461">Introduction</a></dt><dt>patch, <a class="indexterm" href="bugreport.html#id2686836">Patches</a></dt><dt>path specified, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></dt><dt>pauses, <a class="indexterm" href="speed.html#id2691323">Samba Performance is Very Slow</a></dt><dt>PBM, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>PCL, <a class="indexterm" href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a>, <a class="indexterm" href="CUPS-printing.html#id2640148">Printing with Interface Scripts</a>, <a class="indexterm" href="CUPS-printing.html#id2640393">Driver Execution on the Server</a>, <a class="indexterm" href="CUPS-printing.html#id2640785">Network PostScript RIP</a></dt><dt>pdbedit, <a class="indexterm" href="FastStart.html#id2556907">Example: Engineering Office</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2591042">User Account Management</a>, <a class="indexterm" href="passdb.html#id2591158">Listing User and Machine Accounts</a>, <a class="indexterm" href="passdb.html#id2591394">Adding User Accounts</a>, <a class="indexterm" href="passdb.html#id2591481">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2591566">Changing User Accounts</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2592394">Account Import/Export</a>, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a>, <a class="indexterm" href="PolicyMgmt.html#id2660268">Samba PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676324">Quick Migration Guide</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678169">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2680070">Steps in Migration Process</a>, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>pdb_ldap, <a class="indexterm" href="samba-bdc.html#id2568879">Can I Do This All with LDAP?</a></dt><dt>PDC, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2566715">Example PDC Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2567390">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568719">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a>, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a>, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a>, <a class="indexterm" href="passdb.html#id2594832">LDAP Special Attributes for sambaSamAccounts</a>, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a>, <a class="indexterm" href="CUPS-printing.html#id2643152">cupsaddsmb with a Samba PDC</a>, <a class="indexterm" href="winbind.html#id2653749">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2653925">Microsoft Remote Procedure Calls</a>, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2654529">Result Caching</a>, <a class="indexterm" href="winbind.html#id2654592">Introduction</a>, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a>, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a>, <a class="indexterm" href="problems.html#id2685744">Getting Mailing List Help</a>, <a class="indexterm" href="speed.html#id2691227">Corrupt tdb Files</a></dt><dt>PDF, <a class="indexterm" href="CUPS-printing.html#id2633517">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2635733">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>pdf, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a></dt><dt>PDF distilling, <a class="indexterm" href="CUPS-printing.html#id2635733">PostScript Printer Description (PPD) Specification</a></dt><dt>PDF filter, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>pdftops, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>pdftosocket, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>PDL, <a class="indexterm" href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a>, <a class="indexterm" href="CUPS-printing.html#id2635733">PostScript Printer Description (PPD) Specification</a></dt><dt>PDM, <a class="indexterm" href="locking.html#id2616635">PDM Data Shares</a></dt><dt>peer domain, <a class="indexterm" href="InterdomainTrusts.html#id2620532">Configuring Samba NT-Style Domain Trusts</a></dt><dt>Peer node, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>per-share access control, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a></dt><dt>performance, <a class="indexterm" href="largefile.html">Handling Large Directories</a>, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>performance advantage, <a class="indexterm" href="locking.html#id2615585">Features and Benefits</a></dt><dt>performance degradation, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>performance enhancement, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>performance improvement, <a class="indexterm" href="locking.html#id2616546">Slow and/or Unreliable Networks</a></dt><dt>performance-based, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a></dt><dt>performed as root, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>perimeter firewall, <a class="indexterm" href="securing-samba.html#id2618174">Features and Benefits</a></dt><dt>permanent changes, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>Permanent name, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>permissions, <a class="indexterm" href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a>, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dd><dl><dt>file/directory ACLs, <a class="indexterm" href="AccessControls.html#id2613483">Managing UNIX Permissions Using NT Security Dialogs</a></dt><dt>share, <a class="indexterm" href="AccessControls.html#id2611906">Share Definition Access Controls</a></dt><dt>share ACLs, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a></dt><dt>UNIX file and directory, <a class="indexterm" href="AccessControls.html#id2610573">Features and Benefits</a></dt></dl></dd><dt>Permissions, <a class="indexterm" href="AccessControls.html#id2613247">Windows 200x/XP</a></dt><dt>permissions and controls, <a class="indexterm" href="AccessControls.html#id2610573">Features and Benefits</a></dt><dt>PGP, <a class="indexterm" href="compiling.html#id2687884">Verifying Samba's PGP Signature</a></dt><dt>phasing out NetBIOS, <a class="indexterm" href="NetworkBrowsing.html#netdiscuss">Discussion</a></dt><dt>Photo-CD, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>physical locations, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>physical network transport layer, <a class="indexterm" href="integrate-ms-networks.html#id2668313">/etc/hosts</a></dt><dt>PID, <a class="indexterm" href="bugreport.html#id2686710">Attaching to a Running Process</a></dt><dt>pid directory, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>ping, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>pipe device, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>PJL, <a class="indexterm" href="CUPS-printing.html#id2640785">Network PostScript RIP</a>, <a class="indexterm" href="CUPS-printing.html#id2642336">Windows CUPS PostScript Driver Versus Adobe Driver</a>, <a class="indexterm" href="CUPS-printing.html#id2647565">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>PJL-header, <a class="indexterm" href="CUPS-printing.html#id2647565">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>plague network users, <a class="indexterm" href="ClientConfig.html#id2575613">TCP/IP Configuration</a></dt><dt>plain-text</dt><dd><dl><dt>passwords, <a class="indexterm" href="ServerType.html#id2560566">Password Checking</a></dt></dl></dd><dt>plaintext, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a></dt><dt>plaintext authentication, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a></dt><dt>plaintext password, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a></dt><dt>plaintext passwords, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>platforms, <a class="indexterm" href="Portability.html">Portability</a></dt><dt>PLP, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>Pluggable Authentication Modules (see PAM)</dt><dt>PNG, <a class="indexterm" href="CUPS-printing.html#id2635579">Ghostscript: The Software RIP for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>PNM, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>point 'n' print, <a class="indexterm" href="CUPS-printing.html#id2634441">Installation of Windows Client Drivers</a>, <a class="indexterm" href="CUPS-printing.html#id2642554">Run cupsaddsmb (Quiet Mode)</a>, <a class="indexterm" href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a></dt><dt>Point'n'Print, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a>, <a class="indexterm" href="classicalprinting.html#id2626693">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="classicalprinting.html#id2628804">smbclient to Confirm Driver Installation</a></dt><dt>point'n'print, <a class="indexterm" href="CUPS-printing.html#id2634728">Driver Upload Methods</a>, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2643314">Installing the PostScript Driver on a Client</a></dt><dt>Poledit, <a class="indexterm" href="PolicyMgmt.html#id2659660">Administration of Windows 200x/XP Policies</a></dt><dt>poledit.exe, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a>, <a class="indexterm" href="PolicyMgmt.html#id2659660">Administration of Windows 200x/XP Policies</a></dt><dt>Policies, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></dt><dt>policies, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>policy editor, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a></dt><dt>Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></dt><dt>policy file , <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></dt><dt>policy files, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a></dt><dt>policy settings, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>port 135, <a class="indexterm" href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a></dt><dt>Port 135/TCP, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>port 137, <a class="indexterm" href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>Port 137/UDP, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>port 138, <a class="indexterm" href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a></dt><dt>Port 138/UDP, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>port 139, <a class="indexterm" href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a></dt><dt>Port 139/TCP, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>port 445, <a class="indexterm" href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a></dt><dt>Port 445/TCP, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>ports, <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a>, <a class="indexterm" href="problems.html#id2685238">Ethereal</a></dt><dt>POSIX, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2594483">Accounts and Groups Management</a>, <a class="indexterm" href="NetCommand.html#id2599600">Adding or Creating a New Group</a></dt><dt>POSIX account, <a class="indexterm" href="passdb.html#id2591042">User Account Management</a>, <a class="indexterm" href="NetCommand.html#id2600928">UNIX and Windows User Management</a></dt><dt>POSIX ACLs, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a>, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>POSIX ACLS, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>POSIX identity, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a></dt><dt>POSIX locks, <a class="indexterm" href="SambaHA.html#id2672836">Server Pool Communications</a></dt><dt>POSIX semantics, <a class="indexterm" href="SambaHA.html#id2672836">Server Pool Communications</a></dt><dt>POSIX user accounts, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>posixAccount, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a></dt><dt>posixGroup, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2594483">Accounts and Groups Management</a></dt><dt>PostScript, <a class="indexterm" href="CUPS-printing.html#id2633517">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2634850">Advanced Intelligent Printing with PostScript Driver Download</a>, <a class="indexterm" href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a>, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a>, <a class="indexterm" href="CUPS-printing.html#id2635733">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2635816">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2637193">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2638977">PostScript Printer Descriptions for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a>, <a class="indexterm" href="CUPS-printing.html#id2640393">Driver Execution on the Server</a>, <a class="indexterm" href="CUPS-printing.html#id2640785">Network PostScript RIP</a>, <a class="indexterm" href="CUPS-printing.html#id2641059">CUPS: A Magical Stone?</a>, <a class="indexterm" href="CUPS-printing.html#id2641102">PostScript Drivers with No Major Problems, Even in Kernel
    6 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id2641591">CUPS PostScript Driver for Windows NT/200x/XP</a></dt><dd><dl><dt>(see also Ghostscript)</dt><dt>RIP, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></dt></dl></dd><dt>PostScript driver, <a class="indexterm" href="classicalprinting.html#id2628585">Installing Driver Files into [print$]</a></dt><dt>PostScript interpreter, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></dt><dt>PostScript Printer Description (see PPD)</dt><dt>PostScript printers, <a class="indexterm" href="CUPS-printing.html#id2648535">Printing from CUPS to Windows-Attached Printers</a></dt><dt>potential master browsers, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>potential printer, <a class="indexterm" href="classicalprinting.html#id2627200">[print$] Stanza Parameters</a></dt><dt>Power Users, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>powerful, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt><dt>PPD, <a class="indexterm" href="classicalprinting.html#id2628585">Installing Driver Files into [print$]</a>, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a>, <a class="indexterm" href="CUPS-printing.html#id2635733">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2635936">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2638590">Raw Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2638977">PostScript Printer Descriptions for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2640876">PPDs for Non-PS Printers on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2640920">PPDs for Non-PS Printers on Windows</a>, <a class="indexterm" href="CUPS-printing.html#id2641059">CUPS: A Magical Stone?</a>, <a class="indexterm" href="CUPS-printing.html#id2643314">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2647565">Adobe and CUPS PostScript Drivers for Windows Clients</a>, <a class="indexterm" href="CUPS-printing.html#id2648535">Printing from CUPS to Windows-Attached Printers</a></dt><dd><dl><dt>CUPS (see CUPS-PPD)</dt></dl></dd><dt>PPD-aware, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></dt><dt>PPDs, <a class="indexterm" href="CUPS-printing.html#id2635816">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2646520">The Grand Unification Achieved</a></dt><dt>PPP, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>precedence, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>preferred master, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>prefilter, <a class="indexterm" href="CUPS-printing.html#id2637630">imagetops and imagetoraster</a></dt><dt>prefilters, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a></dt><dt>primary domain controller, <a class="indexterm" href="cfgsmarts.html#id2675343">Multiple Virtual Server Hosting</a></dt><dt>primary group, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></dt><dt>Primary Logon, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>Primary WINS Server, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a></dt><dt>print, <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a></dt><dd><dl><dt>queue, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt><dt>spooler, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt></dl></dd><dt>print accounting, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>print command, <a class="indexterm" href="classicalprinting.html#id2625403">Print Commands</a></dt><dt>print commands, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a></dt><dt>print configuration, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a></dt><dt>print environment, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a></dt><dt>print filtering, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a></dt><dt>print job, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a></dt><dt>print jobs, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>print processing, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a></dt><dt>print queue, <a class="indexterm" href="classicalprinting.html#id2626693">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="classicalprinting.html#id2628804">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="classicalprinting.html#id2629434">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2637934">CUPS Backends</a></dt><dt>print quota, <a class="indexterm" href="CUPS-printing.html#id2634850">Advanced Intelligent Printing with PostScript Driver Download</a></dt><dt>print server, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>print service, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>print spooling, <a class="indexterm" href="winbind.html#id2653925">Microsoft Remote Procedure Calls</a></dt><dt>print spooling system, <a class="indexterm" href="CUPS-printing.html#id2633034">Overview</a></dt><dt>print statistics, <a class="indexterm" href="CUPS-printing.html#id2634850">Advanced Intelligent Printing with PostScript Driver Download</a></dt><dt>print subsystem, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2625403">Print Commands</a></dt><dt>print test page, <a class="indexterm" href="classicalprinting.html#id2629706">First Client Driver Installation</a></dt><dt>printcap, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a>, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a>, <a class="indexterm" href="classicalprinting.html#ptrsect">The [printers] Section</a></dt><dt>Printcap, <a class="indexterm" href="CUPS-printing.html#id2633153">Basic CUPS Support Configuration</a></dt><dt>printcap name, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>PrintcapFormat, <a class="indexterm" href="CUPS-printing.html#id2633153">Basic CUPS Support Configuration</a></dt><dt>printer attributes publishing, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>printer default permissions, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>printer driver, <a class="indexterm" href="classicalprinting.html#id2626862">The Obsoleted [printer$] Section</a>, <a class="indexterm" href="classicalprinting.html#id2626984">Creating the [print$] Share</a>, <a class="indexterm" href="CUPS-printing.html#id2633517">Simple smb.conf Settings for CUPS</a></dt><dt>printer driver data, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></dt><dt>printer driver file, <a class="indexterm" href="classicalprinting.html#id2626862">The Obsoleted [printer$] Section</a></dt><dt>printer driver files, <a class="indexterm" href="classicalprinting.html#id2628804">smbclient to Confirm Driver Installation</a></dt><dt>printer drivers, <a class="indexterm" href="classicalprinting.html#id2626693">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="CUPS-printing.html#id2646520">The Grand Unification Achieved</a></dt><dt>printer icon, <a class="indexterm" href="classicalprinting.html#id2629206">Check Samba for Driver Recognition</a></dt><dt>printer management, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dt>printer management system, <a class="indexterm" href="CUPS-printing.html#id2633034">Overview</a></dt><dt>printer migration, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dt>printer monitor, <a class="indexterm" href="speed.html#id2691323">Samba Performance is Very Slow</a></dt><dt>printer objects, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>Printer Pooling, <a class="indexterm" href="classicalprinting.html#id2631890">Samba and Printer Ports</a></dt><dt>printer queue, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>printer share, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>printer shares , <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>printer$ share, <a class="indexterm" href="classicalprinting.html#id2626862">The Obsoleted [printer$] Section</a></dt><dt>printers, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a>, <a class="indexterm" href="StandAloneServer.html#id2574163">Features and Benefits</a></dt><dt>Printers, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>printers admin, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>Printers and Faxes, <a class="indexterm" href="classicalprinting.html#id2629206">Check Samba for Driver Recognition</a></dt><dt>printers available, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a></dt><dt>printers section, <a class="indexterm" href="classicalprinting.html#ptrsect">The [printers] Section</a></dt><dt>printing, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>printing behavior, <a class="indexterm" href="classicalprinting.html#id2622540">Printing-Related Configuration Parameters</a></dt><dt>printing calls, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>printing now, <a class="indexterm" href="speed.html#id2691323">Samba Performance is Very Slow</a></dt><dt>printing support, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a></dt><dt>printing system, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a></dt><dt>printing systems, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>printing-related settings, <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a></dt><dt>printing.tdb, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>PrintPro (see ESP Print Pro)</dt><dt>private dir, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>private groups, <a class="indexterm" href="groupmapping.html#id2596644">Warning: User Private Group Problems</a></dt><dt>private key, <a class="indexterm" href="SWAT.html#id2681902">Securing SWAT through SSL</a></dt><dt>private network, <a class="indexterm" href="securing-samba.html#id2618075">Introduction</a></dt><dt>private networks, <a class="indexterm" href="securing-samba.html#id2618336">Using Host-Based Protection</a></dt><dt>private/MACHINE.SID, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a></dt><dt>private/secrets.tdb, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a></dt><dt>privilege, <a class="indexterm" href="groupmapping.html#id2597396">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>privilege management, <a class="indexterm" href="groupmapping.html#id2597278">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>privilege model, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a></dt><dt>privilege-granting applications, <a class="indexterm" href="pam.html#id2665810">Technical Discussion</a></dt><dt>privileged accounts, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>privileges, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="groupmapping.html#id2597396">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>privileges assigned, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>problem report, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>problem resolution, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>problematic print, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a></dt><dt>Process data management, <a class="indexterm" href="locking.html#id2616635">PDM Data Shares</a></dt><dt>professional support, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>profile, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a></dt><dt>profile access rights, <a class="indexterm" href="ProfileMgmt.html#id2663269">Creating and Managing Group Profiles</a></dt><dt>profile contents, <a class="indexterm" href="ProfileMgmt.html#id2662678">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>profile directory, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>profile migration tool, <a class="indexterm" href="ProfileMgmt.html#id2663269">Creating and Managing Group Profiles</a></dt><dt>profile path, <a class="indexterm" href="samba-bdc.html#id2566715">Example PDC Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="ProfileMgmt.html#id2662004">Windows NT4 Workstation</a></dt><dt>profile sharing, <a class="indexterm" href="ProfileMgmt.html#id2662678">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>Profile Type, <a class="indexterm" href="ProfileMgmt.html#id2661076">Disabling Roaming Profile Support</a></dt><dt>ProfilePath, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>profiles, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a></dt><dt>Profiles, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a></dt><dt>project, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>promiscuous mode, <a class="indexterm" href="problems.html#id2685381">The Windows Network Monitor</a></dt><dt>promote, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt><dt>promoted, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>propagate, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a></dt><dt>Properties, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a>, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>protect directories, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>protect files, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>protection against attackers, <a class="indexterm" href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a></dt><dt>protocol stack settings, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>provided services, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>provisioned, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>pstops, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2637193">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a>, <a class="indexterm" href="CUPS-printing.html#id2647565">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>pstoraster, <a class="indexterm" href="CUPS-printing.html#id2637361">pstoraster</a>, <a class="indexterm" href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2647565">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>publish printers, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>publishing printers, <a class="indexterm" href="classicalprinting.html#id2623122">Rapid Configuration Validation</a></dt><dt>PulseAudio, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></dt><dt>punching, <a class="indexterm" href="CUPS-printing.html#id2637193">pstops</a></dt><dt>purchase support, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>put, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>pvcreate, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt></dl></div><div class="indexdiv"><h3>Q</h3><dl><dt>QNX, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>qualified problem, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>queue control, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>quota controls, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt></dl></div><div class="indexdiv"><h3>R</h3><dl><dt>RAID, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a></dt><dt>random machine account password, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>range, <a class="indexterm" href="NetCommand.html#id2600928">UNIX and Windows User Management</a></dt><dt>range of hosts, <a class="indexterm" href="securing-samba.html#id2618336">Using Host-Based Protection</a></dt><dt>RAP, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></dt><dt>raster, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2646836">Foomatic Database-Generated PPDs</a></dt><dt>raster driver, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a></dt><dt>raster drivers, <a class="indexterm" href="CUPS-printing.html#id2637361">pstoraster</a></dt><dt>raster image processor (see RIP)</dt><dt>raster images, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>rasterization, <a class="indexterm" href="CUPS-printing.html#id2637361">pstoraster</a>, <a class="indexterm" href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>rastertoalps, <a class="indexterm" href="CUPS-printing.html#id2637715">rasterto [printers specific]</a></dt><dt>rastertobj, <a class="indexterm" href="CUPS-printing.html#id2637715">rasterto [printers specific]</a></dt><dt>rastertoepson, <a class="indexterm" href="CUPS-printing.html#id2637715">rasterto [printers specific]</a>, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>rastertoescp, <a class="indexterm" href="CUPS-printing.html#id2637715">rasterto [printers specific]</a></dt><dt>rastertohp, <a class="indexterm" href="CUPS-printing.html#id2637715">rasterto [printers specific]</a></dt><dt>rastertopcl, <a class="indexterm" href="CUPS-printing.html#id2637715">rasterto [printers specific]</a></dt><dt>rastertoprinter, <a class="indexterm" href="CUPS-printing.html#id2637715">rasterto [printers specific]</a></dt><dt>rastertosomething, <a class="indexterm" href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>rastertoturboprint, <a class="indexterm" href="CUPS-printing.html#id2637715">rasterto [printers specific]</a></dt><dt>raw mode, <a class="indexterm" href="CUPS-printing.html#id2638698">application/octet-stream Printing</a></dt><dt>raw print, <a class="indexterm" href="CUPS-printing.html#id2643233">cupsaddsmb Flowchart</a></dt><dt>raw printers, <a class="indexterm" href="CUPS-printing.html#id2633034">Overview</a></dt><dt>raw printing, <a class="indexterm" href="FastStart.html#id2554870">Anonymous Print Server</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="CUPS-printing.html#id2634206">Raw Print Serving: Vendor Drivers on Windows Clients</a>, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a></dt><dt>raw SMB, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt><dt>raw SMB over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a></dt><dt>rawprinter, <a class="indexterm" href="CUPS-printing.html#id2638590">Raw Printing</a></dt><dt>rcp, <a class="indexterm" href="Backup.html#id2671723">Rsync</a></dt><dt>rdesktop, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>rdesktop/RDP, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>read, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>read directory into memory, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>read only, <a class="indexterm" href="VFS.html#fakeperms">fake_perms</a></dt><dd><dl><dt>server, <a class="indexterm" href="FastStart.html#anon-ro">Anonymous Read-Only Document Server</a></dt></dl></dd><dt>Read-ahead, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>read-only, <a class="indexterm" href="StandAloneServer.html#id2574163">Features and Benefits</a>, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></dt><dt>read-only access, <a class="indexterm" href="idmapper.html#id2605741">Backup Domain Controller</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>read-only files, <a class="indexterm" href="StandAloneServer.html#id2574163">Features and Benefits</a></dt><dt>read-write access, <a class="indexterm" href="classicalprinting.html#id2626862">The Obsoleted [printer$] Section</a></dt><dt>realm, <a class="indexterm" href="ServerType.html#id2560148">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-bdc.html#id2567603">NetBIOS Over TCP/IP Disabled</a>, <a class="indexterm" href="domain-member.html#id2572115">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a></dt><dt>rebooted, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></dt><dt>rebooting server, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>recompiling, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>reconfiguration, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>record locking, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>recycle, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>recycle bin, <a class="indexterm" href="VFS.html#id2650394">Discussion</a></dt><dt>recycle directory, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>recycle:exclude, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>recycle:exclude_dir, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>recycle:keeptree, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>recycle:maxsize, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>recycle:noversions, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>recycle:repository, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>recycle:subdir_mode, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>recycle:touch, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>recycle:versions, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>Red Hat Cluster Manager, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>Red Hat Linux, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#id2570526">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="groupmapping.html#id2596644">Warning: User Private Group Problems</a></dt><dt>redirect, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a></dt><dt>redirection, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a></dt><dt>redirector, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>redundancy, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>reference documents, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></dt><dt>refusing connection, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>regedit.exe, <a class="indexterm" href="ProfileMgmt.html#id2663378">MS Windows 9x/Me</a></dt><dt>regedt32, <a class="indexterm" href="ProfileMgmt.html#id2663529">MS Windows NT4 Workstation</a></dt><dt>regedt32.exe, <a class="indexterm" href="PolicyMgmt.html#id2660228">Windows NT4/200x</a></dt><dt>register driver files, <a class="indexterm" href="classicalprinting.html#id2628941">Running rpcclient with adddriver</a></dt><dt>register NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>registered, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="classicalprinting.html#id2629206">Check Samba for Driver Recognition</a></dt><dt>registers, <a class="indexterm" href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a></dt><dt>registry, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="locking.html#id2615585">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659098">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2663378">MS Windows 9x/Me</a></dt><dt>registry change, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>registry keys, <a class="indexterm" href="ProfileMgmt.html#id2663347">Default Profile for Windows Users</a></dt><dt>registry settings, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></dt><dt>regulations, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>rejoin, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></dt><dt>relationship password, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>relative identifier, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a> (see RID)</dt><dt>Relative Identifier (see RID)</dt><dt>Relative Identifiers (see RID)</dt><dt>reliability, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>Remote Access Dial-In User Service (see RADIUS)</dt><dt>remote announce, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></dt><dt>remote browse sync, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></dt><dt>remote desktop capabilities, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>remote desktop management, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657803">Remote Desktop Management</a></dt><dt>remote domain, <a class="indexterm" href="InterdomainTrusts.html#id2620141">Creating an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620238">Completing an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>remote login, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>remote management, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a>, <a class="indexterm" href="winbind.html#id2653925">Microsoft Remote Procedure Calls</a></dt><dt>Remote Procedure Call (see RPC)</dt><dt>Remote Procedure Call System Service (see RPCSS)</dt><dt>remote profile, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>remote segment, <a class="indexterm" href="NetworkBrowsing.html#id2583498">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>Remote X, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>Remote X protocol, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>remote-update protocol, <a class="indexterm" href="Backup.html#id2671723">Rsync</a></dt><dt>rename, <a class="indexterm" href="AccessControls.html#id2611116">Managing Directories</a></dt><dt>render, <a class="indexterm" href="CUPS-printing.html#id2634206">Raw Print Serving: Vendor Drivers on Windows Clients</a></dt><dt>rendering, <a class="indexterm" href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>repeated intervals, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>replicate, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>replicated, <a class="indexterm" href="ServerType.html#id2558832">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2567331">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a></dt><dt>replicated SYSVOL, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a></dt><dt>replication, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></dt><dd><dl><dt>browse lists, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></dt><dt>SAM, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568719">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a></dt><dt>WINS, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584183">WINS Replication</a></dt></dl></dd><dt>replication protocols, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a></dt><dt>repository, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>requesting payment, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>required, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>requisite, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>research, <a class="indexterm" href="Backup.html#id2671454">Discussion of Backup Solutions</a></dt><dt>resizing, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>resolution, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></dt><dt>resolution of NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a></dt><dt>resolve NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a></dt><dt>resolver functions, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a></dt><dt>resource failover, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>resource kit, <a class="indexterm" href="PolicyMgmt.html#id2659660">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="ProfileMgmt.html#profilemigrn">Windows NT4 Profile Management Tools</a></dt><dt>resource-based exclusion, <a class="indexterm" href="securing-samba.html#id2618174">Features and Benefits</a></dt><dt>response, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a></dt><dt>restore, <a class="indexterm" href="tdb.html#id2686919">Features and Benefits</a></dt><dt>restrict DNS, <a class="indexterm" href="NetworkBrowsing.html#id2584620">Name Resolution Order</a></dt><dt>reviewers, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>revoke privileges, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>RFC 1001, <a class="indexterm" href="DNSDHCP.html#id2693070">Example Configuration</a></dt><dt>RFC 1002, <a class="indexterm" href="DNSDHCP.html#id2693070">Example Configuration</a></dt><dt>RFC 1179, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>RFC 2307, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>RFC 2307., <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>RFC 2830, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>rfc2307bis, <a class="indexterm" href="idmapper.html#id2607774">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>RFC2830, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></dt><dt>RFCs, <a class="indexterm" href="problems.html">Analyzing and Solving Samba Problems</a></dt><dt>rich database backend, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>rich directory backend, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>RID, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a>, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a>, <a class="indexterm" href="winbind.html#id2654453">User and Group ID Allocation</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>RID 500, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>RID base, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a></dt><dt>right to join domain, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>rights, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2573107">Possible Errors</a>, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a></dt><dt>rights and privilege, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>rights and privileges, <a class="indexterm" href="groupmapping.html#id2597278">Important Administrative Information</a>, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>rights assigned, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>RIP, <a class="indexterm" href="CUPS-printing.html#id2638977">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>rlogind, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>Roaming Profile, <a class="indexterm" href="VFS.html#fakeperms">fake_perms</a></dt><dt>roaming profiles, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="ProfileMgmt.html#id2660587">Features and Benefits</a>, <a class="indexterm" href="ProfileMgmt.html#id2661076">Disabling Roaming Profile Support</a>, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>rogue machine, <a class="indexterm" href="NetworkBrowsing.html#id2586398">Flushing the Samba NetBIOS Name Cache</a></dt><dt>rogue user, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>root, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>root account, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>root user, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>rotate, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>RPC, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="ProfileMgmt.html#id2660636">Roaming Profiles</a></dt><dt>RPC calls, <a class="indexterm" href="winbind.html#id2657317">Conclusion</a>, <a class="indexterm" href="SambaHA.html#id2672440">The Front-End Challenge</a></dt><dt>RPC modules, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>rpc.lockd, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>rpcclient, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a>, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2629434">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2645315">Troubleshooting Revisited</a>, <a class="indexterm" href="PolicyMgmt.html#id2660268">Samba PDC</a></dt><dd><dl><dt>adddriver, <a class="indexterm" href="CUPS-printing.html#id2642694">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2642886">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2643549">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2643895">Understanding the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2644132">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a></dt><dt>enumdrivers, <a class="indexterm" href="CUPS-printing.html#id2643549">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a></dt><dt>enumports, <a class="indexterm" href="CUPS-printing.html#id2643549">Installing PostScript Driver Files Manually Using rpcclient</a></dt><dt>enumprinters, <a class="indexterm" href="CUPS-printing.html#id2643549">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2644132">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="CUPS-printing.html#id2645315">Troubleshooting Revisited</a></dt><dt>getdriver, <a class="indexterm" href="CUPS-printing.html#id2644000">Producing an Example by Querying a Windows Box</a>, <a class="indexterm" href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a></dt><dt>getprinter, <a class="indexterm" href="CUPS-printing.html#id2644000">Producing an Example by Querying a Windows Box</a>, <a class="indexterm" href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="CUPS-printing.html#id2645315">Troubleshooting Revisited</a></dt><dt>setdriver, <a class="indexterm" href="CUPS-printing.html#id2642037">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2642694">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2642886">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2643549">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2644132">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a></dt></dl></dd><dt>rsh, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a></dt><dt>rsync, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a>, <a class="indexterm" href="Backup.html#id2671723">Rsync</a>, <a class="indexterm" href="compiling.html#id2687810">Accessing the Samba Sources via rsync and ftp</a></dt><dt>rsyncd, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a></dt><dt>runas, <a class="indexterm" href="classicalprinting.html#id2630390">Always Make First Client Connection as root or printer admin</a></dt><dt>rundll32, <a class="indexterm" href="classicalprinting.html#id2630271">Additional Client Driver Installation</a>, <a class="indexterm" href="classicalprinting.html#id2630584">Setting Default Print Options for Client Drivers</a>, <a class="indexterm" href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658618">Adding Printers without User Intervention</a></dt></dl></div><div class="indexdiv"><h3>S</h3><dl><dt>SAM, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2568664">Machine Accounts Keep Expiring</a>, <a class="indexterm" href="samba-bdc.html#id2568719">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="winbind.html#id2654529">Result Caching</a></dt><dd><dl><dt>delta file, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>replication, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt></dl></dd><dt>SAM backend, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dd><dl><dt>LDAP, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a></dt><dt>ldapsam, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a></dt><dt>ldapsam_compat, <a class="indexterm" href="passdb.html#id2587249">Features and Benefits</a></dt><dt>non-LDAP, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a></dt><dt>smbpasswd, <a class="indexterm" href="passdb.html#id2587249">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>tdbsam, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a></dt></dl></dd><dt>Samba 1.9.17, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a></dt><dt>Samba account, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></dt><dt>Samba administrator, <a class="indexterm" href="winbind.html#id2654592">Introduction</a></dt><dt>Samba backend database, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></dt><dt>Samba daemons, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>Samba differences, <a class="indexterm" href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></dt><dt>Samba mailing lists, <a class="indexterm" href="Backup.html#id2671410">Features and Benefits</a></dt><dt>Samba private directory, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>Samba SAM, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>Samba SAM account, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></dt><dt>Samba SAM account flags, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>Samba schema, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>Samba security, <a class="indexterm" href="securing-samba.html#id2618174">Features and Benefits</a></dt><dt>Samba-2.2.x LDAP schema, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a></dt><dt>Samba-3-compatible LDAP backend, <a class="indexterm" href="upgrading-to-3.0.html#id2676324">Quick Migration Guide</a></dt><dt>Samba-PDC-LDAP-HOWTO, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a></dt><dt>samba-to-samba trusts, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>samba-vscan, <a class="indexterm" href="VFS.html#id2652814">vscan</a></dt><dt>samba.schema, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>sambaDomain, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>sambaGroupMapping, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>sambaHomeDrive, <a class="indexterm" href="passdb.html#id2594832">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>sambaHomePath, <a class="indexterm" href="passdb.html#id2594832">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>sambaIdmapEntry, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>sambaLogonScript, <a class="indexterm" href="passdb.html#id2594832">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>SambaNTPassword, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>sambaProfilePath, <a class="indexterm" href="passdb.html#id2594832">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>SambaSAMAccount, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="passdb.html#id2591394">Adding User Accounts</a>, <a class="indexterm" href="passdb.html#id2591481">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2591566">Changing User Accounts</a>, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a></dt><dt>sambaSamAccount, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2594483">Accounts and Groups Management</a>, <a class="indexterm" href="passdb.html#id2594832">LDAP Special Attributes for sambaSamAccounts</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>sambaSAMAccount, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>sambaSID, <a class="indexterm" href="ChangeNotes.html#id2579276">LDAP Changes in Samba-3.0.23</a></dt><dt>sambaUNIXIdPool, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>SambaXP conference, <a class="indexterm" href="SambaHA.html#id2672157">Technical Discussion</a></dt><dt>samdb interface, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>same domain/workgroup, <a class="indexterm" href="cfgsmarts.html#id2675343">Multiple Virtual Server Hosting</a></dt><dt>Sarbanes-Oxley, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>scalability, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619747">Features and Benefits</a></dt><dt>scalable, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>scalable backend, <a class="indexterm" href="InterdomainTrusts.html#id2619747">Features and Benefits</a></dt><dt>scalable coherent interface (see SCI)</dt><dt>scale, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>scanner module, <a class="indexterm" href="VFS.html#id2650394">Discussion</a></dt><dt>schannel, <a class="indexterm" href="samba-pdc.html#id2565619">Cannot Log onto Domain Member Workstation After Joining Domain</a></dt><dt>schema, <a class="indexterm" href="idmapper.html#id2607774">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>schema file, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>scp, <a class="indexterm" href="Backup.html#id2671723">Rsync</a></dt><dt>script, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></dt><dt>scripted control, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a></dt><dt>scripts, <a class="indexterm" href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a>, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a></dt><dt>SCSI, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>SeAddUsersPrivilege, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>SeAssignPrimaryTokenPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeAuditPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeBackupPrivilege, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeChangeNotifyPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>Seclib, <a class="indexterm" href="AccessControls.html#id2613601">Viewing File Ownership</a></dt><dt>secondary controller, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>SeCreateGlobalPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreatePagefilePrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreatePermanentPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreateTokenPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>secret, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>secrets.tdb, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a>, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>section name, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt><dt>secure, <a class="indexterm" href="StandAloneServer.html#id2574163">Features and Benefits</a></dt><dt>secure access, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>secure authentication, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>secure communications, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>secured networks, <a class="indexterm" href="securing-samba.html#id2618075">Introduction</a></dt><dt>security, <a class="indexterm" href="ServerType.html#id2559136">Samba Security Modes</a>, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="securing-samba.html#id2618075">Introduction</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dd><dl><dt>controllers, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></dt><dt>modes, <a class="indexterm" href="ServerType.html#id2558832">Features and Benefits</a></dt><dt>settings, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt></dl></dd><dt>security = user, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>security account, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dt>Security Account Manager (see SAM)</dt><dt>Security Assertion Markup Language (see SAML)</dt><dt>security context, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>security contexts, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>security credentials, <a class="indexterm" href="idmapper.html#id2605741">Backup Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620105">Native MS Windows NT4 Trusts Configuration</a></dt><dt>security domain, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>security domains, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>security flaw, <a class="indexterm" href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a></dt><dt>security hole, <a class="indexterm" href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a></dt><dt>security identifier, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a> (see SID)</dt><dt>security level, <a class="indexterm" href="ServerType.html#id2560291">Server Security (User Level Security)</a></dt><dt>security levels, <a class="indexterm" href="ServerType.html#id2559136">Samba Security Modes</a></dt><dt>security mode, <a class="indexterm" href="ServerType.html">Server Types and Security Modes</a>, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a></dt><dt>Security Mode, <a class="indexterm" href="ServerType.html#id2559136">Samba Security Modes</a></dt><dt>security modes, <a class="indexterm" href="ServerType.html#id2559136">Samba Security Modes</a></dt><dt>security name-space, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>security policies, <a class="indexterm" href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a></dt><dt>security settings, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>security structure, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>security vulnerability, <a class="indexterm" href="securing-samba.html#id2619099">Upgrading Samba</a></dt><dt>security-aware, <a class="indexterm" href="CUPS-printing.html#id2638698">application/octet-stream Printing</a></dt><dt>SeDebugPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeDiskOperatorPrivilege, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>SeEnableDelegationPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeImpersonatePrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeIncreaseBasePriorityPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeIncreaseQuotaPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeLoadDriverPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeLockMemoryPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeMachineAccountPrivilege, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeManageVolumePrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>separate instances, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>separate servers, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>separate shares, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>separate workgroups, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>SePrintOperatorPrivilege, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>SeProfileSingleProcessPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeRemoteShutdownPrivilege, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeRestorePrivilege, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>server failure, <a class="indexterm" href="SambaHA.html#id2672321">Why Is This So Hard?</a></dt><dt>Server Manager, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657660">Remote Server Administration</a></dt><dt>Server Manager for Domains, <a class="indexterm" href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>Server Message Block (see SMB)</dt><dt>server pool, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a>, <a class="indexterm" href="SambaHA.html#id2672767">Restrictive Constraints on Distributed File Systems</a></dt><dt>Server Type, <a class="indexterm" href="ServerType.html#id2558991">Server Types</a></dt><dd><dl><dt>Domain Controller, <a class="indexterm" href="FastStart.html#id2556827">Domain Controller</a></dt><dt>Domain Member, <a class="indexterm" href="FastStart.html#id2555984">Domain Member Server</a>, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a></dt><dt>Stand-alone, <a class="indexterm" href="FastStart.html#id2554243">Standalone Server</a></dt></dl></dd><dt>server type, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dd><dl><dt>domain member, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a></dt></dl></dd><dt>Server Types, <a class="indexterm" href="idmapper.html#id2604468">Samba Server Deployment Types and IDMAP</a></dt><dt>server-mode, <a class="indexterm" href="ServerType.html#id2560815">What Makes Samba a Domain Controller?</a></dt><dt>service name, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>service-level, <a class="indexterm" href="classicalprinting.html#id2622540">Printing-Related Configuration Parameters</a>, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>services provided, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>SeSecurityPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeShutdownPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>session, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>session services, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt><dt>session setup, <a class="indexterm" href="ServerType.html#id2559298">User Level Security</a>, <a class="indexterm" href="ServerType.html#id2560291">Server Security (User Level Security)</a></dt><dt>sessionid.tdb, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>SessionSetupAndX, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>SeSyncAgentPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemEnvironmentPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemProfilePrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemtimePrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>set a password, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>set group id (see SGID)</dt><dt>set printer properties, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>set user id (see SUID)</dt><dt>SeTakeOwnershipPrivilege, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeTcbPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>setdriver, <a class="indexterm" href="CUPS-printing.html#id2643723">A Check of the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2644132">Requirements for adddriver and setdriver to Succeed</a></dt><dt>SetPrinter(), <a class="indexterm" href="CUPS-printing.html#id2643723">A Check of the rpcclient man Page</a></dt><dt>setting up directories, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>SeUndockPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>severely impaired, <a class="indexterm" href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a></dt><dt>SFU, <a class="indexterm" href="idmapper.html#id2608044">IDMAP, Active Directory, and MS Services for UNIX 3.5</a></dt><dt>SFU 3.5, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a></dt><dt>SGI-RGB, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>SGID, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>shadow, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a></dt><dt>shadow copies, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>shadow password file, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>shadow utilities, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a></dt><dt>shadow_copy, <a class="indexterm" href="VFS.html#id2651827">shadow_copy</a>, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>shadow_copy module, <a class="indexterm" href="VFS.html#id2651827">shadow_copy</a></dt><dt>share, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a>, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>share access, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a></dt><dt>share ACLs, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>share management, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dt>share modes, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a></dt><dt>share permissions, <a class="indexterm" href="AccessControls.html#id2613141">Windows NT4 Workstation/Server</a></dt><dt>Share Permissions, <a class="indexterm" href="AccessControls.html#id2613247">Windows 200x/XP</a></dt><dt>share settings, <a class="indexterm" href="AccessControls.html#id2610573">Features and Benefits</a></dt><dt>share stanza controls, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>share-level, <a class="indexterm" href="ServerType.html#id2559136">Samba Security Modes</a>, <a class="indexterm" href="ServerType.html#id2559461">Share-Level Security</a>, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>share-level ACLs, <a class="indexterm" href="groupmapping.html#id2597396">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>share-mode, <a class="indexterm" href="StandAloneServer.html#id2574163">Features and Benefits</a></dt><dt>share-mode security, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a></dt><dt>share-mode server, <a class="indexterm" href="StandAloneServer.html#id2574163">Features and Benefits</a></dt><dt>shared secret, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>shares, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a></dt><dt>shares and files, <a class="indexterm" href="winbind.html#id2654706">Requirements</a></dt><dt>share_info.tdb, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a>, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>Sharing, <a class="indexterm" href="AccessControls.html#id2613247">Windows 200x/XP</a></dt><dt>shell scripts, <a class="indexterm" href="classicalprinting.html#id2625403">Print Commands</a></dt><dt>shift, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>Shift_JIS, <a class="indexterm" href="unicode.html#id2670247">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>shortcuts, <a class="indexterm" href="ClientConfig.html#id2575613">TCP/IP Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>Shortcuts, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>show-stopper-type, <a class="indexterm" href="NT4Migration.html#id2679090">Planning and Getting Started</a></dt><dt>SID, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2565377">The System Cannot Log You On (C000019B)</a>, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a>, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2653749">Handling of Foreign SIDs</a>, <a class="indexterm" href="ProfileMgmt.html#id2662971">Side Bar Notes</a>, <a class="indexterm" href="ProfileMgmt.html#id2663064">Get SID</a>, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a>, <a class="indexterm" href="NT4Migration.html#id2679977">Profile Migration/Creation</a></dt><dt>SID management, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dt>SID-to-GID, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a></dt><dt>SIDs, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>signing, <a class="indexterm" href="samba-pdc.html#id2565619">Cannot Log onto Domain Member Workstation After Joining Domain</a></dt><dt>simple access controls, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>simple configuration, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>simple guide, <a class="indexterm" href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></dt><dt>Simple Object Access Protocol (see SOAP)</dt><dt>simple operation, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>simple print server, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>simple printing, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a></dt><dt>simplest</dt><dd><dl><dt>configuration, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt></dl></dd><dt>simplicity, <a class="indexterm" href="StandAloneServer.html#id2574163">Features and Benefits</a></dt><dt>Simplicity is king, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>single DHCP server, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>single repository, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>single server, <a class="indexterm" href="SambaHA.html#id2672440">The Front-End Challenge</a></dt><dt>single sign-on, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a> (see SSO)</dt><dt>Single Sign-On, <a class="indexterm" href="CUPS-printing.html#id2642037">Caveats to Be Considered</a></dt><dt>single-byte charsets, <a class="indexterm" href="unicode.html#id2669946">What Are Charsets and Unicode?</a></dt><dt>single-logon, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a></dt><dt>single-sign-on, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>single-user mode, <a class="indexterm" href="winbind.html#id2654706">Requirements</a></dt><dt>slapadd, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a></dt><dt>slapd, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a></dt><dt>slapd.conf, <a class="indexterm" href="ChangeNotes.html#id2579276">LDAP Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>slapd.pem, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></dt><dt>slapindex, <a class="indexterm" href="ChangeNotes.html#id2579276">LDAP Changes in Samba-3.0.23</a></dt><dt>slappasswd, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a></dt><dt>slave servers, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>slow browsing, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></dt><dt>slow network, <a class="indexterm" href="speed.html#id2691136">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>slow network browsing, <a class="indexterm" href="NetworkBrowsing.html#id2586766">Invalid Cached Share References Affects Network Browsing</a></dt><dt>slow performance, <a class="indexterm" href="speed.html#id2691323">Samba Performance is Very Slow</a></dt><dt>smart printers, <a class="indexterm" href="CUPS-printing.html#id2633034">Overview</a></dt><dt>SMB, <a class="indexterm" href="ServerType.html#id2560291">Server Security (User Level Security)</a>, <a class="indexterm" href="domain-member.html#id2574030">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584823">Technical Overview of Browsing</a>, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a>, <a class="indexterm" href="SambaHA.html#id2672440">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2672836">Server Pool Communications</a>, <a class="indexterm" href="problems.html">Analyzing and Solving Samba Problems</a></dt><dt>SMB encryption, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>SMB locks, <a class="indexterm" href="SambaHA.html#id2672836">Server Pool Communications</a></dt><dt>SMB name, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a></dt><dt>SMB networking, <a class="indexterm" href="problems.html#id2684879">Diagnostics Tools</a></dt><dt>SMB password, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a></dt><dt>SMB Password, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>SMB password encryption, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>smb ports, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>SMB printers, <a class="indexterm" href="CUPS-printing.html#id2649445">Administrator Cannot Install Printers for All Local Users</a></dt><dt>SMB requests, <a class="indexterm" href="SambaHA.html#id2672534">Demultiplexing SMB Requests</a></dt><dt>SMB semantics, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a></dt><dt>SMB server, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>SMB Server, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>SMB services, <a class="indexterm" href="SambaHA.html#id2672767">Restrictive Constraints on Distributed File Systems</a></dt><dt>SMB signing, <a class="indexterm" href="domain-member.html#id2574030">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>SMB state information, <a class="indexterm" href="SambaHA.html#id2672534">Demultiplexing SMB Requests</a></dt><dt>SMB-based messaging, <a class="indexterm" href="NetworkBrowsing.html#netdiscuss">Discussion</a></dt><dt>smb-cdserver.conf, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>smb.conf, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>SMB/CIFS, <a class="indexterm" href="samba-bdc.html#id2567390">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="domain-member.html#id2574030">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a>, <a class="indexterm" href="unicode.html#id2669946">What Are Charsets and Unicode?</a></dt><dt>SMB/CIFS server, <a class="indexterm" href="passdb.html#id2592519">Password Backends</a></dt><dt>smbclient, <a class="indexterm" href="domain-member.html#ads-test-smbclient">Testing with smbclient</a>, <a class="indexterm" href="classicalprinting.html#id2628585">Installing Driver Files into [print$]</a>, <a class="indexterm" href="classicalprinting.html#id2628804">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a>, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a></dt><dt>smbd, <a class="indexterm" href="install.html#id2552921">Starting Samba</a>, <a class="indexterm" href="install.html#id2553100">Example Configuration</a>, <a class="indexterm" href="install.html#id2553334">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2555235">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2556059">Example Configuration</a>, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2594059">Configuring Samba</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605900">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a>, <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2623122">Rapid Configuration Validation</a>, <a class="indexterm" href="VFS.html#id2651054">extd_audit</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2654858">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="winbind.html#id2656253">Linux</a>, <a class="indexterm" href="winbind.html#id2656458">Solaris</a>, <a class="indexterm" href="SambaHA.html#id2672836">Server Pool Communications</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a>, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a></dt><dt>smbgroupedit, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a></dt><dt>smbgrpadd.sh, <a class="indexterm" href="groupmapping.html#id2598231">Sample smb.conf Add Group Script</a></dt><dt>smbHome, <a class="indexterm" href="passdb.html#id2594832">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>smbldap-groupadd, <a class="indexterm" href="NetCommand.html#id2599600">Adding or Creating a New Group</a></dt><dt>smbldap-tools, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a></dt><dt>smbpasswd, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2572115">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2591042">User Account Management</a>, <a class="indexterm" href="passdb.html#id2592394">Account Import/Export</a>, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a>, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a>, <a class="indexterm" href="PolicyMgmt.html#id2660268">Samba PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678169">Passdb Backends and Authentication</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>smbpasswd format, <a class="indexterm" href="passdb.html#id2591158">Listing User and Machine Accounts</a></dt><dt>smbpasswd plaintext database, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>SMBsessetupX, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a></dt><dt>smbspool, <a class="indexterm" href="CUPS-printing.html#id2648535">Printing from CUPS to Windows-Attached Printers</a></dt><dt>smbstatus, <a class="indexterm" href="CUPS-printing.html#id2649253">Avoid Being Connected to the Samba Server as the Wrong User</a>, <a class="indexterm" href="bugreport.html#id2686710">Attaching to a Running Process</a></dt><dt>SMBtconX, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a></dt><dt>smbusers, <a class="indexterm" href="securing-samba.html#id2618490">User-Based Protection</a></dt><dt>SMS, <a class="indexterm" href="problems.html#id2685381">The Windows Network Monitor</a></dt><dt>Snapshots, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>sniffer, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="problems.html#id2684879">Diagnostics Tools</a></dt><dt>socket, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>socket address, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>SOFTQ printing system, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>Solaris, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="winbind.html#id2656647">Configure Winbind and PAM</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>Solaris 9, <a class="indexterm" href="winbind.html#id2656458">Solaris</a></dt><dt>source code, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>space character, <a class="indexterm" href="groupmapping.html#id2598543">Adding Groups Fails</a></dt><dt>special account, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>special section, <a class="indexterm" href="classicalprinting.html#id2627200">[print$] Stanza Parameters</a></dt><dt>special sections, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>special stanza, <a class="indexterm" href="classicalprinting.html#id2627200">[print$] Stanza Parameters</a></dt><dt>specific restrictions, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a></dt><dt>Specify an IP address, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>spinning process, <a class="indexterm" href="bugreport.html#id2686710">Attaching to a Running Process</a></dt><dt>spool, <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a></dt><dd><dl><dt>directory, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt></dl></dd><dt>spool files, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a></dt><dt>spooled file, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a></dt><dt>spooler., <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt><dt>spooling, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2634156">Central Spooling vs. Peer-to-Peer Printing</a></dt><dd><dl><dt>central, <a class="indexterm" href="CUPS-printing.html#id2634156">Central Spooling vs. Peer-to-Peer Printing</a></dt><dt>peer-to-peer, <a class="indexterm" href="CUPS-printing.html#id2634156">Central Spooling vs. Peer-to-Peer Printing</a></dt></dl></dd><dt>spooling path, <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a></dt><dt>spooling-only, <a class="indexterm" href="CUPS-printing.html#id2634206">Raw Print Serving: Vendor Drivers on Windows Clients</a></dt><dt>SPOOLSS, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>SQL, <a class="indexterm" href="ChangeNotes.html#id2579095">Passdb Changes</a></dt><dt>SQUID, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>SRV records, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></dt><dt>SRV RR, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a></dt><dt>SrvMgr.exe, <a class="indexterm" href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>srvmgr.exe, <a class="indexterm" href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>SRVTOOLS.EXE, <a class="indexterm" href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657660">Remote Server Administration</a></dt><dt>ssh, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a></dt><dt>SSH, <a class="indexterm" href="classicalprinting.html#id2628804">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></dt><dt>SSL, <a class="indexterm" href="SWAT.html#id2681902">Securing SWAT through SSL</a></dt><dt>SSO, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>stability, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>stack trace, <a class="indexterm" href="bugreport.html#id2686577">Internal Errors</a></dt><dt>stale network links, <a class="indexterm" href="NetworkBrowsing.html#id2586766">Invalid Cached Share References Affects Network Browsing</a></dt><dt>stand-alone server, <a class="indexterm" href="idmapper.html#id2604493">Standalone Samba Server</a></dt><dt>standalone, <a class="indexterm" href="ServerType.html#id2558991">Server Types</a>, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>standalone filter, <a class="indexterm" href="CUPS-printing.html#id2637361">pstoraster</a></dt><dt>standalone server, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="StandAloneServer.html">Standalone Servers</a>, <a class="indexterm" href="StandAloneServer.html#id2574163">Features and Benefits</a>, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a>, <a class="indexterm" href="passdb.html#id2591394">Adding User Accounts</a>, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>standard confirmation, <a class="indexterm" href="InterdomainTrusts.html#id2620141">Creating an NT4 Domain Trust</a></dt><dt>stanza, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>stapling, <a class="indexterm" href="CUPS-printing.html#id2637193">pstops</a></dt><dt>StartDocPrinter, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>starting samba</dt><dd><dl><dt>nmbd, <a class="indexterm" href="install.html#id2552921">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2555235">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2556059">Example Configuration</a></dt><dt>smbd, <a class="indexterm" href="install.html#id2552921">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2555235">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2556059">Example Configuration</a></dt><dt>winbindd, <a class="indexterm" href="install.html#id2552921">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2556059">Example Configuration</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a></dt></dl></dd><dt>startsmb, <a class="indexterm" href="compiling.html#id2688751">Alternative: Starting smbd as a Daemon</a></dt><dt>StartTLS, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>startup</dt><dd><dl><dt>process, <a class="indexterm" href="install.html#id2552921">Starting Samba</a></dt></dl></dd><dt>startup script, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>state, <a class="indexterm" href="SambaHA.html#id2672321">Why Is This So Hard?</a></dt><dt>state information, <a class="indexterm" href="SambaHA.html#id2672321">Why Is This So Hard?</a></dt><dt>state of knowledge, <a class="indexterm" href="SambaHA.html#id2672036">Features and Benefits</a></dt><dt>static WINS entries, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>status32 codes, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>sticky bit, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a>, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>storage mechanism, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a></dt><dt>storage methods, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a></dt><dt>stphoto2.ppd, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>strange delete semantics, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>stripped of comments, <a class="indexterm" href="SWAT.html#id2681115">Features and Benefits</a></dt><dt>strptime, <a class="indexterm" href="passdb.html#id2591566">Changing User Accounts</a></dt><dt>stunnel, <a class="indexterm" href="SWAT.html#id2681902">Securing SWAT through SSL</a></dt><dt>su, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>subnet mask, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>subnets, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></dt><dt>subscription, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>subsuffix parameters, <a class="indexterm" href="upgrading-to-3.0.html#id2678757">New Suffix for Searching</a></dt><dt>Subversion, <a class="indexterm" href="compiling.html#id2687577">Introduction</a>, <a class="indexterm" href="compiling.html#id2687668">Access via Subversion</a></dt><dt>successful join, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt><dt>successful migration, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>sufficient, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>suffixes, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>SUID, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>Sun, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>Sun ONE iDentity server, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>Sun Solaris, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>SUN-Raster, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>support, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>support exposure, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>SVN</dt><dd><dl><dt>web, <a class="indexterm" href="compiling.html#id2687632">Access via ViewCVS</a></dt></dl></dd><dt>SVRTOOLS.EXE, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt><dt>SWAT, <a class="indexterm" href="install.html#id2551976">Configuring Samba (smb.conf)</a>, <a class="indexterm" href="SWAT.html">SWAT: The Samba Web Administration Tool</a></dt><dt>swat, <a class="indexterm" href="install.html#id2553503">SWAT</a>, <a class="indexterm" href="SWAT.html#id2681264">Validate SWAT Installation</a>, <a class="indexterm" href="SWAT.html#id2681334">Locating the SWAT File</a>, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dd><dl><dt>enable, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>security, <a class="indexterm" href="SWAT.html#id2681902">Securing SWAT through SSL</a></dt></dl></dd><dt>SWAT binary support, <a class="indexterm" href="SWAT.html#id2681264">Validate SWAT Installation</a></dt><dt>swat command-line options, <a class="indexterm" href="SWAT.html#id2681334">Locating the SWAT File</a></dt><dt>SWAT permission allowed, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>symbolic links, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>synchronization, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>synchronization problems, <a class="indexterm" href="winbind.html#id2653461">Introduction</a></dt><dt>synchronize, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583498">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>synchronized, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a></dt><dt>syntax tolerates spelling errors, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a></dt><dt>system access controls, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>system accounts, <a class="indexterm" href="passdb.html#id2591042">User Account Management</a></dt><dt>system administrator, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>system groups, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>system interface scripts, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>system policies, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a></dt><dt>System Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659660">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2663378">MS Windows 9x/Me</a></dt><dt>system security, <a class="indexterm" href="groupmapping.html#id2597396">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>system tools, <a class="indexterm" href="Backup.html#id2671410">Features and Benefits</a></dt><dt>SYSV, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>SYSVOL, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a></dt></dl></div><div class="indexdiv"><h3>T</h3><dl><dt>tail, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a></dt><dt>take ownership, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>Take Ownership, <a class="indexterm" href="AccessControls.html#id2613601">Viewing File Ownership</a></dt><dt>tape, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>tar, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a></dt><dt>tarball, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>tattoo effect, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>TCP, <a class="indexterm" href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a>, <a class="indexterm" href="SambaHA.html#id2672321">Why Is This So Hard?</a></dt><dt>TCP data streams, <a class="indexterm" href="SambaHA.html#id2672440">The Front-End Challenge</a></dt><dt>TCP failover, <a class="indexterm" href="SambaHA.html#id2672321">Why Is This So Hard?</a></dt><dt>TCP port, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt><dt>TCP port 139, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>TCP port 445, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>tcp ports, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a></dt><dt>TCP/IP, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a></dt><dt>TCP/IP configuration, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>TCP/IP configuration panel, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>TCP/IP protocol configuration, <a class="indexterm" href="ClientConfig.html#id2575569">Technical Details</a></dt><dt>TCP/IP protocol settings, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>TCP/IP protocol stack, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a></dt><dt>TCP/IP-only, <a class="indexterm" href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a></dt><dt>tcpdump, <a class="indexterm" href="problems.html#id2685187">Tcpdump</a></dt><dt>TDB, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a>, <a class="indexterm" href="classicalprinting.html#id2629548">Running rpcclient with setdriver</a>, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a>, <a class="indexterm" href="CUPS-printing.html#id2645661">Trivial Database Files</a>, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dd><dl><dt>backing up (see tdbbackup)</dt></dl></dd><dt>tdb, <a class="indexterm" href="winbind.html#id2654453">User and Group ID Allocation</a>, <a class="indexterm" href="SambaHA.html#id2672836">Server Pool Communications</a>, <a class="indexterm" href="tdb.html#id2686919">Features and Benefits</a></dt><dt>tdb data files, <a class="indexterm" href="upgrading-to-3.0.html#id2677721">TDB Data Files</a></dt><dt>TDB database, <a class="indexterm" href="classicalprinting.html#id2628941">Running rpcclient with adddriver</a></dt><dt>TDB database files, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></dt><dt>tdb file backup, <a class="indexterm" href="upgrading-to-3.0.html#id2677721">TDB Data Files</a></dt><dt>tdb file descriptions, <a class="indexterm" href="install.html#tdbdocs">TDB Database File Information</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2677721">TDB Data Files</a></dt><dt>tdb file locations, <a class="indexterm" href="install.html#tdbdocs">TDB Database File Information</a></dt><dt>tdb files, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a></dt><dt>tdbbackup, <a class="indexterm" href="CUPS-printing.html#id2645846">Using tdbbackup</a>, <a class="indexterm" href="speed.html#id2691227">Corrupt tdb Files</a></dt><dt>tdbdump, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a></dt><dt>tdbsam, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2591158">Listing User and Machine Accounts</a>, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a>, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>tdbsam databases, <a class="indexterm" href="passdb.html#id2592519">Password Backends</a></dt><dt>technical reviewers, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>Telnet, <a class="indexterm" href="passdb.html#id2588500">Advantages of Non-Encrypted Passwords</a></dt><dt>telnet logins, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>template, <a class="indexterm" href="ProfileMgmt.html#id2663269">Creating and Managing Group Profiles</a></dt><dt>temporary location, <a class="indexterm" href="classicalprinting.html#id2625403">Print Commands</a></dt><dt>terminal server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></dt><dt>Terminal Server, <a class="indexterm" href="SambaHA.html#id2672534">Demultiplexing SMB Requests</a></dt><dt>Testing Server Setup, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>testparm, <a class="indexterm" href="install.html#id2553334">Test Your Config File with testparm</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2623122">Rapid Configuration Validation</a>, <a class="indexterm" href="classicalprinting.html#id2623522">Extended Printing Configuration</a>, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a>, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a></dt><dt>tethereal, <a class="indexterm" href="problems.html#id2685187">Tcpdump</a></dt><dt>text/plain, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a></dt><dt>texttops, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a></dt><dt>thin client, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></dt><dt>ThinLinc, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></dt><dt>tid, <a class="indexterm" href="SambaHA.html#id2672534">Demultiplexing SMB Requests</a></dt><dt>TIFF, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>TightVNC, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></dt><dt>time difference, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>time format, <a class="indexterm" href="passdb.html#id2591566">Changing User Accounts</a></dt><dt>time-to-live (see TTL)</dt><dt>tool, <a class="indexterm" href="AccessControls.html#id2613247">Windows 200x/XP</a></dt><dt>tools, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a></dt><dt>tools\reskit\netadmin\poledit, <a class="indexterm" href="PolicyMgmt.html#id2659098">Windows 9x/ME Policies</a></dt><dt>traditional printing, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a></dt><dt>training course, <a class="indexterm" href="Backup.html#id2671454">Discussion of Backup Solutions</a></dt><dt>transfer differences, <a class="indexterm" href="Backup.html#id2671723">Rsync</a></dt><dt>transformation, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>transitive, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>transparent access, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a></dt><dt>transparently reconnected, <a class="indexterm" href="SambaHA.html#id2672191">The Ultimate Goal</a></dt><dt>transport connection loss, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>Transport Layer Seccurity, TLS</dt><dd><dl><dt>Configuring, <a class="indexterm" href="ch-ldap-tls.html#s1-config-ldap-tls">Configuring</a></dt><dt>Introduction, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt></dl></dd><dt>transport layer security (see TLS)</dt><dt>Transport Layer Security, TLS</dt><dd><dl><dt>Testing, <a class="indexterm" href="ch-ldap-tls.html#s1-test-ldap-tls">Testing</a></dt><dt>Troubleshooting, <a class="indexterm" href="ch-ldap-tls.html#s1-int-ldap-tls">Troubleshooting</a></dt></dl></dd><dt>trigger, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>trivial database, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a> (see TDB)</dt><dt>Trivial Database, <a class="indexterm" href="tdb.html#id2686919">Features and Benefits</a></dt><dt>troubleshoot, <a class="indexterm" href="classicalprinting.html#id2623122">Rapid Configuration Validation</a></dt><dt>troubleshooting, <a class="indexterm" href="CUPS-printing.html#id2648535">Printing from CUPS to Windows-Attached Printers</a></dt><dt>Tru64 UNIX, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>trust, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a></dt><dd><dl><dt>account, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>trust account, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a></dt><dd><dl><dt>interdomain, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt><dt>machine, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt></dl></dd><dt>trust account password, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a></dt><dt>trust accounts, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dt>trust established, <a class="indexterm" href="InterdomainTrusts.html#id2620323">Interdomain Trust Facilities</a></dt><dt>trust relationship, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620238">Completing an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620323">Interdomain Trust Facilities</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620532">Configuring Samba NT-Style Domain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>trust relationships, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619747">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620141">Creating an NT4 Domain Trust</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>trusted, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>trusted domain, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620238">Completing an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a>, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a></dt><dt>trusted domain name, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>trusted party, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>trusting domain, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620238">Completing an NT4 Domain Trust</a></dt><dt>trusting party, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>trusts, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>TTL, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>turn oplocks off, <a class="indexterm" href="locking.html#id2616792">Advanced Samba Oplocks Parameters</a></dt><dt>turnkey solution, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a></dt><dt>two-up, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>two-way</dt><dd><dl><dt>propagation, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a></dt></dl></dd><dt>two-way trust, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620105">Native MS Windows NT4 Trusts Configuration</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620323">Interdomain Trust Facilities</a></dt></dl></div><div class="indexdiv"><h3>U</h3><dl><dt>UCS-2, <a class="indexterm" href="unicode.html#id2670247">Japanese Charsets</a></dt><dt>UDP, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></dt><dt>UDP port 137, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a></dt><dt>udp ports, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a></dt><dt>UDP unicast, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>UID, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2591158">Listing User and Machine Accounts</a>, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="NetCommand.html#id2600928">UNIX and Windows User Management</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2653749">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>uid, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a></dt><dt>UID numbers, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>UID range, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>unauthorized, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>unauthorized access, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>UNC notation, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a></dt><dt>unexpected.tdb, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>unicast, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>unicode, <a class="indexterm" href="unicode.html#id2669946">What Are Charsets and Unicode?</a></dt><dt>Unicode, <a class="indexterm" href="unicode.html#id2670080">Samba and Charsets</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>Unicode UTF-8, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>unified logon, <a class="indexterm" href="winbind.html#id2653461">Introduction</a></dt><dt>UNIX, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dd><dl><dt>server, <a class="indexterm" href="ServerType.html#id2558832">Features and Benefits</a></dt></dl></dd><dt>UNIX account, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2570526">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>unix charset, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>UNIX Domain Socket, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>UNIX domain socket, <a class="indexterm" href="winbind.html#id2653875">How Winbind Works</a></dt><dt>UNIX file system access controls, <a class="indexterm" href="AccessControls.html#id2610573">Features and Benefits</a></dt><dt>UNIX group, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>UNIX groups, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a>, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a></dt><dt>UNIX home directories, <a class="indexterm" href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a></dt><dt>UNIX host system, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>UNIX ID, <a class="indexterm" href="winbind.html#id2654453">User and Group ID Allocation</a></dt><dt>UNIX locking, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>UNIX login ID, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>UNIX permissions, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>UNIX printer, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>UNIX printing, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a></dt><dt>UNIX system account, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></dt><dt>UNIX system accounts, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>UNIX system files, <a class="indexterm" href="Backup.html#id2671410">Features and Benefits</a></dt><dt>UNIX user identifier (see UID)</dt><dt>UNIX users, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a></dt><dt>UNIX-style encrypted passwords, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a></dt><dt>UNIX-user database, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a></dt><dt>UNIX/Linux group, <a class="indexterm" href="groupmapping.html#id2596644">Warning: User Private Group Problems</a></dt><dt>UNIX/Linux user account, <a class="indexterm" href="NetCommand.html#id2600928">UNIX and Windows User Management</a></dt><dt>unlink calls, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>unlinked, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>unmapped groups, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a></dt><dt>unmapped users, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a></dt><dt>unprivileged account names, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></dt><dt>unsigned drivers, <a class="indexterm" href="CUPS-printing.html#id2649412">Windows 200x/XP Local Security Policies</a></dt><dt>unstoppable services, <a class="indexterm" href="SambaHA.html#id2672191">The Ultimate Goal</a></dt><dt>unsupported encryption, <a class="indexterm" href="domain-member.html#id2573107">Possible Errors</a></dt><dt>unsupported software, <a class="indexterm" href="ch47.html#id2692732">Commercial Support</a></dt><dt>updates, <a class="indexterm" href="securing-samba.html#id2619099">Upgrading Samba</a></dt><dt>upload drivers, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>uploaded driver, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>uploaded drivers, <a class="indexterm" href="classicalprinting.html#id2626693">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>uploading, <a class="indexterm" href="classicalprinting.html#id2626693">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>upper-case, <a class="indexterm" href="ServerType.html#id2559298">User Level Security</a></dt><dt>uppercase, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>uppercase character, <a class="indexterm" href="groupmapping.html#id2598543">Adding Groups Fails</a></dt><dt>USB, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>use computer anywhere, <a class="indexterm" href="unicode.html#id2669894">Features and Benefits</a></dt><dt>user, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>user access management, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a></dt><dt>user account, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2591042">User Account Management</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="NetCommand.html#id2600928">UNIX and Windows User Management</a></dt><dd><dl><dt>Adding/Deleting, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a></dt></dl></dd><dt>user account database, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>user accounts, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>User Accounts</dt><dd><dl><dt>Adding/Deleting, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2594483">Accounts and Groups Management</a></dt></dl></dd><dt>user and group, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a></dt><dt>user and trust accounts, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>user attributes, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>user authentication, <a class="indexterm" href="winbind.html#id2653925">Microsoft Remote Procedure Calls</a></dt><dt>user database, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2592572">Plaintext</a></dt><dt>user encoded, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></dt><dt>user groups, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>user logons, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>user management, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></dt><dt>User Management, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2594483">Accounts and Groups Management</a></dt><dt>User Manager, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657660">Remote Server Administration</a>, <a class="indexterm" href="ProfileMgmt.html#id2663269">Creating and Managing Group Profiles</a></dt><dt>User Manager for Domains, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657660">Remote Server Administration</a></dt><dt>user or group, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>user profiles, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>User Rights and Privileges, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>user-level, <a class="indexterm" href="ServerType.html#id2559136">Samba Security Modes</a>, <a class="indexterm" href="ServerType.html#id2559298">User Level Security</a></dt><dt>User-level access control, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>user-level security, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>user-mode security, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a></dt><dt>user.DAT, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="ProfileMgmt.html#id2662678">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>user.MAN, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>User.MAN, <a class="indexterm" href="ProfileMgmt.html#id2663129">Mandatory Profiles</a></dt><dt>useradd, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2570526">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>username, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>username and password, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>username map, <a class="indexterm" href="NetCommand.html#id2601256">User Mapping</a></dt><dt>userPassword, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a></dt><dt>users, <a class="indexterm" href="PolicyMgmt.html#id2658804">Features and Benefits</a></dt><dt>UsrMgr.exe, <a class="indexterm" href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>UTF-8, <a class="indexterm" href="unicode.html#id2670080">Samba and Charsets</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>UTF-8 encoding, <a class="indexterm" href="SWAT.html#id2682054">Enabling SWAT Internationalization Support</a></dt></dl></div><div class="indexdiv"><h3>V</h3><dl><dt>valid username/password, <a class="indexterm" href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a></dt><dt>valid users, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>validate, <a class="indexterm" href="install.html#id2553334">Test Your Config File with testparm</a>, <a class="indexterm" href="diagnosis.html#id2682800">Introduction</a></dt><dt>validate every backup, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>validation, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="PolicyMgmt.html">System and Account Policies</a></dt><dt>vendor-provided drivers, <a class="indexterm" href="CUPS-printing.html#id2634206">Raw Print Serving: Vendor Drivers on Windows Clients</a></dt><dt>verifiable, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>verify, <a class="indexterm" href="classicalprinting.html#id2623122">Rapid Configuration Validation</a></dt><dt>version control, <a class="indexterm" href="VFS.html#id2651827">shadow_copy</a></dt><dt>VFS, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="VFS.html#id2650394">Discussion</a></dt><dt>VFS module, <a class="indexterm" href="VFS.html#id2651827">shadow_copy</a>, <a class="indexterm" href="ProfileMgmt.html#id2663129">Mandatory Profiles</a></dt><dt>VFS modules, <a class="indexterm" href="VFS.html#id2650394">Discussion</a>, <a class="indexterm" href="VFS.html#id2652729">VFS Modules Available Elsewhere</a></dt><dt>vgcreate, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>vgdisplay, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>vipw, <a class="indexterm" href="samba-pdc.html#id2565212">$ Cannot Be Included in Machine Name</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></dt><dt>Virtual File System (see VFS)</dt><dt>virtual server, <a class="indexterm" href="SambaHA.html#id2672440">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2673034">A Simple Solution</a></dt><dt>virus scanner, <a class="indexterm" href="VFS.html#id2650394">Discussion</a></dt><dt>Visual Studio, <a class="indexterm" href="CUPS-printing.html#id2641102">PostScript Drivers with No Major Problems, Even in Kernel
    7 Mode</a></dt><dt>vital task, <a class="indexterm" href="SambaHA.html#id2672036">Features and Benefits</a></dt><dt>VNC/RFB, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>volume group, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>volunteers, <a class="indexterm" href="problems.html#id2685744">Getting Mailing List Help</a></dt><dt>vscan, <a class="indexterm" href="VFS.html#id2652814">vscan</a></dt><dt>vuid, <a class="indexterm" href="SambaHA.html#id2672534">Demultiplexing SMB Requests</a></dt></dl></div><div class="indexdiv"><h3>W</h3><dl><dt>W32X86, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2641102">PostScript Drivers with No Major Problems, Even in Kernel
    8 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id2642037">Caveats to Be Considered</a></dt><dt>W32X86/2, <a class="indexterm" href="CUPS-printing.html#id2635816">Using Windows-Formatted Vendor PPDs</a></dt><dt>WAN, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="locking.html#id2616546">Slow and/or Unreliable Networks</a></dt><dt>wbinfo, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>Web-based configuration, <a class="indexterm" href="SWAT.html">SWAT: The Samba Web Administration Tool</a></dt><dt>WebClient, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></dt><dt>Welcome, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>well known RID, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>well-controlled network, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>well-known RID, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a></dt><dt>wide-area network bandwidth, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>win election, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a></dt><dt>Win32 printing API, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>WIN40, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2628439">Obtaining Driver Files from Windows Client [print$] Shares</a>, <a class="indexterm" href="CUPS-printing.html#id2642037">Caveats to Be Considered</a></dt><dt>winbind, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605813">Examples of IDMAP Backend Usage</a>, <a class="indexterm" href="idmapper.html#id2605900">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2655457">Configure smb.conf</a></dt><dt>Winbind, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a>, <a class="indexterm" href="winbind.html#id2653704">Target Uses</a>, <a class="indexterm" href="winbind.html#id2654018">Microsoft Active Directory Services</a>, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2654453">User and Group ID Allocation</a>, <a class="indexterm" href="winbind.html#id2654529">Result Caching</a>, <a class="indexterm" href="winbind.html#id2654592">Introduction</a>, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2655343">NSS Winbind on AIX</a>, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="winbind.html#id2657317">Conclusion</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>Winbind architecture, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>Winbind hooks, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a></dt><dt>Winbind services, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>Winbind-based authentication, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a></dt><dt>winbind.so, <a class="indexterm" href="winbind.html#id2657160">Solaris-Specific Configuration</a></dt><dt>winbindd, <a class="indexterm" href="install.html#id2552921">Starting Samba</a>, <a class="indexterm" href="install.html#id2553334">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2556059">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2600928">UNIX and Windows User Management</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2653875">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2654706">Requirements</a>, <a class="indexterm" href="winbind.html#id2654858">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2655457">Configure smb.conf</a>, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="winbind.html#id2656458">Solaris</a>, <a class="indexterm" href="winbind.html#id2656647">Configure Winbind and PAM</a>, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>winbindd daemon, <a class="indexterm" href="winbind.html#id2656253">Linux</a></dt><dt>Windows, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>Windows 2000, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>Windows 2000 Professional TCP/IP, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>Windows 2000 server, <a class="indexterm" href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>Windows 2003, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2574030">I Can't Join a Windows 2003 PDC</a></dt><dt>Windows 200x/XP, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>Windows 9x/Me, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657660">Remote Server Administration</a></dt><dt>Windows 9x/Me/XP Home, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>Windows account management, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a></dt><dt>Windows client, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Windows client failover, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>Windows domain, <a class="indexterm" href="upgrading-to-3.0.html#id2678073">Changes in Behavior</a></dt><dt>Windows Explorer, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a>, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a></dt><dt>Windows group, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2596644">Warning: User Private Group Problems</a>, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>Windows group account, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>Windows groups, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>Windows Internet Name Server (see WINS)</dt><dt>Windows Logon, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>Windows Me TCP/IP, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>Windows Millennium, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>Windows Millennium edition (Me) TCP/IP, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>Windows network clients, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a></dt><dt>Windows NT domain name, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Windows NT PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2648535">Printing from CUPS to Windows-Attached Printers</a></dt><dt>Windows NT Server, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>Windows NT/2000/XP, <a class="indexterm" href="classicalprinting.html#id2629206">Check Samba for Driver Recognition</a></dt><dt>Windows NT/200x, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a>, <a class="indexterm" href="winbind.html#id2654592">Introduction</a></dt><dt>Windows NT/200x/XP, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>Windows NT/200x/XP Professional, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2578354">Common Errors</a></dt><dt>Windows NT3.10, <a class="indexterm" href="samba-bdc.html#id2566209">Essential Background Information</a></dt><dt>Windows NT4, <a class="indexterm" href="AccessControls.html#id2613141">Windows NT4 Workstation/Server</a>, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>Windows NT4 domains, <a class="indexterm" href="InterdomainTrusts.html#id2620323">Interdomain Trust Facilities</a></dt><dt>Windows NT4 Server, <a class="indexterm" href="InterdomainTrusts.html#id2620532">Configuring Samba NT-Style Domain Trusts</a></dt><dt>Windows NT4/200X, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a></dt><dt>Windows NT4/200x, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a></dt><dt>Windows NT4/200x/XP, <a class="indexterm" href="samba-bdc.html#id2567537">NetBIOS Over TCP/IP Enabled</a>, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="AccessControls.html#id2613247">Windows 200x/XP</a></dt><dt>Windows NT4/2kX/XPPro, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>Windows PPD, <a class="indexterm" href="CUPS-printing.html#id2646210">690 Perfect Printers</a></dt><dt>Windows privilege model, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a></dt><dt>Windows Registry, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>windows registry settings, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dd><dl><dt>default profile locations, <a class="indexterm" href="ProfileMgmt.html#id2663529">MS Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a></dt><dt>profile path, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2661076">Disabling Roaming Profile Support</a></dt></dl></dd><dt>Windows Resource Kit, <a class="indexterm" href="ProfileMgmt.html#id2661076">Disabling Roaming Profile Support</a></dt><dt>Windows Security Identifiers (see SID)</dt><dt>Windows Terminal server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>Windows Terminal Server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></dt><dt>Windows user, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>Windows user accounts, <a class="indexterm" href="NetCommand.html#id2600928">UNIX and Windows User Management</a></dt><dt>Windows workstation., <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Windows XP Home, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>Windows XP Home edition, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2564493">The Special Case of MS Windows XP Home Edition</a>, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Windows XP Home Edition, <a class="indexterm" href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a></dt><dt>Windows XP Professional, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>Windows XP Professional TCP/IP, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>Windows XP TCP/IP, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>Windows95/98/ME, <a class="indexterm" href="classicalprinting.html#id2629206">Check Samba for Driver Recognition</a></dt><dt>winnt.adm, <a class="indexterm" href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></dt><dt>WINS, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2567390">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a>, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584823">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669465">WINS Lookup</a>, <a class="indexterm" href="DNSDHCP.html#id2693070">Example Configuration</a></dt><dt>wins, <a class="indexterm" href="integrate-ms-networks.html#id2668589">/etc/nsswitch.conf</a></dt><dt>WINS Configuration, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></dt><dt>WINS lookup, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>WINS replication, <a class="indexterm" href="NetworkBrowsing.html#id2584183">WINS Replication</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>WINS Server, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a></dt><dt>WINS server, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></dt><dt>WINS server address, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>WINS server settings, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>WINS servers, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a></dt><dt>WINS service, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a></dt><dt>WINS Support, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a></dt><dt>wins.dat, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>without Administrator account, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>without ADS, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>work-flow protocol, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>workgroup, <a class="indexterm" href="ServerType.html#id2560291">Server Security (User Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dd><dl><dt>membership, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a></dt></dl></dd><dt>workstations, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a></dt><dt>world-writable, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>write, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>write access, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>Write caching, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>write changes, <a class="indexterm" href="idmapper.html#id2605741">Backup Domain Controller</a></dt><dt>write permission, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>writeable, <a class="indexterm" href="VFS.html#fakeperms">fake_perms</a></dt><dt>WYSIWYG, <a class="indexterm" href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a></dt></dl></div><div class="indexdiv"><h3>X</h3><dl><dt>X Window
    9         System, <a class="indexterm" href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>X.509 certificates, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>XFS file system, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>xfsprogs, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>xinetd, <a class="indexterm" href="SWAT.html#id2681264">Validate SWAT Installation</a>, <a class="indexterm" href="compiling.html#id2688531">Starting from inetd.conf</a> (see inetd)</dt><dt>XML, <a class="indexterm" href="ChangeNotes.html#id2579095">Passdb Changes</a></dt><dt>XML-based datasets, <a class="indexterm" href="CUPS-printing.html#id2646836">Foomatic Database-Generated PPDs</a></dt><dt>xpp, <a class="indexterm" href="CUPS-printing.html#id2646836">Foomatic Database-Generated PPDs</a></dt><dt>Xprint, <a class="indexterm" href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>xxxxBSD, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt></dl></div><div class="indexdiv"><h3>Y</h3><dl><dt>yppasswd, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a></dt></dl></div><div class="indexdiv"><h3>Z</h3><dl><dt>Zero Administration Kit, <a class="indexterm" href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></dt><dt>zero-based broadcast, <a class="indexterm" href="NetworkBrowsing.html#id2583150">Note about Broadcast Addresses</a></dt></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="go01.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top">Glossary </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Index</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="go01.html" title="Glossary"></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">Index</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="go01.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> </td></tr></table><hr></div><div class="index" title="Index"><div class="titlepage"><div><div><h2 class="title"><a name="id2701548"></a>Index</h2></div></div></div><div class="index"><div class="indexdiv"><h3>Symbols</h3><dl><dt>"Printers" folder, <a class="indexterm" href="CUPS-printing.html#id2648129">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2649407">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a></dt><dt>$, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></dt><dt>%i macro, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>%L, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>%PDF, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>%SystemRoot%\System32\config, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>../source/nsswitch, <a class="indexterm" href="winbind.html#id2662740">Configure Winbind and PAM</a></dt><dt>.ai, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>.AppleDouble, <a class="indexterm" href="VFS.html#id2657868">netatalk</a></dt><dt>.eps, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>.pdf, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>.PDS extension, <a class="indexterm" href="ProfileMgmt.html#id2668056">Windows NT4 Workstation</a></dt><dt>.profiles, <a class="indexterm" href="ProfileMgmt.html#id2666893">Windows 9x/Me User Profiles</a></dt><dt>.ps, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>.recycle, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>/bin/false, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>/dev/null, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>/dev/shadowvol, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>/etc/cups/, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>/etc/cups/mime.convs, <a class="indexterm" href="CUPS-printing.html#id2640299">Raw Print Serving: Vendor Drivers on Windows Clients</a>, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable &#8220;raw&#8221; Printing for application/octet-stream</a>, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2644790">application/octet-stream Printing</a></dt><dt>/etc/cups/mime.types, <a class="indexterm" href="CUPS-printing.html#id2640299">Raw Print Serving: Vendor Drivers on Windows Clients</a>, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable &#8220;raw&#8221; Printing for application/octet-stream</a>, <a class="indexterm" href="CUPS-printing.html#id2644790">application/octet-stream Printing</a></dt><dt>/etc/fstab, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>/etc/group, <a class="indexterm" href="ServerType.html#id2565518">Share-Level Security</a>, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2604298">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="Portability.html#id2695192">HPUX</a></dt><dt>/etc/groups, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>/etc/host.conf, <a class="indexterm" href="integrate-ms-networks.html#id2674293">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674591">/etc/host.conf</a></dt><dt>/etc/hosts, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674293">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674366">/etc/hosts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>/etc/hosts&gt;, <a class="indexterm" href="integrate-ms-networks.html#id2674366">/etc/hosts</a></dt><dt>/etc/inetd.conf, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="compiling.html#id2694587">Starting from inetd.conf</a></dt><dt>/etc/init.d/samba, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="winbind.html#id2662345">Linux</a></dt><dt>/etc/init.d/samba.server, <a class="indexterm" href="winbind.html#id2662551">Solaris</a></dt><dt>/etc/init.d/smb, <a class="indexterm" href="winbind.html#id2662345">Linux</a></dt><dt>/etc/krb5.conf, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2579178">Possible Errors</a>, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a></dt><dt>/etc/ldap.conf, <a class="indexterm" href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a>, <a class="indexterm" href="idmapper.html#id2613846">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>/etc/logingroup, <a class="indexterm" href="Portability.html#id2695192">HPUX</a></dt><dt>/etc/mime.conv, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>/etc/mime.types, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>/etc/nsswitch.conf, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611972">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2613846">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a>, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674293">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674642">/etc/nsswitch.conf</a></dt><dt>/etc/openldap/slapd.conf, <a class="indexterm" href="FastStart.html#id2563779">The Primary Domain Controller</a></dt><dt>/etc/openldap/sldap.conf, <a class="indexterm" href="passdb.html#id2600550">Accounts and Groups Management</a></dt><dt>/etc/pam.conf, <a class="indexterm" href="winbind.html#id2663252">Solaris-Specific Configuration</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a>, <a class="indexterm" href="pam.html#id2671868">Technical Discussion</a>, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>/etc/pam.d, <a class="indexterm" href="winbind.html#id2660799">Requirements</a>, <a class="indexterm" href="winbind.html#id2660951">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2662740">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>/etc/pam.d/, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a>, <a class="indexterm" href="pam.html#id2671868">Technical Discussion</a></dt><dt>/etc/pam.d/ftp, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/pam.d/login, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/pam.d/samba, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/passwd, <a class="indexterm" href="ServerType.html#id2565518">Share-Level Security</a>, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2571270">&#8220;$&#8221; Cannot Be Included in Machine Name</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a>, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a>, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2598639">Plaintext</a>, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="groupmapping.html#id2603463">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>/etc/printcap, <a class="indexterm" href="CUPS-printing.html#id2639245">Basic CUPS Support Configuration</a></dt><dt>/etc/resolv.conf, <a class="indexterm" href="integrate-ms-networks.html#id2674293">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>/etc/samba, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="cfgsmarts.html#id2681404">Multiple Virtual Server Hosting</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>/etc/samba/scripts, <a class="indexterm" href="NetCommand.html#id2606695">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>/etc/samba/secrets.tdb, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>/etc/samba/smb.conf, <a class="indexterm" href="install.html#id2558033">Configuring Samba (smb.conf)</a></dt><dt>/etc/samba/smbpasswd, <a class="indexterm" href="passdb.html#id2598639">Plaintext</a></dt><dt>/etc/samba/smbusers, <a class="indexterm" href="NetCommand.html#id2607322">User Mapping</a></dt><dt>/etc/shadow, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a>, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a></dt><dt>/etc/smbpasswd, <a class="indexterm" href="passdb.html#id2598639">Plaintext</a></dt><dt>/etc/ssl/certs/slapd.pem, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></dt><dt>/etc/xinetd.d, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/xinetd.d/telnet, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/export, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></dt><dt>/lib/libnss_example.so, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a></dt><dt>/lib/libnss_files.so, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a></dt><dt>/lib/security, <a class="indexterm" href="winbind.html#id2662740">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2671922">PAM Configuration Syntax</a></dt><dt>/lib/security/, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a></dt><dt>/opt/samba/bin, <a class="indexterm" href="SWAT.html#id2687391">Locating the SWAT File</a></dt><dt>/tmp, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>/usr/bin/openssl, <a class="indexterm" href="SWAT.html#id2687958">Securing SWAT through SSL</a></dt><dt>/usr/lib/samba/vfs, <a class="indexterm" href="VFS.html#id2656487">Discussion</a></dt><dt>/usr/lib/security, <a class="indexterm" href="winbind.html#id2661436">NSS Winbind on AIX</a>, <a class="indexterm" href="winbind.html#id2662740">Configure Winbind and PAM</a></dt><dt>/usr/lib/security/methods.cfg, <a class="indexterm" href="winbind.html#id2661436">NSS Winbind on AIX</a></dt><dt>/usr/local/lib, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>/usr/local/samba, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>/usr/local/samba/bin, <a class="indexterm" href="winbind.html#id2662345">Linux</a>, <a class="indexterm" href="winbind.html#id2662551">Solaris</a>, <a class="indexterm" href="SWAT.html#id2687391">Locating the SWAT File</a></dt><dt>/usr/local/samba/lib, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>/usr/local/samba/lib/vfs, <a class="indexterm" href="VFS.html#id2656487">Discussion</a></dt><dt>/usr/local/samba/private/secrets.tdb, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>/usr/local/samba/swat, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>/usr/local/samba/var, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a>, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a></dt><dt>/usr/local/samba/var/locks, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>/usr/sbin, <a class="indexterm" href="SWAT.html#id2687391">Locating the SWAT File</a>, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>/usr/share/samba/swat, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>/var/locks/*.tdb, <a class="indexterm" href="speed.html#id2697284">Corrupt tdb Files</a></dt><dt>/var/log/samba, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a></dt><dt>/var/run/samba, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>/var/spool/cups/, <a class="indexterm" href="CUPS-printing.html#id2654280">Autodeletion or Preservation of CUPS Spool Files</a></dt><dt>/var/spool/samba, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="CUPS-printing.html#id2654280">Autodeletion or Preservation of CUPS Spool Files</a></dt><dt>250-user limit, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a></dt><dt>3.0.11, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>4,500 user accounts, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a></dt><dt>4294967295, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>8.3 file names, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>&gt;Domain User Manager, <a class="indexterm" href="InterdomainTrusts.html#id2626238">Creating an NT4 Domain Trust</a></dt><dt>\\%L\%U\.profiles, <a class="indexterm" href="ProfileMgmt.html#id2666893">Windows 9x/Me User Profiles</a></dt><dt>\\SERVER, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a></dt><dt>_kerberos.REALM.NAME, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>_kerberos._udp, <a class="indexterm" href="domain-member.html#id2579471">Notes</a></dt><dt>_ldap._tcp, <a class="indexterm" href="domain-member.html#id2579471">Notes</a></dt><dt>_ldap._tcp.pdc._msdcs.quenya.org, <a class="indexterm" href="samba-bdc.html#id2573662">NetBIOS Over TCP/IP Disabled</a></dt></dl></div><div class="indexdiv"><h3></h3><dl><dt>, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a>, <a class="indexterm" href="install.html#id2559157">Example Configuration</a>, <a class="indexterm" href="FastStart.html#anon-ro">Anonymous Read-Only Document Server</a>, <a class="indexterm" href="FastStart.html#id2560716">Anonymous Read-Write Document Server</a>, <a class="indexterm" href="FastStart.html#id2560928">Anonymous Print Server</a>, <a class="indexterm" href="FastStart.html#id2561292">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2562116">Example Configuration</a>, <a class="indexterm" href="FastStart.html#id2562964">Example: Engineering Office</a>, <a class="indexterm" href="FastStart.html#id2563779">The Primary Domain Controller</a>, <a class="indexterm" href="FastStart.html#id2564396">Backup Domain Controller</a>, <a class="indexterm" href="ServerType.html#id2565481">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2565677">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2566278">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2566526">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2566623">Password Checking</a>, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2570441">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2572774">Example PDC Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2576597">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2576961">Samba Client</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2578186">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589424">Use of the Remote Announce Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589564">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590686">Name Resolution Order</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2600125">Configuring Samba</a>, <a class="indexterm" href="groupmapping.html#id2604298">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="NetCommand.html#id2606695">Managing Nest Groups on Workstations from the Samba Server</a>, <a class="indexterm" href="idmapper.html#id2611972">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a>, <a class="indexterm" href="idmapper.html#id2613846">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a>, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a>, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="AccessControls.html#id2620193">Interaction with the Standard Samba &#8220;create mask&#8221; Parameters</a>, <a class="indexterm" href="AccessControls.html#id2621066">Users Cannot Write to a Public Share</a>, <a class="indexterm" href="AccessControls.html#id2621434">MS Word with Samba Changes Owner of File</a>, <a class="indexterm" href="locking.html#id2623136">Disabling Oplocks</a>, <a class="indexterm" href="locking.html#id2623231">Disabling Kernel Oplocks</a>, <a class="indexterm" href="securing-samba.html#id2624266">Features and Benefits</a>, <a class="indexterm" href="securing-samba.html#id2624429">Using Host-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2624583">User-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a>, <a class="indexterm" href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a>, <a class="indexterm" href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a>, <a class="indexterm" href="msdfs.html#id2628005">MSDFS UNIX Path Is Case-Critical</a>, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2629220">Rapid Configuration Validation</a>, <a class="indexterm" href="classicalprinting.html#id2629619">Extended Printing Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a>, <a class="indexterm" href="classicalprinting.html#id2633081">Creating the [print$] Share</a>, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2639609">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2639853">More Complex CUPS smb.conf Settings</a>, <a class="indexterm" href="CUPS-printing.html#id2646608">From Windows Clients to a CUPS/Samba Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2647402">Prepare Your smb.conf for cupsaddsmb</a>, <a class="indexterm" href="VFS.html#id2656487">Discussion</a>, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2661549">Configure smb.conf</a>, <a class="indexterm" href="winbind.html#id2662345">Linux</a>, <a class="indexterm" href="winbind.html#id2663252">Solaris-Specific Configuration</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="ProfileMgmt.html#id2666753">NT4/200x User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2666893">Windows 9x/Me User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2667050">Mixed Windows Windows 9x/Me and NT4/200x User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2670898">Changing the Default Profile</a>, <a class="indexterm" href="integrate-ms-networks.html#id2675201">The NetBIOS Name Cache</a>, <a class="indexterm" href="integrate-ms-networks.html#id2675520">WINS Lookup</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a>, <a class="indexterm" href="unicode.html#id2677082">Individual Implementations</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a>, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="cfgsmarts.html#id2681404">Multiple Virtual Server Hosting</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684984">IdMap LDAP Support</a>, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a>, <a class="indexterm" href="bugreport.html#dbglvl">Debug Levels</a>, <a class="indexterm" href="bugreport.html#id2692432">Debugging-Specific Operations</a>, <a class="indexterm" href="Other-Clients.html#id2696474">Windows 2000 Service Pack 2</a> (see SSO)</dt><dd><dl><dt>backend, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt><dt>logon</dt><dd><dl><dt>service, <a class="indexterm" href="samba-bdc.html#id2572268">Essential Background Information</a></dt></dl></dd></dl></dd></dl></div><div class="indexdiv"><h3>A</h3><dl><dt>abbreviated keystrokes, <a class="indexterm" href="ClientConfig.html#id2581683">TCP/IP Configuration</a></dt><dt>aborting shutdown, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>accept connections, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>access, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a></dt><dt>Access, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>access authentication, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>access control, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a>, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a>, <a class="indexterm" href="AdvancedNetworkManagement.html">Advanced Network Management</a></dt><dt>Access Control, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Access Control Entries (see ACE)</dt><dt>Access Control List, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>access control needs, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>access controls, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="AccessControls.html#id2616650">Features and Benefits</a>, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>Access Controls, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>access denied, <a class="indexterm" href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a></dt><dt>access policies, <a class="indexterm" href="passdb.html#id2598299">Domain Account Policy Managment</a></dt><dt>access rights, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>account, <a class="indexterm" href="install.html#id2559157">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dd><dl><dt>backend, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt><dt>database, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></dt><dd><dl><dt>backends, <a class="indexterm" href="ServerType.html#id2564889">Features and Benefits</a></dt></dl></dd></dl></dd><dt>account access controls, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>account attributes, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a></dt><dt>account backends, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>account containers, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a></dt><dt>account control block (see ACB)</dt><dt>account control flags, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>account controls, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>Account Controls, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></dt><dt>account database, <a class="indexterm" href="passdb.html#id2598586">Password Backends</a></dt><dt>account deleted, <a class="indexterm" href="passdb.html#id2597548">Deleting Accounts</a></dt><dt>account encode_bits, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>account flag order, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>Account Flags, <a class="indexterm" href="passdb.html#id2597225">Listing User and Machine Accounts</a></dt><dt>account flags, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>account import/export, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2598461">Account Import/Export</a></dt><dt>account information, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="NetCommand.html#id2606994">UNIX and Windows User Management</a></dt><dt>account information database, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>account management, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a></dt><dt>account name, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>account policies, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a></dt><dt>account policy, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>account restrictions, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></dt><dt>account security, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>account storage backends, <a class="indexterm" href="upgrading-to-3.0.html#id2684231">Passdb Backends and Authentication</a></dt><dt>account storage mechanisms, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>account storage system, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>Account Unknown, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>accountability, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>accounts, <a class="indexterm" href="winbind.html#id2660684">Introduction</a></dt><dt>ACL, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a>, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a>, <a class="indexterm" href="securing-samba.html#id2624266">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a>, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>ACLs, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="classicalprinting.html#id2632959">The Obsoleted [printer$] Section</a></dt><dd><dl><dt>File System, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>POSIX, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="AccessControls.html#id2616650">Features and Benefits</a></dt><dt>share, <a class="indexterm" href="AccessControls.html#id2616650">Features and Benefits</a></dt><dt>Windows, <a class="indexterm" href="AccessControls.html#id2616650">Features and Benefits</a></dt></dl></dd><dt>ACLs on share, <a class="indexterm" href="AccessControls.html#id2619323">Windows 200x/XP</a></dt><dt>ACLs on shares, <a class="indexterm" href="AccessControls.html#id2616650">Features and Benefits</a></dt><dt>across network segments, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>active directory, <a class="indexterm" href="ServerType.html#id2564889">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2570321">Samba ADS Domain Control</a></dt><dt>Active Directory, <a class="indexterm" href="samba-bdc.html#id2573390">Active Directory Domain Control</a>, <a class="indexterm" href="domain-member.html#ads-member">Samba ADS Domain Membership</a>, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a>, <a class="indexterm" href="idmapper.html#id2610560">Standalone Samba Server</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>Active Directory Server, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>AD4UNIX, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>ADAM, <a class="indexterm" href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a></dt><dt>add a user account, <a class="indexterm" href="passdb.html#id2597460">Adding User Accounts</a></dt><dt>add client machines, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>add domain users and groups to a local group, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>add drivers, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>add machine script, <a class="indexterm" href="domain-member.html#id2576597">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684135">Changes in Behavior</a></dt><dt>Add Printer Wizard, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>add printer wizard, <a class="indexterm" href="CUPS-printing.html#id2640821">Driver Upload Methods</a></dt><dt>add user script, <a class="indexterm" href="passdb.html#id2597109">User Account Management</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684135">Changes in Behavior</a></dt><dt>add/delete/change share, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>adddriver, <a class="indexterm" href="classicalprinting.html#id2634683">Installing Driver Files into [print$]</a>, <a class="indexterm" href="classicalprinting.html#id2635038">Running rpcclient with adddriver</a>, <a class="indexterm" href="classicalprinting.html#id2635531">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2649816">A Check of the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2651408">Troubleshooting Revisited</a></dt><dt>additional driver, <a class="indexterm" href="classicalprinting.html#id2636368">Additional Client Driver Installation</a></dt><dt>additional privileges, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>addmem, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>AddPrinterDriver(), <a class="indexterm" href="CUPS-printing.html#id2649816">A Check of the rpcclient man Page</a></dt><dt>admincfg.exe, <a class="indexterm" href="Other-Clients.html#id2696237">Configuring Windows for Workgroups Password Handling</a></dt><dt>administrative actions, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>administrative duties, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dt>administrative privileges, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a></dt><dt>administrative responsibilities, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>administrative rights, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>administrative rights and privileges, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Administrative Templates, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a></dt><dt>Administrator, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2603344">Important Administrative Information</a>, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a></dt><dt>administrator account, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2576878">Windows NT4 Client</a></dt><dt>Administrator account, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>administrator password, <a class="indexterm" href="domain-member.html#id2579471">Notes</a></dt><dt>Administrator%password, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>Adobe, <a class="indexterm" href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2647194">PostScript Drivers with No Major Problems, Even in Kernel
     2Mode</a>, <a class="indexterm" href="CUPS-printing.html#id2652612">The Grand Unification Achieved</a></dt><dt>Adobe driver, <a class="indexterm" href="CUPS-printing.html#id2648429">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>Adobe driver files, <a class="indexterm" href="CUPS-printing.html#id2647923">Recognizing Different Driver Files</a></dt><dt>Adobe PostScript, <a class="indexterm" href="CUPS-printing.html#id2648129">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2653658">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>Adobe PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2649407">Installing the PostScript Driver on a Client</a></dt><dt>Adobe PPD, <a class="indexterm" href="CUPS-printing.html#id2652058">CUPS Print Drivers from Linuxprinting.org</a></dt><dt>Adobe specifications, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a></dt><dt>ADS, <a class="indexterm" href="ServerType.html#id2566205">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2578186">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a>, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2600550">Accounts and Groups Management</a>, <a class="indexterm" href="NetCommand.html#id2605385">Administrative Tasks and Methods</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625845">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2660622">Result Caching</a>, <a class="indexterm" href="PolicyMgmt.html#id2664856">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2666385">System Startup and Logon Processing Overview</a>, <a class="indexterm" href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684231">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a>, <a class="indexterm" href="DNSDHCP.html#id2698948">Features and Benefits</a> (see Active Directory)</dt><dt>ADS DC, <a class="indexterm" href="domain-member.html#id2578186">Configure smb.conf</a></dt><dt>ADS domain, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a></dt><dt>ADS domain members, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>ADS manager, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>ADS schema, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a></dt><dt>Advanced TCP/IP configuration, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>advantages, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>affect users, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a></dt><dt>affordable power, <a class="indexterm" href="SambaHA.html#id2678246">The Ultimate Goal</a></dt><dt>AFPL, <a class="indexterm" href="CUPS-printing.html#id2641672">Ghostscript: The Software RIP for Non-PostScript Printers</a></dt><dt>AFPL Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2643453">pstoraster</a></dt><dt>AFS, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a></dt><dt>AIX, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a>, <a class="indexterm" href="winbind.html#id2661436">NSS Winbind on AIX</a></dt><dt>algorithmic mapping, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a></dt><dt>alias group, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>allow access, <a class="indexterm" href="securing-samba.html#id2624429">Using Host-Based Protection</a></dt><dt>allow trusted domains, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a></dt><dt>already exists, <a class="indexterm" href="domain-member.html#id2579789">Cannot Add Machine Back to Domain</a></dt><dt>alternative solution, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>Amanda, <a class="indexterm" href="Backup.html#id2677947">Amanda</a></dt><dt>analyzes data, <a class="indexterm" href="problems.html#id2690936">Diagnostics Tools</a></dt><dt>anonymous, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dd><dl><dt>print server, <a class="indexterm" href="FastStart.html#id2560928">Anonymous Print Server</a></dt><dt>read-write server, <a class="indexterm" href="FastStart.html#id2560716">Anonymous Read-Write Document Server</a></dt></dl></dd><dt>anonymous access, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a></dt><dt>anonymous file server, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>anonymous server, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>ANSI compiler, <a class="indexterm" href="Portability.html#id2695192">HPUX</a></dt><dt>anticipate failure, <a class="indexterm" href="SambaHA.html#id2678091">Features and Benefits</a></dt><dt>API, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>Appliances, <a class="indexterm" href="winbind.html#id2659796">Target Uses</a></dt><dt>application servers, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a></dt><dt>application/cups.vnd-postscript, <a class="indexterm" href="CUPS-printing.html#id2648429">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>application/octet-stream, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable &#8220;raw&#8221; Printing for application/octet-stream</a>, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2644790">application/octet-stream Printing</a></dt><dt>application/pdf, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a></dt><dt>application/postscript, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2643286">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2648429">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>application/vnd.cups-postscript, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2643286">pstops</a></dt><dt>application/vnd.cups-raster, <a class="indexterm" href="CUPS-printing.html#id2645069">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>application/vnd.cups-raw, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable &#8220;raw&#8221; Printing for application/octet-stream</a></dt><dt>application/x-shell, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a></dt><dt>apt-get, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>ARCFOUR-HMAC-MD5, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt><dt>architecture, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>ARP/RARP, <a class="indexterm" href="integrate-ms-networks.html#id2674366">/etc/hosts</a></dt><dt>ASCII, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a>, <a class="indexterm" href="unicode.html#id2676001">What Are Charsets and Unicode?</a>, <a class="indexterm" href="unicode.html#id2676302">Japanese Charsets</a></dt><dt>ASCII text, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a></dt><dt>assign rights, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>assigned RID, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a></dt><dt>assistance, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>associations, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a></dt><dt>attach gdb, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a></dt><dt>attribute, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a></dt><dt>attributes, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>audit file access, <a class="indexterm" href="VFS.html#id2656888">audit</a></dt><dt>audit module, <a class="indexterm" href="VFS.html#id2657146">extd_audit</a></dt><dt>auth, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>authenticate, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>authenticate users, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>authenticated, <a class="indexterm" href="domain-member.html#id2578186">Configure smb.conf</a></dt><dt>authenticating server, <a class="indexterm" href="ProfileMgmt.html#id2669587">MS Windows NT4 Workstation</a></dt><dt>authentication, <a class="indexterm" href="ServerType.html#id2564889">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2598461">Account Import/Export</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="winbind.html#id2662740">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dd><dl><dt>backend, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt></dl></dd><dt>authentication agents, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>authentication architecture, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>authentication backend, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>authentication control, <a class="indexterm" href="winbind.html#id2660684">Introduction</a></dt><dt>authentication database, <a class="indexterm" href="InterdomainTrusts.html#id2625845">Features and Benefits</a></dt><dt>authentication management, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a></dt><dt>authentication mechanisms, <a class="indexterm" href="winbind.html#id2660684">Introduction</a></dt><dt>authentication methods, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a></dt><dt>authentication module API, <a class="indexterm" href="winbind.html#id2661436">NSS Winbind on AIX</a></dt><dt>authentication regime, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>authentication reply, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a></dt><dt>authentication server, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>authentication service, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>authentication system, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>authenticatior, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt><dt>authoritative, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>authoritive, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>authorization, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a></dt><dt>auto-reconnect, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>autogen.sh, <a class="indexterm" href="compiling.html#id2694079">Building the Binaries</a></dt><dt>autogenerated printcap, <a class="indexterm" href="classicalprinting.html#id2631576">Default UNIX System Printing Commands</a></dt><dt>automatic account creation, <a class="indexterm" href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>automatic mapping, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>automatic reconnects, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>automatic redundancy, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>autopoweruser.sh, <a class="indexterm" href="NetCommand.html#id2606695">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>autotyping, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>AUXILIARY, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>auxiliary members, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>availability, <a class="indexterm" href="SambaHA.html#id2678091">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>available, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>available port, <a class="indexterm" href="classicalprinting.html#id2637988">Samba and Printer Ports</a></dt><dt>available printerd, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>available rights, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>average print run, <a class="indexterm" href="CUPS-printing.html#id2640942">Advanced Intelligent Printing with PostScript Driver Download</a></dt></dl></div><div class="indexdiv"><h3>B</h3><dl><dt>b-node, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>back up, <a class="indexterm" href="winbind.html#id2660799">Requirements</a></dt><dt>backed up, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>backend, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a></dt><dt>backend authentication, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>backend database, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></dt><dt>backend failures, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>backend file system pool, <a class="indexterm" href="SambaHA.html#id2678822">Restrictive Constraints on Distributed File Systems</a></dt><dt>backends, <a class="indexterm" href="ChangeNotes.html#id2585166">Passdb Changes</a>, <a class="indexterm" href="CUPS-printing.html#id2654628">Printing from CUPS to Windows-Attached Printers</a></dt><dt>backup, <a class="indexterm" href="Backup.html#id2677464">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a>, <a class="indexterm" href="tdb.html#id2692976">Features and Benefits</a></dt><dt>backup domain controller, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>backup solution, <a class="indexterm" href="Backup.html#id2677509">Discussion of Backup Solutions</a></dt><dt>BackupPC, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a></dt><dt>bad hardware, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></dt><dt>bad logon attempts, <a class="indexterm" href="passdb.html#id2597632">Changing User Accounts</a></dt><dt>Bad networking hardware, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></dt><dt>bad password, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>banner pages, <a class="indexterm" href="CUPS-printing.html#id2648429">Windows CUPS PostScript Driver Versus Adobe Driver</a>, <a class="indexterm" href="CUPS-printing.html#id2648647">Run cupsaddsmb (Quiet Mode)</a></dt><dt>barriers, <a class="indexterm" href="securing-samba.html#id2624168">Introduction</a></dt><dt>Batch Oplock, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>BDC, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2573390">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574784">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2611813">Backup Domain Controller</a>, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a>, <a class="indexterm" href="NT4Migration.html#id2686132">Steps in Migration Process</a></dt><dt>BDCs, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>behavior approximately same, <a class="indexterm" href="upgrading-to-3.0.html#id2682386">Quick Migration Guide</a></dt><dt>between domains, <a class="indexterm" href="InterdomainTrusts.html#id2626630">Configuring Samba NT-Style Domain Trusts</a></dt><dt>bias, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>binary format TDB, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>BIND, <a class="indexterm" href="DNSDHCP.html#id2699218">Dynamic DNS</a></dt><dt>bind interfaces only, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>BIND9, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></dt><dt>BIND9.NET, <a class="indexterm" href="DNSDHCP.html#id2698948">Features and Benefits</a></dt><dt>bindery-enabled, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>block device, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>block incoming packets, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>BOBS, <a class="indexterm" href="Backup.html#id2677995">BOBS: Browseable Online Backup System</a></dt><dt>bogus, <a class="indexterm" href="ServerType.html#id2566526">Example Configuration</a></dt><dt>boot disk`, <a class="indexterm" href="winbind.html#id2660799">Requirements</a></dt><dt>bridge, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>bridges networks, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>brlock.tdb, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>broadcast, <a class="indexterm" href="samba-bdc.html#id2573448">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>broadcast address, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>broadcast isolated subnet, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>broadcast messages, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>broadcast messaging, <a class="indexterm" href="samba-bdc.html#id2573539">How Does a Workstation find its Domain Controller?</a></dt><dt>Broadcast node, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>broadcast request, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a></dt><dt>broadcast traffic, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></dt><dt>broadcast-based, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>broadcast-based name resolution, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>broadcasts, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>browse across subnet, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></dt><dt>browse list, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>browse list handling, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a></dt><dt>browse list maintainers, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>browse list management, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a></dt><dt>browse lists, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>browse resources, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a></dt><dt>browse server resources, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a></dt><dt>browse shares, <a class="indexterm" href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a></dt><dt>browse.dat, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a></dt><dt>browseable, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a></dt><dt>browser election, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></dt><dt>browser elections, <a class="indexterm" href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>BrowseShortNames, <a class="indexterm" href="CUPS-printing.html#id2656138">Print Queue Called &#8220;lp&#8221; Mishandles Print Jobs</a></dt><dt>browsing, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a></dt><dt>browsing across subnets, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></dt><dt>browsing another subnet, <a class="indexterm" href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a></dt><dt>browsing intrinsics, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>browsing problems, <a class="indexterm" href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2592438">Common Errors</a>, <a class="indexterm" href="NetworkBrowsing.html#id2592585">I Get an "Unable to browse the network" Error</a></dt><dt>BSD, <a class="indexterm" href="samba-pdc.html#id2571270">&#8220;$&#8221; Cannot Be Included in Machine Name</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>BSD Printing, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a></dt><dt>BSD-style printing, <a class="indexterm" href="classicalprinting.html#id2629619">Extended Printing Configuration</a></dt><dt>bug report, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>bug reports, <a class="indexterm" href="bugreport.html#id2692107">Introduction</a></dt><dt>Bugzilla, <a class="indexterm" href="bugreport.html#id2692107">Introduction</a></dt><dt>built-in commands, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a></dt><dt>bypasses privilege, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>byte ranges, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>byte-range lock, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>byte-range locking, <a class="indexterm" href="locking.html#id2621768">Discussion</a>, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt></dl></div><div class="indexdiv"><h3>C</h3><dl><dt>c:\winnt\inf, <a class="indexterm" href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></dt><dt>C:\WinNT\System32\config, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>cached</dt><dd><dl><dt>password, <a class="indexterm" href="ServerType.html#id2566623">Password Checking</a></dt></dl></dd><dt>cached encrypted password, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>cached in memory, <a class="indexterm" href="passdb.html#id2594567">Advantages of Non-Encrypted Passwords</a></dt><dt>cached local file, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>cached locally, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>cached references, <a class="indexterm" href="NetworkBrowsing.html#id2592832">Invalid Cached Share References Affects Network Browsing</a></dt><dt>caching, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>caching reads, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>caching scheme, <a class="indexterm" href="winbind.html#id2660622">Result Caching</a></dt><dt>caching writes, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>called name, <a class="indexterm" href="securing-samba.html#id2624429">Using Host-Based Protection</a></dt><dt>cannot join domain, <a class="indexterm" href="ClientConfig.html#id2584425">Common Errors</a></dt><dt>canonicalize files, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>CAP, <a class="indexterm" href="unicode.html#id2676302">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a>, <a class="indexterm" href="Other-Clients.html#id2695763">Macintosh Clients</a></dt><dt>cap-share, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>capability to delete, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>CAP_LINUX_IMMUTABLE, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>case options, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>case sensitivity, <a class="indexterm" href="pam.html#id2671922">PAM Configuration Syntax</a></dt><dt>case-insensitive, <a class="indexterm" href="ServerType.html#id2565355">User Level Security</a>, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>case-preserving, <a class="indexterm" href="ServerType.html#id2565355">User Level Security</a></dt><dt>central environment, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>centralized</dt><dd><dl><dt>authentication, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt></dl></dd><dt>centralized identity management, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>centrally managed, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>certificate, <a class="indexterm" href="SWAT.html#id2687958">Securing SWAT through SSL</a></dt><dt>Certificate Authority (see CA)</dt><dt>cfdisk, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>challenge/response mechanis, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>change capabilities, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a></dt><dt>change motivations, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>change password, <a class="indexterm" href="domain-member.html#id2579471">Notes</a></dt><dt>change passwords, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a></dt><dt>changed parameters, <a class="indexterm" href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></dt><dt>changes password, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></dt><dt>character device, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>character set, <a class="indexterm" href="unicode.html#id2676001">What Are Charsets and Unicode?</a></dt><dt>character sets, <a class="indexterm" href="unicode.html#id2676134">Samba and Charsets</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>charset, <a class="indexterm" href="unicode.html#id2676001">What Are Charsets and Unicode?</a></dt><dt>charset conversion, <a class="indexterm" href="unicode.html#id2676270">Conversion from Old Names</a></dt><dt>chattr, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>check for locks, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>check logs, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></dt><dt>checksum-search, <a class="indexterm" href="Backup.html#id2677778">Rsync</a></dt><dt>chmod, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>chown, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="AccessControls.html#id2619677">Viewing File Ownership</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>chpass, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></dt><dt>CIFS, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>CIFS function calls, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>CIFS/SMB, <a class="indexterm" href="SambaHA.html#id2678091">Features and Benefits</a>, <a class="indexterm" href="SambaHA.html#id2678376">Why Is This So Hard?</a></dt><dt>Citrix, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></dt><dt>clear purpose preferred, <a class="indexterm" href="Backup.html#id2677509">Discussion of Backup Solutions</a></dt><dt>clear-text, <a class="indexterm" href="ServerType.html#id2566623">Password Checking</a>, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>clear-text passwords, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>client client instructions, <a class="indexterm" href="ClientConfig.html#id2581580">Features and Benefits</a></dt><dt>Client for Microsoft Networks, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Client for Novell Networks, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>client-server mode, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a></dt><dt>client-side caching, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>client-side data caching, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a>, <a class="indexterm" href="locking.html#id2622728">PDM Data Shares</a></dt><dt>clock skew, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>cluster servers, <a class="indexterm" href="SambaHA.html#id2678494">The Front-End Challenge</a></dt><dt>clustered file server, <a class="indexterm" href="SambaHA.html#id2678246">The Ultimate Goal</a></dt><dt>Clustered smbds, <a class="indexterm" href="SambaHA.html#id2678898">Server Pool Communications</a></dt><dt>clustering technologies, <a class="indexterm" href="SambaHA.html#id2678246">The Ultimate Goal</a></dt><dt>cluttering, <a class="indexterm" href="bugreport.html#id2692432">Debugging-Specific Operations</a></dt><dt>cmd, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a>, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>cmd shell, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>CN, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a>, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>code maintainer, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>codepages, <a class="indexterm" href="unicode.html#id2675949">Features and Benefits</a></dt><dt>collating, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a></dt><dt>collisions, <a class="indexterm" href="speed.html#id2697192">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>color, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>COM1:, <a class="indexterm" href="classicalprinting.html#id2637988">Samba and Printer Ports</a></dt><dt>command-line, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a></dt><dt>command-line utility, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>commenting out setting, <a class="indexterm" href="classicalprinting.html#id2629220">Rapid Configuration Validation</a></dt><dt>commercial Linux products, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>commercial support, <a class="indexterm" href="ch47.html">Samba Support</a>, <a class="indexterm" href="ch47.html#id2698789">Commercial Support</a></dt><dt>commit the settings, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>Common Internet Filesystem (see CIFS)</dt><dt>Common restrictions, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></dt><dt>Common UNIX Printing System (see CUPS)</dt><dt>common.adm, <a class="indexterm" href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></dt><dt>comp.protocols.smb, <a class="indexterm" href="bugreport.html#id2692107">Introduction</a></dt><dt>compatible, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a>, <a class="indexterm" href="Portability.html">Portability</a></dt><dt>compile, <a class="indexterm" href="install.html#id2557993">Obtaining and Installing Samba</a></dt><dt>compile-time options, <a class="indexterm" href="classicalprinting.html#id2629220">Rapid Configuration Validation</a></dt><dt>complex file name space, <a class="indexterm" href="SambaHA.html#id2679095">A Simple Solution</a></dt><dt>complex organization, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>complexity, <a class="indexterm" href="StandAloneServer.html#id2580529">Example Configuration</a></dt><dt>compliance, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>complicated, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>complicated problem, <a class="indexterm" href="SambaHA.html#id2678589">Demultiplexing SMB Requests</a></dt><dt>comprehensive documentation, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>Computer Account, <a class="indexterm" href="domain-member.html#id2576878">Windows NT4 Client</a></dt><dt>computer account, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt><dt>computer accounts, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>Computer Management, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a>, <a class="indexterm" href="AccessControls.html#id2619323">Windows 200x/XP</a></dt><dt>Computer Name, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>computer name, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a></dt><dt>concurrent access, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>Conectiva, <a class="indexterm" href="CUPS-printing.html#id2652845">Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</a></dt><dt>config.cache, <a class="indexterm" href="domain-member.html#id2579178">Possible Errors</a></dt><dt>CONFIG.POL, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a></dt><dt>Config.POL, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665151">Windows 9x/ME Policies</a></dt><dt>configuration</dt><dd><dl><dt>documentation, <a class="indexterm" href="install.html#id2559391">Test Your Config File with testparm</a></dt></dl></dd><dt>configuration files, <a class="indexterm" href="SWAT.html#id2687177">Features and Benefits</a></dt><dt>configuration problem, <a class="indexterm" href="bugreport.html#id2692107">Introduction</a></dt><dt>configuration syntax, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a></dt><dt>configuration techniques, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>configuration too complex, <a class="indexterm" href="StandAloneServer.html#id2581512">Common Errors</a></dt><dt>configuration tool, <a class="indexterm" href="SWAT.html">SWAT: The Samba Web Administration Tool</a></dt><dt>configuration wizard, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>configure, <a class="indexterm" href="compiling.html#id2694079">Building the Binaries</a></dt><dt>configuring a firewall, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>confirm address, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>confirm the password, <a class="indexterm" href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a></dt><dt>confirm the trust, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>connect transparently, <a class="indexterm" href="SambaHA.html#id2678246">The Ultimate Goal</a></dt><dt>connection resources, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a></dt><dt>connections, <a class="indexterm" href="install.html#id2559157">Example Configuration</a></dt><dt>connections.tdb, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>consistent case, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>console, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>consumer expects, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>container, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>continuity of service, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>contribute, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>Control Panel, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>convert</dt><dd><dl><dt>domain member server, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt></dl></dd><dt>converted, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a></dt><dt>copy'n'paste, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>core files, <a class="indexterm" href="bugreport.html#id2692634">Internal Errors</a></dt><dt>core graphic engine, <a class="indexterm" href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a></dt><dt>core values, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>corrupted file, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>cosine.schema, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a></dt><dt>country of origin, <a class="indexterm" href="ch47.html#id2698789">Commercial Support</a></dt><dt>CP850, <a class="indexterm" href="unicode.html#id2676134">Samba and Charsets</a></dt><dt>CP932, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>cracker, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>create, <a class="indexterm" href="AccessControls.html#id2617188">Managing Directories</a></dt><dt>Create a Computer Account, <a class="indexterm" href="domain-member.html#id2576878">Windows NT4 Client</a></dt><dt>create a domain machine account, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>create domain member, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a></dt><dt>create machine trust account, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>create partition, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>Create the Computer Account, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>create user accounts, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a></dt><dt>create volume, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>credentials, <a class="indexterm" href="ServerType.html#id2565355">User Level Security</a>, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>credentials validation, <a class="indexterm" href="samba-bdc.html#id2573596">NetBIOS Over TCP/IP Enabled</a></dt><dt>critical aspects of configuration, <a class="indexterm" href="ClientConfig.html#id2581580">Features and Benefits</a></dt><dt>crle, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>cron, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a></dt><dt>cross post, <a class="indexterm" href="problems.html#id2691801">Getting Mailing List Help</a></dt><dt>cross-segment browsing, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>cross-subnet browsing, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>CUPS, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2629619">Extended Printing Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a>, <a class="indexterm" href="CUPS-printing.html#id2639066">Features and Benefits</a>, <a class="indexterm" href="CUPS-printing.html#id2639126">Overview</a>, <a class="indexterm" href="CUPS-printing.html#id2639245">Basic CUPS Support Configuration</a>, <a class="indexterm" href="CUPS-printing.html#id2641909">Using Windows-Formatted Vendor PPDs</a></dt><dd><dl><dt>Page Accounting, <a class="indexterm" href="CUPS-printing.html#id2653528">Page Accounting with CUPS</a></dt><dt>quotas, <a class="indexterm" href="CUPS-printing.html#id2653563">Setting Up Quotas</a></dt></dl></dd><dt>CUPS API, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a>, <a class="indexterm" href="classicalprinting.html#id2631576">Default UNIX System Printing Commands</a></dt><dt>CUPS backends, <a class="indexterm" href="CUPS-printing.html#id2644027">CUPS Backends</a></dt><dt>CUPS filtering, <a class="indexterm" href="CUPS-printing.html#id2642028">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a></dt><dt>CUPS filtering chain, <a class="indexterm" href="CUPS-printing.html#id2644027">CUPS Backends</a></dt><dt>CUPS libarary API, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>CUPS PostScript, <a class="indexterm" href="CUPS-printing.html#id2648129">Caveats to Be Considered</a></dt><dt>CUPS PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2648429">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>CUPS print filters, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>CUPS raster, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2643453">pstoraster</a></dt><dt>CUPS-PPD, <a class="indexterm" href="CUPS-printing.html#id2652456">cupsomatic, pdqomatic, lpdomatic, directomatic</a></dt><dt>cups.hlp, <a class="indexterm" href="CUPS-printing.html#id2648129">Caveats to Be Considered</a></dt><dt>cupsaddsmb, <a class="indexterm" href="CUPS-printing.html#id2640821">Driver Upload Methods</a>, <a class="indexterm" href="CUPS-printing.html#id2647304">cupsaddsmb: The Unknown Utility</a>, <a class="indexterm" href="CUPS-printing.html#id2648129">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2648647">Run cupsaddsmb (Quiet Mode)</a>, <a class="indexterm" href="CUPS-printing.html#id2648787">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2648978">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2649245">cupsaddsmb with a Samba PDC</a>, <a class="indexterm" href="CUPS-printing.html#id2649326">cupsaddsmb Flowchart</a>, <a class="indexterm" href="CUPS-printing.html#id2649407">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2650224">Requirements for adddriver and setdriver to Succeed</a></dt><dt>cupsd.conf, <a class="indexterm" href="classicalprinting.html#id2631576">Default UNIX System Printing Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2639245">Basic CUPS Support Configuration</a>, <a class="indexterm" href="CUPS-printing.html#id2644613">mime.convs</a>, <a class="indexterm" href="CUPS-printing.html#id2654280">Autodeletion or Preservation of CUPS Spool Files</a></dt><dt>cupsomatic, <a class="indexterm" href="CUPS-printing.html#id2641909">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2645352">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2652058">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2652456">cupsomatic, pdqomatic, lpdomatic, directomatic</a></dt><dt>currupted, <a class="indexterm" href="tdb.html#id2692976">Features and Benefits</a></dt><dt>custom scripts, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>customer expected, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>customers, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>customized print commands, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a></dt></dl></div><div class="indexdiv"><h3>D</h3><dl><dt>daemon, <a class="indexterm" href="install.html#id2558977">Starting Samba</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2660799">Requirements</a>, <a class="indexterm" href="compiling.html#id2694807">Alternative: Starting smbd as a Daemon</a></dt><dt>daemon running, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>daemons, <a class="indexterm" href="winbind.html#id2662695">Restarting</a></dt><dt>damaged data, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>data caching, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>data corruption, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a>, <a class="indexterm" href="locking.html#id2622603">UNIX or NFS Client-Accessed Files</a></dt><dt>data interchange, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>data stream, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a></dt><dt>database, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682386">Quick Migration Guide</a></dt><dt>DatabaseFS, <a class="indexterm" href="VFS.html#id2658847">DatabaseFS</a></dt><dt>DAVE, <a class="indexterm" href="Other-Clients.html#id2695763">Macintosh Clients</a></dt><dt>dbx, <a class="indexterm" href="bugreport.html#id2692634">Internal Errors</a></dt><dt>DCE RPC, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a></dt><dt>DDK, <a class="indexterm" href="CUPS-printing.html#id2647194">PostScript Drivers with No Major Problems, Even in Kernel
     3Mode</a>, <a class="indexterm" href="CUPS-printing.html#id2647683">CUPS &#8220;PostScript Driver for Windows NT/200x/XP&#8221;</a></dt><dt>DDNS, <a class="indexterm" href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a></dt><dt>de-multiplex, <a class="indexterm" href="SambaHA.html#id2678494">The Front-End Challenge</a></dt><dt>de-multiplexing, <a class="indexterm" href="SambaHA.html#id2678589">Demultiplexing SMB Requests</a></dt><dt>Debian, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>Debian Sarge, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>debug, <a class="indexterm" href="bugreport.html#id2692634">Internal Errors</a></dt><dt>debug level, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#dbglvl">Debug Levels</a></dt><dt>debugging, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#id2692432">Debugging-Specific Operations</a></dt><dt>debugging passwords, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a></dt><dt>debugging problems, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a></dt><dt>dedicated heartbeat, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>dedicated print server, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>default accounts, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>default aliases, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a></dt><dt>default behavior, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>default devmode, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></dt><dt>default DNS setup, <a class="indexterm" href="domain-member.html#id2579471">Notes</a></dt><dt>default gateways, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>default groups, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a></dt><dt>default mapping, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a></dt><dt>default mappings, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>default print command, <a class="indexterm" href="classicalprinting.html#id2631576">Default UNIX System Printing Commands</a></dt><dt>default print commands, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>default printer, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a></dt><dt>default printing, <a class="indexterm" href="CUPS-printing.html#id2639066">Features and Benefits</a></dt><dt>default profile, <a class="indexterm" href="ProfileMgmt.html#id2669400">Default Profile for Windows Users</a>, <a class="indexterm" href="ProfileMgmt.html#id2670898">Changing the Default Profile</a></dt><dt>default settings, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>default shells, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>Default User, <a class="indexterm" href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a></dt><dt>default users, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a></dt><dt>defective hardware, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></dt><dt>deferred open, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>defined shares, <a class="indexterm" href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a></dt><dt>delegate administrative privileges, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>delegated, <a class="indexterm" href="groupmapping.html#id2603344">Important Administrative Information</a></dt><dt>delegation, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>delete, <a class="indexterm" href="AccessControls.html#id2617188">Managing Directories</a></dt><dt>delete a file, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>delete roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a></dt><dt>delete user script, <a class="indexterm" href="passdb.html#id2597548">Deleting Accounts</a></dt><dt>deleted files, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>deleted parameters, <a class="indexterm" href="upgrading-to-3.0.html#id2682885">Removed Parameters</a></dt><dt>delmem, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>demote, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt><dt>demoted, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>denial of service, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>deny, <a class="indexterm" href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a></dt><dt>deny access, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>deny modes, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>deny-none, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>DENY_ALL, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>DENY_DOS, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>DENY_FCB, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>DENY_NONE, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>DENY_READ, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>DENY_WRITE, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>deployment, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>deployment guidelines, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a></dt><dt>DES-CBC-CRC, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>DES-CBC-MD5, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt><dt>desirable solution, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>desktop cache, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>desktop profile, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>desktop profiles, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></dt><dt>deterents, <a class="indexterm" href="securing-samba.html#id2624168">Introduction</a></dt><dt>development libraries, <a class="indexterm" href="winbind.html#id2660799">Requirements</a></dt><dt>devfsd package, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>device mode, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></dt><dt>device-specific commands, <a class="indexterm" href="CUPS-printing.html#id2645069">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>DFS, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a> (see MS-DFS, Distributed File Systems)</dt><dt>DFS junction, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>DFS links, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>DFS root, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>DFS server, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>DFS tree, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>DFS-aware, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>DFS-aware clients, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>DHCP, <a class="indexterm" href="ClientConfig.html#id2581683">TCP/IP Configuration</a>, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a>, <a class="indexterm" href="DNSDHCP.html#id2698948">Features and Benefits</a></dt><dt>DHCP servers, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>DHCP-enabled, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>DHCP-enabled operation, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>diagnostic, <a class="indexterm" href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a></dt><dt>diagnostic tools, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a></dt><dt>diff, <a class="indexterm" href="bugreport.html#id2692892">Patches</a></dt><dt>differences, <a class="indexterm" href="Backup.html#id2677778">Rsync</a></dt><dt>different resources, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>differently encrypted passwords, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a></dt><dt>differing protocol, <a class="indexterm" href="upgrading-to-3.0.html#id2682386">Quick Migration Guide</a></dt><dt>dir, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>direct internet access, <a class="indexterm" href="securing-samba.html#id2624168">Introduction</a></dt><dt>directory, <a class="indexterm" href="samba-bdc.html#id2573390">Active Directory Domain Control</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="idmapper.html#id2611813">Backup Domain Controller</a></dt><dt>directory access control, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>directory access permissions, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>directory controls, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>Directory Information Tree (see DIT)</dt><dt>directory permissions, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>directory schema, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a></dt><dt>Directory Separators, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>directory server, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a></dt><dt>directory_mode, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>disable LMB, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></dt><dt>disable locking, <a class="indexterm" href="locking.html#id2621671">Features and Benefits</a></dt><dt>disable roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2667128">Disabling Roaming Profile Support</a></dt><dt>disabling oplocks, <a class="indexterm" href="locking.html#id2622728">PDM Data Shares</a></dt><dt>disass, <a class="indexterm" href="bugreport.html#id2692634">Internal Errors</a></dt><dt>disaster recovery, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>disconnect a connection, <a class="indexterm" href="ProfileMgmt.html#id2666753">NT4/200x User Profiles</a></dt><dt>disk, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>disk space, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>disparate information systems, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>display PostScript, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>displayName, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a></dt><dt>distort, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>distribute authentication systems, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>distributed, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>distributed account, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>Distributed Computing Environment (see DCE)</dt><dt>distributed directory, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>distributed file system, <a class="indexterm" href="SambaHA.html#id2678246">The Ultimate Goal</a> (see DFS)</dt><dt>Distributed File Systems, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a></dt><dt>distributed file systems, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a></dt><dt>distributed locking protocol, <a class="indexterm" href="SambaHA.html#id2679095">A Simple Solution</a></dt><dt>distribution, <a class="indexterm" href="install.html#id2559157">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>dithering algorithm, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a></dt><dt>DMB, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2573448">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>DMB for a workgroup, <a class="indexterm" href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a></dt><dt>DMC, <a class="indexterm" href="idmapper.html#id2611885">Examples of IDMAP Backend Usage</a></dt><dt>DMS, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="idmapper.html#id2611885">Examples of IDMAP Backend Usage</a>, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>DN, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a>, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>DNS, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2573539">How Does a Workstation find its Domain Controller?</a>, <a class="indexterm" href="samba-bdc.html#id2573662">NetBIOS Over TCP/IP Disabled</a>, <a class="indexterm" href="domain-member.html#id2578186">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a>, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a>, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a>, <a class="indexterm" href="integrate-ms-networks.html#id2675493">DNS Lookup</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a>, <a class="indexterm" href="DNSDHCP.html#id2698948">Features and Benefits</a>, <a class="indexterm" href="DNSDHCP.html#id2699127">Example Configuration</a></dt><dd><dl><dt>Active Directory, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></dt><dt>Dynamic, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a>, <a class="indexterm" href="DNSDHCP.html#id2699218">Dynamic DNS</a></dt><dt>SRV records, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></dt></dl></dd><dt>DNS Configuration, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></dt><dt>DNS lookup, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>DNS name resolution, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>dns proxy, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a></dt><dt>DNS server, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>DNS server access, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a></dt><dt>DNS server settings, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>DNS servers, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>DNS zon, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>DNS/LDAP/ADS, <a class="indexterm" href="NetworkBrowsing.html#id2590890">Technical Overview of Browsing</a></dt><dt>document design, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>documentation, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="SWAT.html#id2687177">Features and Benefits</a>, <a class="indexterm" href="problems.html">Analyzing and Solving Samba Problems</a></dt><dt>domain, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="passdb.html#id2597460">Adding User Accounts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a></dt><dd><dl><dt>control, <a class="indexterm" href="ServerType.html#id2565049">Server Types</a></dt><dd><dl><dt>role, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt></dl></dd><dt>controller, <a class="indexterm" href="ServerType.html#id2564889">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html">Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt><dd><dl><dt>convert, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt><dt>hierarchy, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt></dl></dd><dt>controllers, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></dt><dt>groups, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></dt><dt>master</dt><dd><dl><dt>browser, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a></dt></dl></dd><dt>member, <a class="indexterm" href="ServerType.html#id2565049">Server Types</a>, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt><dd><dl><dt>server, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a></dt></dl></dd><dt>member server, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt><dt>security, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></dt><dd><dl><dt>protocols, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt></dl></dd><dt>trust account, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt></dl></dd><dt>domain access, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>domain account access policies, <a class="indexterm" href="passdb.html#id2598299">Domain Account Policy Managment</a></dt><dt>domain admin group, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a></dt><dt>domain Administrator, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>Domain Admins, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2603344">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>Domain Admins group, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a></dt><dt>domain authentication, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dt>domain context, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>domain control, <a class="indexterm" href="samba-pdc.html#id2568544">Basics of Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2574686">Common Errors</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="NT4Migration.html">Migration from NT4 PDC to Samba-3 PDC</a></dt><dd><dl><dt>backup, <a class="indexterm" href="ServerType.html#id2565049">Server Types</a></dt><dt>primary, <a class="indexterm" href="ServerType.html#id2565049">Server Types</a></dt></dl></dd><dt>domain control database (see SAM)</dt><dt>domain controller, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2572268">Essential Background Information</a>, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2573390">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2573596">NetBIOS Over TCP/IP Enabled</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a>, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a>, <a class="indexterm" href="NT4Migration.html#id2686132">Steps in Migration Process</a></dt><dt>Domain Controller, <a class="indexterm" href="CUPS-printing.html#id2648129">Caveats to Be Considered</a></dt><dt>domain controllers, <a class="indexterm" href="samba-pdc.html#id2570321">Samba ADS Domain Control</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>domain environment, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>domain global, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global group, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global groups, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain global user, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global users, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain group, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a></dt><dt>domain group settings, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain groups, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a></dt><dt>Domain Groups, <a class="indexterm" href="passdb.html#id2600550">Accounts and Groups Management</a></dt><dt>Domain Guests, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>domain information, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>domain join, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a>, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a></dt><dt>domain joining, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>domain logon, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2570374">Domain and Network Logon Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2570393">Domain Network Logon Service</a>, <a class="indexterm" href="samba-bdc.html#id2572774">Example PDC Configuration</a>, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>domain logon server, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>domain logons, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a>, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>domain management tools, <a class="indexterm" href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>domain master, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a></dt><dt>domain member, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2579750">Common Errors</a>, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a>, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="winbind.html#id2659842">Handling of Foreign SIDs</a>, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>Domain Member, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dd><dl><dt>joining, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a></dt></dl></dd><dt>domain member client, <a class="indexterm" href="groupmapping.html#id2603344">Important Administrative Information</a></dt><dt>Domain Member Client (see DMC)</dt><dt>domain member server, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a>, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>Domain Member Server (see DMS)</dt><dt>domain member servers, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>domain member workstations, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain members, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a>, <a class="indexterm" href="winbind.html#id2660684">Introduction</a></dt><dt>domain membership, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a></dt><dt>domain name, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Domain Name System (see DNS)</dt><dt>domain non-member, <a class="indexterm" href="winbind.html#id2659842">Handling of Foreign SIDs</a></dt><dt>domain policies, <a class="indexterm" href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></dt><dt>domain radio button, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>domain security, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a>, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a>, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a></dt><dt>domain security account, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>Domain Server Manager, <a class="indexterm" href="groupmapping.html#id2603463">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>domain SID, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></dt><dt>domain trust, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626238">Creating an NT4 Domain Trust</a></dt><dt>domain user, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a></dt><dt>domain user accounts, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></dt><dt>domain user manager, <a class="indexterm" href="passdb.html#id2597109">User Account Management</a></dt><dt>Domain User Manager, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2603463">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></dt><dt>Domain Users, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>domain users, <a class="indexterm" href="winbind.html#id2660799">Requirements</a>, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="winbind.html#id2663370">Conclusion</a></dt><dt>Domain Users group, <a class="indexterm" href="groupmapping.html#id2604697">Adding Domain Users to the Workstation Power Users Group</a></dt><dt>domain-level, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a></dt><dt>domain-level security, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>domain-wide browse list, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a></dt><dt>DOMAIN&lt;1B&gt;, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a></dt><dt>DOMAIN&lt;1C&gt;, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a></dt><dt>DOMAIN&lt;1D&gt;, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a></dt><dt>draft, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a></dt><dt>Drive Identification, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>driver, <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a></dt><dt>driver CDROM, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a></dt><dt>driver download, <a class="indexterm" href="classicalprinting.html#id2633298">[print$] Stanza Parameters</a></dt><dt>Driver File, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a></dt><dt>driver files, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a></dt><dt>Driver Path, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a></dt><dt>dual-daemon winbindd, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>due diligence, <a class="indexterm" href="Backup.html#id2677509">Discussion of Backup Solutions</a></dt><dt>duplex, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>duplex printing, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>duplicate, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></dt><dt>duplication of information, <a class="indexterm" href="winbind.html#id2659554">Introduction</a></dt><dt>DVI, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a></dt><dt>Dynamic DNS (see DDNS)</dt><dt>Dynamic Host Configuration Protocol (see DHCP)</dt><dt>dynamic link loader, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>dynamic registration files, <a class="indexterm" href="DNSDHCP.html#id2699218">Dynamic DNS</a></dt><dt>Dynamic SMB servers, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>dynamically loadable library modules, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt></dl></div><div class="indexdiv"><h3>E</h3><dl><dt>e-Directory, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>EAs, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>economically wise, <a class="indexterm" href="SambaHA.html#id2678091">Features and Benefits</a></dt><dt>eDirectory, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>editreg, <a class="indexterm" href="PolicyMgmt.html#id2666198">Samba Editreg Toolset</a></dt><dt>efficient authentication, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>election, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>election criteria, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>election packet, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>election process, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>EMF, <a class="indexterm" href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2646352">From Windows Clients to an NT Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2646485">Driver Execution on the Server</a></dt><dt>enables clients to print, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a></dt><dt>enables NetBIOS over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>encapsulating, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>encoding, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt><dt>encryped password, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>encrypted, <a class="indexterm" href="ServerType.html#id2564889">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2566623">Password Checking</a>, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>encrypted password, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>encrypted passwords, <a class="indexterm" href="ServerType.html#id2566623">Password Checking</a>, <a class="indexterm" href="passdb.html#id2593316">Features and Benefits</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a>, <a class="indexterm" href="ProfileMgmt.html#id2668829">Profile Migration from Windows NT4/200x Server to Samba</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684231">Passdb Backends and Authentication</a></dt><dt>encrypted session, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>encryption, <a class="indexterm" href="ServerType.html#id2566348">Server Security (User Level Security)</a></dt><dt>encryption key, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a></dt><dt>encryption types, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2579471">Notes</a></dt><dt>enforcing, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>English, <a class="indexterm" href="unicode.html#id2676302">Japanese Charsets</a>, <a class="indexterm" href="SWAT.html#id2688110">Enabling SWAT Internationalization Support</a></dt><dt>Enhanced MetaFile (see EMF)</dt><dt>enterprise, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>enumdrivers, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2649816">A Check of the rpcclient man Page</a></dt><dt>enumerate domain groups, <a class="indexterm" href="winbind.html#id2660018">Microsoft Remote Procedure Calls</a></dt><dt>enumerate domain users, <a class="indexterm" href="winbind.html#id2660018">Microsoft Remote Procedure Calls</a></dt><dt>EnumJobs(), <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>enumprinters, <a class="indexterm" href="CUPS-printing.html#id2649816">A Check of the rpcclient man Page</a></dt><dt>environment variables, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a></dt><dt>EPM (see ESP meta packager)</dt><dt>Epson Stylus, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>Epson Stylus inkjet, <a class="indexterm" href="CUPS-printing.html#id2652928">Foomatic Database-Generated PPDs</a></dt><dt>equivalence, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>equivalent rights and privileges, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>error message, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a>, <a class="indexterm" href="classicalprinting.html#id2635038">Running rpcclient with adddriver</a></dt><dt>error messages, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a></dt><dt>errors that can afflict, <a class="indexterm" href="ClientConfig.html#id2584425">Common Errors</a></dt><dt>ESC/P, <a class="indexterm" href="CUPS-printing.html#id2646485">Driver Execution on the Server</a></dt><dt>ESP, <a class="indexterm" href="CUPS-printing.html#id2641672">Ghostscript: The Software RIP for Non-PostScript Printers</a></dt><dd><dl><dt>Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2645352">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>meta packager, <a class="indexterm" href="CUPS-printing.html#id2647683">CUPS &#8220;PostScript Driver for Windows NT/200x/XP&#8221;</a></dt><dt>Print Pro, <a class="indexterm" href="CUPS-printing.html#id2646117">Sources of CUPS Drivers/PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2648067">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></dt></dl></dd><dt>ESP Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a></dt><dt>established, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>ethereal, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="problems.html#id2691244">Tcpdump</a>, <a class="indexterm" href="problems.html#id2691294">Ethereal</a>, <a class="indexterm" href="problems.html#id2691438">The Windows Network Monitor</a></dt><dt>Ethernet adapters, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>EUC-JP, <a class="indexterm" href="unicode.html#id2676302">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>eucJP-ms locale, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>Event Viewer, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663712">Remote Server Administration</a></dt><dt>Everyone - Full Control, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a></dt><dt>Everyone group, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>EVMS, <a class="indexterm" href="VFS.html#id2657919">shadow_copy</a></dt><dt>examples, <a class="indexterm" href="install.html#id2559157">Example Configuration</a></dt><dt>examples/LDAP, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>execute, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>existing LDAP DIT, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a></dt><dt>expands control abilities, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>expired password, <a class="indexterm" href="passdb.html#id2597632">Changing User Accounts</a></dt><dt>explicit trust, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>explicitly set, <a class="indexterm" href="classicalprinting.html#id2629220">Rapid Configuration Validation</a></dt><dt>exploit opportunities, <a class="indexterm" href="PolicyMgmt.html#id2664856">Features and Benefits</a></dt><dt>exploitation, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>exported file system, <a class="indexterm" href="SambaHA.html#id2679095">A Simple Solution</a></dt><dt>exposed, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>extd_audit module, <a class="indexterm" href="VFS.html#id2657146">extd_audit</a></dt><dt>Extended Attributes, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>extended attributes, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>Extended BSD Printing, <a class="indexterm" href="classicalprinting.html#id2629619">Extended Printing Configuration</a></dt><dt>extended characters, <a class="indexterm" href="unicode.html#id2676001">What Are Charsets and Unicode?</a></dt><dt>extended protocol, <a class="indexterm" href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a></dt><dt>extended SAM, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>extra machine, <a class="indexterm" href="cfgsmarts.html#id2681404">Multiple Virtual Server Hosting</a></dt></dl></div><div class="indexdiv"><h3>F</h3><dl><dt>fail, <a class="indexterm" href="SambaHA.html#id2678091">Features and Benefits</a></dt><dt>failed join, <a class="indexterm" href="idmapper.html#id2611972">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a></dt><dt>failed logins, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a></dt><dt>failover communication, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>failover process, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>failover servers, <a class="indexterm" href="SambaHA.html#id2679095">A Simple Solution</a></dt><dt>fails, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></dt><dt>failure, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a></dt><dt>failure semantics, <a class="indexterm" href="SambaHA.html#id2679038">Required Modifications to Samba</a></dt><dt>fake-permissions module, <a class="indexterm" href="ProfileMgmt.html#id2669181">Mandatory Profiles</a></dt><dt>fake_permissions, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>fake_perms, <a class="indexterm" href="VFS.html#fakeperms">fake_perms</a>, <a class="indexterm" href="ProfileMgmt.html#id2669181">Mandatory Profiles</a></dt><dt>fdisk, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>Federated Identity Management (see FIM)</dt><dt>federated organizations, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>federated-identity, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>Fiber Channel, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>fickle, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a></dt><dt>fid, <a class="indexterm" href="SambaHA.html#id2678589">Demultiplexing SMB Requests</a></dt><dt>file access permissions, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>File Naming Conventions, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>file ownership, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a></dt><dt>file serving, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>File System, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dd><dl><dt>case sensitivity, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>feature comparison, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>UNIX, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>Windows, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt></dl></dd><dt>file system capabilities, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>FILE:, <a class="indexterm" href="classicalprinting.html#id2637988">Samba and Printer Ports</a></dt><dt>filemanager, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a></dt><dt>filename mangling, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>filter, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>Filter Oplock, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>FilterLimit, <a class="indexterm" href="CUPS-printing.html#id2644613">mime.convs</a></dt><dt>filters, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>FIM, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>firewall, <a class="indexterm" href="securing-samba.html#id2624168">Introduction</a>, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>firewall active, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>firewall setups, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>fixed IP address, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>fixed IP addresses, <a class="indexterm" href="ClientConfig.html#id2581683">TCP/IP Configuration</a></dt><dt>flush local locks, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>flush name cache, <a class="indexterm" href="NetworkBrowsing.html#id2592464">Flushing the Samba NetBIOS Name Cache</a></dt><dt>foomatic, <a class="indexterm" href="CUPS-printing.html#id2641909">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2645352">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2652233">foomatic-rip and Foomatic Explained</a>, <a class="indexterm" href="CUPS-printing.html#id2652382">Foomatic's Strange Name</a></dt><dt>Foomatic database, <a class="indexterm" href="CUPS-printing.html#id2652928">Foomatic Database-Generated PPDs</a></dt><dt>Foomatic Printer, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a></dt><dt>Foomatic tutorial, <a class="indexterm" href="CUPS-printing.html#id2652612">The Grand Unification Achieved</a></dt><dt>foomatic-rip, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2645352">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2652058">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2652233">foomatic-rip and Foomatic Explained</a>, <a class="indexterm" href="CUPS-printing.html#id2652612">The Grand Unification Achieved</a></dt><dt>Foomatic/cupsomatic, <a class="indexterm" href="CUPS-printing.html#id2645352">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>force an election, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>force election, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a></dt><dt>forced synchronization, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>foreign domain, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>foreign SID, <a class="indexterm" href="winbind.html#id2659842">Handling of Foreign SIDs</a></dt><dt>foreign user, <a class="indexterm" href="winbind.html#id2659842">Handling of Foreign SIDs</a></dt><dt>FQDN, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>framing error, <a class="indexterm" href="speed.html#id2697192">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>free support, <a class="indexterm" href="ch47.html">Samba Support</a>, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>FreeBSD, <a class="indexterm" href="samba-pdc.html#id2571270">&#8220;$&#8221; Cannot Be Included in Machine Name</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>freezing, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>French, <a class="indexterm" href="SWAT.html#id2688110">Enabling SWAT Internationalization Support</a></dt><dt>front-end virtual server, <a class="indexterm" href="SambaHA.html#id2678494">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2678589">Demultiplexing SMB Requests</a></dt><dt>frustrating experience, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a></dt><dt>FTP, <a class="indexterm" href="passdb.html#id2594567">Advantages of Non-Encrypted Passwords</a></dt><dt>ftp, <a class="indexterm" href="Backup.html#id2677778">Rsync</a>, <a class="indexterm" href="compiling.html#id2693866">Accessing the Samba Sources via rsync and ftp</a></dt><dt>ftp access, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftp service, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftp services, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftpd, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>full rights, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>functional components, <a class="indexterm" href="bugreport.html#id2692432">Debugging-Specific Operations</a></dt><dt>functionality, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt></dl></div><div class="indexdiv"><h3>G</h3><dl><dt>gateway address, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>gcc, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a>, <a class="indexterm" href="Portability.html#id2695192">HPUX</a></dt><dt>gdb, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#id2692634">Internal Errors</a>, <a class="indexterm" href="bugreport.html#id2692767">Attaching to a Running Process</a></dt><dt>GDI, <a class="indexterm" href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2646352">From Windows Clients to an NT Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2646485">Driver Execution on the Server</a></dt><dt>general security service application programming interface (see GSSAPI)</dt><dt>generic PostScript, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>generic raster, <a class="indexterm" href="CUPS-printing.html#id2643453">pstoraster</a></dt><dt>generic raster format, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a></dt><dt>genlogon.pl, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664445">Network Logon Script Magic</a></dt><dt>Gentoo, <a class="indexterm" href="speed.html#id2697192">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>Germany, <a class="indexterm" href="SambaHA.html#id2678212">Technical Discussion</a></dt><dt>get, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>getdriver, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2634683">Installing Driver Files into [print$]</a></dt><dt>getdriverdir, <a class="indexterm" href="CUPS-printing.html#id2649816">A Check of the rpcclient man Page</a></dt><dt>getent, <a class="indexterm" href="NetCommand.html#id2605667">Adding or Creating a New Group</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>getent group demo, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>gethostbyname() function call, <a class="indexterm" href="NetworkBrowsing.html#id2590686">Name Resolution Order</a></dt><dt>getpwnam, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>getpwnam() call, <a class="indexterm" href="upgrading-to-3.0.html#id2684135">Changes in Behavior</a></dt><dt>GetSID.exe, <a class="indexterm" href="ProfileMgmt.html#id2669116">Get SID</a></dt><dt>GhostScript, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a>, <a class="indexterm" href="CUPS-printing.html#id2641672">Ghostscript: The Software RIP for Non-PostScript Printers</a></dt><dd><dl><dt>(see also PostScript)</dt></dl></dd><dt>Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2645069">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dd><dl><dt>ESP (see ESP
     4        GhostScript)</dt></dl></dd><dt>GID, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2585166">Passdb Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2659842">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>GID numbers, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>GID range, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>GIF, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>global print command, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a></dt><dt>global right, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>global section, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>Global support, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>global-level, <a class="indexterm" href="classicalprinting.html#id2628638">Printing-Related Configuration Parameters</a></dt><dt>GNOME, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>GNU Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2643453">pstoraster</a></dt><dt>GNU GPL, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a></dt><dt>GNU tar, <a class="indexterm" href="Backup.html#id2677947">Amanda</a></dt><dt>GNU/Linux, <a class="indexterm" href="VFS.html#id2656487">Discussion</a></dt><dt>GPG, <a class="indexterm" href="compiling.html#id2693941">Verifying Samba's PGP Signature</a></dt><dt>GPL, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>gpolmig.exe, <a class="indexterm" href="PolicyMgmt.html#id2665713">Administration of Windows 200x/XP Policies</a></dt><dt>GPOs, <a class="indexterm" href="PolicyMgmt.html#id2664856">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665713">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2666385">System Startup and Logon Processing Overview</a>, <a class="indexterm" href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a></dt><dt>grace time, <a class="indexterm" href="passdb.html#id2597632">Changing User Accounts</a></dt><dt>grant rights, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>graphical objects, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>graphically illustrated client configuration, <a class="indexterm" href="ClientConfig.html#id2581580">Features and Benefits</a></dt><dt>grayscale, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a></dt><dt>greater scalability, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>greatest mistake, <a class="indexterm" href="StandAloneServer.html#id2581512">Common Errors</a></dt><dt>grep, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>group, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dd><dl><dt>account, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>mapping, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt></dl></dd><dt>group account, <a class="indexterm" href="groupmapping.html#id2603344">Important Administrative Information</a>, <a class="indexterm" href="idmapper.html#id2611813">Backup Domain Controller</a></dt><dt>group accounts, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2602711">Warning: User Private Group Problems</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>group management, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></dt><dt>group mapping, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a></dt><dt>group mappings, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a></dt><dt>group membership, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>group ownership, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a></dt><dt>group permissions, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>Group Policies, <a class="indexterm" href="PolicyMgmt.html#id2664856">Features and Benefits</a></dt><dt>group policies, <a class="indexterm" href="PolicyMgmt.html#id2664856">Features and Benefits</a></dt><dt>group policy, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>Group Policy, <a class="indexterm" href="PolicyMgmt.html#id2665151">Windows 9x/ME Policies</a></dt><dt>Group Policy Container (see GPC)</dt><dt>Group Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2665151">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2666280">Windows NT4/200x</a>, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>Group Policy Objects, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a> (see GPO)</dt><dt>group policy objects (see GPOs)</dt><dt>Group Policy Template (see GPT)</dt><dt>group privileges, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a></dt><dt>group profiles, <a class="indexterm" href="ProfileMgmt.html#id2669321">Creating and Managing Group Profiles</a></dt><dt>group SID, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></dt><dt>groupadd, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2604298">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="groupmapping.html#id2604610">Adding Groups Fails</a></dt><dt>groupadd limitations, <a class="indexterm" href="groupmapping.html#id2604298">Sample smb.conf Add Group Script</a></dt><dt>groupdel, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a></dt><dt>groupmap, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a></dt><dt>groupmod, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a></dt><dt>grouppol.inf, <a class="indexterm" href="PolicyMgmt.html#id2665151">Windows 9x/ME Policies</a></dt><dt>groups, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a>, <a class="indexterm" href="PolicyMgmt.html#id2664856">Features and Benefits</a></dt><dd><dl><dt>domain, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a></dt><dt>mapping, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a></dt><dt>nested, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt></dl></dd><dt>groups of users, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>growing, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>GSSAPI, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>gtklp, <a class="indexterm" href="CUPS-printing.html#id2652928">Foomatic Database-Generated PPDs</a></dt><dt>guest, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></dt><dt>guest account, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a>, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>GUI, <a class="indexterm" href="CUPS-printing.html#id2639126">Overview</a></dt><dt>Gutenprint, <a class="indexterm" href="CUPS-printing.html#id2643807">rasterto [printers specific]</a>, <a class="indexterm" href="CUPS-printing.html#id2652740">Driver Development Outside</a></dt></dl></div><div class="indexdiv"><h3>H</h3><dl><dt>h-node, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>harvesting password hashes, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>hashed password equivalent, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>headers files, <a class="indexterm" href="domain-member.html#id2579178">Possible Errors</a></dt><dt>Heimdal, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>Heimdal kerberos, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a></dt><dt>help, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>help command, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>heterogeneous computing, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a></dt><dt>HEX, <a class="indexterm" href="unicode.html#id2676302">Japanese Charsets</a></dt><dt>hi-res photo, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a></dt><dt>high availability, <a class="indexterm" href="SambaHA.html#id2678091">Features and Benefits</a></dt><dt>high order ports, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>high-availability, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>high-availability services, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>high-speed server interconnect, <a class="indexterm" href="SambaHA.html#id2679095">A Simple Solution</a></dt><dt>higher availability, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>HKEY_CURRENT_USER, <a class="indexterm" href="ProfileMgmt.html#id2669587">MS Windows NT4 Workstation</a></dt><dt>HKEY_LOCAL_MACHINE, <a class="indexterm" href="PolicyMgmt.html#id2665470">Registry Spoiling</a></dt><dt>holy grail, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a></dt><dt>home directories, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a>, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>home directory, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>home directory template, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>home drive, <a class="indexterm" href="samba-bdc.html#id2572774">Example PDC Configuration</a></dt><dt>host multiple servers, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>host security, <a class="indexterm" href="securing-samba.html#id2624266">Features and Benefits</a></dt><dt>host-based protection, <a class="indexterm" href="securing-samba.html#id2624266">Features and Benefits</a></dt><dt>hostname, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>hosts allow, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>hosts deny, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>house-keeping, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>HOWTO documents, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a></dt><dt>HP JetDirect, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>HP Photosmart, <a class="indexterm" href="CUPS-printing.html#id2652928">Foomatic Database-Generated PPDs</a></dt><dt>HP-GL, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>HP-GL., <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a></dt><dt>hpgltops, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a></dt><dt>HPIJS, <a class="indexterm" href="CUPS-printing.html#id2652740">Driver Development Outside</a></dt><dt>HPUX, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>http, <a class="indexterm" href="Backup.html#id2677778">Rsync</a></dt><dt>hybrid, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>Hybrid node, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt></dl></div><div class="indexdiv"><h3>I</h3><dl><dt>IANA, <a class="indexterm" href="CUPS-printing.html#id2643453">pstoraster</a></dt><dt>ID mapping, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>ID mapping database, <a class="indexterm" href="winbind.html#id2660546">User and Group ID Allocation</a></dt><dt>ID range, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a></dt><dt>IDEALX, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a></dt><dt>Identification, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>identify, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a></dt><dt>identity, <a class="indexterm" href="idmapper.html#id2610560">Standalone Samba Server</a></dt><dt>identity information, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>identity management, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dd><dl><dt>centralized, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt></dl></dd><dt>identity resolution, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a></dt><dt>IDMAP, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2610560">Standalone Samba Server</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a></dt><dt>idmap, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>idmap backend, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684984">IdMap LDAP Support</a></dt><dt>IDMAP backend, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>idmap gid, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a></dt><dt>idmap GID, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>IDMAP infrastructure, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>idmap uid, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a></dt><dt>idmap UID, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>idmap_ad, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>idmap_ldap module, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>idmap_rid, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a></dt><dt>IETF, <a class="indexterm" href="CUPS-printing.html#id2639126">Overview</a></dt><dt>ifconfig, <a class="indexterm" href="compiling.html#id2694587">Starting from inetd.conf</a>, <a class="indexterm" href="speed.html#id2697192">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>ignore connection, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>imagetoraster, <a class="indexterm" href="CUPS-printing.html#id2643723">imagetops and imagetoraster</a></dt><dt>immutible, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>impersonate, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>implementing oplocks, <a class="indexterm" href="locking.html#id2622885">Advanced Samba Oplocks Parameters</a></dt><dt>Implicit Classes, <a class="indexterm" href="CUPS-printing.html#id2656138">Print Queue Called &#8220;lp&#8221; Mishandles Print Jobs</a></dt><dt>important announcements, <a class="indexterm" href="securing-samba.html#id2625196">Upgrading Samba</a></dt><dt>Imprints, <a class="indexterm" href="classicalprinting.html#id2638134">The Imprints Toolset</a></dt><dt>imprints, <a class="indexterm" href="CUPS-printing.html#id2640821">Driver Upload Methods</a></dt><dt>include, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>independent, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a>, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>individual domain user, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>individual section, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>inetd, <a class="indexterm" href="SWAT.html#id2687321">Validate SWAT Installation</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a>, <a class="indexterm" href="compiling.html#startingSamba">Starting the smbd nmbd and winbindd</a>, <a class="indexterm" href="compiling.html#id2694587">Starting from inetd.conf</a></dt><dt>inetd.conf, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>inetorgperson.schema, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a></dt><dt>inf file, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a></dt><dt>infrastructure, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a>, <a class="indexterm" href="winbind.html#id2659796">Target Uses</a></dt><dt>inheritance, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>inherits rights, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a></dt><dt>initdb.ldif, <a class="indexterm" href="FastStart.html#id2563779">The Primary Domain Controller</a></dt><dt>initGroups.sh, <a class="indexterm" href="FastStart.html#id2562964">Example: Engineering Office</a>, <a class="indexterm" href="groupmapping.html#id2604470">Script to Configure Group Mapping</a>, <a class="indexterm" href="NT4Migration.html#id2686132">Steps in Migration Process</a></dt><dt>inktype, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a></dt><dt>insecure, <a class="indexterm" href="StandAloneServer.html#id2580234">Features and Benefits</a>, <a class="indexterm" href="securing-samba.html#id2624429">Using Host-Based Protection</a></dt><dt>inspire simplicity, <a class="indexterm" href="StandAloneServer.html#id2580529">Example Configuration</a></dt><dt>inspired structure, <a class="indexterm" href="SambaHA.html#id2678212">Technical Discussion</a></dt><dt>install drivers, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2632790">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>interactive help, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>interdomain</dt><dd><dl><dt>trust</dt><dd><dl><dt>account, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt></dl></dd><dt>trustrs, <a class="indexterm" href="ServerType.html#id2564889">Features and Benefits</a></dt></dl></dd><dt>interdomain connection, <a class="indexterm" href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a></dt><dt>interdomain trust, <a class="indexterm" href="InterdomainTrusts.html#id2626630">Configuring Samba NT-Style Domain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>interdomain trust accounts, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a></dt><dt>interdomain trusts, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625845">Features and Benefits</a></dt><dt>Interdomain Trusts, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dd><dl><dt>Completing, <a class="indexterm" href="InterdomainTrusts.html#id2626335">Completing an NT4 Domain Trust</a></dt><dt>creating, <a class="indexterm" href="InterdomainTrusts.html#id2626202">Native MS Windows NT4 Trusts Configuration</a></dt><dt>Facilities, <a class="indexterm" href="InterdomainTrusts.html#id2626421">Interdomain Trust Facilities</a></dt></dl></dd><dt>interface, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>interface scripts, <a class="indexterm" href="passdb.html#id2597109">User Account Management</a></dt><dt>interface-based exclusion, <a class="indexterm" href="securing-samba.html#id2624266">Features and Benefits</a></dt><dt>interfaces, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a>, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>intermediate information, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a></dt><dt>intermediate tools, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>internal ordering, <a class="indexterm" href="SWAT.html#id2687177">Features and Benefits</a></dt><dt>internationalization support, <a class="indexterm" href="SWAT.html#id2687302">Guidelines and Technical Tips</a></dt><dt>Internet, <a class="indexterm" href="securing-samba.html#id2624429">Using Host-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>Internet Engineering Task Force (see IETF)</dt><dt>Internet Printing Protocol (see IPP)</dt><dt>Internet Protocol TCP/IP, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>Internetworking Packet Exchange (see IPX)</dt><dt>internetworking super daemon, <a class="indexterm" href="SWAT.html#id2687177">Features and Benefits</a></dt><dt>interoperability, <a class="indexterm" href="ServerType.html#id2564889">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="SambaHA.html#id2678822">Restrictive Constraints on Distributed File Systems</a></dt><dt>intolerance, <a class="indexterm" href="SambaHA.html#id2678091">Features and Benefits</a></dt><dt>invalid shell, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a></dt><dt>invalid users, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>IP address, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>IP address automatically, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>IP addresses, <a class="indexterm" href="integrate-ms-networks.html#id2674366">/etc/hosts</a></dt><dt>IP aliases, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>IPC$, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a>, <a class="indexterm" href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a></dt><dt>IPC$ connections, <a class="indexterm" href="SambaHA.html#id2678494">The Front-End Challenge</a></dt><dt>ipchains, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>ipconfig, <a class="indexterm" href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a></dt><dt>iPlanet, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>IPP, <a class="indexterm" href="CUPS-printing.html#id2648978">Understanding cupsaddsmb</a></dt><dt>IPP client, <a class="indexterm" href="CUPS-printing.html#id2655538">Administrator Cannot Install Printers for All Local Users</a></dt><dt>iptables, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>IPX, <a class="indexterm" href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a></dt><dt>IRC, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>IRIX, <a class="indexterm" href="VFS.html#id2656487">Discussion</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>ISC</dt><dd><dl><dt>DHCP, <a class="indexterm" href="DNSDHCP.html#id2698948">Features and Benefits</a></dt><dt>DNS, <a class="indexterm" href="DNSDHCP.html#id2698948">Features and Benefits</a></dt></dl></dd><dt>ISC DHCP server, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>isolated workgroup, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></dt><dt>IXFR, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a></dt></dl></div><div class="indexdiv"><h3>J</h3><dl><dt>Japanese, <a class="indexterm" href="unicode.html#id2676302">Japanese Charsets</a>, <a class="indexterm" href="SWAT.html#id2688110">Enabling SWAT Internationalization Support</a></dt><dt>Japanese locale, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>Japanese UNIX, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>Java, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>JIS X 0208, <a class="indexterm" href="unicode.html#id2676302">Japanese Charsets</a></dt><dt>join, <a class="indexterm" href="idmapper.html#id2611972">NT4-Style Domains (Includes Samba Domains)</a></dt><dt>join client, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>join domain, <a class="indexterm" href="samba-pdc.html#id2571371">Joining Domain Fails Because of Existing Machine Account</a></dt><dt>join the ADS domain, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>join the domain, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>join the machine, <a class="indexterm" href="domain-member.html#id2576878">Windows NT4 Client</a></dt><dt>joined client, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>Joined domain, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>joining domain, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a></dt><dt>joining the domain, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>JPEG, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt></dl></div><div class="indexdiv"><h3>K</h3><dl><dt>KB 129202, <a class="indexterm" href="locking.html#id2623993">Additional Reading</a></dt><dt>KB 224992, <a class="indexterm" href="locking.html#id2623993">Additional Reading</a></dt><dt>KB 296264, <a class="indexterm" href="locking.html#id2623993">Additional Reading</a></dt><dt>KB 811492, <a class="indexterm" href="locking.html#id2623962">Long Delays Deleting Files over Network with XP SP1</a></dt><dt>KB 812937, <a class="indexterm" href="locking.html#id2623937">Problems Saving Files in MS Office on Windows XP</a></dt><dt>KDC, <a class="indexterm" href="domain-member.html#ads-member">Samba ADS Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>KDE, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>KDE konqueror, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>KDE session, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>KDEPrint, <a class="indexterm" href="CUPS-printing.html#id2639126">Overview</a></dt><dt>kerberos, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a></dt><dt>Kerberos, <a class="indexterm" href="domain-member.html#ads-member">Samba ADS Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2579178">Possible Errors</a>, <a class="indexterm" href="domain-member.html#ads-test-smbclient">Testing with smbclient</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a>, <a class="indexterm" href="winbind.html#id2660111">Microsoft Active Directory Services</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684231">Passdb Backends and Authentication</a></dt><dd><dl><dt>/etc/krb5.conf, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt></dl></dd><dt>Kerberos authentication, <a class="indexterm" href="domain-member.html#ads-test-smbclient">Testing with smbclient</a></dt><dt>killall, <a class="indexterm" href="compiling.html#id2694587">Starting from inetd.conf</a></dt><dt>kinit, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a>, <a class="indexterm" href="domain-member.html#id2579178">Possible Errors</a></dt><dt>kixstart, <a class="indexterm" href="NT4Migration.html#id2685972">Logon Scripts</a></dt><dt>kprinter, <a class="indexterm" href="CUPS-printing.html#id2652928">Foomatic Database-Generated PPDs</a></dt><dt>KRB, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a></dt><dt>KRB5, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>krb5.conf, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt></dl></div><div class="indexdiv"><h3>L</h3><dl><dt>LAN, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a>, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a>, <a class="indexterm" href="problems.html#id2690936">Diagnostics Tools</a></dt><dt>LanMan, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2572268">Essential Background Information</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>LanMan logon service, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a></dt><dt>LanMan passwords, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a></dt><dt>LanManager, <a class="indexterm" href="ServerType.html#id2565355">User Level Security</a>, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>LanManager-compatible, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a></dt><dt>LanManger password, <a class="indexterm" href="passdb.html#id2597225">Listing User and Machine Accounts</a></dt><dt>laptops, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a></dt><dt>large directory, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>large domain, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a></dt><dt>large numbers of files, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>large organizations, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>last change time, <a class="indexterm" href="passdb.html#id2597225">Listing User and Machine Accounts</a></dt><dt>latency, <a class="indexterm" href="locking.html#id2622639">Slow and/or Unreliable Networks</a></dt><dt>laws, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>LCT (see last change time)</dt><dt>LDAP, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="samba-bdc.html#id2574945">Can I Do This All with LDAP?</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a>, <a class="indexterm" href="passdb.html#id2599387">Supported LDAP Servers</a>, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a>, <a class="indexterm" href="passdb.html#id2600125">Configuring Samba</a>, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611813">Backup Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625845">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a>, <a class="indexterm" href="winbind.html#id2660111">Microsoft Active Directory Services</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684231">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dd><dl><dt>directories, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>master, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></dt><dt>server, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></dt><dt>slave, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></dt></dl></dd><dt>LDAP administration password, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a></dt><dt>LDAP administrative password, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>LDAP backend, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682386">Quick Migration Guide</a></dt><dt>LDAP backends, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>LDAP database, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a>, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>LDAP deployment, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>LDAP directory, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>ldap group suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684818">New Suffix for Searching</a></dt><dt>LDAP idmap Backend, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>ldap idmap suffix, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684818">New Suffix for Searching</a></dt><dt>ldap machine suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2684818">New Suffix for Searching</a></dt><dt>LDAP queries, <a class="indexterm" href="upgrading-to-3.0.html#id2684818">New Suffix for Searching</a></dt><dt>LDAP redirects, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>LDAP schema, <a class="indexterm" href="ChangeNotes.html#id2585347">LDAP Changes in Samba-3.0.23</a></dt><dt>LDAP server, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>ldap suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684818">New Suffix for Searching</a></dt><dt>ldap user suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2684818">New Suffix for Searching</a></dt><dt>LDAP-based, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>LDAP., <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a></dt><dt>LDAP/Kerberos, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>LDAPS, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>ldapsam, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a>, <a class="indexterm" href="passdb.html#id2599387">Supported LDAP Servers</a>, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a>, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>ldapsam_compat, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>ldapsearch, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>LDAPv3, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>ldconfig, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>ldd, <a class="indexterm" href="CUPS-printing.html#id2639361">Linking smbd with libcups.so</a></dt><dt>LDIF, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>LDIF file, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a></dt><dt>legacy systems, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>legal UNIX system account name, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></dt><dt>Level1 Oplock, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>Level1 oplock, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>Level2 Oplock, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>LGPL, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a></dt><dt>libcups, <a class="indexterm" href="classicalprinting.html#id2631576">Default UNIX System Printing Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2639361">Linking smbd with libcups.so</a></dt><dt>libcups.so, <a class="indexterm" href="CUPS-printing.html#id2639361">Linking smbd with libcups.so</a></dt><dt>libcups.so.2, <a class="indexterm" href="CUPS-printing.html#id2639361">Linking smbd with libcups.so</a></dt><dt>Liberty Alliance, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>libiconv, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>libnss_winbind, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>libnss_winbind.so, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>libnss_wins.so, <a class="indexterm" href="integrate-ms-networks.html#id2674642">/etc/nsswitch.conf</a></dt><dt>libraries, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>licensing, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>limitations, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>linewidth, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>link loader configuration, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>Links</dt><dd><dl><dt>hard, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>soft, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt></dl></dd><dt>Linux, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>Linux High Availability project, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>Linux LVM, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>Linux LVM partition, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>LinuxKongress2002, <a class="indexterm" href="CUPS-printing.html#id2652612">The Grand Unification Achieved</a></dt><dt>Linuxprinting.org, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2652058">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2652740">Driver Development Outside</a></dt><dt>list of domain controllers, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>listen for connections, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>listen own socket, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>LLC, <a class="indexterm" href="integrate-ms-networks.html">Integrating MS Windows Networks with Samba</a></dt><dt>LM/NT password hashes, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>LMB, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589564">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a> (see Local Master Browser)</dt><dt>LMHOSTS, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="integrate-ms-networks.html#id2675287">The LMHOSTS File</a></dt><dt>lmhosts, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a></dt><dt>load balancing, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>loaded modules, <a class="indexterm" href="VFS.html#id2656448">Features and Benefits</a></dt><dt>loading printer drivers, <a class="indexterm" href="classicalprinting.html#id2631206">Any [my_printer_name] Section</a></dt><dt>local</dt><dd><dl><dt>groups, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></dt><dt>master</dt><dd><dl><dt>browser, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a></dt></dl></dd></dl></dd><dt>local access permissions, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>local accounts, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>local administrative privileges, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>Local Area Connection, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>Local Area Connection Properties, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>local authentication, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a></dt><dt>local authentication database, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a></dt><dt>local cache, <a class="indexterm" href="integrate-ms-networks.html#id2675201">The NetBIOS Name Cache</a></dt><dt>local disk, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a></dt><dt>local domain, <a class="indexterm" href="winbind.html#id2659842">Handling of Foreign SIDs</a></dt><dt>local group, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>local groups, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a></dt><dt>Local Machine Trust Account, <a class="indexterm" href="samba-bdc.html#id2574730">Machine Accounts Keep Expiring</a></dt><dt>Local Master Browser, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589424">Use of the Remote Announce Parameter</a></dt><dt>local master browser (see LMB)</dt><dt>local names, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>local print driver, <a class="indexterm" href="classicalprinting.html#id2633298">[print$] Stanza Parameters</a></dt><dt>local profile, <a class="indexterm" href="ProfileMgmt.html#id2667128">Disabling Roaming Profile Support</a>, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>local profiles, <a class="indexterm" href="ProfileMgmt.html#id2666639">Features and Benefits</a></dt><dt>local registry values, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a></dt><dt>Local security policies, <a class="indexterm" href="CUPS-printing.html#id2655505">Windows 200x/XP Local Security Policies</a></dt><dt>local smbpasswd file, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a></dt><dt>local spool area, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a></dt><dt>local subnet, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>local system printing, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a></dt><dt>local UNIX groups, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dt>local user, <a class="indexterm" href="idmapper.html#id2610560">Standalone Samba Server</a>, <a class="indexterm" href="winbind.html#id2662695">Restarting</a></dt><dt>local user account, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>local users, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a></dt><dt>locale, <a class="indexterm" href="SWAT.html#id2688110">Enabling SWAT Internationalization Support</a></dt><dt>localhost, <a class="indexterm" href="securing-samba.html#id2624429">Using Host-Based Protection</a></dt><dt>locally known UID, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>locate domain controller, <a class="indexterm" href="samba-bdc.html#id2573539">How Does a Workstation find its Domain Controller?</a></dt><dt>Lock caching, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>lock directory, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>lock password, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>lock the account, <a class="indexterm" href="passdb.html#id2597632">Changing User Accounts</a></dt><dt>locking, <a class="indexterm" href="locking.html">File and Record Locking</a>, <a class="indexterm" href="locking.html#id2621671">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2621768">Discussion</a>, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a></dt><dt>locking protocol, <a class="indexterm" href="locking.html#id2621671">Features and Benefits</a></dt><dt>locking semantics, <a class="indexterm" href="locking.html#id2621671">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>locking.tdb, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>lockout, <a class="indexterm" href="ServerType.html#id2566526">Example Configuration</a></dt><dt>log files, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a></dt><dd><dl><dt>monitoring, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a></dt></dl></dd><dt>log level, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a>, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#dbglvl">Debug Levels</a></dt><dt>log.nmbd, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>logging, <a class="indexterm" href="VFS.html#id2657303">Configuration of Auditing</a>, <a class="indexterm" href="bugreport.html#id2692432">Debugging-Specific Operations</a></dt><dt>logical directories, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>Logical Link Control (see LLC)</dt><dt>logical volume, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>Logical Volume Manager (see LVM)</dt><dt>Login, <a class="indexterm" href="passdb.html#id2594567">Advantages of Non-Encrypted Passwords</a></dt><dt>login, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>login id, <a class="indexterm" href="passdb.html#id2597225">Listing User and Machine Accounts</a></dt><dt>login name, <a class="indexterm" href="install.html#id2559157">Example Configuration</a></dt><dt>login shells, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>LoginID, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>logon, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></dt><dt>logon authentication, <a class="indexterm" href="samba-bdc.html#id2573662">NetBIOS Over TCP/IP Disabled</a></dt><dt>logon drive, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>logon home, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2666893">Windows 9x/Me User Profiles</a></dt><dt>logon name, <a class="indexterm" href="NetCommand.html#id2607322">User Mapping</a></dt><dt>logon path, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>logon processing, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>logon requests, <a class="indexterm" href="samba-bdc.html#id2572268">Essential Background Information</a>, <a class="indexterm" href="samba-bdc.html#id2573596">NetBIOS Over TCP/IP Enabled</a>, <a class="indexterm" href="samba-bdc.html#id2574784">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></dt><dt>logon script, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a></dt><dt>Logon Scripts, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>Logon scripts, <a class="indexterm" href="NT4Migration.html#id2685972">Logon Scripts</a></dt><dt>logon server, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ProfileMgmt.html#id2669587">MS Windows NT4 Workstation</a></dt><dt>logons, <a class="indexterm" href="ProfileMgmt.html#id2666753">NT4/200x User Profiles</a></dt><dt>lookups, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>loopback adapter, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>loopback interface, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a>, <a class="indexterm" href="Portability.html#id2695476">Red Hat Linux</a></dt><dt>lower-case, <a class="indexterm" href="ServerType.html#id2565355">User Level Security</a></dt><dt>lowercase filenames, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>lp, <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a>, <a class="indexterm" href="CUPS-printing.html#id2656138">Print Queue Called &#8220;lp&#8221; Mishandles Print Jobs</a></dt><dt>lpadmin, <a class="indexterm" href="CUPS-printing.html#id2644682">&#8220;Raw&#8221; Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2646240">Printing with Interface Scripts</a>, <a class="indexterm" href="CUPS-printing.html#id2652058">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2653563">Setting Up Quotas</a></dt><dt>LPD, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>lpinfo, <a class="indexterm" href="CUPS-printing.html#id2644027">CUPS Backends</a></dt><dt>lpq cache time, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>lpq command, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>LPRNG, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>lpstat, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a>, <a class="indexterm" href="CUPS-printing.html#id2651408">Troubleshooting Revisited</a></dt><dt>LPT1:, <a class="indexterm" href="classicalprinting.html#id2637988">Samba and Printer Ports</a></dt><dt>LsaEnumTrustedDomains, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a></dt><dt>LTSP, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>Lustre, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a></dt><dt>lvcreate, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>LVM, <a class="indexterm" href="VFS.html#id2657919">shadow_copy</a>, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>LVM snapshots, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>LVM volume, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>lvm10 package, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt></dl></div><div class="indexdiv"><h3>M</h3><dl><dt>m-node, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>MAC address, <a class="indexterm" href="integrate-ms-networks.html#id2674366">/etc/hosts</a></dt><dt>MAC Addresses, <a class="indexterm" href="integrate-ms-networks.html#id2674366">/etc/hosts</a></dt><dt>Mac OS X , <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>machine, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a></dt><dd><dl><dt>account, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>machine account, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>machine account password</dt><dd><dl><dt>change protocol, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt></dl></dd><dt>machine accounts, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>machine accounts database, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>machine authentication, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>machine name, <a class="indexterm" href="integrate-ms-networks.html#id2674366">/etc/hosts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a></dt><dt>Machine Policy Objects, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>machine SID, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></dt><dt>machine trust account, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a>, <a class="indexterm" href="domain-member.html#id2579789">Cannot Add Machine Back to Domain</a></dt><dd><dl><dt>create privilege, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a></dt><dt>creation, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>password, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt></dl></dd><dt>Machine Trust Account, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2576878">Windows NT4 Client</a></dt><dd><dl><dt>creation, <a class="indexterm" href="domain-member.html#id2576597">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>password, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></dt><dt>UNIX account, <a class="indexterm" href="domain-member.html#id2576597">On-the-Fly Creation of Machine Trust Accounts</a></dt></dl></dd><dt>Machine Trust Accounts, <a class="indexterm" href="samba-bdc.html#id2574730">Machine Accounts Keep Expiring</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dd><dl><dt>creating, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt></dl></dd><dt>machine trust accounts, <a class="indexterm" href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="domain-member.html#id2579750">Common Errors</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a></dt><dt>machine_name, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></dt><dt>machine_nickname, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></dt><dt>Macintosh, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>macros, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a></dt><dt>mail, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>mailing list, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>mailing lists, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>maintaining ids, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>major changes, <a class="indexterm" href="upgrading-to-3.0.html#id2683756">New Functionality</a></dt><dt>make, <a class="indexterm" href="integrate-ms-networks.html#id2674642">/etc/nsswitch.conf</a>, <a class="indexterm" href="compiling.html#id2694079">Building the Binaries</a></dt><dt>man, <a class="indexterm" href="SWAT.html#id2687177">Features and Benefits</a></dt><dt>man page, <a class="indexterm" href="winbind.html#id2661549">Configure smb.conf</a></dt><dt>man pages, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dt>man-in-the-middle, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>manage accounts, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>manage drivers, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>manage groups, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>manage printers, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>manage privileges, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a></dt><dt>manage roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2666639">Features and Benefits</a></dt><dt>manage share permissions, <a class="indexterm" href="AccessControls.html#id2619218">Windows NT4 Workstation/Server</a></dt><dt>manage share-level ACL, <a class="indexterm" href="groupmapping.html#id2603463">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>manage shares, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>manage users, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>manageability, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>Manageability, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>managed by humans, <a class="indexterm" href="SambaHA.html#id2678091">Features and Benefits</a></dt><dt>management bottleneck, <a class="indexterm" href="locking.html#id2622686">Multiuser Databases</a></dt><dt>management costs, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>management overheads, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>management procedures, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>management tools, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a></dt><dt>managing rights, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>mandatory profiles, <a class="indexterm" href="ProfileMgmt.html#id2669181">Mandatory Profiles</a></dt><dt>Mandrake, <a class="indexterm" href="CUPS-printing.html#id2652845">Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</a></dt><dt>Mandriva, <a class="indexterm" href="CUPS-printing.html#id2652845">Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</a></dt><dt>manual UNIX account creation, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>manual WINS server entries, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>manually configured, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>manually configured DNS settings, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>map, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="NT4Migration.html#id2686083">User and Group Accounts</a></dt><dt>mapped, <a class="indexterm" href="groupmapping.html#id2603344">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>mapping, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>mapping home directory, <a class="indexterm" href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a></dt><dt>mapping printer driver, <a class="indexterm" href="classicalprinting.html#id2635646">Running rpcclient with setdriver</a></dt><dt>mappings, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>maps UNIX users and groups, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>master browser, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>master browsers, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>master server, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>master smb.conf, <a class="indexterm" href="cfgsmarts.html#id2681404">Multiple Virtual Server Hosting</a></dt><dt>MasterAnnouncement, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>match case, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>maximum value, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>mbd kept spawning, <a class="indexterm" href="speed.html#id2697284">Corrupt tdb Files</a></dt><dt>Meccano set, <a class="indexterm" href="Backup.html#id2677509">Discussion of Backup Solutions</a></dt><dt>mechanism, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>media type, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a></dt><dt>member, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>member machine, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>memory, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>messages.tdb, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>messaging systems, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>Meta node, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>meta-directory, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>meta-service, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a></dt><dt>meta-services, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>Microsoft Active Directory, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>Microsoft Developer Network CDs, <a class="indexterm" href="problems.html#id2691438">The Windows Network Monitor</a></dt><dt>Microsoft driver, <a class="indexterm" href="CUPS-printing.html#id2647194">PostScript Drivers with No Major Problems, Even in Kernel
     5Mode</a></dt><dt>Microsoft management console (see MMC)</dt><dt>Microsoft Remote Procedure Call (see MSRPC)</dt><dt>Microsoft Windows 9x/Me, <a class="indexterm" href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>Microsoft Wolfpack, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>middle-ware, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>migrate, <a class="indexterm" href="ServerType.html">Server Types and Security Modes</a>, <a class="indexterm" href="NT4Migration.html">Migration from NT4 PDC to Samba-3 PDC</a></dt><dt>migrate account settings, <a class="indexterm" href="NT4Migration.html#id2686083">User and Group Accounts</a></dt><dt>migrate group, <a class="indexterm" href="NT4Migration.html#id2686083">User and Group Accounts</a></dt><dt>migrate user, <a class="indexterm" href="NT4Migration.html#id2686083">User and Group Accounts</a></dt><dt>migrating, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>migration, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>migration plan, <a class="indexterm" href="NT4Migration.html#id2685152">Planning and Getting Started</a></dt><dt>migration process, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>MIME, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2642940">Filtering  Overview</a>, <a class="indexterm" href="CUPS-printing.html#id2644790">application/octet-stream Printing</a></dt><dd><dl><dt>filters, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>raw, <a class="indexterm" href="FastStart.html#id2560928">Anonymous Print Server</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable &#8220;raw&#8221; Printing for application/octet-stream</a></dt></dl></dd><dt>MIME conversion rules, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a></dt><dt>MIME recognition, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a></dt><dt>MIME type, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable &#8220;raw&#8221; Printing for application/octet-stream</a>, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2644790">application/octet-stream Printing</a></dt><dt>mime.types, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>minimal</dt><dd><dl><dt>configuration, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a></dt></dl></dd><dt>minimal configuration, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a></dt><dt>minimum security control, <a class="indexterm" href="StandAloneServer.html">Standalone Servers</a></dt><dt>misconfigurations, <a class="indexterm" href="install.html#id2559391">Test Your Config File with testparm</a></dt><dt>misconfigured settings, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a></dt><dt>misinformation, <a class="indexterm" href="domain-member.html">Domain Membership</a></dt><dt>mission-critical, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a>, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>MIT, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a></dt><dt>MIT kerberos, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a></dt><dt>MIT Kerberos, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>mixed mode, <a class="indexterm" href="ServerType.html#id2566205">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>mixed profile, <a class="indexterm" href="ProfileMgmt.html#id2667050">Mixed Windows Windows 9x/Me and NT4/200x User Profiles</a></dt><dt>mkdir, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>mkfs.xfs, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>MMC, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a>, <a class="indexterm" href="AccessControls.html#id2619323">Windows 200x/XP</a>, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2666280">Windows NT4/200x</a>, <a class="indexterm" href="ProfileMgmt.html#id2667128">Disabling Roaming Profile Support</a></dt><dt>MMC snap-in, <a class="indexterm" href="PolicyMgmt.html#id2665713">Administration of Windows 200x/XP Policies</a></dt><dt>modem/ISDN, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>moderately secure, <a class="indexterm" href="securing-samba.html#id2624266">Features and Benefits</a></dt><dt>modprobe, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>module, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>modules, <a class="indexterm" href="VFS.html#id2656448">Features and Benefits</a>, <a class="indexterm" href="VFS.html#id2656487">Discussion</a></dt><dt>more than one protocol, <a class="indexterm" href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a></dt><dt>mount, <a class="indexterm" href="ServerType.html#id2565518">Share-Level Security</a>, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>mouse-over, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>moveuser.exe, <a class="indexterm" href="ProfileMgmt.html#id2669074">moveuser.exe</a></dt><dt>MS DCE RPC, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a></dt><dt>MS Windows 2000, <a class="indexterm" href="samba-bdc.html#id2573390">Active Directory Domain Control</a></dt><dt>MS Windows NT4/200x, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>MS Windows SID, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>MS WINS, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a></dt><dt>MS-DFS, <a class="indexterm" href="SambaHA.html#id2679316">MS-DFS: The Poor Man's Cluster</a></dt><dt>MS-RPC, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>MS-WINS replication, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>msdfs links, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>msg, <a class="indexterm" href="SWAT.html#id2688110">Enabling SWAT Internationalization Support</a></dt><dt>msg file, <a class="indexterm" href="SWAT.html#id2688110">Enabling SWAT Internationalization Support</a></dt><dt>MSRPC, <a class="indexterm" href="winbind.html#id2660018">Microsoft Remote Procedure Calls</a>, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a></dt><dt>multibyte character sets, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>multibyte charsets, <a class="indexterm" href="unicode.html#id2676001">What Are Charsets and Unicode?</a></dt><dt>multiple backends, <a class="indexterm" href="passdb.html#id2598586">Password Backends</a></dt><dt>multiple domains, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>multiple hosting, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>multiple modules, <a class="indexterm" href="VFS.html#id2656487">Discussion</a></dt><dt>multiple network interfaces, <a class="indexterm" href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a></dt><dt>multiple network segments, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>multiple personality, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>multiple server hosting, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>multiple server personalities, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>multiple servers, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a>, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>multiple universal naming convention provider (see MUP)</dt><dt>multiple VFS, <a class="indexterm" href="VFS.html#id2656487">Discussion</a></dt><dt>multiple virtual servers, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>multiple Windows workgroups or domains, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>multiple WINS servers, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>Multiuser databases, <a class="indexterm" href="locking.html#id2622686">Multiuser Databases</a></dt><dt>mutual assistance, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>mutually exclusive options, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a></dt><dt>My Network Places, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a></dt><dt>Myrinet, <a class="indexterm" href="SambaHA.html#id2678983">Server Pool Communications Demands</a></dt></dl></div><div class="indexdiv"><h3>N</h3><dl><dt>n security context, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>n-memory buffer, <a class="indexterm" href="integrate-ms-networks.html#id2675201">The NetBIOS Name Cache</a></dt><dt>name conflict, <a class="indexterm" href="classicalprinting.html#id2631206">Any [my_printer_name] Section</a></dt><dt>name lookup, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="integrate-ms-networks.html#id2675201">The NetBIOS Name Cache</a></dt><dt>name lookups, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>name registration, <a class="indexterm" href="samba-bdc.html#id2573448">What Qualifies a Domain Controller on the Network?</a></dt><dt>name resolution, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590890">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2592438">Common Errors</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674366">/etc/hosts</a>, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a></dt><dt>name resolution across routed networks, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>name resolve order, <a class="indexterm" href="NetworkBrowsing.html#id2590686">Name Resolution Order</a></dt><dt>name service switch (see NSS)</dt><dt>name-to-address, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a></dt><dt>nameserv.h, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>name_type, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590686">Name Resolution Order</a></dt><dt>native ACLs, <a class="indexterm" href="AccessControls.html#id2616650">Features and Benefits</a></dt><dt>native dump, <a class="indexterm" href="Backup.html#id2677947">Amanda</a></dt><dt>native member, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a></dt><dt>native mode, <a class="indexterm" href="ServerType.html#id2566205">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="winbind.html#id2660111">Microsoft Active Directory Services</a></dt><dt>NBT, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a></dt><dt>nbtstat, <a class="indexterm" href="domain-member.html#id2579789">Cannot Add Machine Back to Domain</a>, <a class="indexterm" href="integrate-ms-networks.html#id2675201">The NetBIOS Name Cache</a></dt><dt>necessary rights, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>negotiate, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>negotiating the charset, <a class="indexterm" href="unicode.html#id2676001">What Are Charsets and Unicode?</a></dt><dt>nested group, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>Nested Group Support, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>nested groups, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>net, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a>, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="NetCommand.html#id2605385">Administrative Tasks and Methods</a>, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a>, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dd><dl><dt>ads, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></dt><dd><dl><dt>join, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a>, <a class="indexterm" href="NetCommand.html#id2607766">Machine Trust Accounts</a>, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a></dt><dt>leave, <a class="indexterm" href="NetCommand.html#id2607766">Machine Trust Accounts</a></dt><dt>printer info, <a class="indexterm" href="NetCommand.html#id2609812">Printers and ADS</a></dt><dt>printer publish, <a class="indexterm" href="NetCommand.html#id2609812">Printers and ADS</a></dt><dt>printer remove, <a class="indexterm" href="NetCommand.html#id2609812">Printers and ADS</a></dt><dt>printer search, <a class="indexterm" href="NetCommand.html#id2609812">Printers and ADS</a></dt><dt>status, <a class="indexterm" href="NetCommand.html#id2607766">Machine Trust Accounts</a></dt><dt>testjoin, <a class="indexterm" href="NetCommand.html#id2607766">Machine Trust Accounts</a></dt></dl></dd><dt>getlocalsid, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>groupmap, <a class="indexterm" href="FastStart.html#id2562964">Example: Engineering Office</a>, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2604210">Example Configuration</a>, <a class="indexterm" href="NT4Migration.html#id2686132">Steps in Migration Process</a></dt><dd><dl><dt>add, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>delete, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>list, <a class="indexterm" href="groupmapping.html#id2604210">Example Configuration</a>, <a class="indexterm" href="NetCommand.html#id2605667">Adding or Creating a New Group</a></dt><dt>modify, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt></dl></dd><dt>localgroup, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>rap, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></dt><dd><dl><dt>session, <a class="indexterm" href="NetCommand.html#id2609747">Session and Connection Management</a></dt></dl></dd><dt>rpc, <a class="indexterm" href="FastStart.html#id2562116">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></dt><dd><dl><dt>getsid, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></dt><dt>group, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2605667">Adding or Creating a New Group</a></dt><dt>group add, <a class="indexterm" href="NetCommand.html#id2605667">Adding or Creating a New Group</a></dt><dt>group addmem, <a class="indexterm" href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a>, <a class="indexterm" href="NetCommand.html#id2606695">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>group delete, <a class="indexterm" href="NetCommand.html#id2606176">Deleting a Group Account</a></dt><dt>group delmem, <a class="indexterm" href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a></dt><dt>group list, <a class="indexterm" href="NetCommand.html#id2605667">Adding or Creating a New Group</a></dt><dt>group members, <a class="indexterm" href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a></dt><dt>group rename, <a class="indexterm" href="NetCommand.html#id2606216">Rename Group Accounts</a></dt><dt>info, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a>, <a class="indexterm" href="ProfileMgmt.html#id2669023">Side Bar Notes</a></dt><dt>join, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="NetCommand.html#id2607766">Machine Trust Accounts</a>, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="NT4Migration.html#id2686132">Steps in Migration Process</a></dt><dt>join bdc, <a class="indexterm" href="NetCommand.html#id2607766">Machine Trust Accounts</a></dt><dt>join member, <a class="indexterm" href="NetCommand.html#id2607766">Machine Trust Accounts</a></dt><dt>list, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>printer migrate drivers, <a class="indexterm" href="NetCommand.html#id2609477">Printer Migration</a></dt><dt>printer migrate forms, <a class="indexterm" href="NetCommand.html#id2609477">Printer Migration</a></dt><dt>printer migrate printers, <a class="indexterm" href="NetCommand.html#id2609477">Printer Migration</a></dt><dt>printer migrate security, <a class="indexterm" href="NetCommand.html#id2609477">Printer Migration</a></dt><dt>printer migrate settings, <a class="indexterm" href="NetCommand.html#id2609477">Printer Migration</a></dt><dt>right list accounts, <a class="indexterm" href="NetCommand.html#id2608964">Share Migration</a></dt><dt>rights grant, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>rights list, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>rights list accounts, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>share add, <a class="indexterm" href="NetCommand.html#id2608636">Creating, Editing, and Removing Shares</a></dt><dt>share delete, <a class="indexterm" href="NetCommand.html#id2608636">Creating, Editing, and Removing Shares</a></dt><dt>share migrate, <a class="indexterm" href="NetCommand.html#id2608964">Share Migration</a></dt><dt>share migrate all, <a class="indexterm" href="NetCommand.html#id2609418">Simultaneous Share and File Migration</a></dt><dt>share migrate files, <a class="indexterm" href="NetCommand.html#id2609160">File and Directory Migration</a></dt><dt>share migrate security, <a class="indexterm" href="NetCommand.html#id2609375">Share-ACL Migration</a></dt><dt>testjoin, <a class="indexterm" href="NetCommand.html#id2607766">Machine Trust Accounts</a></dt><dt>trustdom add, <a class="indexterm" href="NetCommand.html#id2608135">Interdomain Trusts</a></dt><dt>trustdom establish, <a class="indexterm" href="NetCommand.html#id2608135">Interdomain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a></dt><dt>trustdom list, <a class="indexterm" href="NetCommand.html#id2608135">Interdomain Trusts</a></dt><dt>trustdom revoke, <a class="indexterm" href="NetCommand.html#id2608135">Interdomain Trusts</a></dt><dt>user add, <a class="indexterm" href="NetCommand.html#sbeuseraddn">Adding User Accounts</a></dt><dt>user delete, <a class="indexterm" href="NetCommand.html#id2607206">Deletion of User Accounts</a>, <a class="indexterm" href="NetCommand.html#id2607766">Machine Trust Accounts</a></dt><dt>user info, <a class="indexterm" href="NetCommand.html#id2607254">Managing User Accounts</a></dt><dt>user password, <a class="indexterm" href="NetCommand.html#sbeuseraddn">Adding User Accounts</a></dt><dt>user rename, <a class="indexterm" href="NetCommand.html#id2607254">Managing User Accounts</a></dt><dt>vampire, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="NetCommand.html#id2608854">Share, Directory, and File Migration</a>, <a class="indexterm" href="NT4Migration.html#id2686132">Steps in Migration Process</a></dt></dl></dd><dt>setlocalsid, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></dt><dt>time, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></dt><dd><dl><dt>set, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></dt><dt>system, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></dt><dt>zone, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></dt></dl></dd><dt>use, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt></dl></dd><dt>NET, <a class="indexterm" href="PolicyMgmt.html#id2666320">Samba PDC</a></dt><dt>net command, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>net getlocalsid, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>net groupmap, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>net rpc user add, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>net tool, <a class="indexterm" href="upgrading-to-3.0.html#id2684231">Passdb Backends and Authentication</a></dt><dt>net use, <a class="indexterm" href="classicalprinting.html#id2637564">Error Message: &#8220;Cannot connect under a different Name&#8221;</a></dt><dt>net use /home, <a class="indexterm" href="ProfileMgmt.html#id2666893">Windows 9x/Me User Profiles</a></dt><dt>net use lpt1:, <a class="indexterm" href="CUPS-printing.html#id2649407">Installing the PostScript Driver on a Client</a></dt><dt>net view, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>netatalk, <a class="indexterm" href="VFS.html#id2657868">netatalk</a></dt><dt>NetAtalk, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>Netatalk, <a class="indexterm" href="Other-Clients.html#id2695763">Macintosh Clients</a></dt><dt>NetBEUI, <a class="indexterm" href="integrate-ms-networks.html">Integrating MS Windows Networks with Samba</a></dt><dt>NetBIOS, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2573448">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="samba-bdc.html#id2573539">How Does a Workstation find its Domain Controller?</a>, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#netdiscuss">Discussion</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590890">Technical Overview of Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html">Integrating MS Windows Networks with Samba</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="integrate-ms-networks.html#id2675201">The NetBIOS Name Cache</a></dt><dd><dl><dt>brooadcast, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a></dt><dt>name, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>netbios alias, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>netbios aliases, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>NetBIOS broadcast, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>NetBIOS disabled, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a></dt><dt>NetBIOS flags, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>NetBIOS name, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>netbios name, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>NetBIOS name cache, <a class="indexterm" href="domain-member.html#id2579789">Cannot Add Machine Back to Domain</a>, <a class="indexterm" href="NetworkBrowsing.html#id2592464">Flushing the Samba NetBIOS Name Cache</a></dt><dt>NetBIOS name length, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a></dt><dt>NetBIOS name resolution, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>NetBIOS Name Server (see NBNS)</dt><dt>NetBIOS name type, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html#id2590686">Name Resolution Order</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674642">/etc/nsswitch.conf</a></dt><dt>NetBIOS network interface, <a class="indexterm" href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a></dt><dt>NetBIOS networking, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a></dt><dt>NetBIOS over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590890">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a></dt><dt>NetBIOS over TCP/IP disabled, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></dt><dt>NetBIOS-less, <a class="indexterm" href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>NetBIOS-less SMB, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>NetBIOSless SMB over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>NetBT, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a></dt><dt>netlogon, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt><dt>NETLOGON, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2669587">MS Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a></dt><dt>Netlogon, <a class="indexterm" href="samba-bdc.html#id2572268">Essential Background Information</a></dt><dt>NetLogon service, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a></dt><dt>netlogon share, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NT4Migration.html#id2686132">Steps in Migration Process</a></dt><dt>Netmon, <a class="indexterm" href="problems.html#id2691438">The Windows Network Monitor</a></dt><dt>Netmon., <a class="indexterm" href="problems.html#id2691497">Installing Network Monitor on an NT Workstation</a></dt><dt>netmon.exe, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>NetSAMLogon, <a class="indexterm" href="ProfileMgmt.html#id2666688">Roaming Profiles</a></dt><dt>Netscape's Directory Server, <a class="indexterm" href="passdb.html#id2599387">Supported LDAP Servers</a></dt><dt>NetServerEnum2, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>NetUserGetInfo, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ProfileMgmt.html#id2666688">Roaming Profiles</a></dt><dt>NetWare, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a></dt><dt>NetWare Bindery, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>NetWare Core Protocol-based server, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>NetWkstaUserLogon, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a></dt><dt>network</dt><dd><dl><dt>browsing, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt><dt>logon, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dd><dl><dt>service, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a></dt></dl></dd><dt>performance, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt><dt>wide-area, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt></dl></dd><dt>network access controls, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>network access profile, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>network administrator, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>network administrator's toolbox, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a></dt><dt>network administrators, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>network analyzer, <a class="indexterm" href="problems.html#id2690936">Diagnostics Tools</a></dt><dt>network bandwidth, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>Network Basic Extended User Interface (see NetBEUI)</dt><dt>Network Basic Input/Output System (see NetBIOS)</dt><dt>Network Bridge, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>Network Bridge Configuration, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>network browsing problems, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></dt><dt>network client, <a class="indexterm" href="ClientConfig.html#id2581580">Features and Benefits</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>network clients, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>network configuration problems, <a class="indexterm" href="ClientConfig.html#id2581683">TCP/IP Configuration</a></dt><dt>network difficulty, <a class="indexterm" href="ClientConfig.html#id2581580">Features and Benefits</a></dt><dt>network environment, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663855">Remote Desktop Management</a></dt><dt>Network ID, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>network interface, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>network logon, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>network logon services, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a></dt><dt>network membership, <a class="indexterm" href="ClientConfig.html#id2581640">Technical Details</a></dt><dt>Network Monitor, <a class="indexterm" href="problems.html#id2691438">The Windows Network Monitor</a></dt><dt>Network Monitor Tools and Agent, <a class="indexterm" href="problems.html#id2691497">Installing Network Monitor on an NT Workstation</a></dt><dt>Network Neighborhood, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a>, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a>, <a class="indexterm" href="classicalprinting.html#id2635304">Check Samba for Driver Recognition</a></dt><dt>network neighborhood, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>network policies, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a></dt><dt>network security, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>network segment, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>Network settings, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></dt><dt>network sniffer, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>network storage, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a></dt><dt>network traffic, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>networked workstation, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a></dt><dt>networking advocates, <a class="indexterm" href="Backup.html#id2677509">Discussion of Backup Solutions</a></dt><dt>networking environment, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a></dt><dt>networking systems, <a class="indexterm" href="ClientConfig.html#id2584425">Common Errors</a></dt><dt>networks access, <a class="indexterm" href="speed.html#id2697380">Samba Performance is Very Slow</a></dt><dt>Networks Properties, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>new account, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>new parameters, <a class="indexterm" href="upgrading-to-3.0.html#id2683055">New Parameters</a></dt><dt>newsgroup, <a class="indexterm" href="bugreport.html#id2692107">Introduction</a></dt><dt>Nexus toolkit, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>Nexus.exe, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663712">Remote Server Administration</a></dt><dt>NFS, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a>, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a>, <a class="indexterm" href="SambaHA.html#id2678822">Restrictive Constraints on Distributed File Systems</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684984">IdMap LDAP Support</a></dt><dt>NFS clients, <a class="indexterm" href="locking.html#id2622603">UNIX or NFS Client-Accessed Files</a></dt><dt>NIS, <a class="indexterm" href="ServerType.html#id2565518">Share-Level Security</a>, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a></dt><dt>NIS database, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a></dt><dt>nmbd, <a class="indexterm" href="install.html#id2558977">Starting Samba</a>, <a class="indexterm" href="install.html#id2559391">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2561292">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2562116">Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2592464">Flushing the Samba NetBIOS Name Cache</a>, <a class="indexterm" href="idmapper.html#id2611972">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="winbind.html#id2660951">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2662345">Linux</a>, <a class="indexterm" href="winbind.html#id2662551">Solaris</a>, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a>, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a>, <a class="indexterm" href="speed.html#id2697284">Corrupt tdb Files</a></dt><dt>nmblookup, <a class="indexterm" href="integrate-ms-networks.html#id2675201">The NetBIOS Name Cache</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>No NetBIOS layer, <a class="indexterm" href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a></dt><dt>no network logon service, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a></dt><dt>no printcap file, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>nobody, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>nobody account, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>node-type, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>NoMachine, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>NoMachine.Com, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>non-authentication-based account management, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>non-authoritative, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>non-LDAP</dt><dd><dl><dt>backend, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a></dt></dl></dd><dt>non-member Windows client, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>non-PostScript, <a class="indexterm" href="CUPS-printing.html#id2642028">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2645069">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>non-PostScript printers, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2652928">Foomatic Database-Generated PPDs</a></dt><dt>nonhierarchical, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>nontransitive, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>normal color, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a></dt><dt>normal user, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>not domain member, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a></dt><dt>not domain members, <a class="indexterm" href="StandAloneServer.html">Standalone Servers</a></dt><dt>not part of domain, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a></dt><dt>not stored anywhere, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>not transitive, <a class="indexterm" href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>Novell, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>Novell eDirectory server, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>NSS, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a>, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2600550">Accounts and Groups Management</a>, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a>, <a class="indexterm" href="winbind.html#id2659968">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2662740">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2663370">Conclusion</a></dt><dt>nsswitch.conf, <a class="indexterm" href="ServerType.html#id2565518">Share-Level Security</a></dt><dt>nss_ldap, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2613846">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>nss_winbind.so.1, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>NT domain, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a></dt><dt>NT groups, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a></dt><dt>NT migration scripts, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a></dt><dt>NT password, <a class="indexterm" href="passdb.html#id2597225">Listing User and Machine Accounts</a></dt><dt>NT Server Manager, <a class="indexterm" href="AccessControls.html#id2619218">Windows NT4 Workstation/Server</a></dt><dt>NT-controlled domain, <a class="indexterm" href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a></dt><dt>NT-encrypted password, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>NT-encrypted passwords, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a></dt><dt>NT4, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>NT4 Domain, <a class="indexterm" href="idmapper.html#id2610560">Standalone Samba Server</a></dt><dt>NT4 domain, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a></dt><dt>NT4 domain members, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>NT4 style policy updates, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></dt><dt>NT4 User Manager for Domains, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>NT4-style, <a class="indexterm" href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>NT4-style domain, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>NT4-style domains, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>Nt4sp6ai.exe, <a class="indexterm" href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></dt><dt>NTConfig.POL, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2665151">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665470">Registry Spoiling</a>, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665713">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2666198">Samba Editreg Toolset</a>, <a class="indexterm" href="ProfileMgmt.html#id2669587">MS Windows NT4 Workstation</a>, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>ntconfig.pol, <a class="indexterm" href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></dt><dt>ntdrivers.tdb, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>ntforms.tdb, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>NTFS, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>NTLMv2, <a class="indexterm" href="securing-samba.html#id2625141">NTLMv2 Security</a></dt><dt>ntlm_auth, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>ntprinters.tdb, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>NTUser.DAT, <a class="indexterm" href="PolicyMgmt.html#id2666198">Samba Editreg Toolset</a>, <a class="indexterm" href="ProfileMgmt.html#id2669181">Mandatory Profiles</a>, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>NTuser.DAT, <a class="indexterm" href="ProfileMgmt.html#id2668056">Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2668731">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a>, <a class="indexterm" href="NT4Migration.html#id2686039">Profile Migration/Creation</a></dt><dt>NTuser.MAN, <a class="indexterm" href="ProfileMgmt.html#id2668056">Windows NT4 Workstation</a></dt><dt>NTUser.MAN, <a class="indexterm" href="ProfileMgmt.html#id2669181">Mandatory Profiles</a></dt><dt>NT_STATUS_LOGON_FAILURE, <a class="indexterm" href="upgrading-to-3.0.html#id2684135">Changes in Behavior</a></dt><dt>NT_STATUS_UNSUCCESSFUL, <a class="indexterm" href="classicalprinting.html#id2635038">Running rpcclient with adddriver</a></dt><dt>null shell, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></dt><dt>NX, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt></dl></div><div class="indexdiv"><h3>O</h3><dl><dt>object class, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>object class declaration, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>object module dependencies, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>ObjectClass, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>ObjectClasses, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a></dt><dt>obtuse complexity, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>office server, <a class="indexterm" href="FastStart.html#id2561292">Secure Read-Write File and Print Server</a></dt><dt>OID, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>old sambaAccount, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>Omni, <a class="indexterm" href="CUPS-printing.html#id2652740">Driver Development Outside</a></dt><dt>on the fly, <a class="indexterm" href="domain-member.html#id2576878">Windows NT4 Client</a></dt><dt>on-the-fly, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a></dt><dt>on-the-fly logon scripts, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>on-the-fly policy files, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>one direction, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>one domain, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>one-way trust, <a class="indexterm" href="InterdomainTrusts.html#id2626421">Interdomain Trust Facilities</a></dt><dt>only one WINS server, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a></dt><dt>OpenGFS, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a></dt><dt>OpenLDAP, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="ChangeNotes.html#id2585347">LDAP Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2599387">Supported LDAP Servers</a>, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>OpenLDAP backend, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a></dt><dt>OpenSSL, <a class="indexterm" href="SWAT.html#id2687958">Securing SWAT through SSL</a>, <a class="indexterm" href="ch-ldap-tls.html#s1-config-ldap-tls-certs">Generating the Certificate Authority</a></dt><dt>operating costs, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>operating system search path, <a class="indexterm" href="SWAT.html#id2687391">Locating the SWAT File</a></dt><dt>oplock, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a></dt><dt>oplock break, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a>, <a class="indexterm" href="locking.html#id2622797">Beware of Force User</a></dt><dt>oplock handling, <a class="indexterm" href="SambaHA.html#id2678822">Restrictive Constraints on Distributed File Systems</a></dt><dt>oplock mechanism, <a class="indexterm" href="locking.html#id2622885">Advanced Samba Oplocks Parameters</a></dt><dt>oplock messages, <a class="indexterm" href="SambaHA.html#id2679038">Required Modifications to Samba</a></dt><dt>oplock parameters, <a class="indexterm" href="locking.html#id2622885">Advanced Samba Oplocks Parameters</a></dt><dt>oplocks, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>oplocks disabled, <a class="indexterm" href="locking.html#id2622686">Multiuser Databases</a></dt><dt>oplocks management, <a class="indexterm" href="locking.html#id2622728">PDM Data Shares</a></dt><dt>opportunistic locking, <a class="indexterm" href="locking.html#id2621671">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>Opportunistic locking, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>optional, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>ordinary connection, <a class="indexterm" href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a></dt><dt>Organization for the Advancement of Structured Information Standards (see OASIS)</dt><dt>organizational directory, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>organizational unit, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a> (see OU)</dt><dt>os level, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>OSS/Free Software, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>other, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>output duplexing, <a class="indexterm" href="CUPS-printing.html#id2643286">pstops</a></dt><dt>outside threat, <a class="indexterm" href="securing-samba.html#id2624429">Using Host-Based Protection</a></dt><dt>own home directory, <a class="indexterm" href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a></dt><dt>ownership, <a class="indexterm" href="AccessControls.html#id2619677">Viewing File Ownership</a></dt><dt>ownership cost, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>ownership rights, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt></dl></div><div class="indexdiv"><h3>P</h3><dl><dt>p-node, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>package, <a class="indexterm" href="install.html#id2559157">Example Configuration</a></dt><dt>packages, <a class="indexterm" href="install.html#id2557993">Obtaining and Installing Samba</a></dt><dt>packet sniffer, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>packet trace, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>PADL, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a></dt><dt>PADL Software, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>page description languages (see PDL)</dt><dt>pager program, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a></dt><dt>page_log, <a class="indexterm" href="CUPS-printing.html#id2653798">The page_log File Syntax</a></dt><dt>paid-for support, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>PAM, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a>, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2598639">Plaintext</a>, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a>, <a class="indexterm" href="winbind.html#id2659968">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2660799">Requirements</a>, <a class="indexterm" href="winbind.html#id2660951">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2662740">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2663370">Conclusion</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a>, <a class="indexterm" href="pam.html#id2671868">Technical Discussion</a></dt><dt>PAM authentication module, <a class="indexterm" href="pam.html#id2671922">PAM Configuration Syntax</a></dt><dt>PAM configuration, <a class="indexterm" href="winbind.html#id2660799">Requirements</a></dt><dt>PAM management, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a></dt><dt>PAM module, <a class="indexterm" href="winbind.html#id2661436">NSS Winbind on AIX</a></dt><dt>PAM modules, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>PAM-capable, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam-devel, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>PAM-enabled, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>PAM-specific tokens, <a class="indexterm" href="pam.html#id2671922">PAM Configuration Syntax</a></dt><dt>pam_krb5.so, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam_ldap, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>pam_ldap.so, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam_mkhomedir, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>pam_ncp_auth.so, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam_pwdb.so, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam_securetty.so, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>pam_smbpass.so, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam_smbpasswd.so, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam_smb_auth.so, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam_unix.so, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam_unix2.so, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam_userdb.so, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam_winbind.so, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2662740">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>parameters, <a class="indexterm" href="classicalprinting.html#id2629220">Rapid Configuration Validation</a></dt><dt>paranoid, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>passdb, <a class="indexterm" href="samba-bdc.html#id2574730">Machine Accounts Keep Expiring</a></dt><dt>passdb backend, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2597548">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a>, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684818">New Suffix for Searching</a></dt><dt>passdb backends, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>passed across the network, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>passwd, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a>, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>password, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a>, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dd><dl><dt>plaintext, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a></dt></dl></dd><dt>password aging, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a></dt><dt>password assigned, <a class="indexterm" href="InterdomainTrusts.html#id2626335">Completing an NT4 Domain Trust</a></dt><dt>password backend, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a>, <a class="indexterm" href="passdb.html#id2597225">Listing User and Machine Accounts</a></dt><dt>password backends, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>password change facility, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>password database, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>password encryption, <a class="indexterm" href="passdb.html#id2598639">Plaintext</a></dt><dt>password expiration, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>password expired, <a class="indexterm" href="passdb.html#id2597632">Changing User Accounts</a></dt><dt>password history, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>password management, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a></dt><dt>password prompt, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>password scheme, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>password server, <a class="indexterm" href="ServerType.html#id2566348">Server Security (User Level Security)</a>, <a class="indexterm" href="domain-member.html#id2578186">Configure smb.conf</a></dt><dt>password uniqueness, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>passwords, <a class="indexterm" href="winbind.html#id2659554">Introduction</a></dt><dt>patch, <a class="indexterm" href="bugreport.html#id2692892">Patches</a></dt><dt>path specified, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></dt><dt>pauses, <a class="indexterm" href="speed.html#id2697380">Samba Performance is Very Slow</a></dt><dt>PBM, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>PCL, <a class="indexterm" href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a>, <a class="indexterm" href="CUPS-printing.html#id2646240">Printing with Interface Scripts</a>, <a class="indexterm" href="CUPS-printing.html#id2646485">Driver Execution on the Server</a>, <a class="indexterm" href="CUPS-printing.html#id2646878">Network PostScript RIP</a></dt><dt>pdbedit, <a class="indexterm" href="FastStart.html#id2562964">Example: Engineering Office</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2597109">User Account Management</a>, <a class="indexterm" href="passdb.html#id2597225">Listing User and Machine Accounts</a>, <a class="indexterm" href="passdb.html#id2597460">Adding User Accounts</a>, <a class="indexterm" href="passdb.html#id2597548">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2597632">Changing User Accounts</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2598461">Account Import/Export</a>, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a>, <a class="indexterm" href="PolicyMgmt.html#id2666320">Samba PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682386">Quick Migration Guide</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684231">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2686132">Steps in Migration Process</a>, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>pdb_ldap, <a class="indexterm" href="samba-bdc.html#id2574945">Can I Do This All with LDAP?</a></dt><dt>PDC, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2572774">Example PDC Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2573448">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574784">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a>, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a>, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a>, <a class="indexterm" href="passdb.html#id2600899">LDAP Special Attributes for sambaSamAccounts</a>, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a>, <a class="indexterm" href="CUPS-printing.html#id2649245">cupsaddsmb with a Samba PDC</a>, <a class="indexterm" href="winbind.html#id2659842">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2660018">Microsoft Remote Procedure Calls</a>, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2660622">Result Caching</a>, <a class="indexterm" href="winbind.html#id2660684">Introduction</a>, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a>, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a>, <a class="indexterm" href="problems.html#id2691801">Getting Mailing List Help</a>, <a class="indexterm" href="speed.html#id2697284">Corrupt tdb Files</a></dt><dt>PDF, <a class="indexterm" href="CUPS-printing.html#id2639609">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2641826">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>pdf, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a></dt><dt>PDF distilling, <a class="indexterm" href="CUPS-printing.html#id2641826">PostScript Printer Description (PPD) Specification</a></dt><dt>PDF filter, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>pdftops, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>pdftosocket, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>PDL, <a class="indexterm" href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a>, <a class="indexterm" href="CUPS-printing.html#id2641826">PostScript Printer Description (PPD) Specification</a></dt><dt>PDM, <a class="indexterm" href="locking.html#id2622728">PDM Data Shares</a></dt><dt>peer domain, <a class="indexterm" href="InterdomainTrusts.html#id2626630">Configuring Samba NT-Style Domain Trusts</a></dt><dt>Peer node, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>per-share access control, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a></dt><dt>performance, <a class="indexterm" href="largefile.html">Handling Large Directories</a>, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>performance advantage, <a class="indexterm" href="locking.html#id2621671">Features and Benefits</a></dt><dt>performance degradation, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>performance enhancement, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>performance improvement, <a class="indexterm" href="locking.html#id2622639">Slow and/or Unreliable Networks</a></dt><dt>performance-based, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a></dt><dt>performed as root, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>perimeter firewall, <a class="indexterm" href="securing-samba.html#id2624266">Features and Benefits</a></dt><dt>permanent changes, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>Permanent name, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>permissions, <a class="indexterm" href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a>, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dd><dl><dt>file/directory ACLs, <a class="indexterm" href="AccessControls.html#id2619559">Managing UNIX Permissions Using NT Security Dialogs</a></dt><dt>share, <a class="indexterm" href="AccessControls.html#id2617982">Share Definition Access Controls</a></dt><dt>share ACLs, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a></dt><dt>UNIX file and directory, <a class="indexterm" href="AccessControls.html#id2616650">Features and Benefits</a></dt></dl></dd><dt>Permissions, <a class="indexterm" href="AccessControls.html#id2619323">Windows 200x/XP</a></dt><dt>permissions and controls, <a class="indexterm" href="AccessControls.html#id2616650">Features and Benefits</a></dt><dt>PGP, <a class="indexterm" href="compiling.html#id2693941">Verifying Samba's PGP Signature</a></dt><dt>phasing out NetBIOS, <a class="indexterm" href="NetworkBrowsing.html#netdiscuss">Discussion</a></dt><dt>Photo-CD, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>physical locations, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>physical network transport layer, <a class="indexterm" href="integrate-ms-networks.html#id2674366">/etc/hosts</a></dt><dt>PID, <a class="indexterm" href="bugreport.html#id2692767">Attaching to a Running Process</a></dt><dt>pid directory, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>ping, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>pipe device, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>PJL, <a class="indexterm" href="CUPS-printing.html#id2646878">Network PostScript RIP</a>, <a class="indexterm" href="CUPS-printing.html#id2648429">Windows CUPS PostScript Driver Versus Adobe Driver</a>, <a class="indexterm" href="CUPS-printing.html#id2653658">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>PJL-header, <a class="indexterm" href="CUPS-printing.html#id2653658">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>plague network users, <a class="indexterm" href="ClientConfig.html#id2581683">TCP/IP Configuration</a></dt><dt>plain-text</dt><dd><dl><dt>passwords, <a class="indexterm" href="ServerType.html#id2566623">Password Checking</a></dt></dl></dd><dt>plaintext, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a></dt><dt>plaintext authentication, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a></dt><dt>plaintext password, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a></dt><dt>plaintext passwords, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>platforms, <a class="indexterm" href="Portability.html">Portability</a></dt><dt>PLP, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>Pluggable Authentication Modules (see PAM)</dt><dt>PNG, <a class="indexterm" href="CUPS-printing.html#id2641672">Ghostscript: The Software RIP for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>PNM, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>point 'n' print, <a class="indexterm" href="CUPS-printing.html#id2640534">Installation of Windows Client Drivers</a>, <a class="indexterm" href="CUPS-printing.html#id2648647">Run cupsaddsmb (Quiet Mode)</a>, <a class="indexterm" href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a></dt><dt>Point'n'Print, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a>, <a class="indexterm" href="classicalprinting.html#id2632790">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="classicalprinting.html#id2634901">smbclient to Confirm Driver Installation</a></dt><dt>point'n'print, <a class="indexterm" href="CUPS-printing.html#id2640821">Driver Upload Methods</a>, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2649407">Installing the PostScript Driver on a Client</a></dt><dt>Poledit, <a class="indexterm" href="PolicyMgmt.html#id2665713">Administration of Windows 200x/XP Policies</a></dt><dt>poledit.exe, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a>, <a class="indexterm" href="PolicyMgmt.html#id2665713">Administration of Windows 200x/XP Policies</a></dt><dt>Policies, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></dt><dt>policies, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>policy editor, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a></dt><dt>Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></dt><dt>policy file , <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></dt><dt>policy files, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a></dt><dt>policy settings, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>port 135, <a class="indexterm" href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a></dt><dt>Port 135/TCP, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>port 137, <a class="indexterm" href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>Port 137/UDP, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>port 138, <a class="indexterm" href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a></dt><dt>Port 138/UDP, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>port 139, <a class="indexterm" href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a></dt><dt>Port 139/TCP, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>port 445, <a class="indexterm" href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a></dt><dt>Port 445/TCP, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>ports, <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a>, <a class="indexterm" href="problems.html#id2691294">Ethereal</a></dt><dt>POSIX, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2600550">Accounts and Groups Management</a>, <a class="indexterm" href="NetCommand.html#id2605667">Adding or Creating a New Group</a></dt><dt>POSIX account, <a class="indexterm" href="passdb.html#id2597109">User Account Management</a>, <a class="indexterm" href="NetCommand.html#id2606994">UNIX and Windows User Management</a></dt><dt>POSIX ACLs, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a>, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>POSIX ACLS, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>POSIX identity, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a></dt><dt>POSIX locks, <a class="indexterm" href="SambaHA.html#id2678898">Server Pool Communications</a></dt><dt>POSIX semantics, <a class="indexterm" href="SambaHA.html#id2678898">Server Pool Communications</a></dt><dt>POSIX user accounts, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>posixAccount, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a></dt><dt>posixGroup, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2600550">Accounts and Groups Management</a></dt><dt>PostScript, <a class="indexterm" href="CUPS-printing.html#id2639609">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2640942">Advanced Intelligent Printing with PostScript Driver Download</a>, <a class="indexterm" href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a>, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a>, <a class="indexterm" href="CUPS-printing.html#id2641826">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2641909">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2643286">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2645069">PostScript Printer Descriptions for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a>, <a class="indexterm" href="CUPS-printing.html#id2646485">Driver Execution on the Server</a>, <a class="indexterm" href="CUPS-printing.html#id2646878">Network PostScript RIP</a>, <a class="indexterm" href="CUPS-printing.html#id2647151">CUPS: A &#8220;Magical Stone&#8221;?</a>, <a class="indexterm" href="CUPS-printing.html#id2647194">PostScript Drivers with No Major Problems, Even in Kernel
     6Mode</a>, <a class="indexterm" href="CUPS-printing.html#id2647683">CUPS &#8220;PostScript Driver for Windows NT/200x/XP&#8221;</a></dt><dd><dl><dt>(see also Ghostscript)</dt><dt>RIP, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></dt></dl></dd><dt>PostScript driver, <a class="indexterm" href="classicalprinting.html#id2634683">Installing Driver Files into [print$]</a></dt><dt>PostScript interpreter, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></dt><dt>PostScript Printer Description (see PPD)</dt><dt>PostScript printers, <a class="indexterm" href="CUPS-printing.html#id2654628">Printing from CUPS to Windows-Attached Printers</a></dt><dt>potential master browsers, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>potential printer, <a class="indexterm" href="classicalprinting.html#id2633298">[print$] Stanza Parameters</a></dt><dt>Power Users, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>powerful, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt><dt>PPD, <a class="indexterm" href="classicalprinting.html#id2634683">Installing Driver Files into [print$]</a>, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a>, <a class="indexterm" href="CUPS-printing.html#id2641826">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2642028">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2644682">&#8220;Raw&#8221; Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2645069">PostScript Printer Descriptions for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2646968">PPDs for Non-PS Printers on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2647013">PPDs for Non-PS Printers on Windows</a>, <a class="indexterm" href="CUPS-printing.html#id2647151">CUPS: A &#8220;Magical Stone&#8221;?</a>, <a class="indexterm" href="CUPS-printing.html#id2649407">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2653658">Adobe and CUPS PostScript Drivers for Windows Clients</a>, <a class="indexterm" href="CUPS-printing.html#id2654628">Printing from CUPS to Windows-Attached Printers</a></dt><dd><dl><dt>CUPS (see CUPS-PPD)</dt></dl></dd><dt>PPD-aware, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></dt><dt>PPDs, <a class="indexterm" href="CUPS-printing.html#id2641909">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2652612">The Grand Unification Achieved</a></dt><dt>PPP, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>precedence, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>preferred master, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>prefilter, <a class="indexterm" href="CUPS-printing.html#id2643723">imagetops and imagetoraster</a></dt><dt>prefilters, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a></dt><dt>primary domain controller, <a class="indexterm" href="cfgsmarts.html#id2681404">Multiple Virtual Server Hosting</a></dt><dt>primary group, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></dt><dt>Primary Logon, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>Primary WINS Server, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a></dt><dt>print, <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a></dt><dd><dl><dt>queue, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a></dt><dt>spooler, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a></dt></dl></dd><dt>print accounting, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>print command, <a class="indexterm" href="classicalprinting.html#id2631500">Print Commands</a></dt><dt>print commands, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a></dt><dt>print configuration, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a></dt><dt>print environment, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a></dt><dt>print filtering, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a></dt><dt>print job, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a></dt><dt>print jobs, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>print processing, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a></dt><dt>print queue, <a class="indexterm" href="classicalprinting.html#id2632790">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="classicalprinting.html#id2634901">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="classicalprinting.html#id2635531">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2644027">CUPS Backends</a></dt><dt>print quota, <a class="indexterm" href="CUPS-printing.html#id2640942">Advanced Intelligent Printing with PostScript Driver Download</a></dt><dt>print server, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>print service, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>print spooling, <a class="indexterm" href="winbind.html#id2660018">Microsoft Remote Procedure Calls</a></dt><dt>print spooling system, <a class="indexterm" href="CUPS-printing.html#id2639126">Overview</a></dt><dt>print statistics, <a class="indexterm" href="CUPS-printing.html#id2640942">Advanced Intelligent Printing with PostScript Driver Download</a></dt><dt>print subsystem, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2631500">Print Commands</a></dt><dt>print test page, <a class="indexterm" href="classicalprinting.html#id2635803">First Client Driver Installation</a></dt><dt>printcap, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a>, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a>, <a class="indexterm" href="classicalprinting.html#ptrsect">The [printers] Section</a></dt><dt>Printcap, <a class="indexterm" href="CUPS-printing.html#id2639245">Basic CUPS Support Configuration</a></dt><dt>printcap name, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>PrintcapFormat, <a class="indexterm" href="CUPS-printing.html#id2639245">Basic CUPS Support Configuration</a></dt><dt>printer attributes publishing, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>printer default permissions, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>printer driver, <a class="indexterm" href="classicalprinting.html#id2632959">The Obsoleted [printer$] Section</a>, <a class="indexterm" href="classicalprinting.html#id2633081">Creating the [print$] Share</a>, <a class="indexterm" href="CUPS-printing.html#id2639609">Simple smb.conf Settings for CUPS</a></dt><dt>printer driver data, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></dt><dt>printer driver file, <a class="indexterm" href="classicalprinting.html#id2632959">The Obsoleted [printer$] Section</a></dt><dt>printer driver files, <a class="indexterm" href="classicalprinting.html#id2634901">smbclient to Confirm Driver Installation</a></dt><dt>printer drivers, <a class="indexterm" href="classicalprinting.html#id2632790">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="CUPS-printing.html#id2652612">The Grand Unification Achieved</a></dt><dt>printer icon, <a class="indexterm" href="classicalprinting.html#id2635304">Check Samba for Driver Recognition</a></dt><dt>printer management, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dt>printer management system, <a class="indexterm" href="CUPS-printing.html#id2639126">Overview</a></dt><dt>printer migration, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dt>printer monitor, <a class="indexterm" href="speed.html#id2697380">Samba Performance is Very Slow</a></dt><dt>printer objects, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>Printer Pooling, <a class="indexterm" href="classicalprinting.html#id2637988">Samba and Printer Ports</a></dt><dt>printer queue, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>printer share, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>printer shares , <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>printer$ share, <a class="indexterm" href="classicalprinting.html#id2632959">The Obsoleted [printer$] Section</a></dt><dt>printers, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a>, <a class="indexterm" href="StandAloneServer.html#id2580234">Features and Benefits</a></dt><dt>Printers, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>printers admin, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>Printers and Faxes, <a class="indexterm" href="classicalprinting.html#id2635304">Check Samba for Driver Recognition</a></dt><dt>printers available, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a></dt><dt>printers section, <a class="indexterm" href="classicalprinting.html#ptrsect">The [printers] Section</a></dt><dt>printing, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>printing behavior, <a class="indexterm" href="classicalprinting.html#id2628638">Printing-Related Configuration Parameters</a></dt><dt>printing calls, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>printing now, <a class="indexterm" href="speed.html#id2697380">Samba Performance is Very Slow</a></dt><dt>printing support, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a></dt><dt>printing system, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a></dt><dt>printing systems, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>printing-related settings, <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a></dt><dt>printing.tdb, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>PrintPro (see ESP Print Pro)</dt><dt>private dir, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>private groups, <a class="indexterm" href="groupmapping.html#id2602711">Warning: User Private Group Problems</a></dt><dt>private key, <a class="indexterm" href="SWAT.html#id2687958">Securing SWAT through SSL</a></dt><dt>private network, <a class="indexterm" href="securing-samba.html#id2624168">Introduction</a></dt><dt>private networks, <a class="indexterm" href="securing-samba.html#id2624429">Using Host-Based Protection</a></dt><dt>private/MACHINE.SID, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a></dt><dt>private/secrets.tdb, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a></dt><dt>privilege, <a class="indexterm" href="groupmapping.html#id2603463">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>privilege management, <a class="indexterm" href="groupmapping.html#id2603344">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>privilege model, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a></dt><dt>privilege-granting applications, <a class="indexterm" href="pam.html#id2671868">Technical Discussion</a></dt><dt>privileged accounts, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>privileges, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="groupmapping.html#id2603463">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>privileges assigned, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>problem report, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>problem resolution, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>problematic print, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a></dt><dt>Process data management, <a class="indexterm" href="locking.html#id2622728">PDM Data Shares</a></dt><dt>professional support, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>profile, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a></dt><dt>profile access rights, <a class="indexterm" href="ProfileMgmt.html#id2669321">Creating and Managing Group Profiles</a></dt><dt>profile contents, <a class="indexterm" href="ProfileMgmt.html#id2668731">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>profile directory, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>profile migration tool, <a class="indexterm" href="ProfileMgmt.html#id2669321">Creating and Managing Group Profiles</a></dt><dt>profile path, <a class="indexterm" href="samba-bdc.html#id2572774">Example PDC Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="ProfileMgmt.html#id2668056">Windows NT4 Workstation</a></dt><dt>profile sharing, <a class="indexterm" href="ProfileMgmt.html#id2668731">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>Profile Type, <a class="indexterm" href="ProfileMgmt.html#id2667128">Disabling Roaming Profile Support</a></dt><dt>ProfilePath, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>profiles, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a></dt><dt>Profiles, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a></dt><dt>project, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>promiscuous mode, <a class="indexterm" href="problems.html#id2691438">The Windows Network Monitor</a></dt><dt>promote, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt><dt>promoted, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>propagate, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a></dt><dt>Properties, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a>, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>protect directories, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>protect files, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>protection against attackers, <a class="indexterm" href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a></dt><dt>protocol stack settings, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>provided services, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>provisioned, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>pstops, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2643286">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a>, <a class="indexterm" href="CUPS-printing.html#id2653658">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>pstoraster, <a class="indexterm" href="CUPS-printing.html#id2643453">pstoraster</a>, <a class="indexterm" href="CUPS-printing.html#id2645352">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2653658">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>publish printers, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>publishing printers, <a class="indexterm" href="classicalprinting.html#id2629220">Rapid Configuration Validation</a></dt><dt>PulseAudio, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></dt><dt>punching, <a class="indexterm" href="CUPS-printing.html#id2643286">pstops</a></dt><dt>purchase support, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>put, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>pvcreate, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt></dl></div><div class="indexdiv"><h3>Q</h3><dl><dt>QNX, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>qualified problem, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>queue control, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>quota controls, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt></dl></div><div class="indexdiv"><h3>R</h3><dl><dt>RAID, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a></dt><dt>random machine account password, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>range, <a class="indexterm" href="NetCommand.html#id2606994">UNIX and Windows User Management</a></dt><dt>range of hosts, <a class="indexterm" href="securing-samba.html#id2624429">Using Host-Based Protection</a></dt><dt>RAP, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></dt><dt>raster, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2652928">Foomatic Database-Generated PPDs</a></dt><dt>raster driver, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a></dt><dt>raster drivers, <a class="indexterm" href="CUPS-printing.html#id2643453">pstoraster</a></dt><dt>raster image processor (see RIP)</dt><dt>raster images, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>rasterization, <a class="indexterm" href="CUPS-printing.html#id2643453">pstoraster</a>, <a class="indexterm" href="CUPS-printing.html#id2645352">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>rastertoalps, <a class="indexterm" href="CUPS-printing.html#id2643807">rasterto [printers specific]</a></dt><dt>rastertobj, <a class="indexterm" href="CUPS-printing.html#id2643807">rasterto [printers specific]</a></dt><dt>rastertoepson, <a class="indexterm" href="CUPS-printing.html#id2643807">rasterto [printers specific]</a>, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>rastertoescp, <a class="indexterm" href="CUPS-printing.html#id2643807">rasterto [printers specific]</a></dt><dt>rastertohp, <a class="indexterm" href="CUPS-printing.html#id2643807">rasterto [printers specific]</a></dt><dt>rastertopcl, <a class="indexterm" href="CUPS-printing.html#id2643807">rasterto [printers specific]</a></dt><dt>rastertoprinter, <a class="indexterm" href="CUPS-printing.html#id2643807">rasterto [printers specific]</a></dt><dt>rastertosomething, <a class="indexterm" href="CUPS-printing.html#id2645352">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>rastertoturboprint, <a class="indexterm" href="CUPS-printing.html#id2643807">rasterto [printers specific]</a></dt><dt>raw mode, <a class="indexterm" href="CUPS-printing.html#id2644790">application/octet-stream Printing</a></dt><dt>raw print, <a class="indexterm" href="CUPS-printing.html#id2649326">cupsaddsmb Flowchart</a></dt><dt>raw printers, <a class="indexterm" href="CUPS-printing.html#id2639126">Overview</a></dt><dt>raw printing, <a class="indexterm" href="FastStart.html#id2560928">Anonymous Print Server</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="CUPS-printing.html#id2640299">Raw Print Serving: Vendor Drivers on Windows Clients</a>, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable &#8220;raw&#8221; Printing for application/octet-stream</a></dt><dt>raw SMB, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt><dt>raw SMB over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a></dt><dt>rawprinter, <a class="indexterm" href="CUPS-printing.html#id2644682">&#8220;Raw&#8221; Printing</a></dt><dt>rcp, <a class="indexterm" href="Backup.html#id2677778">Rsync</a></dt><dt>rdesktop, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>rdesktop/RDP, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>read, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>read directory into memory, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>read only, <a class="indexterm" href="VFS.html#fakeperms">fake_perms</a></dt><dd><dl><dt>server, <a class="indexterm" href="FastStart.html#anon-ro">Anonymous Read-Only Document Server</a></dt></dl></dd><dt>Read-ahead, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>read-only, <a class="indexterm" href="StandAloneServer.html#id2580234">Features and Benefits</a>, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></dt><dt>read-only access, <a class="indexterm" href="idmapper.html#id2611813">Backup Domain Controller</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>read-only files, <a class="indexterm" href="StandAloneServer.html#id2580234">Features and Benefits</a></dt><dt>read-write access, <a class="indexterm" href="classicalprinting.html#id2632959">The Obsoleted [printer$] Section</a></dt><dt>realm, <a class="indexterm" href="ServerType.html#id2566205">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-bdc.html#id2573662">NetBIOS Over TCP/IP Disabled</a>, <a class="indexterm" href="domain-member.html#id2578186">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a></dt><dt>rebooted, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></dt><dt>rebooting server, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>recompiling, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>reconfiguration, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>record locking, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>recycle, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>recycle bin, <a class="indexterm" href="VFS.html#id2656487">Discussion</a></dt><dt>recycle directory, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>recycle:exclude, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>recycle:exclude_dir, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>recycle:keeptree, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>recycle:maxsize, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>recycle:noversions, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>recycle:repository, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>recycle:subdir_mode, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>recycle:touch, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>recycle:versions, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>Red Hat Cluster Manager, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>Red Hat Linux, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#id2576597">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="groupmapping.html#id2602711">Warning: User Private Group Problems</a></dt><dt>redirect, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a></dt><dt>redirection, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a></dt><dt>redirector, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>redundancy, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>reference documents, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></dt><dt>refusing connection, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>regedit.exe, <a class="indexterm" href="ProfileMgmt.html#id2669430">MS Windows 9x/Me</a></dt><dt>regedt32, <a class="indexterm" href="ProfileMgmt.html#id2669587">MS Windows NT4 Workstation</a></dt><dt>regedt32.exe, <a class="indexterm" href="PolicyMgmt.html#id2666280">Windows NT4/200x</a></dt><dt>register driver files, <a class="indexterm" href="classicalprinting.html#id2635038">Running rpcclient with adddriver</a></dt><dt>register NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>registered, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="classicalprinting.html#id2635304">Check Samba for Driver Recognition</a></dt><dt>registers, <a class="indexterm" href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a></dt><dt>registry, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="locking.html#id2621671">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665151">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2669430">MS Windows 9x/Me</a></dt><dt>registry change, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>registry keys, <a class="indexterm" href="ProfileMgmt.html#id2669400">Default Profile for Windows Users</a></dt><dt>registry settings, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></dt><dt>regulations, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>rejoin, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></dt><dt>relationship password, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>relative identifier, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a> (see RID)</dt><dt>Relative Identifier (see RID)</dt><dt>Relative Identifiers (see RID)</dt><dt>reliability, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>Remote Access Dial-In User Service (see RADIUS)</dt><dt>remote announce, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></dt><dt>remote browse sync, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></dt><dt>remote desktop capabilities, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>remote desktop management, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663855">Remote Desktop Management</a></dt><dt>remote domain, <a class="indexterm" href="InterdomainTrusts.html#id2626238">Creating an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626335">Completing an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>remote login, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>remote management, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a>, <a class="indexterm" href="winbind.html#id2660018">Microsoft Remote Procedure Calls</a></dt><dt>Remote Procedure Call (see RPC)</dt><dt>Remote Procedure Call System Service (see RPCSS)</dt><dt>remote profile, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>remote segment, <a class="indexterm" href="NetworkBrowsing.html#id2589564">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>Remote X, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>Remote X protocol, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>remote-update protocol, <a class="indexterm" href="Backup.html#id2677778">Rsync</a></dt><dt>rename, <a class="indexterm" href="AccessControls.html#id2617188">Managing Directories</a></dt><dt>render, <a class="indexterm" href="CUPS-printing.html#id2640299">Raw Print Serving: Vendor Drivers on Windows Clients</a></dt><dt>rendering, <a class="indexterm" href="CUPS-printing.html#id2645352">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>repeated intervals, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>replicate, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>replicated, <a class="indexterm" href="ServerType.html#id2564889">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2573390">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a></dt><dt>replicated SYSVOL, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a></dt><dt>replication, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></dt><dd><dl><dt>browse lists, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></dt><dt>SAM, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574784">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a></dt><dt>WINS, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590249">WINS Replication</a></dt></dl></dd><dt>replication protocols, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a></dt><dt>repository, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>requesting payment, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>required, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>requisite, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>research, <a class="indexterm" href="Backup.html#id2677509">Discussion of Backup Solutions</a></dt><dt>resizing, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>resolution, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a></dt><dt>resolution of NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a></dt><dt>resolve NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a></dt><dt>resolver functions, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a></dt><dt>resource failover, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>resource kit, <a class="indexterm" href="PolicyMgmt.html#id2665713">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="ProfileMgmt.html#profilemigrn">Windows NT4 Profile Management Tools</a></dt><dt>resource-based exclusion, <a class="indexterm" href="securing-samba.html#id2624266">Features and Benefits</a></dt><dt>response, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a></dt><dt>restore, <a class="indexterm" href="tdb.html#id2692976">Features and Benefits</a></dt><dt>restrict DNS, <a class="indexterm" href="NetworkBrowsing.html#id2590686">Name Resolution Order</a></dt><dt>reviewers, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>revoke privileges, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>RFC 1001, <a class="indexterm" href="DNSDHCP.html#id2699127">Example Configuration</a></dt><dt>RFC 1002, <a class="indexterm" href="DNSDHCP.html#id2699127">Example Configuration</a></dt><dt>RFC 1179, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>RFC 2307, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>RFC 2307., <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>RFC 2830, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>rfc2307bis, <a class="indexterm" href="idmapper.html#id2613846">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>RFC2830, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></dt><dt>RFCs, <a class="indexterm" href="problems.html">Analyzing and Solving Samba Problems</a></dt><dt>rich database backend, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>rich directory backend, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>RID, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a>, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a>, <a class="indexterm" href="winbind.html#id2660546">User and Group ID Allocation</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>RID 500, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>RID base, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a></dt><dt>right to join domain, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>rights, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2579178">Possible Errors</a>, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a></dt><dt>rights and privilege, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>rights and privileges, <a class="indexterm" href="groupmapping.html#id2603344">Important Administrative Information</a>, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>rights assigned, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>RIP, <a class="indexterm" href="CUPS-printing.html#id2645069">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>rlogind, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>Roaming Profile, <a class="indexterm" href="VFS.html#fakeperms">fake_perms</a></dt><dt>roaming profiles, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="ProfileMgmt.html#id2666639">Features and Benefits</a>, <a class="indexterm" href="ProfileMgmt.html#id2667128">Disabling Roaming Profile Support</a>, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>rogue machine, <a class="indexterm" href="NetworkBrowsing.html#id2592464">Flushing the Samba NetBIOS Name Cache</a></dt><dt>rogue user, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>root, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>root account, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>root user, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>rotate, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>RPC, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="ProfileMgmt.html#id2666688">Roaming Profiles</a></dt><dt>RPC calls, <a class="indexterm" href="winbind.html#id2663370">Conclusion</a>, <a class="indexterm" href="SambaHA.html#id2678494">The Front-End Challenge</a></dt><dt>RPC modules, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>rpc.lockd, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>rpcclient, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a>, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2635531">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2651408">Troubleshooting Revisited</a>, <a class="indexterm" href="PolicyMgmt.html#id2666320">Samba PDC</a></dt><dd><dl><dt>adddriver, <a class="indexterm" href="CUPS-printing.html#id2648787">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2648978">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2649642">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2649987">Understanding the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2650224">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a></dt><dt>enumdrivers, <a class="indexterm" href="CUPS-printing.html#id2649642">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a></dt><dt>enumports, <a class="indexterm" href="CUPS-printing.html#id2649642">Installing PostScript Driver Files Manually Using rpcclient</a></dt><dt>enumprinters, <a class="indexterm" href="CUPS-printing.html#id2649642">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2650224">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="CUPS-printing.html#id2651408">Troubleshooting Revisited</a></dt><dt>getdriver, <a class="indexterm" href="CUPS-printing.html#id2650092">Producing an Example by Querying a Windows Box</a>, <a class="indexterm" href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a></dt><dt>getprinter, <a class="indexterm" href="CUPS-printing.html#id2650092">Producing an Example by Querying a Windows Box</a>, <a class="indexterm" href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="CUPS-printing.html#id2651408">Troubleshooting Revisited</a></dt><dt>setdriver, <a class="indexterm" href="CUPS-printing.html#id2648129">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2648787">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2648978">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2649642">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2650224">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a></dt></dl></dd><dt>rsh, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a></dt><dt>rsync, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a>, <a class="indexterm" href="Backup.html#id2677778">Rsync</a>, <a class="indexterm" href="compiling.html#id2693866">Accessing the Samba Sources via rsync and ftp</a></dt><dt>rsyncd, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a></dt><dt>runas, <a class="indexterm" href="classicalprinting.html#id2636487">Always Make First Client Connection as root or &#8220;printer admin&#8221;</a></dt><dt>rundll32, <a class="indexterm" href="classicalprinting.html#id2636368">Additional Client Driver Installation</a>, <a class="indexterm" href="classicalprinting.html#id2636681">Setting Default Print Options for Client Drivers</a>, <a class="indexterm" href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664670">Adding Printers without User Intervention</a></dt></dl></div><div class="indexdiv"><h3>S</h3><dl><dt>SAM, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2574730">Machine Accounts Keep Expiring</a>, <a class="indexterm" href="samba-bdc.html#id2574784">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="winbind.html#id2660622">Result Caching</a></dt><dd><dl><dt>delta file, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>replication, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt></dl></dd><dt>SAM backend, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dd><dl><dt>LDAP, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a></dt><dt>ldapsam, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a></dt><dt>ldapsam_compat, <a class="indexterm" href="passdb.html#id2593316">Features and Benefits</a></dt><dt>non-LDAP, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a></dt><dt>smbpasswd, <a class="indexterm" href="passdb.html#id2593316">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>tdbsam, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a></dt></dl></dd><dt>Samba 1.9.17, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a></dt><dt>Samba account, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></dt><dt>Samba administrator, <a class="indexterm" href="winbind.html#id2660684">Introduction</a></dt><dt>Samba backend database, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></dt><dt>Samba daemons, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>Samba differences, <a class="indexterm" href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></dt><dt>Samba mailing lists, <a class="indexterm" href="Backup.html#id2677464">Features and Benefits</a></dt><dt>Samba private directory, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>Samba SAM, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>Samba SAM account, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></dt><dt>Samba SAM account flags, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>Samba schema, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>Samba security, <a class="indexterm" href="securing-samba.html#id2624266">Features and Benefits</a></dt><dt>Samba-2.2.x LDAP schema, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a></dt><dt>Samba-3-compatible LDAP backend, <a class="indexterm" href="upgrading-to-3.0.html#id2682386">Quick Migration Guide</a></dt><dt>Samba-PDC-LDAP-HOWTO, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a></dt><dt>samba-to-samba trusts, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>samba-vscan, <a class="indexterm" href="VFS.html#id2658907">vscan</a></dt><dt>samba.schema, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>sambaDomain, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>sambaGroupMapping, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>sambaHomeDrive, <a class="indexterm" href="passdb.html#id2600899">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>sambaHomePath, <a class="indexterm" href="passdb.html#id2600899">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>sambaIdmapEntry, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>sambaLogonScript, <a class="indexterm" href="passdb.html#id2600899">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>SambaNTPassword, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>sambaProfilePath, <a class="indexterm" href="passdb.html#id2600899">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>SambaSAMAccount, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="passdb.html#id2597460">Adding User Accounts</a>, <a class="indexterm" href="passdb.html#id2597548">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2597632">Changing User Accounts</a>, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a></dt><dt>sambaSamAccount, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2600550">Accounts and Groups Management</a>, <a class="indexterm" href="passdb.html#id2600899">LDAP Special Attributes for sambaSamAccounts</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>sambaSAMAccount, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>sambaSID, <a class="indexterm" href="ChangeNotes.html#id2585347">LDAP Changes in Samba-3.0.23</a></dt><dt>sambaUNIXIdPool, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>SambaXP conference, <a class="indexterm" href="SambaHA.html#id2678212">Technical Discussion</a></dt><dt>samdb interface, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>same domain/workgroup, <a class="indexterm" href="cfgsmarts.html#id2681404">Multiple Virtual Server Hosting</a></dt><dt>Sarbanes-Oxley, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>scalability, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625845">Features and Benefits</a></dt><dt>scalable, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>scalable backend, <a class="indexterm" href="InterdomainTrusts.html#id2625845">Features and Benefits</a></dt><dt>scalable coherent interface (see SCI)</dt><dt>scale, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>scanner module, <a class="indexterm" href="VFS.html#id2656487">Discussion</a></dt><dt>schannel, <a class="indexterm" href="samba-pdc.html#id2571678">Cannot Log onto Domain Member Workstation After Joining Domain</a></dt><dt>schema, <a class="indexterm" href="idmapper.html#id2613846">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>schema file, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>scp, <a class="indexterm" href="Backup.html#id2677778">Rsync</a></dt><dt>script, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></dt><dt>scripted control, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a></dt><dt>scripts, <a class="indexterm" href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a>, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a></dt><dt>SCSI, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>SeAddUsersPrivilege, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>SeAssignPrimaryTokenPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeAuditPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeBackupPrivilege, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeChangeNotifyPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>Seclib, <a class="indexterm" href="AccessControls.html#id2619677">Viewing File Ownership</a></dt><dt>secondary controller, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>SeCreateGlobalPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreatePagefilePrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreatePermanentPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreateTokenPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>secret, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>secrets.tdb, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a>, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>section name, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a></dt><dt>secure, <a class="indexterm" href="StandAloneServer.html#id2580234">Features and Benefits</a></dt><dt>secure access, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>secure authentication, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>secure communications, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>secured networks, <a class="indexterm" href="securing-samba.html#id2624168">Introduction</a></dt><dt>security, <a class="indexterm" href="ServerType.html#id2565193">Samba Security Modes</a>, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="securing-samba.html#id2624168">Introduction</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dd><dl><dt>controllers, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></dt><dt>modes, <a class="indexterm" href="ServerType.html#id2564889">Features and Benefits</a></dt><dt>settings, <a class="indexterm" href="install.html#id2559157">Example Configuration</a></dt></dl></dd><dt>security = user, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>security account, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dt>Security Account Manager (see SAM)</dt><dt>Security Assertion Markup Language (see SAML)</dt><dt>security context, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>security contexts, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>security credentials, <a class="indexterm" href="idmapper.html#id2611813">Backup Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626202">Native MS Windows NT4 Trusts Configuration</a></dt><dt>security domain, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>security domains, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>security flaw, <a class="indexterm" href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a></dt><dt>security hole, <a class="indexterm" href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a></dt><dt>security identifier, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a> (see SID)</dt><dt>security level, <a class="indexterm" href="ServerType.html#id2566348">Server Security (User Level Security)</a></dt><dt>security levels, <a class="indexterm" href="ServerType.html#id2565193">Samba Security Modes</a></dt><dt>security mode, <a class="indexterm" href="ServerType.html">Server Types and Security Modes</a>, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a></dt><dt>Security Mode, <a class="indexterm" href="ServerType.html#id2565193">Samba Security Modes</a></dt><dt>security modes, <a class="indexterm" href="ServerType.html#id2565193">Samba Security Modes</a></dt><dt>security name-space, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>security policies, <a class="indexterm" href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a></dt><dt>security settings, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>security structure, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>security vulnerability, <a class="indexterm" href="securing-samba.html#id2625196">Upgrading Samba</a></dt><dt>security-aware, <a class="indexterm" href="CUPS-printing.html#id2644790">application/octet-stream Printing</a></dt><dt>SeDebugPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeDiskOperatorPrivilege, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>SeEnableDelegationPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeImpersonatePrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeIncreaseBasePriorityPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeIncreaseQuotaPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeLoadDriverPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeLockMemoryPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeMachineAccountPrivilege, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeManageVolumePrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>separate instances, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>separate servers, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>separate shares, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>separate workgroups, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>SePrintOperatorPrivilege, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>SeProfileSingleProcessPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeRemoteShutdownPrivilege, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeRestorePrivilege, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>server failure, <a class="indexterm" href="SambaHA.html#id2678376">Why Is This So Hard?</a></dt><dt>Server Manager, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663712">Remote Server Administration</a></dt><dt>Server Manager for Domains, <a class="indexterm" href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>Server Message Block (see SMB)</dt><dt>server pool, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a>, <a class="indexterm" href="SambaHA.html#id2678822">Restrictive Constraints on Distributed File Systems</a></dt><dt>Server Type, <a class="indexterm" href="ServerType.html#id2565049">Server Types</a></dt><dd><dl><dt>Domain Controller, <a class="indexterm" href="FastStart.html#id2562885">Domain Controller</a></dt><dt>Domain Member, <a class="indexterm" href="FastStart.html#id2562042">Domain Member Server</a>, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a></dt><dt>Stand-alone, <a class="indexterm" href="FastStart.html#id2560300">Standalone Server</a></dt></dl></dd><dt>server type, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dd><dl><dt>domain member, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a></dt></dl></dd><dt>Server Types, <a class="indexterm" href="idmapper.html#id2610535">Samba Server Deployment Types and IDMAP</a></dt><dt>server-mode, <a class="indexterm" href="ServerType.html#id2566873">What Makes Samba a Domain Controller?</a></dt><dt>service name, <a class="indexterm" href="install.html#id2559157">Example Configuration</a></dt><dt>service-level, <a class="indexterm" href="classicalprinting.html#id2628638">Printing-Related Configuration Parameters</a>, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>services provided, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>SeSecurityPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeShutdownPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>session, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>session services, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt><dt>session setup, <a class="indexterm" href="ServerType.html#id2565355">User Level Security</a>, <a class="indexterm" href="ServerType.html#id2566348">Server Security (User Level Security)</a></dt><dt>sessionid.tdb, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>SessionSetupAndX, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>SeSyncAgentPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemEnvironmentPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemProfilePrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemtimePrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>set a password, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>set group id (see SGID)</dt><dt>set printer properties, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>set user id (see SUID)</dt><dt>SeTakeOwnershipPrivilege, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeTcbPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>setdriver, <a class="indexterm" href="CUPS-printing.html#id2649816">A Check of the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2650224">Requirements for adddriver and setdriver to Succeed</a></dt><dt>SetPrinter(), <a class="indexterm" href="CUPS-printing.html#id2649816">A Check of the rpcclient man Page</a></dt><dt>setting up directories, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>SeUndockPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>severely impaired, <a class="indexterm" href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a></dt><dt>SFU, <a class="indexterm" href="idmapper.html#id2614116">IDMAP, Active Directory, and MS Services for UNIX 3.5</a></dt><dt>SFU 3.5, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a></dt><dt>SGI-RGB, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>SGID, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>shadow, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a></dt><dt>shadow copies, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>shadow password file, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>shadow utilities, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a></dt><dt>shadow_copy, <a class="indexterm" href="VFS.html#id2657919">shadow_copy</a>, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>shadow_copy module, <a class="indexterm" href="VFS.html#id2657919">shadow_copy</a></dt><dt>share, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a>, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>share access, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a></dt><dt>share ACLs, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>share management, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dt>share modes, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a></dt><dt>share permissions, <a class="indexterm" href="AccessControls.html#id2619218">Windows NT4 Workstation/Server</a></dt><dt>Share Permissions, <a class="indexterm" href="AccessControls.html#id2619323">Windows 200x/XP</a></dt><dt>share settings, <a class="indexterm" href="AccessControls.html#id2616650">Features and Benefits</a></dt><dt>share stanza controls, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>share-level, <a class="indexterm" href="ServerType.html#id2565193">Samba Security Modes</a>, <a class="indexterm" href="ServerType.html#id2565518">Share-Level Security</a>, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>share-level ACLs, <a class="indexterm" href="groupmapping.html#id2603463">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>share-mode, <a class="indexterm" href="StandAloneServer.html#id2580234">Features and Benefits</a></dt><dt>share-mode security, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a></dt><dt>share-mode server, <a class="indexterm" href="StandAloneServer.html#id2580234">Features and Benefits</a></dt><dt>shared secret, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>shares, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a></dt><dt>shares and files, <a class="indexterm" href="winbind.html#id2660799">Requirements</a></dt><dt>share_info.tdb, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a>, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>Sharing, <a class="indexterm" href="AccessControls.html#id2619323">Windows 200x/XP</a></dt><dt>shell scripts, <a class="indexterm" href="classicalprinting.html#id2631500">Print Commands</a></dt><dt>shift, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>Shift_JIS, <a class="indexterm" href="unicode.html#id2676302">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>shortcuts, <a class="indexterm" href="ClientConfig.html#id2581683">TCP/IP Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>Shortcuts, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>show-stopper-type, <a class="indexterm" href="NT4Migration.html#id2685152">Planning and Getting Started</a></dt><dt>SID, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2571436">The System Cannot Log You On (C000019B)</a>, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a>, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2659842">Handling of Foreign SIDs</a>, <a class="indexterm" href="ProfileMgmt.html#id2669023">Side Bar Notes</a>, <a class="indexterm" href="ProfileMgmt.html#id2669116">Get SID</a>, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a>, <a class="indexterm" href="NT4Migration.html#id2686039">Profile Migration/Creation</a></dt><dt>SID management, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dt>SID-to-GID, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a></dt><dt>SIDs, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>signing, <a class="indexterm" href="samba-pdc.html#id2571678">Cannot Log onto Domain Member Workstation After Joining Domain</a></dt><dt>simple access controls, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>simple configuration, <a class="indexterm" href="install.html#id2559157">Example Configuration</a></dt><dt>simple guide, <a class="indexterm" href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></dt><dt>Simple Object Access Protocol (see SOAP)</dt><dt>simple operation, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>simple print server, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>simple printing, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a></dt><dt>simplest</dt><dd><dl><dt>configuration, <a class="indexterm" href="install.html#id2559157">Example Configuration</a></dt></dl></dd><dt>simplicity, <a class="indexterm" href="StandAloneServer.html#id2580234">Features and Benefits</a></dt><dt>Simplicity is king, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>single DHCP server, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>single repository, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>single server, <a class="indexterm" href="SambaHA.html#id2678494">The Front-End Challenge</a></dt><dt>single sign-on, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a> (see SSO)</dt><dt>Single Sign-On, <a class="indexterm" href="CUPS-printing.html#id2648129">Caveats to Be Considered</a></dt><dt>single-byte charsets, <a class="indexterm" href="unicode.html#id2676001">What Are Charsets and Unicode?</a></dt><dt>single-logon, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a></dt><dt>single-sign-on, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>single-user mode, <a class="indexterm" href="winbind.html#id2660799">Requirements</a></dt><dt>slapadd, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a></dt><dt>slapd, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a></dt><dt>slapd.conf, <a class="indexterm" href="ChangeNotes.html#id2585347">LDAP Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>slapd.pem, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></dt><dt>slapindex, <a class="indexterm" href="ChangeNotes.html#id2585347">LDAP Changes in Samba-3.0.23</a></dt><dt>slappasswd, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a></dt><dt>slave servers, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>slow browsing, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></dt><dt>slow network, <a class="indexterm" href="speed.html#id2697192">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>slow network browsing, <a class="indexterm" href="NetworkBrowsing.html#id2592832">Invalid Cached Share References Affects Network Browsing</a></dt><dt>slow performance, <a class="indexterm" href="speed.html#id2697380">Samba Performance is Very Slow</a></dt><dt>smart printers, <a class="indexterm" href="CUPS-printing.html#id2639126">Overview</a></dt><dt>SMB, <a class="indexterm" href="ServerType.html#id2566348">Server Security (User Level Security)</a>, <a class="indexterm" href="domain-member.html#id2580101">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590890">Technical Overview of Browsing</a>, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a>, <a class="indexterm" href="SambaHA.html#id2678494">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2678898">Server Pool Communications</a>, <a class="indexterm" href="problems.html">Analyzing and Solving Samba Problems</a></dt><dt>SMB encryption, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>SMB locks, <a class="indexterm" href="SambaHA.html#id2678898">Server Pool Communications</a></dt><dt>SMB name, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a></dt><dt>SMB networking, <a class="indexterm" href="problems.html#id2690936">Diagnostics Tools</a></dt><dt>SMB password, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a></dt><dt>SMB Password, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>SMB password encryption, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>smb ports, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>SMB printers, <a class="indexterm" href="CUPS-printing.html#id2655538">Administrator Cannot Install Printers for All Local Users</a></dt><dt>SMB requests, <a class="indexterm" href="SambaHA.html#id2678589">Demultiplexing SMB Requests</a></dt><dt>SMB semantics, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a></dt><dt>SMB server, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>SMB Server, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>SMB services, <a class="indexterm" href="SambaHA.html#id2678822">Restrictive Constraints on Distributed File Systems</a></dt><dt>SMB signing, <a class="indexterm" href="domain-member.html#id2580101">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>SMB state information, <a class="indexterm" href="SambaHA.html#id2678589">Demultiplexing SMB Requests</a></dt><dt>SMB-based messaging, <a class="indexterm" href="NetworkBrowsing.html#netdiscuss">Discussion</a></dt><dt>smb-cdserver.conf, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>smb.conf, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>SMB/CIFS, <a class="indexterm" href="samba-bdc.html#id2573448">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="domain-member.html#id2580101">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a>, <a class="indexterm" href="unicode.html#id2676001">What Are Charsets and Unicode?</a></dt><dt>SMB/CIFS server, <a class="indexterm" href="passdb.html#id2598586">Password Backends</a></dt><dt>smbclient, <a class="indexterm" href="domain-member.html#ads-test-smbclient">Testing with smbclient</a>, <a class="indexterm" href="classicalprinting.html#id2634683">Installing Driver Files into [print$]</a>, <a class="indexterm" href="classicalprinting.html#id2634901">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a>, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a></dt><dt>smbd, <a class="indexterm" href="install.html#id2558977">Starting Samba</a>, <a class="indexterm" href="install.html#id2559157">Example Configuration</a>, <a class="indexterm" href="install.html#id2559391">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2561292">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2562116">Example Configuration</a>, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2600125">Configuring Samba</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611972">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a>, <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2629220">Rapid Configuration Validation</a>, <a class="indexterm" href="VFS.html#id2657146">extd_audit</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2660951">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="winbind.html#id2662345">Linux</a>, <a class="indexterm" href="winbind.html#id2662551">Solaris</a>, <a class="indexterm" href="SambaHA.html#id2678898">Server Pool Communications</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a>, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a></dt><dt>smbgroupedit, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a></dt><dt>smbgrpadd.sh, <a class="indexterm" href="groupmapping.html#id2604298">Sample smb.conf Add Group Script</a></dt><dt>smbHome, <a class="indexterm" href="passdb.html#id2600899">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>smbldap-groupadd, <a class="indexterm" href="NetCommand.html#id2605667">Adding or Creating a New Group</a></dt><dt>smbldap-tools, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a></dt><dt>smbpasswd, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2578186">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2597109">User Account Management</a>, <a class="indexterm" href="passdb.html#id2598461">Account Import/Export</a>, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a>, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a>, <a class="indexterm" href="PolicyMgmt.html#id2666320">Samba PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684231">Passdb Backends and Authentication</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>smbpasswd format, <a class="indexterm" href="passdb.html#id2597225">Listing User and Machine Accounts</a></dt><dt>smbpasswd plaintext database, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>SMBsessetupX, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a></dt><dt>smbspool, <a class="indexterm" href="CUPS-printing.html#id2654628">Printing from CUPS to Windows-Attached Printers</a></dt><dt>smbstatus, <a class="indexterm" href="CUPS-printing.html#id2655345">Avoid Being Connected to the Samba Server as the Wrong User</a>, <a class="indexterm" href="bugreport.html#id2692767">Attaching to a Running Process</a></dt><dt>SMBtconX, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a></dt><dt>smbusers, <a class="indexterm" href="securing-samba.html#id2624583">User-Based Protection</a></dt><dt>SMS, <a class="indexterm" href="problems.html#id2691438">The Windows Network Monitor</a></dt><dt>Snapshots, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>sniffer, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="problems.html#id2690936">Diagnostics Tools</a></dt><dt>socket, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>socket address, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>SOFTQ printing system, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>Solaris, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="winbind.html#id2662740">Configure Winbind and PAM</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>Solaris 9, <a class="indexterm" href="winbind.html#id2662551">Solaris</a></dt><dt>source code, <a class="indexterm" href="install.html#id2559157">Example Configuration</a></dt><dt>space character, <a class="indexterm" href="groupmapping.html#id2604610">Adding Groups Fails</a></dt><dt>special account, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>special section, <a class="indexterm" href="classicalprinting.html#id2633298">[print$] Stanza Parameters</a></dt><dt>special sections, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>special stanza, <a class="indexterm" href="classicalprinting.html#id2633298">[print$] Stanza Parameters</a></dt><dt>specific restrictions, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a></dt><dt>Specify an IP address, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>spinning process, <a class="indexterm" href="bugreport.html#id2692767">Attaching to a Running Process</a></dt><dt>spool, <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a></dt><dd><dl><dt>directory, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a></dt></dl></dd><dt>spool files, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a></dt><dt>spooled file, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a></dt><dt>spooler., <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a></dt><dt>spooling, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2640248">Central Spooling vs. &#8220;Peer-to-Peer&#8221; Printing</a></dt><dd><dl><dt>central, <a class="indexterm" href="CUPS-printing.html#id2640248">Central Spooling vs. &#8220;Peer-to-Peer&#8221; Printing</a></dt><dt>peer-to-peer, <a class="indexterm" href="CUPS-printing.html#id2640248">Central Spooling vs. &#8220;Peer-to-Peer&#8221; Printing</a></dt></dl></dd><dt>spooling path, <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a></dt><dt>spooling-only, <a class="indexterm" href="CUPS-printing.html#id2640299">Raw Print Serving: Vendor Drivers on Windows Clients</a></dt><dt>SPOOLSS, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>SQL, <a class="indexterm" href="ChangeNotes.html#id2585166">Passdb Changes</a></dt><dt>SQUID, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>SRV records, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></dt><dt>SRV RR, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a></dt><dt>SrvMgr.exe, <a class="indexterm" href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>srvmgr.exe, <a class="indexterm" href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>SRVTOOLS.EXE, <a class="indexterm" href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663712">Remote Server Administration</a></dt><dt>ssh, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a></dt><dt>SSH, <a class="indexterm" href="classicalprinting.html#id2634901">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></dt><dt>SSL, <a class="indexterm" href="SWAT.html#id2687958">Securing SWAT through SSL</a></dt><dt>SSO, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>stability, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>stack trace, <a class="indexterm" href="bugreport.html#id2692634">Internal Errors</a></dt><dt>stale network links, <a class="indexterm" href="NetworkBrowsing.html#id2592832">Invalid Cached Share References Affects Network Browsing</a></dt><dt>stand-alone server, <a class="indexterm" href="idmapper.html#id2610560">Standalone Samba Server</a></dt><dt>standalone, <a class="indexterm" href="ServerType.html#id2565049">Server Types</a>, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>standalone filter, <a class="indexterm" href="CUPS-printing.html#id2643453">pstoraster</a></dt><dt>standalone server, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="StandAloneServer.html">Standalone Servers</a>, <a class="indexterm" href="StandAloneServer.html#id2580234">Features and Benefits</a>, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a>, <a class="indexterm" href="passdb.html#id2597460">Adding User Accounts</a>, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>standard confirmation, <a class="indexterm" href="InterdomainTrusts.html#id2626238">Creating an NT4 Domain Trust</a></dt><dt>stanza, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>stapling, <a class="indexterm" href="CUPS-printing.html#id2643286">pstops</a></dt><dt>StartDocPrinter, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>starting samba</dt><dd><dl><dt>nmbd, <a class="indexterm" href="install.html#id2558977">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2561292">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2562116">Example Configuration</a></dt><dt>smbd, <a class="indexterm" href="install.html#id2558977">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2561292">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2562116">Example Configuration</a></dt><dt>winbindd, <a class="indexterm" href="install.html#id2558977">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2562116">Example Configuration</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a></dt></dl></dd><dt>startsmb, <a class="indexterm" href="compiling.html#id2694807">Alternative: Starting smbd as a Daemon</a></dt><dt>StartTLS, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>startup</dt><dd><dl><dt>process, <a class="indexterm" href="install.html#id2558977">Starting Samba</a></dt></dl></dd><dt>startup script, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>state, <a class="indexterm" href="SambaHA.html#id2678376">Why Is This So Hard?</a></dt><dt>state information, <a class="indexterm" href="SambaHA.html#id2678376">Why Is This So Hard?</a></dt><dt>state of knowledge, <a class="indexterm" href="SambaHA.html#id2678091">Features and Benefits</a></dt><dt>static WINS entries, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>status32 codes, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>sticky bit, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a>, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>storage mechanism, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a></dt><dt>storage methods, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a></dt><dt>stphoto2.ppd, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>strange delete semantics, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>stripped of comments, <a class="indexterm" href="SWAT.html#id2687177">Features and Benefits</a></dt><dt>strptime, <a class="indexterm" href="passdb.html#id2597632">Changing User Accounts</a></dt><dt>stunnel, <a class="indexterm" href="SWAT.html#id2687958">Securing SWAT through SSL</a></dt><dt>su, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>subnet mask, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>subnets, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></dt><dt>subscription, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>subsuffix parameters, <a class="indexterm" href="upgrading-to-3.0.html#id2684818">New Suffix for Searching</a></dt><dt>Subversion, <a class="indexterm" href="compiling.html#id2693634">Introduction</a>, <a class="indexterm" href="compiling.html#id2693724">Access via Subversion</a></dt><dt>successful join, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt><dt>successful migration, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>sufficient, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>suffixes, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>SUID, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>Sun, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>Sun ONE iDentity server, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>Sun Solaris, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>SUN-Raster, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>support, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>support exposure, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>SVN</dt><dd><dl><dt>web, <a class="indexterm" href="compiling.html#id2693689">Access via ViewCVS</a></dt></dl></dd><dt>SVRTOOLS.EXE, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt><dt>SWAT, <a class="indexterm" href="install.html#id2558033">Configuring Samba (smb.conf)</a>, <a class="indexterm" href="SWAT.html">SWAT: The Samba Web Administration Tool</a></dt><dt>swat, <a class="indexterm" href="install.html#id2559561">SWAT</a>, <a class="indexterm" href="SWAT.html#id2687321">Validate SWAT Installation</a>, <a class="indexterm" href="SWAT.html#id2687391">Locating the SWAT File</a>, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dd><dl><dt>enable, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>security, <a class="indexterm" href="SWAT.html#id2687958">Securing SWAT through SSL</a></dt></dl></dd><dt>SWAT binary support, <a class="indexterm" href="SWAT.html#id2687321">Validate SWAT Installation</a></dt><dt>swat command-line options, <a class="indexterm" href="SWAT.html#id2687391">Locating the SWAT File</a></dt><dt>SWAT permission allowed, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>symbolic links, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>synchronization, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>synchronization problems, <a class="indexterm" href="winbind.html#id2659554">Introduction</a></dt><dt>synchronize, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589564">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>synchronized, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a></dt><dt>syntax tolerates spelling errors, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a></dt><dt>system access controls, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>system accounts, <a class="indexterm" href="passdb.html#id2597109">User Account Management</a></dt><dt>system administrator, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>system groups, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>system interface scripts, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>system policies, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a></dt><dt>System Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665713">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2669430">MS Windows 9x/Me</a></dt><dt>system security, <a class="indexterm" href="groupmapping.html#id2603463">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>system tools, <a class="indexterm" href="Backup.html#id2677464">Features and Benefits</a></dt><dt>SYSV, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>SYSVOL, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a></dt></dl></div><div class="indexdiv"><h3>T</h3><dl><dt>tail, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a></dt><dt>take ownership, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>Take Ownership, <a class="indexterm" href="AccessControls.html#id2619677">Viewing File Ownership</a></dt><dt>tape, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>tar, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a></dt><dt>tarball, <a class="indexterm" href="install.html#id2559157">Example Configuration</a></dt><dt>tattoo effect, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>TCP, <a class="indexterm" href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a>, <a class="indexterm" href="SambaHA.html#id2678376">Why Is This So Hard?</a></dt><dt>TCP data streams, <a class="indexterm" href="SambaHA.html#id2678494">The Front-End Challenge</a></dt><dt>TCP failover, <a class="indexterm" href="SambaHA.html#id2678376">Why Is This So Hard?</a></dt><dt>TCP port, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt><dt>TCP port 139, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>TCP port 445, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>tcp ports, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a></dt><dt>TCP/IP, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a></dt><dt>TCP/IP configuration, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>TCP/IP configuration panel, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>TCP/IP protocol configuration, <a class="indexterm" href="ClientConfig.html#id2581640">Technical Details</a></dt><dt>TCP/IP protocol settings, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>TCP/IP protocol stack, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a></dt><dt>TCP/IP-only, <a class="indexterm" href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a></dt><dt>tcpdump, <a class="indexterm" href="problems.html#id2691244">Tcpdump</a></dt><dt>TDB, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a>, <a class="indexterm" href="classicalprinting.html#id2635646">Running rpcclient with setdriver</a>, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a>, <a class="indexterm" href="CUPS-printing.html#id2651754">Trivial Database Files</a>, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dd><dl><dt>backing up (see tdbbackup)</dt></dl></dd><dt>tdb, <a class="indexterm" href="winbind.html#id2660546">User and Group ID Allocation</a>, <a class="indexterm" href="SambaHA.html#id2678898">Server Pool Communications</a>, <a class="indexterm" href="tdb.html#id2692976">Features and Benefits</a></dt><dt>tdb data files, <a class="indexterm" href="upgrading-to-3.0.html#id2683783">TDB Data Files</a></dt><dt>TDB database, <a class="indexterm" href="classicalprinting.html#id2635038">Running rpcclient with adddriver</a></dt><dt>TDB database files, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></dt><dt>tdb file backup, <a class="indexterm" href="upgrading-to-3.0.html#id2683783">TDB Data Files</a></dt><dt>tdb file descriptions, <a class="indexterm" href="install.html#tdbdocs">TDB Database File Information</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2683783">TDB Data Files</a></dt><dt>tdb file locations, <a class="indexterm" href="install.html#tdbdocs">TDB Database File Information</a></dt><dt>tdb files, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a></dt><dt>tdbbackup, <a class="indexterm" href="CUPS-printing.html#id2651938">Using tdbbackup</a>, <a class="indexterm" href="speed.html#id2697284">Corrupt tdb Files</a></dt><dt>tdbdump, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a></dt><dt>tdbsam, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2597225">Listing User and Machine Accounts</a>, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a>, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>tdbsam databases, <a class="indexterm" href="passdb.html#id2598586">Password Backends</a></dt><dt>technical reviewers, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>Telnet, <a class="indexterm" href="passdb.html#id2594567">Advantages of Non-Encrypted Passwords</a></dt><dt>telnet logins, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>template, <a class="indexterm" href="ProfileMgmt.html#id2669321">Creating and Managing Group Profiles</a></dt><dt>temporary location, <a class="indexterm" href="classicalprinting.html#id2631500">Print Commands</a></dt><dt>terminal server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></dt><dt>Terminal Server, <a class="indexterm" href="SambaHA.html#id2678589">Demultiplexing SMB Requests</a></dt><dt>Testing Server Setup, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>testparm, <a class="indexterm" href="install.html#id2559391">Test Your Config File with testparm</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2629220">Rapid Configuration Validation</a>, <a class="indexterm" href="classicalprinting.html#id2629619">Extended Printing Configuration</a>, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a>, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a></dt><dt>tethereal, <a class="indexterm" href="problems.html#id2691244">Tcpdump</a></dt><dt>text/plain, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a></dt><dt>texttops, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a></dt><dt>thin client, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></dt><dt>ThinLinc, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></dt><dt>tid, <a class="indexterm" href="SambaHA.html#id2678589">Demultiplexing SMB Requests</a></dt><dt>TIFF, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>TightVNC, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></dt><dt>time difference, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>time format, <a class="indexterm" href="passdb.html#id2597632">Changing User Accounts</a></dt><dt>time-to-live (see TTL)</dt><dt>tool, <a class="indexterm" href="AccessControls.html#id2619323">Windows 200x/XP</a></dt><dt>tools, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a></dt><dt>tools\reskit\netadmin\poledit, <a class="indexterm" href="PolicyMgmt.html#id2665151">Windows 9x/ME Policies</a></dt><dt>traditional printing, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a></dt><dt>training course, <a class="indexterm" href="Backup.html#id2677509">Discussion of Backup Solutions</a></dt><dt>transfer differences, <a class="indexterm" href="Backup.html#id2677778">Rsync</a></dt><dt>transformation, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>transitive, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>transparent access, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a></dt><dt>transparently reconnected, <a class="indexterm" href="SambaHA.html#id2678246">The Ultimate Goal</a></dt><dt>transport connection loss, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>Transport Layer Seccurity, TLS</dt><dd><dl><dt>Configuring, <a class="indexterm" href="ch-ldap-tls.html#s1-config-ldap-tls">Configuring</a></dt><dt>Introduction, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt></dl></dd><dt>transport layer security (see TLS)</dt><dt>Transport Layer Security, TLS</dt><dd><dl><dt>Testing, <a class="indexterm" href="ch-ldap-tls.html#s1-test-ldap-tls">Testing</a></dt><dt>Troubleshooting, <a class="indexterm" href="ch-ldap-tls.html#s1-int-ldap-tls">Troubleshooting</a></dt></dl></dd><dt>trigger, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>trivial database, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a> (see TDB)</dt><dt>Trivial Database, <a class="indexterm" href="tdb.html#id2692976">Features and Benefits</a></dt><dt>troubleshoot, <a class="indexterm" href="classicalprinting.html#id2629220">Rapid Configuration Validation</a></dt><dt>troubleshooting, <a class="indexterm" href="CUPS-printing.html#id2654628">Printing from CUPS to Windows-Attached Printers</a></dt><dt>Tru64 UNIX, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>trust, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a></dt><dd><dl><dt>account, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>trust account, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a></dt><dd><dl><dt>interdomain, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt><dt>machine, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt></dl></dd><dt>trust account password, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a></dt><dt>trust accounts, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dt>trust established, <a class="indexterm" href="InterdomainTrusts.html#id2626421">Interdomain Trust Facilities</a></dt><dt>trust relationship, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626335">Completing an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626421">Interdomain Trust Facilities</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626630">Configuring Samba NT-Style Domain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>trust relationships, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625845">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626238">Creating an NT4 Domain Trust</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>trusted, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>trusted domain, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626335">Completing an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a>, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a></dt><dt>trusted domain name, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>trusted party, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>trusting domain, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626335">Completing an NT4 Domain Trust</a></dt><dt>trusting party, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>trusts, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>TTL, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>turn oplocks off, <a class="indexterm" href="locking.html#id2622885">Advanced Samba Oplocks Parameters</a></dt><dt>turnkey solution, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a></dt><dt>two-up, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>two-way</dt><dd><dl><dt>propagation, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a></dt></dl></dd><dt>two-way trust, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626202">Native MS Windows NT4 Trusts Configuration</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626421">Interdomain Trust Facilities</a></dt></dl></div><div class="indexdiv"><h3>U</h3><dl><dt>UCS-2, <a class="indexterm" href="unicode.html#id2676302">Japanese Charsets</a></dt><dt>UDP, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></dt><dt>UDP port 137, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a></dt><dt>udp ports, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a></dt><dt>UDP unicast, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>UID, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2597225">Listing User and Machine Accounts</a>, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="NetCommand.html#id2606994">UNIX and Windows User Management</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2659842">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>uid, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a></dt><dt>UID numbers, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>UID range, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>unauthorized, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>unauthorized access, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>UNC notation, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a></dt><dt>unexpected.tdb, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>unicast, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>unicode, <a class="indexterm" href="unicode.html#id2676001">What Are Charsets and Unicode?</a></dt><dt>Unicode, <a class="indexterm" href="unicode.html#id2676134">Samba and Charsets</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>Unicode UTF-8, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>unified logon, <a class="indexterm" href="winbind.html#id2659554">Introduction</a></dt><dt>UNIX, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dd><dl><dt>server, <a class="indexterm" href="ServerType.html#id2564889">Features and Benefits</a></dt></dl></dd><dt>UNIX account, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2576597">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>unix charset, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>UNIX Domain Socket, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>UNIX domain socket, <a class="indexterm" href="winbind.html#id2659968">How Winbind Works</a></dt><dt>UNIX file system access controls, <a class="indexterm" href="AccessControls.html#id2616650">Features and Benefits</a></dt><dt>UNIX group, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>UNIX groups, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a>, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a></dt><dt>UNIX home directories, <a class="indexterm" href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a></dt><dt>UNIX host system, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>UNIX ID, <a class="indexterm" href="winbind.html#id2660546">User and Group ID Allocation</a></dt><dt>UNIX locking, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>UNIX login ID, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>UNIX permissions, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>UNIX printer, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>UNIX printing, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a></dt><dt>UNIX system account, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></dt><dt>UNIX system accounts, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>UNIX system files, <a class="indexterm" href="Backup.html#id2677464">Features and Benefits</a></dt><dt>UNIX user identifier (see UID)</dt><dt>UNIX users, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a></dt><dt>UNIX-style encrypted passwords, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a></dt><dt>UNIX-user database, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a></dt><dt>UNIX/Linux group, <a class="indexterm" href="groupmapping.html#id2602711">Warning: User Private Group Problems</a></dt><dt>UNIX/Linux user account, <a class="indexterm" href="NetCommand.html#id2606994">UNIX and Windows User Management</a></dt><dt>unlink calls, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>unlinked, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>unmapped groups, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a></dt><dt>unmapped users, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a></dt><dt>unprivileged account names, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></dt><dt>unsigned drivers, <a class="indexterm" href="CUPS-printing.html#id2655505">Windows 200x/XP Local Security Policies</a></dt><dt>unstoppable services, <a class="indexterm" href="SambaHA.html#id2678246">The Ultimate Goal</a></dt><dt>unsupported encryption, <a class="indexterm" href="domain-member.html#id2579178">Possible Errors</a></dt><dt>unsupported software, <a class="indexterm" href="ch47.html#id2698789">Commercial Support</a></dt><dt>updates, <a class="indexterm" href="securing-samba.html#id2625196">Upgrading Samba</a></dt><dt>upload drivers, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>uploaded driver, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>uploaded drivers, <a class="indexterm" href="classicalprinting.html#id2632790">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>uploading, <a class="indexterm" href="classicalprinting.html#id2632790">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>upper-case, <a class="indexterm" href="ServerType.html#id2565355">User Level Security</a></dt><dt>uppercase, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>uppercase character, <a class="indexterm" href="groupmapping.html#id2604610">Adding Groups Fails</a></dt><dt>USB, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>use computer anywhere, <a class="indexterm" href="unicode.html#id2675949">Features and Benefits</a></dt><dt>user, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>user access management, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a></dt><dt>user account, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2597109">User Account Management</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="NetCommand.html#id2606994">UNIX and Windows User Management</a></dt><dd><dl><dt>Adding/Deleting, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a></dt></dl></dd><dt>user account database, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>user accounts, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>User Accounts</dt><dd><dl><dt>Adding/Deleting, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2600550">Accounts and Groups Management</a></dt></dl></dd><dt>user and group, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a></dt><dt>user and trust accounts, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>user attributes, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>user authentication, <a class="indexterm" href="winbind.html#id2660018">Microsoft Remote Procedure Calls</a></dt><dt>user database, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2598639">Plaintext</a></dt><dt>user encoded, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></dt><dt>user groups, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>user logons, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>user management, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></dt><dt>User Management, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2600550">Accounts and Groups Management</a></dt><dt>User Manager, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663712">Remote Server Administration</a>, <a class="indexterm" href="ProfileMgmt.html#id2669321">Creating and Managing Group Profiles</a></dt><dt>User Manager for Domains, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663712">Remote Server Administration</a></dt><dt>user or group, <a class="indexterm" href="rights.html#id2614798">Using the &#8220;net rpc rights&#8221; Utility</a></dt><dt>user profiles, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>User Rights and Privileges, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>user-level, <a class="indexterm" href="ServerType.html#id2565193">Samba Security Modes</a>, <a class="indexterm" href="ServerType.html#id2565355">User Level Security</a></dt><dt>User-level access control, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>user-level security, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>user-mode security, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a></dt><dt>user.DAT, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="ProfileMgmt.html#id2668731">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>user.MAN, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>User.MAN, <a class="indexterm" href="ProfileMgmt.html#id2669181">Mandatory Profiles</a></dt><dt>useradd, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2576597">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>username, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>username and password, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>username map, <a class="indexterm" href="NetCommand.html#id2607322">User Mapping</a></dt><dt>userPassword, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a></dt><dt>users, <a class="indexterm" href="PolicyMgmt.html#id2664856">Features and Benefits</a></dt><dt>UsrMgr.exe, <a class="indexterm" href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>UTF-8, <a class="indexterm" href="unicode.html#id2676134">Samba and Charsets</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>UTF-8 encoding, <a class="indexterm" href="SWAT.html#id2688110">Enabling SWAT Internationalization Support</a></dt></dl></div><div class="indexdiv"><h3>V</h3><dl><dt>valid username/password, <a class="indexterm" href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a></dt><dt>valid users, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>validate, <a class="indexterm" href="install.html#id2559391">Test Your Config File with testparm</a>, <a class="indexterm" href="diagnosis.html#id2688857">Introduction</a></dt><dt>validate every backup, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>validation, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="PolicyMgmt.html">System and Account Policies</a></dt><dt>vendor-provided drivers, <a class="indexterm" href="CUPS-printing.html#id2640299">Raw Print Serving: Vendor Drivers on Windows Clients</a></dt><dt>verifiable, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>verify, <a class="indexterm" href="classicalprinting.html#id2629220">Rapid Configuration Validation</a></dt><dt>version control, <a class="indexterm" href="VFS.html#id2657919">shadow_copy</a></dt><dt>VFS, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="VFS.html#id2656487">Discussion</a></dt><dt>VFS module, <a class="indexterm" href="VFS.html#id2657919">shadow_copy</a>, <a class="indexterm" href="ProfileMgmt.html#id2669181">Mandatory Profiles</a></dt><dt>VFS modules, <a class="indexterm" href="VFS.html#id2656487">Discussion</a>, <a class="indexterm" href="VFS.html#id2658822">VFS Modules Available Elsewhere</a></dt><dt>vgcreate, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>vgdisplay, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>vipw, <a class="indexterm" href="samba-pdc.html#id2571270">&#8220;$&#8221; Cannot Be Included in Machine Name</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></dt><dt>Virtual File System (see VFS)</dt><dt>virtual server, <a class="indexterm" href="SambaHA.html#id2678494">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2679095">A Simple Solution</a></dt><dt>virus scanner, <a class="indexterm" href="VFS.html#id2656487">Discussion</a></dt><dt>Visual Studio, <a class="indexterm" href="CUPS-printing.html#id2647194">PostScript Drivers with No Major Problems, Even in Kernel
     7Mode</a></dt><dt>vital task, <a class="indexterm" href="SambaHA.html#id2678091">Features and Benefits</a></dt><dt>VNC/RFB, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>volume group, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>volunteers, <a class="indexterm" href="problems.html#id2691801">Getting Mailing List Help</a></dt><dt>vscan, <a class="indexterm" href="VFS.html#id2658907">vscan</a></dt><dt>vuid, <a class="indexterm" href="SambaHA.html#id2678589">Demultiplexing SMB Requests</a></dt></dl></div><div class="indexdiv"><h3>W</h3><dl><dt>W32X86, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2647194">PostScript Drivers with No Major Problems, Even in Kernel
     8Mode</a>, <a class="indexterm" href="CUPS-printing.html#id2648129">Caveats to Be Considered</a></dt><dt>W32X86/2, <a class="indexterm" href="CUPS-printing.html#id2641909">Using Windows-Formatted Vendor PPDs</a></dt><dt>WAN, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="locking.html#id2622639">Slow and/or Unreliable Networks</a></dt><dt>wbinfo, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>Web-based configuration, <a class="indexterm" href="SWAT.html">SWAT: The Samba Web Administration Tool</a></dt><dt>WebClient, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></dt><dt>Welcome, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>well known RID, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>well-controlled network, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>well-known RID, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a></dt><dt>wide-area network bandwidth, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>win election, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a></dt><dt>Win32 printing API, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>WIN40, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2634537">Obtaining Driver Files from Windows Client [print$] Shares</a>, <a class="indexterm" href="CUPS-printing.html#id2648129">Caveats to Be Considered</a></dt><dt>winbind, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611885">Examples of IDMAP Backend Usage</a>, <a class="indexterm" href="idmapper.html#id2611972">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2661549">Configure smb.conf</a></dt><dt>Winbind, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a>, <a class="indexterm" href="winbind.html#id2659796">Target Uses</a>, <a class="indexterm" href="winbind.html#id2660111">Microsoft Active Directory Services</a>, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2660546">User and Group ID Allocation</a>, <a class="indexterm" href="winbind.html#id2660622">Result Caching</a>, <a class="indexterm" href="winbind.html#id2660684">Introduction</a>, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2661436">NSS Winbind on AIX</a>, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="winbind.html#id2663370">Conclusion</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>Winbind architecture, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>Winbind hooks, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a></dt><dt>Winbind services, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>Winbind-based authentication, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a></dt><dt>winbind.so, <a class="indexterm" href="winbind.html#id2663252">Solaris-Specific Configuration</a></dt><dt>winbindd, <a class="indexterm" href="install.html#id2558977">Starting Samba</a>, <a class="indexterm" href="install.html#id2559391">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2562116">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2606994">UNIX and Windows User Management</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2659968">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2660799">Requirements</a>, <a class="indexterm" href="winbind.html#id2660951">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2661549">Configure smb.conf</a>, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="winbind.html#id2662551">Solaris</a>, <a class="indexterm" href="winbind.html#id2662740">Configure Winbind and PAM</a>, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>winbindd daemon, <a class="indexterm" href="winbind.html#id2662345">Linux</a></dt><dt>Windows, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>Windows 2000, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>Windows 2000 Professional TCP/IP, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>Windows 2000 server, <a class="indexterm" href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>Windows 2003, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2580101">I Can't Join a Windows 2003 PDC</a></dt><dt>Windows 200x/XP, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>Windows 9x/Me, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663712">Remote Server Administration</a></dt><dt>Windows 9x/Me/XP Home, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>Windows account management, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a></dt><dt>Windows client, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Windows client failover, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>Windows domain, <a class="indexterm" href="upgrading-to-3.0.html#id2684135">Changes in Behavior</a></dt><dt>Windows Explorer, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a>, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a></dt><dt>Windows group, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2602711">Warning: User Private Group Problems</a>, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>Windows group account, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>Windows groups, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>Windows Internet Name Server (see WINS)</dt><dt>Windows Logon, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>Windows Me TCP/IP, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>Windows Millennium, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>Windows Millennium edition (Me) TCP/IP, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>Windows network clients, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a></dt><dt>Windows NT domain name, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Windows NT PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2654628">Printing from CUPS to Windows-Attached Printers</a></dt><dt>Windows NT Server, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>Windows NT/2000/XP, <a class="indexterm" href="classicalprinting.html#id2635304">Check Samba for Driver Recognition</a></dt><dt>Windows NT/200x, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a>, <a class="indexterm" href="winbind.html#id2660684">Introduction</a></dt><dt>Windows NT/200x/XP, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>Windows NT/200x/XP Professional, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2584425">Common Errors</a></dt><dt>Windows NT3.10, <a class="indexterm" href="samba-bdc.html#id2572268">Essential Background Information</a></dt><dt>Windows NT4, <a class="indexterm" href="AccessControls.html#id2619218">Windows NT4 Workstation/Server</a>, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>Windows NT4 domains, <a class="indexterm" href="InterdomainTrusts.html#id2626421">Interdomain Trust Facilities</a></dt><dt>Windows NT4 Server, <a class="indexterm" href="InterdomainTrusts.html#id2626630">Configuring Samba NT-Style Domain Trusts</a></dt><dt>Windows NT4/200X, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a></dt><dt>Windows NT4/200x, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a></dt><dt>Windows NT4/200x/XP, <a class="indexterm" href="samba-bdc.html#id2573596">NetBIOS Over TCP/IP Enabled</a>, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="AccessControls.html#id2619323">Windows 200x/XP</a></dt><dt>Windows NT4/2kX/XPPro, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>Windows PPD, <a class="indexterm" href="CUPS-printing.html#id2652303">690 &#8220;Perfect&#8221; Printers</a></dt><dt>Windows privilege model, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a></dt><dt>Windows Registry, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>windows registry settings, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dd><dl><dt>default profile locations, <a class="indexterm" href="ProfileMgmt.html#id2669587">MS Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a></dt><dt>profile path, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2667128">Disabling Roaming Profile Support</a></dt></dl></dd><dt>Windows Resource Kit, <a class="indexterm" href="ProfileMgmt.html#id2667128">Disabling Roaming Profile Support</a></dt><dt>Windows Security Identifiers (see SID)</dt><dt>Windows Terminal server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>Windows Terminal Server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></dt><dt>Windows user, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>Windows user accounts, <a class="indexterm" href="NetCommand.html#id2606994">UNIX and Windows User Management</a></dt><dt>Windows workstation., <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Windows XP Home, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>Windows XP Home edition, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2570551">The Special Case of MS Windows XP Home Edition</a>, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Windows XP Home Edition, <a class="indexterm" href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a></dt><dt>Windows XP Professional, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>Windows XP Professional TCP/IP, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>Windows XP TCP/IP, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>Windows95/98/ME, <a class="indexterm" href="classicalprinting.html#id2635304">Check Samba for Driver Recognition</a></dt><dt>winnt.adm, <a class="indexterm" href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></dt><dt>WINS, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2573448">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a>, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590890">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2675520">WINS Lookup</a>, <a class="indexterm" href="DNSDHCP.html#id2699127">Example Configuration</a></dt><dt>wins, <a class="indexterm" href="integrate-ms-networks.html#id2674642">/etc/nsswitch.conf</a></dt><dt>WINS Configuration, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></dt><dt>WINS lookup, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>WINS replication, <a class="indexterm" href="NetworkBrowsing.html#id2590249">WINS Replication</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>WINS Server, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a></dt><dt>WINS server, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></dt><dt>WINS server address, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>WINS server settings, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>WINS servers, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a></dt><dt>WINS service, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a></dt><dt>WINS Support, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a></dt><dt>wins.dat, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>without Administrator account, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>without ADS, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>work-flow protocol, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>workgroup, <a class="indexterm" href="ServerType.html#id2566348">Server Security (User Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dd><dl><dt>membership, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a></dt></dl></dd><dt>workstations, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a></dt><dt>world-writable, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>write, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>write access, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>Write caching, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>write changes, <a class="indexterm" href="idmapper.html#id2611813">Backup Domain Controller</a></dt><dt>write permission, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>writeable, <a class="indexterm" href="VFS.html#fakeperms">fake_perms</a></dt><dt>WYSIWYG, <a class="indexterm" href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a></dt></dl></div><div class="indexdiv"><h3>X</h3><dl><dt>X Window
     9        System, <a class="indexterm" href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>X.509 certificates, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>XFS file system, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>xfsprogs, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>xinetd, <a class="indexterm" href="SWAT.html#id2687321">Validate SWAT Installation</a>, <a class="indexterm" href="compiling.html#id2694587">Starting from inetd.conf</a> (see inetd)</dt><dt>XML, <a class="indexterm" href="ChangeNotes.html#id2585166">Passdb Changes</a></dt><dt>XML-based datasets, <a class="indexterm" href="CUPS-printing.html#id2652928">Foomatic Database-Generated PPDs</a></dt><dt>xpp, <a class="indexterm" href="CUPS-printing.html#id2652928">Foomatic Database-Generated PPDs</a></dt><dt>Xprint, <a class="indexterm" href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>xxxxBSD, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt></dl></div><div class="indexdiv"><h3>Y</h3><dl><dt>yppasswd, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a></dt></dl></div><div class="indexdiv"><h3>Z</h3><dl><dt>Zero Administration Kit, <a class="indexterm" href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></dt><dt>zero-based broadcast, <a class="indexterm" href="NetworkBrowsing.html#id2589216">Note about Broadcast Addresses</a></dt></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="go01.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top">Glossary </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/largefile.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 33. Handling Large Directories</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="SambaHA.html" title="Chapter 32. High Availability"><link rel="next" href="cfgsmarts.html" title="Chapter 34. Advanced Configuration Techniques"></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 33. Handling Large Directories</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SambaHA.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="cfgsmarts.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="largefile"></a>Chapter 33. Handling Large Directories</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jeremy</span> <span class="orgname">Samba Team</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">March 5, 2005</p></div></div></div><p>
    2 <a class="indexterm" name="id2673393"></a>
    3 <a class="indexterm" name="id2673400"></a>
    4 <a class="indexterm" name="id2673407"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 33. Handling Large Directories</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="SambaHA.html" title="Chapter 32. High Availability"><link rel="next" href="cfgsmarts.html" title="Chapter 34. Advanced Configuration Techniques"></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 33. Handling Large Directories</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SambaHA.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="cfgsmarts.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 33. Handling Large Directories"><div class="titlepage"><div><div><h2 class="title"><a name="largefile"></a>Chapter 33. Handling Large Directories</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jeremy</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">March 5, 2005</p></div></div></div><p>
     2<a class="indexterm" name="id2679455"></a>
     3<a class="indexterm" name="id2679462"></a>
     4<a class="indexterm" name="id2679469"></a>
    55Samba-3.0.12 and later implements a solution for sites that have experienced performance degradation due to the
    66problem of using Samba-3 with applications that need large numbers of files (100,000 or more) per directory.
    77</p><p>
    8 <a class="indexterm" name="id2673421"></a>
    9 <a class="indexterm" name="id2673428"></a>
     8<a class="indexterm" name="id2679483"></a>
     9<a class="indexterm" name="id2679490"></a>
    1010The key was fixing the directory handling to read only the current list requested instead of the old
    1111(up to samba-3.0.11) behavior of reading the entire directory into memory before doling out names.
     
    1313stealing logic from Samba4 (thanks, Tridge), the current code in 3.0.12 handles this correctly.
    1414</p><p>
    15 <a class="indexterm" name="id2673445"></a>
    16 <a class="indexterm" name="id2673452"></a>
     15<a class="indexterm" name="id2679507"></a>
     16<a class="indexterm" name="id2679514"></a>
    1717To set up an application that needs large numbers of files per directory in a way that does not
    1818damage performance unduly, follow these steps:
    1919</p><p>
    20 <a class="indexterm" name="id2673465"></a>
     20<a class="indexterm" name="id2679526"></a>
    2121First, you need to canonicalize all the files in the directory to have one case, upper or lower  take your
    2222pick (I chose upper because all my files were already uppercase names). Then set up a new custom share for the
    2323application as follows:
    24 </p><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[bigshare]</code></em></td></tr><tr><td><a class="indexterm" name="id2673493"></a><em class="parameter"><code>path = /data/manyfilesdir</code></em></td></tr><tr><td><a class="indexterm" name="id2673505"></a><em class="parameter"><code>read only = no</code></em></td></tr><tr><td><a class="indexterm" name="id2673516"></a><em class="parameter"><code>case sensitive = True</code></em></td></tr><tr><td><a class="indexterm" name="id2673528"></a><em class="parameter"><code>default case = upper</code></em></td></tr><tr><td><a class="indexterm" name="id2673540"></a><em class="parameter"><code>preserve case = no</code></em></td></tr><tr><td><a class="indexterm" name="id2673552"></a><em class="parameter"><code>short preserve case = no</code></em></td></tr></table><p>
     24</p><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[bigshare]</code></em></td></tr><tr><td><a class="indexterm" name="id2679554"></a><em class="parameter"><code>path = /data/manyfilesdir</code></em></td></tr><tr><td><a class="indexterm" name="id2679566"></a><em class="parameter"><code>read only = no</code></em></td></tr><tr><td><a class="indexterm" name="id2679578"></a><em class="parameter"><code>case sensitive = True</code></em></td></tr><tr><td><a class="indexterm" name="id2679590"></a><em class="parameter"><code>default case = upper</code></em></td></tr><tr><td><a class="indexterm" name="id2679602"></a><em class="parameter"><code>preserve case = no</code></em></td></tr><tr><td><a class="indexterm" name="id2679613"></a><em class="parameter"><code>short preserve case = no</code></em></td></tr></table><p>
    2525</p><p>
    26 <a class="indexterm" name="id2673567"></a>
    27 <a class="indexterm" name="id2673574"></a>
    28 <a class="indexterm" name="id2673580"></a>
     26<a class="indexterm" name="id2679628"></a>
     27<a class="indexterm" name="id2679635"></a>
     28<a class="indexterm" name="id2679642"></a>
    2929Of course, use your own path and settings, but set the case options to match the case of all the files in your
    3030directory. The path should point at the large directory needed for the application  any new files created in
     
    3232the directory for names: it knows that if a file does not exist in uppercase, then it doesn't exist at all.
    3333</p><p>
    34 <a class="indexterm" name="id2673601"></a>
    35 <a class="indexterm" name="id2673607"></a>
    36 <a class="indexterm" name="id2673614"></a>
     34<a class="indexterm" name="id2679663"></a>
     35<a class="indexterm" name="id2679669"></a>
     36<a class="indexterm" name="id2679676"></a>
    3737The secret to this is really in the <a class="link" href="smb.conf.5.html#CASESENSITIVE" target="_top">case sensitive = True</a>
    3838line. This tells smbd never to scan for case-insensitive versions of names. So if an application asks for a file
     
    4242<span class="application">smbd</span>.
    4343</p><p>
    44 <a class="indexterm" name="id2673661"></a>
    45 <a class="indexterm" name="id2673668"></a>
    46 <a class="indexterm" name="id2673674"></a>
     44<a class="indexterm" name="id2679722"></a>
     45<a class="indexterm" name="id2679729"></a>
     46<a class="indexterm" name="id2679736"></a>
    4747Remember, all files and directories under the <em class="parameter"><code>path</code></em> directory must be in uppercase
    4848with this <code class="filename">smb.conf</code> stanza because <span class="application">smbd</span> will not be able to find lowercase filenames with these settings. Also
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/locking.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 17. File and Record Locking</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="AccessControls.html" title="Chapter 16. File, Directory, and Share Access Controls"><link rel="next" href="securing-samba.html" title="Chapter 18. Securing Samba"></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 17. File and Record Locking</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="AccessControls.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="securing-samba.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="locking"></a>Chapter 17. File and Record Locking</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jeremy</span> <span class="orgname">Samba Team</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Eric</span> <span class="orgname">HP Oplocks Usage Recommendations Whitepaper</span> <span class="surname">Roseme</span></h3><div class="affiliation"><span class="orgname">HP Oplocks Usage Recommendations Whitepaper<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:eric.roseme@hp.com">eric.roseme@hp.com</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="locking.html#id2615585">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2615682">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2615940">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2616938">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617033">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617446">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617633">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617655">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617721">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2617747">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617814">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617845">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617869">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617901">Additional Reading</a></span></dt></dl></div><p>
    2 <a class="indexterm" name="id2615575"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 17. File and Record Locking</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="AccessControls.html" title="Chapter 16. File, Directory, and Share Access Controls"><link rel="next" href="securing-samba.html" title="Chapter 18. Securing Samba"></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 17. File and Record Locking</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="AccessControls.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="securing-samba.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 17. File and Record Locking"><div class="titlepage"><div><div><h2 class="title"><a name="locking"></a>Chapter 17. File and Record Locking</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jeremy</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Eric</span> <span class="surname">Roseme</span></h3><div class="affiliation"><span class="orgname">HP Oplocks Usage Recommendations Whitepaper<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:eric.roseme@hp.com">eric.roseme@hp.com</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="locking.html#id2621671">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2621768">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2622026">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623031">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2623125">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623539">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2623726">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2623748">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623814">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2623839">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2623907">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2623937">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2623962">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623993">Additional Reading</a></span></dt></dl></div><p>
     2<a class="indexterm" name="id2621660"></a>
    33One area that causes trouble for many network administrators is locking.
    44The extent of the problem is readily evident from searches over the Internet.
    5 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2615585"></a>Features and Benefits</h2></div></div></div><p>
    6 <a class="indexterm" name="id2615593"></a>
     5</p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2621671"></a>Features and Benefits</h2></div></div></div><p>
     6<a class="indexterm" name="id2621679"></a>
    77Samba provides all the same locking semantics that MS Windows clients expect
    88and that MS Windows NT4/200x servers also provide.
    99</p><p>
    10 <a class="indexterm" name="id2615606"></a>
     10<a class="indexterm" name="id2621691"></a>
    1111The term <span class="emphasis"><em>locking</em></span> has exceptionally broad meaning and covers
    1212a range of functions that are all categorized under this one term.
    1313</p><p>
    14 <a class="indexterm" name="id2615621"></a>
    15 <a class="indexterm" name="id2615628"></a>
    16 <a class="indexterm" name="id2615635"></a>
     14<a class="indexterm" name="id2621707"></a>
     15<a class="indexterm" name="id2621714"></a>
     16<a class="indexterm" name="id2621721"></a>
    1717Opportunistic locking is a desirable feature when it can enhance the
    1818perceived performance of applications on a networked client. However, the
     
    2424it is intended to provide.
    2525</p><p>
    26 <a class="indexterm" name="id2615654"></a>
     26<a class="indexterm" name="id2621740"></a>
    2727The MS Windows network administrator needs to be aware that file and record
    2828locking semantics (behavior) can be controlled either in Samba or by way of registry
    2929settings on the MS Windows client.
    30 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    31 <a class="indexterm" name="id2615670"></a>
     30</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     31<a class="indexterm" name="id2621755"></a>
    3232Sometimes it is necessary to disable locking control settings on the Samba
    3333server as well as on each MS Windows client!
    34 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2615682"></a>Discussion</h2></div></div></div><p>
    35 <a class="indexterm" name="id2615690"></a>
    36 <a class="indexterm" name="id2615697"></a>
     34</p></div></div><div class="sect1" title="Discussion"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2621768"></a>Discussion</h2></div></div></div><p>
     35<a class="indexterm" name="id2621775"></a>
     36<a class="indexterm" name="id2621782"></a>
    3737There are two types of locking that need to be performed by an SMB server.
    3838The first is <span class="emphasis"><em>record locking</em></span> that allows a client to lock
     
    4040that are specified when a file is open.
    4141</p><p>
    42 <a class="indexterm" name="id2615718"></a>
    43 <a class="indexterm" name="id2615724"></a>
    44 <a class="indexterm" name="id2615731"></a>
    45 <a class="indexterm" name="id2615738"></a>
    46 <a class="indexterm" name="id2615745"></a>
     42<a class="indexterm" name="id2621803"></a>
     43<a class="indexterm" name="id2621810"></a>
     44<a class="indexterm" name="id2621817"></a>
     45<a class="indexterm" name="id2621824"></a>
     46<a class="indexterm" name="id2621831"></a>
    4747Record locking semantics under UNIX are very different from record locking under
    4848Windows. Versions of Samba before 2.2 have tried to use the native fcntl() UNIX
     
    5454many more differences, too many to be listed here.
    5555</p><p>
    56 <a class="indexterm" name="id2615765"></a>
    57 <a class="indexterm" name="id2615772"></a>
     56<a class="indexterm" name="id2621851"></a>
     57<a class="indexterm" name="id2621858"></a>
    5858Samba 2.2 and above implement record locking completely independently of the
    5959underlying UNIX system. If a byte-range lock that the client requests happens
     
    6161No other locks can be seen by UNIX, anyway.
    6262</p><p>
    63 <a class="indexterm" name="id2615787"></a>
    64 <a class="indexterm" name="id2615794"></a>
     63<a class="indexterm" name="id2621873"></a>
     64<a class="indexterm" name="id2621880"></a>
    6565Strictly speaking, an SMB server should check for locks before every read and write call on
    6666a file. Unfortunately, with the way fcntl() works, this can be slow and may overstress
     
    7171will make lock checking calls on <span class="emphasis"><em>every</em></span> read and write call.
    7272</p><p>
    73 <a class="indexterm" name="id2615836"></a>
     73<a class="indexterm" name="id2621921"></a>
    7474You can also disable byte-range locking completely by using
    7575<a class="link" href="smb.conf.5.html#LOCKING" target="_top">locking = no</a>.
     
    7878tell clients that everything is okay.
    7979</p><p>
    80 <a class="indexterm" name="id2615863"></a>
    81 <a class="indexterm" name="id2615869"></a>
    82 <a class="indexterm" name="id2615876"></a>
    83 <a class="indexterm" name="id2615883"></a>
    84 <a class="indexterm" name="id2615890"></a>
    85 <a class="indexterm" name="id2615897"></a>
    86 <a class="indexterm" name="id2615903"></a>
     80<a class="indexterm" name="id2621949"></a>
     81<a class="indexterm" name="id2621955"></a>
     82<a class="indexterm" name="id2621962"></a>
     83<a class="indexterm" name="id2621969"></a>
     84<a class="indexterm" name="id2621975"></a>
     85<a class="indexterm" name="id2621982"></a>
     86<a class="indexterm" name="id2621989"></a>
    8787The second class of locking is the <span class="emphasis"><em>deny modes</em></span>. These
    8888are set by an application when it opens a file to determine what types of
     
    9191<code class="constant">DENY_WRITE</code>, or <code class="constant">DENY_ALL</code>. There are also special compatibility
    9292modes called <code class="constant">DENY_FCB</code> and <code class="constant">DENY_DOS</code>.
    93 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2615940"></a>Opportunistic Locking Overview</h3></div></div></div><p>
    94 <a class="indexterm" name="id2615948"></a>
    95 <a class="indexterm" name="id2615956"></a>
    96 <a class="indexterm" name="id2615962"></a>
     93</p><div class="sect2" title="Opportunistic Locking Overview"><div class="titlepage"><div><div><h3 class="title"><a name="id2622026"></a>Opportunistic Locking Overview</h3></div></div></div><p>
     94<a class="indexterm" name="id2622034"></a>
     95<a class="indexterm" name="id2622041"></a>
     96<a class="indexterm" name="id2622048"></a>
    9797Opportunistic locking (oplocks) is invoked by the Windows file system
    9898(as opposed to an API) via registry entries (on the server and the client)
     
    101101locally on the client that allows the following:
    102102</p><div class="variablelist"><dl><dt><span class="term">Read-ahead:</span></dt><dd><p>
    103 <a class="indexterm" name="id2615986"></a>
     103<a class="indexterm" name="id2622071"></a>
    104104                The client reads the local copy of the file, eliminating network latency.
    105105                </p></dd><dt><span class="term">Write caching:</span></dt><dd><p>
    106 <a class="indexterm" name="id2616004"></a>
     106<a class="indexterm" name="id2622090"></a>
    107107                The client writes to the local copy of the file, eliminating network latency.
    108108                </p></dd><dt><span class="term">Lock caching:</span></dt><dd><p>
    109 <a class="indexterm" name="id2616022"></a>
     109<a class="indexterm" name="id2622108"></a>
    110110                The client caches application locks locally, eliminating network latency.
    111111                </p></dd></dl></div><p>
    112 <a class="indexterm" name="id2616036"></a>
    113 <a class="indexterm" name="id2616043"></a>
    114 <a class="indexterm" name="id2616050"></a>
     112<a class="indexterm" name="id2622122"></a>
     113<a class="indexterm" name="id2622129"></a>
     114<a class="indexterm" name="id2622136"></a>
    115115The performance enhancement of oplocks is due to the opportunity of
    116116exclusive access to the file  even if it is opened with deny-none
    117117because Windows monitors the file's status for concurrent access from
    118118other processes.
    119 </p><div class="variablelist"><p class="title"><b>Windows Defines Four Kinds of Oplocks:</b></p><dl><dt><span class="term">Level1 Oplock</span></dt><dd><p>
    120 <a class="indexterm" name="id2616082"></a>
    121 <a class="indexterm" name="id2616088"></a>
    122 <a class="indexterm" name="id2616095"></a>
    123 <a class="indexterm" name="id2616102"></a>
     119</p><div class="variablelist" title="Windows Defines Four Kinds of Oplocks:"><p class="title"><b>Windows Defines Four Kinds of Oplocks:</b></p><dl><dt><span class="term">Level1 Oplock</span></dt><dd><p>
     120<a class="indexterm" name="id2622167"></a>
     121<a class="indexterm" name="id2622173"></a>
     122<a class="indexterm" name="id2622180"></a>
     123<a class="indexterm" name="id2622187"></a>
    124124                        The redirector sees that the file was opened with deny
    125125                        none (allowing concurrent access), verifies that no
     
    129129                        operations on the cached local file.
    130130                        </p><p>
    131 <a class="indexterm" name="id2616117"></a>
    132 <a class="indexterm" name="id2616124"></a>
    133 <a class="indexterm" name="id2616131"></a>
    134 <a class="indexterm" name="id2616138"></a>
     131<a class="indexterm" name="id2622203"></a>
     132<a class="indexterm" name="id2622210"></a>
     133<a class="indexterm" name="id2622217"></a>
     134<a class="indexterm" name="id2622224"></a>
    135135                        If a second process attempts to open the file, the open
    136136                        is deferred while the redirector "breaks" the original
     
    146146                        the oplock break.
    147147                        </p></dd><dt><span class="term">Level2 Oplock</span></dt><dd><p>
    148 <a class="indexterm" name="id2616177"></a>
    149 <a class="indexterm" name="id2616184"></a>
    150 <a class="indexterm" name="id2616191"></a>
     148<a class="indexterm" name="id2622262"></a>
     149<a class="indexterm" name="id2622269"></a>
     150<a class="indexterm" name="id2622276"></a>
    151151                                Performs like a Level1 oplock, except caching is only
    152152                operative for reads. All other operations are performed
    153153                on the server disk copy of the file.
    154154                </p></dd><dt><span class="term">Filter Oplock</span></dt><dd><p>
    155 <a class="indexterm" name="id2616211"></a>
     155<a class="indexterm" name="id2622296"></a>
    156156                                Does not allow write or delete file access.
    157157                </p></dd><dt><span class="term">Batch Oplock</span></dt><dd><p>
    158 <a class="indexterm" name="id2616229"></a>
     158<a class="indexterm" name="id2622315"></a>
    159159                                Manipulates file openings and closings and allows caching
    160160                of file attributes.
    161161                </p></dd></dl></div><p>
    162 <a class="indexterm" name="id2616243"></a>
     162<a class="indexterm" name="id2622329"></a>
    163163An important detail is that oplocks are invoked by the file system, not
    164164an application API. Therefore, an application can close an oplocked
     
    167167preparation for the subsequent open by the second process.
    168168</p><p>
    169 <a class="indexterm" name="id2616259"></a>
    170 <a class="indexterm" name="id2616266"></a>
    171 <a class="indexterm" name="id2616273"></a>
    172 <a class="indexterm" name="id2616280"></a>
     169<a class="indexterm" name="id2622345"></a>
     170<a class="indexterm" name="id2622352"></a>
     171<a class="indexterm" name="id2622359"></a>
     172<a class="indexterm" name="id2622366"></a>
    173173<span class="emphasis"><em>Opportunistic locking</em></span> is actually an improper name for this feature.
    174174The true benefit of this feature is client-side data caching, and
     
    180180client-side caching benefit is negated.
    181181</p><p>
    182 <a class="indexterm" name="id2616302"></a>
     182<a class="indexterm" name="id2622388"></a>
    183183The actual decision that a user or administrator should consider is
    184184whether it is sensible to share among multiple users data that will
     
    186186Deciding when to cache or not cache data is the real question, and thus
    187187oplocks should be treated as a toggle for client-side
    188 caching. Turn it &#8220;<span class="quote">on</span>&#8221; when client-side caching is desirable and
    189 reliable. Turn it &#8220;<span class="quote">off</span>&#8221; when client-side caching is redundant,
     188caching. Turn it <span class="quote">&#8220;<span class="quote">on</span>&#8221;</span> when client-side caching is desirable and
     189reliable. Turn it <span class="quote">&#8220;<span class="quote">off</span>&#8221;</span> when client-side caching is redundant,
    190190unreliable, or counterproductive.
    191191</p><p>
    192 <a class="indexterm" name="id2616327"></a>
    193 Oplocks is by default set to &#8220;<span class="quote">on</span>&#8221; by Samba on all
     192<a class="indexterm" name="id2622413"></a>
     193Oplocks is by default set to <span class="quote">&#8220;<span class="quote">on</span>&#8221;</span> by Samba on all
    194194configured shares, so careful attention should be given to each case to
    195195determine if the potential benefit is worth the potential for delays.
     
    197197where oplocks may be effectively configured.
    198198</p><p>
    199 <a class="indexterm" name="id2616346"></a>
    200 <a class="indexterm" name="id2616353"></a>
     199<a class="indexterm" name="id2622431"></a>
     200<a class="indexterm" name="id2622438"></a>
    201201Windows oplocks is a lightweight performance-enhancing
    202202feature. It is not a robust and reliable protocol. Every
     
    209209storm. This configuration will likely encounter problems with oplocks.
    210210</p><p>
    211 <a class="indexterm" name="id2616372"></a>
     211<a class="indexterm" name="id2622458"></a>
    212212Oplocks can be beneficial to perceived client performance when treated
    213213as a configuration toggle for client-side data caching. If the data
     
    223223continuous data availability.
    224224</p><p>
    225 <a class="indexterm" name="id2616395"></a>
    226 <a class="indexterm" name="id2616402"></a>
     225<a class="indexterm" name="id2622480"></a>
     226<a class="indexterm" name="id2622487"></a>
    227227Windows client failover behavior is more at risk of application
    228228interruption than other platforms because it is dependent upon an
     
    234234require restarting.
    235235</p><p>
    236 <a class="indexterm" name="id2616429"></a>
    237 <a class="indexterm" name="id2616435"></a>
    238 <a class="indexterm" name="id2616442"></a>
     236<a class="indexterm" name="id2622515"></a>
     237<a class="indexterm" name="id2622521"></a>
     238<a class="indexterm" name="id2622528"></a>
    239239If a client session has been caching writes and reads locally due to
    240240oplocks, it is likely that the data will be lost when the
     
    251251testing should be done with all affected applications with oplocks
    252252enabled and disabled.
    253 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2616466"></a>Exclusively Accessed Shares</h4></div></div></div><p>
     253</p><div class="sect3" title="Exclusively Accessed Shares"><div class="titlepage"><div><div><h4 class="title"><a name="id2622552"></a>Exclusively Accessed Shares</h4></div></div></div><p>
    254254Oplocks is most effective when it is confined to shares
    255255that are exclusively accessed by a single user, or by only one user at
     
    260260Home directories are the most obvious examples of where the performance
    261261benefit of oplocks can be safely realized.
    262 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2616487"></a>Multiple-Accessed Shares or Files</h4></div></div></div><p>
     262</p></div><div class="sect3" title="Multiple-Accessed Shares or Files"><div class="titlepage"><div><div><h4 class="title"><a name="id2622572"></a>Multiple-Accessed Shares or Files</h4></div></div></div><p>
    263263As each additional user accesses a file in a share with oplocks
    264264enabled, the potential for delays and resulting perceived poor
     
    272272the potential performance improvement is negated and eventually results
    273273in a performance bottleneck.
    274 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2616511"></a>UNIX or NFS Client-Accessed Files</h4></div></div></div><p>
    275 <a class="indexterm" name="id2616519"></a>
    276 <a class="indexterm" name="id2616526"></a>
     274</p></div><div class="sect3" title="UNIX or NFS Client-Accessed Files"><div class="titlepage"><div><div><h4 class="title"><a name="id2622603"></a>UNIX or NFS Client-Accessed Files</h4></div></div></div><p>
     275<a class="indexterm" name="id2622611"></a>
     276<a class="indexterm" name="id2622618"></a>
    277277Local UNIX and NFS clients access files without a mandatory
    278278file-locking mechanism. Thus, these client platforms are incapable of
     
    284284If files are shared between Windows clients and either local UNIX
    285285or NFS users, turn oplocks off.
    286 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2616546"></a>Slow and/or Unreliable Networks</h4></div></div></div><p>
    287 <a class="indexterm" name="id2616554"></a>
    288 <a class="indexterm" name="id2616561"></a>
    289 <a class="indexterm" name="id2616568"></a>
     286</p></div><div class="sect3" title="Slow and/or Unreliable Networks"><div class="titlepage"><div><div><h4 class="title"><a name="id2622639"></a>Slow and/or Unreliable Networks</h4></div></div></div><p>
     287<a class="indexterm" name="id2622647"></a>
     288<a class="indexterm" name="id2622654"></a>
     289<a class="indexterm" name="id2622660"></a>
    290290The biggest potential performance improvement for oplocks
    291291occurs when the client-side caching of reads and writes delivers the
     
    302302oplocks if there is any chance of multiple users
    303303regularly opening the same file.
    304 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2616594"></a>Multiuser Databases</h4></div></div></div><p>
    305 <a class="indexterm" name="id2616602"></a>
    306 <a class="indexterm" name="id2616608"></a>
    307 <a class="indexterm" name="id2616616"></a>
     304</p></div><div class="sect3" title="Multiuser Databases"><div class="titlepage"><div><div><h4 class="title"><a name="id2622686"></a>Multiuser Databases</h4></div></div></div><p>
     305<a class="indexterm" name="id2622694"></a>
     306<a class="indexterm" name="id2622701"></a>
     307<a class="indexterm" name="id2622708"></a>
    308308Multiuser databases clearly pose a risk due to their very nature  they are typically heavily
    309309accessed by numerous users at random intervals. Placing a multiuser database on a share with oplocks enabled
    310310will likely result in a locking management bottleneck on the Samba server. Whether the database application is
    311311developed in-house or a commercially available product, ensure that the share has oplocks disabled.
    312 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2616635"></a>PDM Data Shares</h4></div></div></div><p>
    313 <a class="indexterm" name="id2616642"></a>
    314 <a class="indexterm" name="id2616649"></a>
    315 <a class="indexterm" name="id2616656"></a>
    316 <a class="indexterm" name="id2616663"></a>
    317 <a class="indexterm" name="id2616670"></a>
     312</p></div><div class="sect3" title="PDM Data Shares"><div class="titlepage"><div><div><h4 class="title"><a name="id2622728"></a>PDM Data Shares</h4></div></div></div><p>
     313<a class="indexterm" name="id2622735"></a>
     314<a class="indexterm" name="id2622742"></a>
     315<a class="indexterm" name="id2622749"></a>
     316<a class="indexterm" name="id2622756"></a>
     317<a class="indexterm" name="id2622763"></a>
    318318Process data management (PDM) applications such as IMAN, Enovia, and Clearcase are increasing in usage with
    319319Windows client platforms and therefore with SMB datastores. PDM applications manage multiuser environments for
     
    323323application and PDM server to negotiate and maintain. It is appropriate to eliminate the client OS from any
    324324caching tasks, and the server from any oplocks management, by disabling oplocks on the share.
    325 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2616704"></a>Beware of Force User</h4></div></div></div><p>
    326 <a class="indexterm" name="id2616712"></a>
     325</p></div><div class="sect3" title="Beware of Force User"><div class="titlepage"><div><div><h4 class="title"><a name="id2622797"></a>Beware of Force User</h4></div></div></div><p>
     326<a class="indexterm" name="id2622805"></a>
    327327Samba includes an <code class="filename">smb.conf</code> parameter called <a class="link" href="smb.conf.5.html#FORCEUSER" target="_top">force user</a> that changes the user
    328328accessing a share from the incoming user to whatever user is defined by the <code class="filename">smb.conf</code> variable. If oplocks is
     
    333333</p><p>
    334334Avoid the combination of the following:
    335 </p><div class="itemizedlist"><ul type="disc"><li><p>
     335</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    336336        <a class="link" href="smb.conf.5.html#FORCEUSER" target="_top">force user</a> in the <code class="filename">smb.conf</code> share configuration.
    337         </p></li><li><p>
     337        </p></li><li class="listitem"><p>
    338338        Slow or unreliable networks.
    339         </p></li><li><p>
     339        </p></li><li class="listitem"><p>
    340340        Oplocks enabled.
    341         </p></li></ul></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2616792"></a>Advanced Samba Oplocks Parameters</h4></div></div></div><p>
    342 <a class="indexterm" name="id2616800"></a>
    343 <a class="indexterm" name="id2616807"></a>
    344 <a class="indexterm" name="id2616814"></a>
     341        </p></li></ul></div></div><div class="sect3" title="Advanced Samba Oplocks Parameters"><div class="titlepage"><div><div><h4 class="title"><a name="id2622885"></a>Advanced Samba Oplocks Parameters</h4></div></div></div><p>
     342<a class="indexterm" name="id2622893"></a>
     343<a class="indexterm" name="id2622900"></a>
     344<a class="indexterm" name="id2622907"></a>
    345345Samba provides oplock parameters that allow the
    346346administrator to adjust various properties of the oplock mechanism to
     
    351351<a class="link" href="smb.conf.5.html#OPLOCKCONTENTIONLIMIT" target="_top">oplock contention limit</a>.
    352352</p><p>
    353 <a class="indexterm" name="id2616854"></a>
     353<a class="indexterm" name="id2622947"></a>
    354354For most users, administrators, and environments, if these parameters
    355355are required, then the better option is simply to turn oplocks off.
    356 The Samba SWAT help text for both parameters reads: &#8220;<span class="quote">Do not change
    357 this parameter unless you have read and understood the Samba oplock code.</span>&#8221;
     356The Samba SWAT help text for both parameters reads: <span class="quote">&#8220;<span class="quote">Do not change
     357this parameter unless you have read and understood the Samba oplock code.</span>&#8221;</span>
    358358This is good advice.
    359 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2616871"></a>Mission-Critical, High-Availability</h4></div></div></div><p>
     359</p></div><div class="sect3" title="Mission-Critical, High-Availability"><div class="titlepage"><div><div><h4 class="title"><a name="id2622964"></a>Mission-Critical, High-Availability</h4></div></div></div><p>
    360360In mission-critical, high-availability environments, data integrity is
    361361often a priority. Complex and expensive configurations are implemented
     
    387387testing should be done with all affected applications with oplocks
    388388enabled and disabled.
    389 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2616938"></a>Samba Oplocks Control</h2></div></div></div><p>
     389</p></div></div></div><div class="sect1" title="Samba Oplocks Control"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2623031"></a>Samba Oplocks Control</h2></div></div></div><p>
    390390Oplocks is a unique Windows file locking feature. It is
    391391not really file locking, but is included in most discussions of Windows
     
    409409synchronizing the contents of the entire file back to the server for a single change.
    410410</p><p>
    411 Level1 Oplocks (also known as just plain &#8220;<span class="quote">oplocks</span>&#8221;) is another term for opportunistic locking.
     411Level1 Oplocks (also known as just plain <span class="quote">&#8220;<span class="quote">oplocks</span>&#8221;</span>) is another term for opportunistic locking.
    412412</p><p>
    413413Level2 Oplocks provides opportunistic locking for a file that will be treated as
     
    437437Another factor to consider is the perceived performance of file access. If oplocks provide no
    438438measurable speed benefit on your network, it might not be worth the hassle of dealing with them.
    439 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2617033"></a>Example Configuration</h3></div></div></div><p>
     439</p><div class="sect2" title="Example Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="id2623125"></a>Example Configuration</h3></div></div></div><p>
    440440In the following section we examine two distinct aspects of Samba locking controls.
    441 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2617043"></a>Disabling Oplocks</h4></div></div></div><p>
     441</p><div class="sect3" title="Disabling Oplocks"><div class="titlepage"><div><div><h4 class="title"><a name="id2623136"></a>Disabling Oplocks</h4></div></div></div><p>
    442442You can disable oplocks on a per-share basis with the following:
    443443</p><p>
    444 </p><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[acctdata]</code></em></td></tr><tr><td><a class="indexterm" name="id2617070"></a><em class="parameter"><code>oplocks = False</code></em></td></tr><tr><td><a class="indexterm" name="id2617082"></a><em class="parameter"><code>level2 oplocks = False</code></em></td></tr></table><p>
     444</p><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[acctdata]</code></em></td></tr><tr><td><a class="indexterm" name="id2623163"></a><em class="parameter"><code>oplocks = False</code></em></td></tr><tr><td><a class="indexterm" name="id2623174"></a><em class="parameter"><code>level2 oplocks = False</code></em></td></tr></table><p>
    445445</p><p>
    446446The default oplock type is Level1. Level2 oplocks are enabled on a per-share basis
     
    449449Alternately, you could disable oplocks on a per-file basis within the share:
    450450</p><p>
    451         </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2617118"></a><em class="parameter"><code>veto oplock files = /*.mdb/*.MDB/*.dbf/*.DBF/</code></em></td></tr></table><p>
     451        </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2623210"></a><em class="parameter"><code>veto oplock files = /*.mdb/*.MDB/*.dbf/*.DBF/</code></em></td></tr></table><p>
    452452</p><p>
    453453If you are experiencing problems with oplocks, as apparent from Samba's log entries,
    454454you may want to play it safe and disable oplocks and Level2 oplocks.
    455 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2617138"></a>Disabling Kernel Oplocks</h4></div></div></div><p>
     455</p></div><div class="sect3" title="Disabling Kernel Oplocks"><div class="titlepage"><div><div><h4 class="title"><a name="id2623231"></a>Disabling Kernel Oplocks</h4></div></div></div><p>
    456456Kernel oplocks is an <code class="filename">smb.conf</code> parameter that notifies Samba (if
    457457the UNIX kernel has the capability to send a Windows client an oplock
     
    466466basis in the <code class="filename">smb.conf</code> file.
    467467</p><p>
    468 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2617178"></a><em class="parameter"><code>kernel oplocks = yes</code></em></td></tr></table><p>
     468</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2623271"></a><em class="parameter"><code>kernel oplocks = yes</code></em></td></tr></table><p>
    469469The default is no.
    470470</p><p>
     
    481481<code class="filename">smb.conf</code> file as shown in <a class="link" href="locking.html#far1" title="Example 17.1. Share with Some Files Oplocked">&#8220;Share with Some Files Oplocked&#8221;</a>.
    482482</p><p>
    483 </p><div class="example"><a name="far1"></a><p class="title"><b>Example 17.1. Share with Some Files Oplocked</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2617255"></a><em class="parameter"><code>veto oplock files = /filename.htm/*.txt/</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[share_name]</code></em></td></tr><tr><td><a class="indexterm" name="id2617276"></a><em class="parameter"><code>veto oplock files = /*.exe/filename.ext/</code></em></td></tr></table></div></div><p><br class="example-break">
     483</p><div class="example"><a name="far1"></a><p class="title"><b>Example 17.1. Share with Some Files Oplocked</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2623347"></a><em class="parameter"><code>veto oplock files = /filename.htm/*.txt/</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[share_name]</code></em></td></tr><tr><td><a class="indexterm" name="id2623368"></a><em class="parameter"><code>veto oplock files = /*.exe/filename.ext/</code></em></td></tr></table></div></div><p><br class="example-break">
    484484</p><p>
    485485<a class="link" href="smb.conf.5.html#OPLOCKBREAKWAITTIME" target="_top">oplock break wait time</a> is an <code class="filename">smb.conf</code> parameter
    486486that adjusts the time interval for Samba to reply to an oplock break request. Samba recommends:
    487 &#8220;<span class="quote">Do not change this parameter unless you have read and understood the Samba oplock code.</span>&#8221;
     487<span class="quote">&#8220;<span class="quote">Do not change this parameter unless you have read and understood the Samba oplock code.</span>&#8221;</span>
    488488Oplock break wait time can only be configured globally in the <code class="filename">smb.conf</code> file as shown:
    489489</p><p>
    490         </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2617333"></a><em class="parameter"><code>oplock break wait time =  0 (default)</code></em></td></tr></table><p>
     490        </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2623426"></a><em class="parameter"><code>oplock break wait time =  0 (default)</code></em></td></tr></table><p>
    491491</p><p>
    492492<span class="emphasis"><em>Oplock break contention limit</em></span> is an <code class="filename">smb.conf</code> parameter that limits the
    493493response of the Samba server to grant an oplock if the configured
    494494number of contending clients reaches the limit specified by the parameter. Samba recommends
    495 &#8220;<span class="quote">Do not change this parameter unless you have read and understood the Samba oplock code.</span>&#8221;
     495<span class="quote">&#8220;<span class="quote">Do not change this parameter unless you have read and understood the Samba oplock code.</span>&#8221;</span>
    496496Oplock break contention limit can be enabled on a per-share basis, or globally for
    497497the entire server, in the <code class="filename">smb.conf</code> file as shown in <a class="link" href="locking.html#far3" title="Example 17.2. Configuration with Oplock Break Contention Limit">&#8220;Configuration with Oplock Break Contention Limit&#8221;</a>.
    498498</p><p>
    499 </p><div class="example"><a name="far3"></a><p class="title"><b>Example 17.2. Configuration with Oplock Break Contention Limit</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2617407"></a><em class="parameter"><code>oplock break contention limit =  2 (default)</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[share_name]</code></em></td></tr><tr><td><a class="indexterm" name="id2617428"></a><em class="parameter"><code>oplock break contention limit =  2 (default)</code></em></td></tr></table></div></div><p><br class="example-break">
    500 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2617446"></a>MS Windows Oplocks and Caching Controls</h2></div></div></div><p>
     499</p><div class="example"><a name="far3"></a><p class="title"><b>Example 17.2. Configuration with Oplock Break Contention Limit</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2623500"></a><em class="parameter"><code>oplock break contention limit =  2 (default)</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[share_name]</code></em></td></tr><tr><td><a class="indexterm" name="id2623521"></a><em class="parameter"><code>oplock break contention limit =  2 (default)</code></em></td></tr></table></div></div><p><br class="example-break">
     500</p></div></div></div><div class="sect1" title="MS Windows Oplocks and Caching Controls"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2623539"></a>MS Windows Oplocks and Caching Controls</h2></div></div></div><p>
    501501There is a known issue when running applications (like Norton Antivirus) on a Windows 2000/ XP
    502502workstation computer that can affect any application attempting to access shared database files
     
    506506the Windows 2000/XP operating system will attempt to increase performance by locking the
    507507files and caching information locally. When this occurs, the application is unable to
    508 properly function, which results in an &#8220;<span class="quote">Access Denied</span>&#8221;
     508properly function, which results in an <span class="quote">&#8220;<span class="quote">Access Denied</span>&#8221;</span>
    509509 error message being displayed during network operations.
    510510</p><p>
     
    513513have oplocks disabled in order to minimize the risk of data file corruption.
    514514This includes Windows 9x/Me, Windows NT, Windows 200x, and Windows XP.
    515 <sup>[<a name="id2617478" href="#ftn.id2617478" class="footnote">5</a>]</sup>
     515<sup>[<a name="id2623571" href="#ftn.id2623571" class="footnote">5</a>]</sup>
    516516</p><p>
    517517If you are using a Windows NT family workstation in place of a server, you must also
     
    531531The location of the client registry entry for oplocks has changed in
    532532Windows 2000 from the earlier location in Microsoft Windows NT.
    533 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     533</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    534534Windows 2000 will still respect the EnableOplocks registry value used to disable oplocks
    535535in earlier versions of Windows.
     
    544544                Default: 0 (not disabled)
    545545</pre><p>
    546 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     546</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    547547The OplocksDisabled registry value configures Windows clients to either request or not
    548548request oplocks on a remote file. To disable oplocks, the value of
     
    559559                Default: 0 (Disabled by Default)
    560560</pre><p>
    561 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     561</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    562562The EnableOplocks value configures Windows-based servers (including Workstations sharing
    563563files) to allow or deny oplocks on local files.
     
    566566</p><p>
    567567An illustration of how Level2 oplocks work follows:
    568 </p><div class="itemizedlist"><ul type="disc"><li><p>
     568</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    569569        Station 1 opens the file requesting oplock.
    570         </p></li><li><p>
     570        </p></li><li class="listitem"><p>
    571571        Since no other station has the file open, the server grants station 1 exclusive oplock.
    572         </p></li><li><p>
     572        </p></li><li class="listitem"><p>
    573573        Station 2 opens the file requesting oplock.
    574         </p></li><li><p>
     574        </p></li><li class="listitem"><p>
    575575        Since station 1 has not yet written to the file, the server asks station 1 to break
    576576        to Level2 oplock.
    577         </p></li><li><p>
     577        </p></li><li class="listitem"><p>
    578578        Station 1 complies by flushing locally buffered lock information to the server.
    579         </p></li><li><p>
     579        </p></li><li class="listitem"><p>
    580580        Station 1 informs the server that it has broken to level2 Oplock (alternately,
    581581        station 1 could have closed the file).
    582         </p></li><li><p>
     582        </p></li><li class="listitem"><p>
    583583        The server responds to station 2's open request, granting it Level2 oplock.
    584584        Other stations can likewise open the file and obtain Level2 oplock.
    585         </p></li><li><p>
     585        </p></li><li class="listitem"><p>
    586586        Station 2 (or any station that has the file open) sends a write request SMB.
    587587        The server returns the write response.
    588         </p></li><li><p>
     588        </p></li><li class="listitem"><p>
    589589        The server asks all stations that have the file open to break to none, meaning no
    590590        station holds any oplock on the file. Because the workstations can have no cached
    591591        writes or locks at this point, they need not respond to the break-to-none advisory;
    592592        all they need do is invalidate locally cashed read-ahead data.
    593         </p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2617633"></a>Workstation Service Entries</h3></div></div></div><pre class="programlisting">
     593        </p></li></ul></div><div class="sect2" title="Workstation Service Entries"><div class="titlepage"><div><div><h3 class="title"><a name="id2623726"></a>Workstation Service Entries</h3></div></div></div><pre class="programlisting">
    594594        \HKEY_LOCAL_MACHINE\System\
    595595                CurrentControlSet\Services\LanmanWorkstation\Parameters
     
    600600This indicates whether the redirector should use oplocks performance
    601601enhancement. This parameter should be disabled only to isolate problems.
    602 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2617655"></a>Server Service Entries</h3></div></div></div><pre class="programlisting">
     602</p></div><div class="sect2" title="Server Service Entries"><div class="titlepage"><div><div><h3 class="title"><a name="id2623748"></a>Server Service Entries</h3></div></div></div><pre class="programlisting">
    603603        \HKEY_LOCAL_MACHINE\System\
    604604                CurrentControlSet\Services\LanmanServer\Parameters
     
    629629request. Smaller values can allow detection of crashed clients more quickly but can
    630630potentially cause loss of cached data.
    631 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2617721"></a>Persistent Data Corruption</h2></div></div></div><p>
     631</p></div></div><div class="sect1" title="Persistent Data Corruption"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2623814"></a>Persistent Data Corruption</h2></div></div></div><p>
    632632If you have applied all of the settings discussed in this chapter but data corruption problems
    633633and other symptoms persist, here are some additional things to check out.
     
    640640to the new one. There are several known methods for doing this that can be found in
    641641our knowledge base.
    642 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2617747"></a>Common Errors</h2></div></div></div><p>
     642</p></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2623839"></a>Common Errors</h2></div></div></div><p>
    643643In some sites locking problems surface as soon as a server is installed; in other sites
    644644locking problems may not surface for a long time. Almost without exception, when a locking
     
    648648that have claimed that Samba caused data corruption. Three causes have been identified
    649649so far:
    650 </p><div class="itemizedlist"><ul type="disc"><li><p>
     650</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    651651        Incorrect configuration of oplocks (incompatible with the application
    652652        being used). This is a common problem even where MS Windows NT4 or MS Windows
     
    655655        disable oplocks on both the server and the client. Disabling of all forms of file
    656656        caching on the MS Windows client may be necessary also.
    657         </p></li><li><p>
     657        </p></li><li class="listitem"><p>
    658658        Defective network cards, cables, or hubs/switches. This is generally a more
    659659        prevalent factor with low-cost networking hardware, although occasionally there
    660660        have also been problems with incompatibilities in more up-market hardware.
    661         </p></li><li><p>
     661        </p></li><li class="listitem"><p>
    662662        There have been some random reports of Samba log files being written over data
    663663        files. This has been reported by very few sites (about five in the past 3 years)
     
    670670        Make sure that you give as much information as you possibly can to help isolate the
    671671        cause and to allow replication of the problem (an essential step in problem isolation and correction).
    672         </p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2617814"></a>locking.tdb Error Messages</h3></div></div></div><p>
    673                 &#8220;<span class="quote">
     672        </p></li></ul></div><div class="sect2" title="locking.tdb Error Messages"><div class="titlepage"><div><div><h3 class="title"><a name="id2623907"></a>locking.tdb Error Messages</h3></div></div></div><p>
     673                <span class="quote">&#8220;<span class="quote">
    674674                        We are seeing lots of errors in the Samba logs, like:
    675                 </span>&#8221;
     675                </span>&#8221;</span>
    676676</p><pre class="programlisting">
    677677tdb(/usr/local/samba_2.2.7/var/locks/locking.tdb): rec_read bad magic
     
    679679</pre><p>
    680680
    681                 &#8220;<span class="quote">
     681                <span class="quote">&#8220;<span class="quote">
    682682                        What do these mean?
    683                 </span>&#8221;
     683                </span>&#8221;</span>
    684684        </p><p>
    685685        This error indicates a corrupted tdb. Stop all instances of smbd, delete locking.tdb, and restart smbd.
    686         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2617845"></a>Problems Saving Files in MS Office on Windows XP</h3></div></div></div><a class="indexterm" name="id2617851"></a><p>This is a bug in Windows XP. More information can be
     686        </p></div><div class="sect2" title="Problems Saving Files in MS Office on Windows XP"><div class="titlepage"><div><div><h3 class="title"><a name="id2623937"></a>Problems Saving Files in MS Office on Windows XP</h3></div></div></div><a class="indexterm" name="id2623944"></a><p>This is a bug in Windows XP. More information can be
    687687                found in <a class="ulink" href="http://support.microsoft.com/?id=812937" target="_top">Microsoft Knowledge Base article 812937</a></p>.
    688688
    689         </div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2617869"></a>Long Delays Deleting Files over Network with XP SP1</h3></div></div></div><p>&#8220;<span class="quote">It sometimes takes approximately 35 seconds to delete files over the network after XP SP1 has been applied.</span>&#8221;</p><a class="indexterm" name="id2617882"></a><p>This is a bug in Windows XP. More information can be found in <a class="ulink" href="http://support.microsoft.com/?id=811492" target="_top">
     689        </div><div class="sect2" title="Long Delays Deleting Files over Network with XP SP1"><div class="titlepage"><div><div><h3 class="title"><a name="id2623962"></a>Long Delays Deleting Files over Network with XP SP1</h3></div></div></div><p><span class="quote">&#8220;<span class="quote">It sometimes takes approximately 35 seconds to delete files over the network after XP SP1 has been applied.</span>&#8221;</span></p><a class="indexterm" name="id2623974"></a><p>This is a bug in Windows XP. More information can be found in <a class="ulink" href="http://support.microsoft.com/?id=811492" target="_top">
    690690                                Microsoft Knowledge Base article 811492</a></p>.
    691         </div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2617901"></a>Additional Reading</h2></div></div></div><p>
     691        </div></div><div class="sect1" title="Additional Reading"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2623993"></a>Additional Reading</h2></div></div></div><p>
    692692You may want to check for an updated documentation regarding file and record locking issues on the Microsoft
    693693<a class="ulink" href="http://support.microsoft.com/" target="_top">Support</a> web site. Additionally, search for the word
     
    696696Section of the Microsoft MSDN Library on opportunistic locking:
    697697</p><p>
    698 <a class="indexterm" name="id2617937"></a>
    699 Microsoft Knowledge Base, &#8220;<span class="quote">Maintaining Transactional Integrity with OPLOCKS</span>&#8221;,
     698<a class="indexterm" name="id2624030"></a>
     699Microsoft Knowledge Base, <span class="quote">&#8220;<span class="quote">Maintaining Transactional Integrity with OPLOCKS</span>&#8221;</span>,
    700700Microsoft Corporation, April 1999, <a class="ulink" href="http://support.microsoft.com/?id=224992" target="_top">Microsoft
    701701KB Article 224992</a>.
    702702</p><p>
    703 <a class="indexterm" name="id2617961"></a>
    704 Microsoft Knowledge Base, &#8220;<span class="quote">Configuring Opportunistic Locking in Windows 2000</span>&#8221;,
     703<a class="indexterm" name="id2624054"></a>
     704Microsoft Knowledge Base, <span class="quote">&#8220;<span class="quote">Configuring Opportunistic Locking in Windows 2000</span>&#8221;</span>,
    705705Microsoft Corporation, April 2001 <a class="ulink" href="http://support.microsoft.com/?id=296264" target="_top">Microsoft KB Article 296264</a>.
    706706</p><p>
    707 <a class="indexterm" name="id2617985"></a>
    708 Microsoft Knowledge Base, &#8220;<span class="quote">PC Ext: Explanation of Opportunistic Locking on Windows NT</span>&#8221;,
     707<a class="indexterm" name="id2624078"></a>
     708Microsoft Knowledge Base, <span class="quote">&#8220;<span class="quote">PC Ext: Explanation of Opportunistic Locking on Windows NT</span>&#8221;</span>,
    709709Microsoft Corporation, April 1995 <a class="ulink" href="http://support.microsoft.com/?id=129202" target="_top">Microsoft
    710710KB Article 129202</a>.
    711 </p></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id2617478" href="#id2617478" class="para">5</a>] </sup>Microsoft has documented this in Knowledge Base article 300216.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="AccessControls.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="securing-samba.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 16. File, Directory, and Share Access Controls </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 18. Securing Samba</td></tr></table></div></body></html>
     711</p></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id2623571" href="#id2623571" class="para">5</a>] </sup>Microsoft has documented this in Knowledge Base article 300216.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="AccessControls.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="securing-samba.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 16. File, Directory, and Share Access Controls </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 18. Securing Samba</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/migration.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part IV. Migration and Updating</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="cfgsmarts.html" title="Chapter 34. Advanced Configuration Techniques"><link rel="next" href="upgrading-to-3.0.html" title="Chapter 35. Updating and Upgrading Samba"></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">Part IV. Migration and Updating</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="cfgsmarts.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="upgrading-to-3.0.html">Next</a></td></tr></table><hr></div><div class="part" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="migration"></a>Part IV. Migration and Updating</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="upgrading-to-3.0.html">35. Updating and Upgrading Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2676238">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676275">Upgrading from Samba-3.0.x to Samba-3.2.0</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676324">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2676475">New Features in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676484">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2677694">New Functionality</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NT4Migration.html">36. Migration from NT4 PDC to Samba-3 PDC</a></span></dt><dd><dl><dt><span class="sect1"><a href="NT4Migration.html#id2679090">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2679125">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2680070">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2680306">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2680392">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="SWAT.html">37. SWAT: The Samba Web Administration Tool</a></span></dt><dd><dl><dt><span class="sect1"><a href="SWAT.html#id2681115">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2681245">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2681264">Validate SWAT Installation</a></span></dt><dt><span class="sect2"><a href="SWAT.html#xinetd">Enabling SWAT for Use</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2681902">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682054">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2682252">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2682265">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682326">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682428">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682483">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682540">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682603">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682647">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682666">The Password Change Page</a></span></dt></dl></dd></dl></dd></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="cfgsmarts.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="upgrading-to-3.0.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 34. Advanced Configuration Techniques </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 35. Updating and Upgrading Samba</td></tr></table></div></body></html>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part IV. Migration and Updating</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="cfgsmarts.html" title="Chapter 34. Advanced Configuration Techniques"><link rel="next" href="upgrading-to-3.0.html" title="Chapter 35. Updating and Upgrading Samba"></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">Part IV. Migration and Updating</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="cfgsmarts.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="upgrading-to-3.0.html">Next</a></td></tr></table><hr></div><div class="part" title="Part IV. Migration and Updating"><div class="titlepage"><div><div><h1 class="title"><a name="migration"></a>Part IV. Migration and Updating</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="upgrading-to-3.0.html">35. Updating and Upgrading Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2682300">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682336">Upgrading from Samba-3.0.x to Samba-3.2.0</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682386">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2682537">New Features in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682546">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2683756">New Functionality</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NT4Migration.html">36. Migration from NT4 PDC to Samba-3 PDC</a></span></dt><dd><dl><dt><span class="sect1"><a href="NT4Migration.html#id2685152">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2685187">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2686132">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2686367">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2686454">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="SWAT.html">37. SWAT: The Samba Web Administration Tool</a></span></dt><dd><dl><dt><span class="sect1"><a href="SWAT.html#id2687177">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2687302">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2687321">Validate SWAT Installation</a></span></dt><dt><span class="sect2"><a href="SWAT.html#xinetd">Enabling SWAT for Use</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2687958">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688110">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2688308">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2688322">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688382">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688484">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688540">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688596">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688659">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688703">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688722">The Password Change Page</a></span></dt></dl></dd></dl></dd></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="cfgsmarts.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="upgrading-to-3.0.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 34. Advanced Configuration Techniques </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 35. Updating and Upgrading Samba</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/msdfs.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 20. Hosting a Microsoft Distributed File System Tree</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="InterdomainTrusts.html" title="Chapter 19. Interdomain Trust Relationships"><link rel="next" href="classicalprinting.html" title="Chapter 21. Classical Printing Support"></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 20. Hosting a Microsoft Distributed File System Tree</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="InterdomainTrusts.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="classicalprinting.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="msdfs"></a>Chapter 20. Hosting a Microsoft Distributed File System Tree</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Shirish</span> <span class="orgname">Samba Team &amp; Veritas Software</span> <span class="surname">Kalele</span></h3><div class="affiliation"><span class="orgname">Samba Team &amp; Veritas Software<br></span><div class="address"><p><br>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 20. Hosting a Microsoft Distributed File System Tree</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="InterdomainTrusts.html" title="Chapter 19. Interdomain Trust Relationships"><link rel="next" href="classicalprinting.html" title="Chapter 21. Classical Printing Support"></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 20. Hosting a Microsoft Distributed File System Tree</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="InterdomainTrusts.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="classicalprinting.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 20. Hosting a Microsoft Distributed File System Tree"><div class="titlepage"><div><div><h2 class="title"><a name="msdfs"></a>Chapter 20. Hosting a Microsoft Distributed File System Tree</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Shirish</span> <span class="surname">Kalele</span></h3><div class="affiliation"><span class="orgname">Samba Team &amp; Veritas Software<br></span><div class="address"><p><br>
    22                                <code class="email">&lt;<a class="email" href="mailto:samba@samba.org">samba@samba.org</a>&gt;</code><br>
    3                         </p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">12 Jul 2000</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="msdfs.html#id2621456">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2621875">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2621908">MSDFS UNIX Path Is Case-Critical</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2621456"></a>Features and Benefits</h2></div></div></div><p>
    4 <a class="indexterm" name="id2621464"></a>
    5 <a class="indexterm" name="id2621473"></a>
    6 <a class="indexterm" name="id2621480"></a>
    7 <a class="indexterm" name="id2621487"></a>
    8 <a class="indexterm" name="id2621494"></a>
     3                        </p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">12 Jul 2000</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="msdfs.html#id2627553">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2627972">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2628005">MSDFS UNIX Path Is Case-Critical</a></span></dt></dl></dd></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2627553"></a>Features and Benefits</h2></div></div></div><p>
     4<a class="indexterm" name="id2627561"></a>
     5<a class="indexterm" name="id2627571"></a>
     6<a class="indexterm" name="id2627578"></a>
     7<a class="indexterm" name="id2627584"></a>
     8<a class="indexterm" name="id2627591"></a>
    99        The distributed file system (DFS) provides a means of separating the logical
    1010        view of files and directories that users see from the actual physical locations
     
    1212        storage expansion, load balancing, and so on.
    1313        </p><p>
    14 <a class="indexterm" name="id2621509"></a>
    15 <a class="indexterm" name="id2621516"></a>
    16 <a class="indexterm" name="id2621522"></a>
     14<a class="indexterm" name="id2627606"></a>
     15<a class="indexterm" name="id2627613"></a>
     16<a class="indexterm" name="id2627620"></a>
    1717        For information about DFS, refer to the <a class="ulink" href="http://www.microsoft.com/NTServer/nts/downloads/winfeatures/NTSDistrFile/AdminGuide.asp" target="_top">Microsoft
    1818        documentation</a>.  This document explains how to host a DFS tree on a UNIX machine (for DFS-aware clients
    1919        to browse) using Samba.
    2020        </p><p>
    21 <a class="indexterm" name="id2621543"></a>
    22 <a class="indexterm" name="id2621550"></a>
    23 <a class="indexterm" name="id2621556"></a>
    24 <a class="indexterm" name="id2621563"></a>
     21<a class="indexterm" name="id2627640"></a>
     22<a class="indexterm" name="id2627647"></a>
     23<a class="indexterm" name="id2627654"></a>
     24<a class="indexterm" name="id2627661"></a>
    2525        A Samba server can be made a DFS server by setting the global Boolean <a class="link" href="smb.conf.5.html#HOSTMSDFS" target="_top">host msdfs</a>
    2626        parameter in the <code class="filename">smb.conf</code> file. You designate a share as a DFS root using the share-level Boolean
     
    3131        case, <em class="parameter"><code>\\storage1\share1</code></em>).
    3232        </p><p>
    33 <a class="indexterm" name="id2621625"></a>
    34 <a class="indexterm" name="id2621632"></a>
    35 <a class="indexterm" name="id2621639"></a>
    36 <a class="indexterm" name="id2621645"></a>
     33<a class="indexterm" name="id2627722"></a>
     34<a class="indexterm" name="id2627729"></a>
     35<a class="indexterm" name="id2627736"></a>
     36<a class="indexterm" name="id2627743"></a>
    3737        DFS trees on Samba work with all DFS-aware clients ranging from Windows 95 to 200x.
    3838        <a class="link" href="msdfs.html#dfscfg" title="Example 20.1. smb.conf with DFS Configured">The following sample configuration</a> shows how to setup a DFS tree on a Samba server.
     
    4646<code class="prompt">root# </code><strong class="userinput"><code>ln -s msdfs:serverB\\share,serverC\\share linkb</code></strong>
    4747</pre><p>
    48 </p><div class="example"><a name="dfscfg"></a><p class="title"><b>Example 20.1. smb.conf with DFS Configured</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2621755"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2621767"></a><em class="parameter"><code>host msdfs   = yes</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[dfs]</code></em></td></tr><tr><td><a class="indexterm" name="id2621787"></a><em class="parameter"><code>path = /export/dfsroot</code></em></td></tr><tr><td><a class="indexterm" name="id2621799"></a><em class="parameter"><code>msdfs root = yes</code></em></td></tr></table></div></div><br class="example-break"><p>
    49 <a class="indexterm" name="id2621814"></a>
    50 <a class="indexterm" name="id2621821"></a>
    51 <a class="indexterm" name="id2621827"></a>
     48</p><div class="example"><a name="dfscfg"></a><p class="title"><b>Example 20.1. smb.conf with DFS Configured</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2627852"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2627864"></a><em class="parameter"><code>host msdfs   = yes</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[dfs]</code></em></td></tr><tr><td><a class="indexterm" name="id2627885"></a><em class="parameter"><code>path = /export/dfsroot</code></em></td></tr><tr><td><a class="indexterm" name="id2627896"></a><em class="parameter"><code>msdfs root = yes</code></em></td></tr></table></div></div><br class="example-break"><p>
     49<a class="indexterm" name="id2627911"></a>
     50<a class="indexterm" name="id2627918"></a>
     51<a class="indexterm" name="id2627925"></a>
    5252        You should set up the permissions and ownership of the directory acting as the DFS root so that only
    5353        designated users can create, delete, or modify the msdfs links. Also note that symlink names should be all
     
    5555        name. Finally, set up the symbolic links to point to the network shares you want and start Samba.
    5656        </p><p>
    57 <a class="indexterm" name="id2621852"></a>
    58 <a class="indexterm" name="id2621859"></a>
     57<a class="indexterm" name="id2627949"></a>
     58<a class="indexterm" name="id2627956"></a>
    5959        Users on DFS-aware clients can now browse the DFS tree on the Samba server at
    6060        <code class="constant">\\samba\dfs</code>. Accessing links linka or linkb (which appear as directories to the client)
    6161        takes users directly to the appropriate shares on the network.
    62         </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2621875"></a>Common Errors</h2></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>Windows clients need to be rebooted
     62        </p></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2627972"></a>Common Errors</h2></div></div></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Windows clients need to be rebooted
    6363                if a previously mounted non-DFS share is made a DFS
    6464                root, or vice versa. A better way is to introduce a
    65                 new share and make it the DFS root.</p></li><li><p>Currently, there's a restriction that msdfs
    66                 symlink names should all be lowercase.</p></li><li><p>For security purposes, the directory
     65                new share and make it the DFS root.</p></li><li class="listitem"><p>Currently, there's a restriction that msdfs
     66                symlink names should all be lowercase.</p></li><li class="listitem"><p>For security purposes, the directory
    6767                acting as the root of the DFS tree should have ownership
    6868                and permissions set so only designated users can
    69                 modify the symbolic links in the directory.</p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2621908"></a>MSDFS UNIX Path Is Case-Critical</h3></div></div></div><p>
     69                modify the symbolic links in the directory.</p></li></ul></div><div class="sect2" title="MSDFS UNIX Path Is Case-Critical"><div class="titlepage"><div><div><h3 class="title"><a name="id2628005"></a>MSDFS UNIX Path Is Case-Critical</h3></div></div></div><p>
    7070                A network administrator sent advice to the Samba mailing list
    7171                after long sessions trying to determine why DFS was not working.
    7272                His advice is worth noting.
    73                 </p><p>&#8220;<span class="quote">
     73                </p><p><span class="quote">&#8220;<span class="quote">
    7474                I spent some time trying to figure out why my particular
    7575                DFS root wasn't working. I noted in the documentation that
     
    7777                amended that the entire path to the symlink should all be
    7878                in lowercase as well.
    79                 </span>&#8221;</p><p>
    80                 &#8220;<span class="quote">For example, I had a share defined as such:</span>&#8221;
    81                 </p><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[pub]</code></em></td></tr><tr><td><a class="indexterm" name="id2621949"></a><em class="parameter"><code>path = /export/home/Shares/public_share</code></em></td></tr><tr><td><a class="indexterm" name="id2621961"></a><em class="parameter"><code>msdfs root = yes</code></em></td></tr></table><p>
    82                 &#8220;<span class="quote">and I could not make my Windows 9x/Me (with the dfs client installed) follow this symlink:</span>&#8221;
     79                </span>&#8221;</span></p><p>
     80                <span class="quote">&#8220;<span class="quote">For example, I had a share defined as such:</span>&#8221;</span>
     81                </p><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[pub]</code></em></td></tr><tr><td><a class="indexterm" name="id2628046"></a><em class="parameter"><code>path = /export/home/Shares/public_share</code></em></td></tr><tr><td><a class="indexterm" name="id2628058"></a><em class="parameter"><code>msdfs root = yes</code></em></td></tr></table><p>
     82                <span class="quote">&#8220;<span class="quote">and I could not make my Windows 9x/Me (with the dfs client installed) follow this symlink:</span>&#8221;</span>
    8383                </p><pre class="screen">
    8484                damage1 -&gt; msdfs:damage\test-share
    8585                </pre><p>
    8686                </p><p>
    87                 &#8220;<span class="quote">Running a debug level of 10 reveals:</span>&#8221;
     87                <span class="quote">&#8220;<span class="quote">Running a debug level of 10 reveals:</span>&#8221;</span>
    8888                </p><pre class="programlisting">
    8989                [2003/08/20 11:40:33, 5] msdfs/msdfs.c:is_msdfs_link(176)
    9090                  is_msdfs_link: /export/home/shares/public_share/* does not exist.
    9191                </pre><p>
    92                 &#8220;<span class="quote">Curious. So I changed the directory name from <code class="constant">.../Shares/...</code> to
    93                 <code class="constant">.../shares/...</code> (along with my service definition) and it worked!</span>&#8221;
     92                <span class="quote">&#8220;<span class="quote">Curious. So I changed the directory name from <code class="constant">.../Shares/...</code> to
     93                <code class="constant">.../shares/...</code> (along with my service definition) and it worked!</span>&#8221;</span>
    9494                </p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="InterdomainTrusts.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="classicalprinting.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 19. Interdomain Trust Relationships </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 21. Classical Printing Support</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/optional.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part III. Advanced Configuration</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="ClientConfig.html" title="Chapter 8. MS Windows Network Configuration Guide"><link rel="next" href="ChangeNotes.html" title="Chapter 9. Important and Critical Change Notes for the Samba 3.x Series"></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">Part III. Advanced Configuration</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ClientConfig.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ChangeNotes.html">Next</a></td></tr></table><hr></div><div class="part" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="optional"></a>Part III. Advanced Configuration</h1></div></div></div><div class="partintro" lang="en"><div><div><div><h1 class="title"><a name="id2578501"></a>Valuable Nuts and Bolts Information</h1></div></div></div><p>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part III. Advanced Configuration</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="ClientConfig.html" title="Chapter 8. MS Windows Network Configuration Guide"><link rel="next" href="ChangeNotes.html" title="Chapter 9. Important and Critical Change Notes for the Samba 3.x Series"></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">Part III. Advanced Configuration</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ClientConfig.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ChangeNotes.html">Next</a></td></tr></table><hr></div><div class="part" title="Part III. Advanced Configuration"><div class="titlepage"><div><div><h1 class="title"><a name="optional"></a>Part III. Advanced Configuration</h1></div></div></div><div class="partintro" title="Valuable Nuts and Bolts Information"><div><div><div><h1 class="title"><a name="id2584572"></a>Valuable Nuts and Bolts Information</h1></div></div></div><p>
    22Samba has several features that you might want or might not want to use.
    33The chapters in this part each cover specific Samba features.
    4 </p><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="ChangeNotes.html">9. Important and Critical Change Notes for the Samba 3.x Series</a></span></dt><dd><dl><dt><span class="sect1"><a href="ChangeNotes.html#id2578591">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2578603">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2578662">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2578974">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579095">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579276">LDAP Changes in Samba-3.0.23</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NetworkBrowsing.html">10. Network Browsing</a></span></dt><dd><dl><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579539">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579723">What Is Browsing?</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#netdiscuss">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583150">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583358">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583498">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584183">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2584468">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584620">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2584823">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2585107">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2586371">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586398">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586471">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586519">I Get an "Unable to browse the network" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586766">Invalid Cached Share References Affects Network Browsing</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="passdb.html">11. Account Information Databases</a></span></dt><dd><dl><dt><span class="sect1"><a href="passdb.html#id2587249">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2587476">New Account Storage Systems</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#passdbtech">Technical Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2588044">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a></span></dt><dt><span class="sect2"><a href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2589112">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#acctmgmttools">Account Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2589966">The smbpasswd Tool</a></span></dt><dt><span class="sect2"><a href="passdb.html#pdbeditthing">The pdbedit Tool</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2592519">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2592572">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2592915">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2593072">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2595597">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2595602">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2595640">Configuration of auth methods</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="groupmapping.html">12. Group Mapping: MS Windows and UNIX</a></span></dt><dd><dl><dt><span class="sect1"><a href="groupmapping.html#id2595891">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2596307">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2596644">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2597278">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598143">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2598220">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2598231">Sample smb.conf Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598403">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2598530">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2598543">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598630">Adding Domain Users to the Workstation Power Users Group</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NetCommand.html">13. Remote and Local Management: The Net Command</a></span></dt><dd><dl><dt><span class="sect1"><a href="NetCommand.html#id2599024">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2599319">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2599558">Adding, Renaming, or Deletion of Group Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#nestedgrpmgmgt">Nested Group Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2600928">UNIX and Windows User Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#sbeuseraddn">Adding User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601139">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601187">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601256">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2601684">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2601699">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602068">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2602524">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2602569">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602757">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602787">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2603410">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2603661">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603680">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603746">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603862">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603879">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2603923">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2603958">Restoring the IDMAP Database Dump File</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></span></dt></dl></dd><dt><span class="chapter"><a href="idmapper.html">14. Identity Mapping (IDMAP)</a></span></dt><dd><dl><dt><span class="sect1"><a href="idmapper.html#id2604468">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2604493">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2605507">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2605741">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2605813">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2605876">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2606598">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2607774">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="rights.html">15. User Rights and Privileges</a></span></dt><dd><dl><dt><span class="sect1"><a href="rights.html#id2608451">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2608726">Using the net rpc rights Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2609072">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2609893">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2610070">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="AccessControls.html">16. File, Directory, and Share Access Controls</a></span></dt><dd><dl><dt><span class="sect1"><a href="AccessControls.html#id2610573">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2610760">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2611116">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2611240">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2611906">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2611939">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2612307">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2612644">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2612982">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2613130">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2613477">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2613483">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613530">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613601">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613745">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613960">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614117">Interaction with the Standard Samba create mask Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614486">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614559">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2614978">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2614990">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2615312">File Operations Done as root with force user Set</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2615358">MS Word with Samba Changes Owner of File</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="locking.html">17. File and Record Locking</a></span></dt><dd><dl><dt><span class="sect1"><a href="locking.html#id2615585">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2615682">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2615940">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2616938">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617033">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617446">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617633">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617655">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617721">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2617747">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617814">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617845">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617869">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617901">Additional Reading</a></span></dt></dl></dd><dt><span class="chapter"><a href="securing-samba.html">18. Securing Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="securing-samba.html#id2618075">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2618174">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2618320">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2618336">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618490">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618550">Using Interface Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#firewallports">Using a Firewall</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2619044">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2619099">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2619142">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2619158">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="InterdomainTrusts.html">19. Interdomain Trust Relationships</a></span></dt><dd><dl><dt><span class="sect1"><a href="InterdomainTrusts.html#id2619747">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2620105">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620141">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620238">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620323">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2620532">Configuring Samba NT-Style Domain Trusts</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2621219">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2621232">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2621278">Problems with LDAP ldapsam and Older Versions of smbldap-tools</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="msdfs.html">20. Hosting a Microsoft Distributed File System Tree</a></span></dt><dd><dl><dt><span class="sect1"><a href="msdfs.html#id2621456">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2621875">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2621908">MSDFS UNIX Path Is Case-Critical</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="classicalprinting.html">21. Classical Printing Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="classicalprinting.html#id2622106">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2622330">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622481">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2622540">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2622641">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623122">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2623522">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2623977">Detailed Explanation Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2626693">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2626862">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2626984">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2627200">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2627521">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2627663">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2627756">Add Printer Wizard Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#inst-rpc">Installing Print Drivers Using rpcclient</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2629689">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2629706">First Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630271">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630390">Always Make First Client Connection as root or printer admin</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2630563">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2630584">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630951">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631207">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631467">Error Message: Cannot connect under a different Name</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631581">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631890">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631999">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2632036">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632082">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632117">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632132">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632150">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2632283">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632557">The addprinter Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632596">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632744">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632774">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632780">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632821">My Print Jobs Get Spooled into the Spooling Directory, but Then Get Lost</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="CUPS-printing.html">22. CUPS Printing Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="CUPS-printing.html#id2632968">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2632974">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633034">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633153">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633268">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633517">Simple smb.conf Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633762">More Complex CUPS smb.conf Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2634138">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2634156">Central Spooling vs. Peer-to-Peer Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634206">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634441">Installation of Windows Client Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634728">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2634850">Advanced Intelligent Printing with PostScript Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635579">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635733">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635816">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635936">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636848">Filtering  Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637005">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637193">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637361">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637630">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637715">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637934">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638508">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638521">mime.convs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638590">Raw Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638698">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638977">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640025">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640148">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640243">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640259">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640321">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640393">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640498">Network Printing (Windows Clients and UNIX/Samba Print
    5 Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640516">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640706">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640785">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640876">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640920">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640988">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641003">Printer Drivers Running in Kernel Mode Cause Many
    6 Problems</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641041">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641059">CUPS: A Magical Stone?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641102">PostScript Drivers with No Major Problems, Even in Kernel
    7 Mode</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2641189">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641212">cupsaddsmb: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641310">Prepare Your smb.conf for cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641591">CUPS PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641830">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641949">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641974">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642037">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642336">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642554">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642694">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642886">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643030">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643152">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643233">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643314">Installing the PostScript Driver on a Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-avoidps1">Avoiding Critical PostScript Driver Settings on the Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2643549">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2643723">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643895">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644000">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644132">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645315">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2645661">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645729">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645795">Losing *.tdb Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645846">Using tdbbackup</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2645965">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646141">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646962">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647435">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2647471">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647525">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647565">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647706">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647851">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647917">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647957">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647971">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648188">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2648264">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648349">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648488">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2648535">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648832">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648943">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2648949">Windows 9x/Me Client Can't Install Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#root-ask-loop">cupsaddsmb Keeps Asking for Root Password in Never-ending Loop</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649025">cupsaddsmb or rpcclient addriver Emit Error</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649063">cupsaddsmb Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649137">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649162">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649253">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649304">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649342">Can't Use cupsaddsmb on Samba Server, Which Is a PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649378">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649412">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649445">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649486">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649512">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649558">Print Options for All Users Can't Be Set on Windows 200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649842">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649897">cupsaddsmb Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649947">Permissions on /var/spool/samba/ Get Reset After Each Reboot</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650045">Print Queue Called lp Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650114">Location of Adobe PostScript Driver Files for cupsaddsmb</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2650168">Overview of the CUPS Printing Processes</a></span></dt></dl></dd><dt><span class="chapter"><a href="VFS.html">23. Stackable VFS modules</a></span></dt><dd><dl><dt><span class="sect1"><a href="VFS.html#id2650356">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2650394">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2650789">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2650795">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2650836">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651054">extd_audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#fakeperms">fake_perms</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651380">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651777">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651827">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2652729">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2652755">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2652814">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2652854">vscan-clamav</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="winbind.html">24. Winbind: Use of Domain Accounts</a></span></dt><dd><dl><dt><span class="sect1"><a href="winbind.html#id2653118">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2653461">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2653551">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2653704">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2653749">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2653875">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2653925">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654018">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654066">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654298">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654453">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654529">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2654586">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2654592">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654706">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654858">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2657317">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2657366">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2657408">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2657444">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="AdvancedNetworkManagement.html">25. Advanced Network Management</a></span></dt><dd><dl><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657633">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657660">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657803">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2658393">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658618">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658661">Limiting Logon Connections</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="PolicyMgmt.html">26. System and Account Policies</a></span></dt><dd><dl><dt><span class="sect1"><a href="PolicyMgmt.html#id2658804">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2659098">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2660133">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2660146">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2660228">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2660268">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2660333">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2660490">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2660502">Policy Does Not Work</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="ProfileMgmt.html">27. Desktop Profile Management</a></span></dt><dd><dl><dt><span class="sect1"><a href="ProfileMgmt.html#id2660587">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2660636">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2660690">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2661296">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662645">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662678">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662777">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2663129">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2663269">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2663347">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2663378">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2663529">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2664596">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2664607">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664669">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664840">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2665004">Debugging Roaming Profiles and NT4-style Domain Policies</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="pam.html">28. PAM-Based Distributed Authentication</a></span></dt><dd><dl><dt><span class="sect1"><a href="pam.html#id2665180">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2665810">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2665864">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2666875">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667181">smb.conf PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667262">Remote CIFS Authentication Using winbindd.so</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667365">Password Synchronization Using pam_smbpass.so</a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2667759">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2667770">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667868">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="integrate-ms-networks.html">29. Integrating MS Windows Networks with Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668091">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668111">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668240">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668313">/etc/hosts</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668502">/etc/resolv.conf</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668538">/etc/host.conf</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668589">/etc/nsswitch.conf</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669148">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669234">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669410">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669438">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669465">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2669603">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669616">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669647">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669689">Samba Server Name-Change Problem</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="unicode.html">30. Unicode/Charsets</a></span></dt><dd><dl><dt><span class="sect1"><a href="unicode.html#id2669894">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2669946">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670080">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670215">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670247">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2670386">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2671027">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2671150">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2671297">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2671302">CP850.so Can't Be Found</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Backup.html">31. Backup Techniques</a></span></dt><dd><dl><dt><span class="sect1"><a href="Backup.html#id2671410">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2671454">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2671551">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671723">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671892">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671940">BOBS: Browseable Online Backup System</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="SambaHA.html">32. High Availability</a></span></dt><dd><dl><dt><span class="sect1"><a href="SambaHA.html#id2672036">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2672157">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2672191">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2672321">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673034">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673115">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673255">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673292">Conclusions</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="largefile.html">33. Handling Large Directories</a></span></dt><dt><span class="chapter"><a href="cfgsmarts.html">34. Advanced Configuration Techniques</a></span></dt><dd><dl><dt><span class="sect1"><a href="cfgsmarts.html#id2673923">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2675343">Multiple Virtual Server Hosting</a></span></dt></dl></dd></dl></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ClientConfig.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ChangeNotes.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 8. MS Windows Network Configuration Guide </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 9. Important and Critical Change Notes for the Samba 3.x Series</td></tr></table></div></body></html>
     4</p><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="ChangeNotes.html">9. Important and Critical Change Notes for the Samba 3.x Series</a></span></dt><dd><dl><dt><span class="sect1"><a href="ChangeNotes.html#id2584662">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2584674">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2584733">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585045">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585166">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585347">LDAP Changes in Samba-3.0.23</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NetworkBrowsing.html">10. Network Browsing</a></span></dt><dd><dl><dt><span class="sect1"><a href="NetworkBrowsing.html#id2585610">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2585793">What Is Browsing?</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#netdiscuss">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589216">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589424">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589564">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590249">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2590534">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590686">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2590890">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2591173">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2592438">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592464">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592537">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592585">I Get an "<span class="errorname">Unable to browse the network</span>" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592832">Invalid Cached Share References Affects Network Browsing</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="passdb.html">11. Account Information Databases</a></span></dt><dd><dl><dt><span class="sect1"><a href="passdb.html#id2593316">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2593543">New Account Storage Systems</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#passdbtech">Technical Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2594111">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a></span></dt><dt><span class="sect2"><a href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2595179">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#acctmgmttools">Account Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2596033">The <code class="literal">smbpasswd</code> Tool</a></span></dt><dt><span class="sect2"><a href="passdb.html#pdbeditthing">The <code class="literal">pdbedit</code> Tool</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2598586">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2598639">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2598981">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2599139">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2601663">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2601669">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2601707">Configuration of <em class="parameter"><code>auth methods</code></em></a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="groupmapping.html">12. Group Mapping: MS Windows and UNIX</a></span></dt><dd><dl><dt><span class="sect1"><a href="groupmapping.html#id2601958">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2602374">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2602711">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2603344">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2604210">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2604286">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2604298">Sample <code class="filename">smb.conf</code> Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2604470">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2604597">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2604610">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2604697">Adding Domain Users to the Workstation Power Users Group</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NetCommand.html">13. Remote and Local Management: The Net Command</a></span></dt><dd><dl><dt><span class="sect1"><a href="NetCommand.html#id2605091">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2605385">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2605625">Adding, Renaming, or Deletion of Group Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#nestedgrpmgmgt">Nested Group Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2606994">UNIX and Windows User Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#sbeuseraddn">Adding User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2607206">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2607254">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2607322">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2607751">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2607766">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2608135">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2608591">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2608636">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2608824">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2608854">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2609477">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2609728">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609747">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609812">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609928">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609946">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2609990">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2610025">Restoring the IDMAP Database Dump File</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></span></dt></dl></dd><dt><span class="chapter"><a href="idmapper.html">14. Identity Mapping (IDMAP)</a></span></dt><dd><dl><dt><span class="sect1"><a href="idmapper.html#id2610535">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2610560">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2611579">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2611813">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2611885">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2611948">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2612670">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2613846">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="rights.html">15. User Rights and Privileges</a></span></dt><dd><dl><dt><span class="sect1"><a href="rights.html#id2614523">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2614798">Using the <span class="quote">&#8220;<span class="quote">net rpc rights</span>&#8221;</span> Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2615144">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2615970">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2616147">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="AccessControls.html">16. File, Directory, and Share Access Controls</a></span></dt><dd><dl><dt><span class="sect1"><a href="AccessControls.html#id2616650">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2616837">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2617188">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2617311">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2617982">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2618015">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2618383">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2618720">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2619058">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2619206">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2619552">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2619559">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2619606">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2619677">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2619821">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620036">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620193">Interaction with the Standard Samba <span class="quote">&#8220;<span class="quote">create mask</span>&#8221;</span> Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620562">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620635">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2621054">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2621066">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2621388">File Operations Done as <span class="emphasis"><em>root</em></span> with <span class="emphasis"><em>force user</em></span> Set</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2621434">MS Word with Samba Changes Owner of File</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="locking.html">17. File and Record Locking</a></span></dt><dd><dl><dt><span class="sect1"><a href="locking.html#id2621671">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2621768">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2622026">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623031">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2623125">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623539">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2623726">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2623748">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623814">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2623839">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2623907">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2623937">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2623962">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623993">Additional Reading</a></span></dt></dl></dd><dt><span class="chapter"><a href="securing-samba.html">18. Securing Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="securing-samba.html#id2624168">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2624266">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2624413">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2624429">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2624583">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2624642">Using Interface Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#firewallports">Using a Firewall</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2625141">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2625196">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2625240">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2625255">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="InterdomainTrusts.html">19. Interdomain Trust Relationships</a></span></dt><dd><dl><dt><span class="sect1"><a href="InterdomainTrusts.html#id2625845">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2626202">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626238">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626335">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626421">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2626630">Configuring Samba NT-Style Domain Trusts</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2627316">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2627329">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2627375">Problems with LDAP ldapsam and Older Versions of smbldap-tools</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="msdfs.html">20. Hosting a Microsoft Distributed File System Tree</a></span></dt><dd><dl><dt><span class="sect1"><a href="msdfs.html#id2627553">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2627972">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2628005">MSDFS UNIX Path Is Case-Critical</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="classicalprinting.html">21. Classical Printing Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="classicalprinting.html#id2628204">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2628427">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2628578">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2628638">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2628739">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2629022">Verifying Configuration with <code class="literal">testparm</code></a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2629220">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2629619">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2630075">Detailed Explanation Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632790">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632959">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2633081">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2633298">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2633618">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2633761">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2633854">Add Printer Wizard Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#inst-rpc">Installing Print Drivers Using <code class="literal">rpcclient</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2635786">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2635803">First Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2636368">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2636487">Always Make First Client Connection as root or <span class="quote">&#8220;<span class="quote">printer admin</span>&#8221;</span></a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2636660">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2636681">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637048">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637304">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637564">Error Message: <span class="quote">&#8220;<span class="quote">Cannot connect under a different Name</span>&#8221;</span></a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637678">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637988">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638097">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2638134">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2638180">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638214">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638230">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638247">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2638381">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638654">The <code class="literal">addprinter</code> Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638693">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638842">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638871">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2638877">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638918">My Print Jobs Get Spooled into the Spooling Directory, but Then Get Lost</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="CUPS-printing.html">22. CUPS Printing Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="CUPS-printing.html#id2639060">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2639066">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639126">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2639245">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2639361">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639609">Simple <code class="filename">smb.conf</code> Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639853">More Complex CUPS <code class="filename">smb.conf</code> Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640231">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640248">Central Spooling vs. <span class="quote">&#8220;<span class="quote">Peer-to-Peer</span>&#8221;</span> Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640299">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640534">Installation of Windows Client Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-raw">Explicitly Enable <span class="quote">&#8220;<span class="quote">raw</span>&#8221;</span> Printing for <span class="emphasis"><em>application/octet-stream</em></span></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640821">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640942">Advanced Intelligent Printing with PostScript Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641672">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641826">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641909">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642028">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642940">Filtering  Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643098">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643286">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643453">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643723">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643807">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644027">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644365">The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644600">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644613"><code class="filename">mime.convs</code></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644682"><span class="quote">&#8220;<span class="quote">Raw</span>&#8221;</span> Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644790">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645069">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645352"><span class="emphasis"><em>cupsomatic/foomatic-rip</em></span> Versus <span class="emphasis"><em>Native CUPS</em></span> Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646117">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646240">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2646335">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646352">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646414">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646485">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2646590">Network Printing (Windows Clients and UNIX/Samba Print
     5Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646608">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646799">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2646878">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646968">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647013">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647081">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2647095">Printer Drivers Running in <span class="quote">&#8220;<span class="quote">Kernel Mode</span>&#8221;</span> Cause Many
     6Problems</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647134">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647151">CUPS: A <span class="quote">&#8220;<span class="quote">Magical Stone</span>&#8221;</span>?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647194">PostScript Drivers with No Major Problems, Even in Kernel
     7Mode</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647282">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2647304"><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647402">Prepare Your <code class="filename">smb.conf</code> for <code class="literal">cupsaddsmb</code></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647683">CUPS <span class="quote">&#8220;<span class="quote">PostScript Driver for Windows NT/200x/XP</span>&#8221;</span></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647923">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648041">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648067">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648129">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648429">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648647">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648787">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648978">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649123">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649245">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649326">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649407">Installing the PostScript Driver on a Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-avoidps1">Avoiding Critical PostScript Driver Settings on the Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2649642">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2649816">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649987">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650092">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650224">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651408">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2651551">The Printing <code class="filename">*.tdb</code> Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2651754">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651821">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651887">Losing <code class="filename">*.tdb</code> Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651938">Using <code class="literal">tdbbackup</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2652058">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2652233">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653055">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2653528">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2653563">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653617">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653658">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653798">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653943">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654009">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654049">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2654063">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2654280">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2654356">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654441">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654580">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2654628">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2654924">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2655035">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2655041">Windows 9x/Me Client Can't Install Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#root-ask-loop"><span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span> Keeps Asking for Root Password in Never-ending Loop</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655118"><span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span> or <span class="quote">&#8220;<span class="quote">rpcclient addriver</span>&#8221;</span> Emit Error</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655156"><span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span> Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655230">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655254">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655345">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655397">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655434">Can't Use <span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span> on Samba Server, Which Is a PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655470">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655505">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655538">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655579">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655604">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655651">Print Options for All Users Can't Be Set on Windows 200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655934">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655990"><code class="literal">cupsaddsmb</code> Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2656039">Permissions on <code class="filename">/var/spool/samba/</code> Get Reset After Each Reboot</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2656138">Print Queue Called <span class="quote">&#8220;<span class="quote">lp</span>&#8221;</span> Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2656207">Location of Adobe PostScript Driver Files for <span class="quote">&#8220;<span class="quote">cupsaddsmb</span>&#8221;</span></a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2656260">Overview of the CUPS Printing Processes</a></span></dt></dl></dd><dt><span class="chapter"><a href="VFS.html">23. Stackable VFS modules</a></span></dt><dd><dl><dt><span class="sect1"><a href="VFS.html#id2656448">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2656487">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2656882">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2656888">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2656928">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657146">extd_audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#fakeperms">fake_perms</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657472">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657868">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657919">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2658822">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2658847">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2658907">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2658946">vscan-clamav</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="winbind.html">24. Winbind: Use of Domain Accounts</a></span></dt><dd><dl><dt><span class="sect1"><a href="winbind.html#id2659210">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2659554">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2659643">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2659796">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2659842">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2659968">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2660018">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660111">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660159">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660391">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660546">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660622">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2660678">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2660684">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660799">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660951">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2663370">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2663418">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2663460">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2663497">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="AdvancedNetworkManagement.html">25. Advanced Network Management</a></span></dt><dd><dl><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2663685">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2663712">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2663855">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2664445">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2664670">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2664713">Limiting Logon Connections</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="PolicyMgmt.html">26. System and Account Policies</a></span></dt><dd><dl><dt><span class="sect1"><a href="PolicyMgmt.html#id2664856">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2665151">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2666185">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2666198">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2666280">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2666320">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2666385">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2666542">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2666554">Policy Does Not Work</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="ProfileMgmt.html">27. Desktop Profile Management</a></span></dt><dd><dl><dt><span class="sect1"><a href="ProfileMgmt.html#id2666639">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2666688">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2666742">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2667353">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2668697">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2668731">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2668829">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2669181">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2669321">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2669400">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2669430">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2669587">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2670655">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2670666">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2670727">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2670898">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2671062">Debugging Roaming Profiles and NT4-style Domain Policies</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="pam.html">28. PAM-Based Distributed Authentication</a></span></dt><dd><dl><dt><span class="sect1"><a href="pam.html#id2671238">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2671868">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2671922">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2672928">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2673234"><code class="filename">smb.conf</code> PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2673315">Remote CIFS Authentication Using <code class="filename">winbindd.so</code></a></span></dt><dt><span class="sect2"><a href="pam.html#id2673418">Password Synchronization Using <code class="filename">pam_smbpass.so</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2673812">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2673824">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2673922">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="integrate-ms-networks.html">29. Integrating MS Windows Networks with Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674144">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674165">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674293">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674366"><code class="filename">/etc/hosts</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674555"><code class="filename">/etc/resolv.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674591"><code class="filename">/etc/host.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674642"><code class="filename">/etc/nsswitch.conf</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675201">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675287">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675465">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675493">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675520">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2675658">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675671">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675702">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675744">Samba Server Name-Change Problem</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="unicode.html">30. Unicode/Charsets</a></span></dt><dd><dl><dt><span class="sect1"><a href="unicode.html#id2675949">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676001">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676134">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676270">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676302">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2676441">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2677082">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2677205">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2677352">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2677357">CP850.so Can't Be Found</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Backup.html">31. Backup Techniques</a></span></dt><dd><dl><dt><span class="sect1"><a href="Backup.html#id2677464">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2677509">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2677606">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2677778">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2677947">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2677995">BOBS: Browseable Online Backup System</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="SambaHA.html">32. High Availability</a></span></dt><dd><dl><dt><span class="sect1"><a href="SambaHA.html#id2678091">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2678212">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2678246">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2678376">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679095">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679176">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679316">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679353">Conclusions</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="largefile.html">33. Handling Large Directories</a></span></dt><dt><span class="chapter"><a href="cfgsmarts.html">34. Advanced Configuration Techniques</a></span></dt><dd><dl><dt><span class="sect1"><a href="cfgsmarts.html#id2679984">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2681404">Multiple Virtual Server Hosting</a></span></dt></dl></dd></dl></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ClientConfig.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ChangeNotes.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 8. MS Windows Network Configuration Guide </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 9. Important and Critical Change Notes for the Samba 3.x Series</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/pam.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 28. PAM-Based Distributed Authentication</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="ProfileMgmt.html" title="Chapter 27. Desktop Profile Management"><link rel="next" href="integrate-ms-networks.html" title="Chapter 29. Integrating MS Windows Networks with Samba"></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 28. PAM-Based Distributed Authentication</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ProfileMgmt.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="integrate-ms-networks.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="pam"></a>Chapter 28. PAM-Based Distributed Authentication</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Stephen</span> <span class="surname">Langasek</span></h3><div class="affiliation"><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:vorlon@netexpress.net">vorlon@netexpress.net</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">May 31, 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="pam.html#id2665180">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2665810">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2665864">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2666875">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667181">smb.conf PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667262">Remote CIFS Authentication Using winbindd.so</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667365">Password Synchronization Using pam_smbpass.so</a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2667759">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2667770">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667868">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></div><p>
    2 <a class="indexterm" name="id2665104"></a>
    3 <a class="indexterm" name="id2665111"></a>
    4 <a class="indexterm" name="id2665117"></a>
    5 <a class="indexterm" name="id2665124"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 28. PAM-Based Distributed Authentication</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="ProfileMgmt.html" title="Chapter 27. Desktop Profile Management"><link rel="next" href="integrate-ms-networks.html" title="Chapter 29. Integrating MS Windows Networks with Samba"></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 28. PAM-Based Distributed Authentication</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ProfileMgmt.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="integrate-ms-networks.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 28. PAM-Based Distributed Authentication"><div class="titlepage"><div><div><h2 class="title"><a name="pam"></a>Chapter 28. PAM-Based Distributed Authentication</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Stephen</span> <span class="surname">Langasek</span></h3><div class="affiliation"><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:vorlon@netexpress.net">vorlon@netexpress.net</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">May 31, 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="pam.html#id2671238">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2671868">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2671922">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2672928">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2673234"><code class="filename">smb.conf</code> PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2673315">Remote CIFS Authentication Using <code class="filename">winbindd.so</code></a></span></dt><dt><span class="sect2"><a href="pam.html#id2673418">Password Synchronization Using <code class="filename">pam_smbpass.so</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2673812">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2673824">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2673922">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></div><p>
     2<a class="indexterm" name="id2671162"></a>
     3<a class="indexterm" name="id2671169"></a>
     4<a class="indexterm" name="id2671176"></a>
     5<a class="indexterm" name="id2671182"></a>
    66This chapter should help you to deploy Winbind-based authentication on any PAM-enabled
    77UNIX/Linux system. Winbind can be used to enable user-level application access authentication
     
    1010controls that are appropriate to your Samba configuration.
    1111</p><p>
    12 <a class="indexterm" name="id2665142"></a>
    13 <a class="indexterm" name="id2665148"></a>
     12<a class="indexterm" name="id2671200"></a>
     13<a class="indexterm" name="id2671207"></a>
    1414In addition to knowing how to configure Winbind into PAM, you will learn generic PAM management
    1515possibilities and in particular how to deploy tools like <code class="filename">pam_smbpass.so</code> to your advantage.
    16 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     16</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    1717The use of Winbind requires more than PAM configuration alone.
    1818Please refer to <a class="link" href="winbind.html" title="Chapter 24. Winbind: Use of Domain Accounts">Winbind: Use of Domain Accounts</a>, for further information regarding Winbind.
    19 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2665180"></a>Features and Benefits</h2></div></div></div><p>
    20 <a class="indexterm" name="id2665188"></a>
    21 <a class="indexterm" name="id2665194"></a>
    22 <a class="indexterm" name="id2665201"></a>
    23 <a class="indexterm" name="id2665208"></a>
    24 <a class="indexterm" name="id2665217"></a>
    25 <a class="indexterm" name="id2665224"></a>
    26 <a class="indexterm" name="id2665231"></a>
    27 <a class="indexterm" name="id2665237"></a>
     19</p></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2671238"></a>Features and Benefits</h2></div></div></div><p>
     20<a class="indexterm" name="id2671246"></a>
     21<a class="indexterm" name="id2671252"></a>
     22<a class="indexterm" name="id2671259"></a>
     23<a class="indexterm" name="id2671266"></a>
     24<a class="indexterm" name="id2671275"></a>
     25<a class="indexterm" name="id2671282"></a>
     26<a class="indexterm" name="id2671289"></a>
     27<a class="indexterm" name="id2671296"></a>
    2828A number of UNIX systems (e.g., Sun Solaris), as well as the xxxxBSD family and Linux,
    2929now utilize the Pluggable Authentication Modules (PAM) facility to provide all authentication,
     
    3434<code class="literal">passwd</code>, <code class="literal">chown</code>, and so on.
    3535</p><p>
    36 <a class="indexterm" name="id2665279"></a>
    37 <a class="indexterm" name="id2665286"></a>
    38 <a class="indexterm" name="id2665293"></a>
    39 <a class="indexterm" name="id2665300"></a>
     36<a class="indexterm" name="id2671337"></a>
     37<a class="indexterm" name="id2671344"></a>
     38<a class="indexterm" name="id2671351"></a>
     39<a class="indexterm" name="id2671358"></a>
    4040PAM provides a mechanism that disconnects these security programs from the underlying
    4141authentication/authorization infrastructure. PAM is configured by making appropriate modifications to one file,
     
    4343located in <code class="filename">/etc/pam.d</code>.
    4444</p><p>
    45 <a class="indexterm" name="id2665326"></a>
    46 <a class="indexterm" name="id2665333"></a>
     45<a class="indexterm" name="id2671384"></a>
     46<a class="indexterm" name="id2671391"></a>
    4747On PAM-enabled UNIX/Linux systems, it is an easy matter to configure the system to use any
    4848authentication backend so long as the appropriate dynamically loadable library modules
     
    5252PAM support modules are available for:
    5353</p><div class="variablelist"><dl><dt><span class="term"><code class="filename">/etc/passwd</code></span></dt><dd><p>
    54 <a class="indexterm" name="id2665363"></a>
    55 <a class="indexterm" name="id2665370"></a>
    56 <a class="indexterm" name="id2665377"></a>
    57 <a class="indexterm" name="id2665384"></a>
    58 <a class="indexterm" name="id2665390"></a>
    59 <a class="indexterm" name="id2665397"></a>
     54<a class="indexterm" name="id2671421"></a>
     55<a class="indexterm" name="id2671428"></a>
     56<a class="indexterm" name="id2671435"></a>
     57<a class="indexterm" name="id2671442"></a>
     58<a class="indexterm" name="id2671449"></a>
     59<a class="indexterm" name="id2671455"></a>
    6060                There are several PAM modules that interact with this standard UNIX user database. The most common are called
    6161                <code class="filename">pam_unix.so</code>, <code class="filename">pam_unix2.so</code>, <code class="filename">pam_pwdb.so</code> and
    6262                <code class="filename">pam_userdb.so</code>.
    6363                </p></dd><dt><span class="term">Kerberos</span></dt><dd><p>
    64 <a class="indexterm" name="id2665440"></a>
    65 <a class="indexterm" name="id2665447"></a>
    66 <a class="indexterm" name="id2665453"></a>
    67 <a class="indexterm" name="id2665460"></a>
    68 <a class="indexterm" name="id2665467"></a>
     64<a class="indexterm" name="id2671498"></a>
     65<a class="indexterm" name="id2671505"></a>
     66<a class="indexterm" name="id2671512"></a>
     67<a class="indexterm" name="id2671518"></a>
     68<a class="indexterm" name="id2671525"></a>
    6969                The <code class="filename">pam_krb5.so</code> module allows the use of any Kerberos-compliant server.
    7070                This tool is used to access MIT Kerberos, Heimdal Kerberos, and potentially
    7171                Microsoft Active Directory (if enabled).
    7272                </p></dd><dt><span class="term">LDAP</span></dt><dd><p>
    73 <a class="indexterm" name="id2665493"></a>
    74 <a class="indexterm" name="id2665500"></a>
    75 <a class="indexterm" name="id2665506"></a>
    76 <a class="indexterm" name="id2665513"></a>
    77 <a class="indexterm" name="id2665520"></a>
    78 <a class="indexterm" name="id2665527"></a>
     73<a class="indexterm" name="id2671551"></a>
     74<a class="indexterm" name="id2671558"></a>
     75<a class="indexterm" name="id2671564"></a>
     76<a class="indexterm" name="id2671571"></a>
     77<a class="indexterm" name="id2671578"></a>
     78<a class="indexterm" name="id2671585"></a>
    7979                The <code class="filename">pam_ldap.so</code> module allows the use of any LDAP v2- or v3-compatible backend
    8080                server. Commonly used LDAP backend servers include OpenLDAP v2.0 and v2.1,
    8181                Sun ONE iDentity server, Novell eDirectory server, and Microsoft Active Directory.
    8282                </p></dd><dt><span class="term">NetWare Bindery</span></dt><dd><p>
    83 <a class="indexterm" name="id2665554"></a>
    84 <a class="indexterm" name="id2665561"></a>
    85 <a class="indexterm" name="id2665568"></a>
    86 <a class="indexterm" name="id2665575"></a>
     83<a class="indexterm" name="id2671612"></a>
     84<a class="indexterm" name="id2671619"></a>
     85<a class="indexterm" name="id2671626"></a>
     86<a class="indexterm" name="id2671633"></a>
    8787                The <code class="filename">pam_ncp_auth.so</code> module allows authentication off any bindery-enabled
    8888                NetWare Core Protocol-based server.
    8989                </p></dd><dt><span class="term">SMB Password</span></dt><dd><p>
    90 <a class="indexterm" name="id2665600"></a>
    91 <a class="indexterm" name="id2665607"></a>
    92 <a class="indexterm" name="id2665614"></a>
     90<a class="indexterm" name="id2671658"></a>
     91<a class="indexterm" name="id2671665"></a>
     92<a class="indexterm" name="id2671672"></a>
    9393                This module, called <code class="filename">pam_smbpass.so</code>, allows user authentication of
    9494                the passdb backend that is configured in the Samba <code class="filename">smb.conf</code> file.
    9595                </p></dd><dt><span class="term">SMB Server</span></dt><dd><p>
    96 <a class="indexterm" name="id2665645"></a>
    97 <a class="indexterm" name="id2665652"></a>
     96<a class="indexterm" name="id2671703"></a>
     97<a class="indexterm" name="id2671710"></a>
    9898                The <code class="filename">pam_smb_auth.so</code> module is the original MS Windows networking authentication
    9999                tool. This module has been somewhat outdated by the Winbind module.
    100100                </p></dd><dt><span class="term">Winbind</span></dt><dd><p>
    101 <a class="indexterm" name="id2665677"></a>
    102 <a class="indexterm" name="id2665684"></a>
    103 <a class="indexterm" name="id2665691"></a>
    104 <a class="indexterm" name="id2665698"></a>
     101<a class="indexterm" name="id2671735"></a>
     102<a class="indexterm" name="id2671742"></a>
     103<a class="indexterm" name="id2671749"></a>
     104<a class="indexterm" name="id2671756"></a>
    105105                The <code class="filename">pam_winbind.so</code> module allows Samba to obtain authentication from any
    106106                MS Windows domain controller. It can just as easily be used to authenticate
    107107                users for access to any PAM-enabled application.
    108108                </p></dd><dt><span class="term">RADIUS</span></dt><dd><p>
    109 <a class="indexterm" name="id2665724"></a>
     109<a class="indexterm" name="id2671782"></a>
    110110                There is a PAM RADIUS (Remote Access Dial-In User Service) authentication
    111111                module. In most cases, administrators need to locate the source code
     
    113113                used by many routers and terminal servers.
    114114                </p></dd></dl></div><p>
    115 <a class="indexterm" name="id2665743"></a>
    116 <a class="indexterm" name="id2665750"></a>
     115<a class="indexterm" name="id2671802"></a>
     116<a class="indexterm" name="id2671808"></a>
    117117Of the modules listed, Samba provides the <code class="filename">pam_smbpasswd.so</code> and the
    118118<code class="filename">pam_winbind.so</code> modules alone.
    119119</p><p>
    120 <a class="indexterm" name="id2665774"></a>
    121 <a class="indexterm" name="id2665781"></a>
    122 <a class="indexterm" name="id2665788"></a>
    123 <a class="indexterm" name="id2665795"></a>
     120<a class="indexterm" name="id2671832"></a>
     121<a class="indexterm" name="id2671839"></a>
     122<a class="indexterm" name="id2671846"></a>
     123<a class="indexterm" name="id2671853"></a>
    124124Once configured, these permit a remarkable level of flexibility in the location and use
    125125of distributed Samba domain controllers that can provide wide-area network bandwidth,
     
    127127deployment of centrally managed and maintained distributed authentication from a
    128128single-user account database.
    129 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2665810"></a>Technical Discussion</h2></div></div></div><p>
    130 <a class="indexterm" name="id2665818"></a>
    131 <a class="indexterm" name="id2665825"></a>
    132 <a class="indexterm" name="id2665832"></a>
    133 <a class="indexterm" name="id2665839"></a>
     129</p></div><div class="sect1" title="Technical Discussion"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2671868"></a>Technical Discussion</h2></div></div></div><p>
     130<a class="indexterm" name="id2671876"></a>
     131<a class="indexterm" name="id2671883"></a>
     132<a class="indexterm" name="id2671890"></a>
     133<a class="indexterm" name="id2671897"></a>
    134134PAM is designed to provide system administrators with a great deal of flexibility in
    135135configuration of the privilege-granting applications of their system. The local
     
    137137either the single system file <code class="filename">/etc/pam.conf</code> or the
    138138<code class="filename">/etc/pam.d/</code> directory.
    139 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2665864"></a>PAM Configuration Syntax</h3></div></div></div><p>
    140 <a class="indexterm" name="id2665872"></a>
    141 <a class="indexterm" name="id2665879"></a>
     139</p><div class="sect2" title="PAM Configuration Syntax"><div class="titlepage"><div><div><h3 class="title"><a name="id2671922"></a>PAM Configuration Syntax</h3></div></div></div><p>
     140<a class="indexterm" name="id2671930"></a>
     141<a class="indexterm" name="id2671937"></a>
    142142In this section we discuss the correct syntax of and generic options respected by entries to these files.
    143143PAM-specific tokens in the configuration file are case insensitive. The module paths, however, are case
     
    146146</p><p>
    147147In addition to the lines described below, there are two special characters provided for the convenience
    148 of the system administrator: comments are preceded by a &#8220;<span class="quote">#</span>&#8221; and extend to the next end-of-line; also,
    149 module specification lines may be extended with a &#8220;<span class="quote">\</span>&#8221;-escaped newline.
    150 </p><p>
    151 <a class="indexterm" name="id2665910"></a>
    152 <a class="indexterm" name="id2665917"></a>
     148of the system administrator: comments are preceded by a <span class="quote">&#8220;<span class="quote">#</span>&#8221;</span> and extend to the next end-of-line; also,
     149module specification lines may be extended with a <span class="quote">&#8220;<span class="quote">\</span>&#8221;</span>-escaped newline.
     150</p><p>
     151<a class="indexterm" name="id2671968"></a>
     152<a class="indexterm" name="id2671975"></a>
    153153If the PAM authentication module (loadable link library file) is located in the
    154154default location, then it is not necessary to specify the path. In the case of
     
    158158auth  required  /other_path/pam_strange_module.so
    159159</pre><p>
    160 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2665943"></a>Anatomy of <code class="filename">/etc/pam.d</code> Entries</h4></div></div></div><p>
     160</p><div class="sect3" title="Anatomy of /etc/pam.d Entries"><div class="titlepage"><div><div><h4 class="title"><a name="id2672001"></a>Anatomy of <code class="filename">/etc/pam.d</code> Entries</h4></div></div></div><p>
    161161The remaining information in this subsection was taken from the documentation of the Linux-PAM
    162162project. For more information on PAM, see
    163163<a class="ulink" href="http://ftp.kernel.org/pub/linux/libs/pam/" target="_top">the Official Linux-PAM home page</a>.
    164164</p><p>
    165 <a class="indexterm" name="id2665969"></a>
     165<a class="indexterm" name="id2672027"></a>
    166166A general configuration line of the <code class="filename">/etc/pam.conf</code> file has the following form:
    167167</p><pre class="programlisting">
     
    173173Once we have explained the meaning of the tokens, we describe this method.
    174174</p><div class="variablelist"><dl><dt><span class="term">service-name</span></dt><dd><p>
    175 <a class="indexterm" name="id2666014"></a>
    176 <a class="indexterm" name="id2666021"></a>
    177 <a class="indexterm" name="id2666027"></a>
     175<a class="indexterm" name="id2672072"></a>
     176<a class="indexterm" name="id2672079"></a>
     177<a class="indexterm" name="id2672086"></a>
    178178                The name of the service associated with this entry. Frequently, the service-name is the conventional
    179179                name of the given application  for example, <code class="literal">ftpd</code>, <code class="literal">rlogind</code> and
     
    186186                </p></dd><dt><span class="term">module-type</span></dt><dd><p>
    187187                One of (currently) four types of module. The four types are as follows:
    188                 </p><div class="itemizedlist"><ul type="disc"><li><p>
    189 <a class="indexterm" name="id2666095"></a>
    190 <a class="indexterm" name="id2666102"></a>
     188                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     189<a class="indexterm" name="id2672154"></a>
     190<a class="indexterm" name="id2672160"></a>
    191191                        <em class="parameter"><code>auth:</code></em> This module type provides two aspects of authenticating the user.
    192192                        It establishes that the user is who he or she claims to be by instructing the application
     
    194194                        grant group membership (independently of the <code class="filename">/etc/groups</code> file)
    195195                        or other privileges through its credential-granting properties.
    196                         </p></li><li><p>
    197 <a class="indexterm" name="id2666131"></a>
    198 <a class="indexterm" name="id2666138"></a>
     196                        </p></li><li class="listitem"><p>
     197<a class="indexterm" name="id2672190"></a>
     198<a class="indexterm" name="id2672196"></a>
    199199                        <em class="parameter"><code>account:</code></em> This module performs non-authentication-based account management.
    200200                        It is typically used to restrict/permit access to a service based on the time of day, currently
    201201                        available system resources (maximum number of users), or perhaps the location of the user
    202                         login. For example, the &#8220;<span class="quote">root</span>&#8221; login may be permitted only on the console.
    203                         </p></li><li><p>
    204 <a class="indexterm" name="id2666165"></a>
     202                        login. For example, the <span class="quote">&#8220;<span class="quote">root</span>&#8221;</span> login may be permitted only on the console.
     203                        </p></li><li class="listitem"><p>
     204<a class="indexterm" name="id2672223"></a>
    205205                        <em class="parameter"><code>session:</code></em> Primarily, this module is associated with doing things that need
    206206                        to be done for the user before and after he or she can be given service. Such things include logging
    207207                        information concerning the opening and closing of some data exchange with a user, mounting
    208208                        directories, and so on.
    209                         </p></li><li><p>
    210 <a class="indexterm" name="id2666192"></a>
     209                        </p></li><li class="listitem"><p>
     210<a class="indexterm" name="id2672245"></a>
    211211                        <em class="parameter"><code>password:</code></em> This last module type is required for updating the authentication
    212212                        token associated with the user. Typically, there is one module for each
    213                         &#8220;<span class="quote">challenge/response</span>&#8221; authentication <em class="parameter"><code>(auth)</code></em> module type.
     213                        <span class="quote">&#8220;<span class="quote">challenge/response</span>&#8221;</span> authentication <em class="parameter"><code>(auth)</code></em> module type.
    214214                        </p></li></ul></div></dd><dt><span class="term">control-flag</span></dt><dd><p>
    215215                The control-flag is used to indicate how the PAM library will react to the success or failure of the
     
    222222                As of Linux-PAM v0.60, this control-flag can be defined with one of two syntaxes.
    223223                </p><p>
    224 <a class="indexterm" name="id2666256"></a>
    225 <a class="indexterm" name="id2666263"></a>
    226 <a class="indexterm" name="id2666270"></a>
    227 <a class="indexterm" name="id2666277"></a>
     224<a class="indexterm" name="id2672309"></a>
     225<a class="indexterm" name="id2672316"></a>
     226<a class="indexterm" name="id2672323"></a>
     227<a class="indexterm" name="id2672330"></a>
    228228                The simpler (and historical) syntax for the control-flag is a single keyword defined to indicate the
    229229                severity of concern associated with the success or failure of a specific module. There are four such
     
    232232                </p><p>
    233233                The Linux-PAM library interprets these keywords in the following manner:
    234                 </p><div class="itemizedlist"><ul type="disc"><li><p>
     234                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    235235                        <em class="parameter"><code>required:</code></em> This indicates that the success of the module is required for the
    236236                        module-type facility to succeed. Failure of this module will not be apparent to the user until all
    237237                        of the remaining modules (of the same module-type) have been executed.
    238                         </p></li><li><p>
     238                        </p></li><li class="listitem"><p>
    239239                        <em class="parameter"><code>requisite:</code></em> Like required, except that if such a module returns a
    240240                        failure, control is directly returned to the application. The return value is that associated with
     
    244244                        possibility should be weighed against the not insignificant concerns of exposing a sensitive
    245245                        password in a hostile environment.
    246                         </p></li><li><p>
     246                        </p></li><li class="listitem"><p>
    247247                        <em class="parameter"><code>sufficient:</code></em> The success of this module is deemed <em class="parameter"><code>sufficient</code></em> to satisfy
    248248                        the Linux-PAM library that this module-type has succeeded in its purpose. In the event that no
    249                         previous required module has failed, no more &#8220;<span class="quote">stacked</span>&#8221; modules of this type are invoked.
     249                        previous required module has failed, no more <span class="quote">&#8220;<span class="quote">stacked</span>&#8221;</span> modules of this type are invoked.
    250250                        (In this case, subsequent required modules are not invoked). A failure of this module is not deemed
    251251                        as fatal to satisfying the application that this module-type has succeeded.
    252                         </p></li><li><p>
     252                        </p></li><li class="listitem"><p>
    253253            <em class="parameter"><code>optional:</code></em> As its name suggests, this control-flag marks the module as not
    254254                        being critical to the success or failure of the user's application for service. In general,
     
    284284                stack of modules with a number of different paths of execution. Which path is taken can be determined by the
    285285                reactions of individual modules.
    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                        <em class="parameter"><code>ignore:</code></em> When used with a stack of modules, the module's return status will not
    288288                        contribute to the return code the application obtains.
    289                         </p></li><li><p>
     289                        </p></li><li class="listitem"><p>
    290290            <em class="parameter"><code>bad:</code></em> This action indicates that the return code should be thought of as indicative
    291291                        of the module failing. If this module is the first in the stack to fail, its status value will be used
    292292                        for that of the whole stack.
    293                         </p></li><li><p>
     293                        </p></li><li class="listitem"><p>
    294294            <em class="parameter"><code>die:</code></em> Equivalent to bad with the side effect of terminating the module stack and
    295295                        PAM immediately returning to the application.
    296                         </p></li><li><p>
     296                        </p></li><li class="listitem"><p>
    297297           <em class="parameter"><code>ok:</code></em> This tells PAM that the administrator thinks this return code should
    298298                        contribute directly to the return code of the full stack of modules. In other words, if the former
     
    300300                        this value. Note, if the former state of the stack holds some value that is indicative of a module's
    301301                        failure, this <em class="parameter"><code>ok</code></em> value will not be used to override that value.
    302                         </p></li><li><p>
     302                        </p></li><li class="listitem"><p>
    303303            <em class="parameter"><code>done:</code></em> Equivalent to <em class="parameter"><code>ok</code></em> with the side effect of terminating the module stack and
    304304                        PAM immediately returning to the application.
    305                         </p></li><li><p>
     305                        </p></li><li class="listitem"><p>
    306306           <em class="parameter"><code>reset:</code></em> Clears all memory of the state of the module stack and starts again with
    307307                        the next stacked module.
     
    311311                of the [...] syntax. They are as follows:
    312312                </p><p>
    313                 </p><div class="itemizedlist"><ul type="disc"><li><p>
     313                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    314314                        <em class="parameter"><code>required</code></em> is equivalent to <em class="parameter"><code>[success=ok new_authtok_reqd=ok ignore=ignore default=bad]</code></em>.
    315                         </p></li><li><p>
     315                        </p></li><li class="listitem"><p>
    316316                        <em class="parameter"><code>requisite</code></em> is equivalent to <em class="parameter"><code>[success=ok new_authtok_reqd=ok ignore=ignore default=die]</code></em>.
    317                         </p></li><li><p>
     317                        </p></li><li class="listitem"><p>
    318318                        <em class="parameter"><code>sufficient</code></em> is equivalent to <em class="parameter"><code>[success=done  new_authtok_reqd=done  default=ignore]</code></em>.
    319                         </p></li><li><p>
     319                        </p></li><li class="listitem"><p>
    320320                        <em class="parameter"><code>optional</code></em> is equivalent to <em class="parameter"><code>[success=ok new_authtok_reqd=ok default=ignore]</code></em>.
    321321                        </p></li></ul></div><p>
     
    329329                </p></dd><dt><span class="term">module-path</span></dt><dd><p>
    330330                The pathname of the dynamically loadable object file; the pluggable module itself. If the first character of the
    331                 module path is &#8220;<span class="quote">/</span>&#8221;, it is assumed to be a complete path. If this is not the case, the given module path is appended
     331                module path is <span class="quote">&#8220;<span class="quote">/</span>&#8221;</span>, it is assumed to be a complete path. If this is not the case, the given module path is appended
    332332                to the default module path: <code class="filename">/lib/security</code> (but see the previous notes).
    333333                </p><p>
     
    341341squid auth required pam_mysql.so user=passwd_query passwd=mada \
    342342db=eminence [query=select user_name from internet_service where \
    343 user_name=&#8220;<span class="quote">%u</span>&#8221; and password=PASSWORD(&#8220;<span class="quote">%p</span>&#8221;) and service=&#8220;<span class="quote">web_proxy</span>&#8221;]
    344 </pre><p>
    345                 When using this convention, you can include &#8220;<span class="quote">[</span>&#8221; characters inside the string, and if you wish to have a &#8220;<span class="quote">]</span>&#8221;
    346                 character inside the string that will survive the argument parsing, you should use &#8220;<span class="quote">\[</span>&#8221;. In other words,
     343user_name=<span class="quote">&#8220;<span class="quote">%u</span>&#8221;</span> and password=PASSWORD(<span class="quote">&#8220;<span class="quote">%p</span>&#8221;</span>) and service=<span class="quote">&#8220;<span class="quote">web_proxy</span>&#8221;</span>]
     344</pre><p>
     345                When using this convention, you can include <span class="quote">&#8220;<span class="quote">[</span>&#8221;</span> characters inside the string, and if you wish to have a <span class="quote">&#8220;<span class="quote">]</span>&#8221;</span>
     346                character inside the string that will survive the argument parsing, you should use <span class="quote">&#8220;<span class="quote">\[</span>&#8221;</span>. In other words,
    347347                </p><pre class="programlisting">
    348348[..[..\]..]    --&gt;   ..[..]..
     
    351351                side of caution) to make the authentication process fail. A corresponding error is written to the system log files
    352352                with a call to syslog(3).
    353                 </p></dd></dl></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2666875"></a>Example System Configurations</h3></div></div></div><p>
     353                </p></dd></dl></div></div></div><div class="sect2" title="Example System Configurations"><div class="titlepage"><div><div><h3 class="title"><a name="id2672928"></a>Example System Configurations</h3></div></div></div><p>
    354354The following is an example <code class="filename">/etc/pam.d/login</code> configuration file.
    355355This example had all options uncommented and is probably not usable
     
    357357of the login process. Essentially, all conditions can be disabled
    358358by commenting them out, except the calls to <code class="filename">pam_pwdb.so</code>.
    359 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2666901"></a>PAM: Original Login Config</h4></div></div></div><p>
     359</p><div class="sect3" title="PAM: Original Login Config"><div class="titlepage"><div><div><h4 class="title"><a name="id2672954"></a>PAM: Original Login Config</h4></div></div></div><p>
    360360        </p><pre class="programlisting">
    361361#%PAM-1.0
    362 # The PAM configuration file for the &#8220;<span class="quote">login</span>&#8221; service
     362# The PAM configuration file for the <span class="quote">&#8220;<span class="quote">login</span>&#8221;</span> service
    363363#
    364364auth         required    pam_securetty.so
     
    374374password     required    pam_pwdb.so shadow md5
    375375</pre><p>
    376 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2666929"></a>PAM: Login Using <code class="filename">pam_smbpass</code></h4></div></div></div><p>
     376</p></div><div class="sect3" title="PAM: Login Using pam_smbpass"><div class="titlepage"><div><div><h4 class="title"><a name="id2672982"></a>PAM: Login Using <code class="filename">pam_smbpass</code></h4></div></div></div><p>
    377377PAM allows use of replaceable modules. Those available on a sample system include:
    378378</p><p><code class="prompt">$</code><strong class="userinput"><code>/bin/ls /lib/security</code></strong>
     
    412412        </p><pre class="programlisting">
    413413#%PAM-1.0
    414 # The PAM configuration file for the &#8220;<span class="quote">login</span>&#8221; service
     414# The PAM configuration file for the <span class="quote">&#8220;<span class="quote">login</span>&#8221;</span> service
    415415#
    416416auth        required    pam_smbpass.so nodelay
     
    424424        </p><pre class="programlisting">
    425425#%PAM-1.0
    426 # The PAM configuration file for the &#8220;<span class="quote">samba</span>&#8221; service
     426# The PAM configuration file for the <span class="quote">&#8220;<span class="quote">samba</span>&#8221;</span> service
    427427#
    428428auth       required     pam_pwdb.so nullok nodelay shadow audit
     
    439439                </p><pre class="programlisting">
    440440#%PAM-1.0
    441 # The PAM configuration file for the &#8220;<span class="quote">samba</span>&#8221; service
     441# The PAM configuration file for the <span class="quote">&#8220;<span class="quote">samba</span>&#8221;</span> service
    442442#
    443443auth       required     pam_smbpass.so nodelay
     
    446446password   required     pam_smbpass.so nodelay smbconf=/etc/samba.d/smb.conf
    447447</pre><p>
    448 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>PAM allows stacking of authentication mechanisms. It is
     448</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>PAM allows stacking of authentication mechanisms. It is
    449449also possible to pass information obtained within one PAM module through
    450450to the next module in the PAM stack. Please refer to the documentation for
     
    457457life, though, every decision has trade-offs, so you may want to examine the
    458458PAM documentation for further helpful information.
    459 </p></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2667181"></a><code class="filename">smb.conf</code> PAM Configuration</h3></div></div></div><p>
     459</p></div></div></div><div class="sect2" title="smb.conf PAM Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="id2673234"></a><code class="filename">smb.conf</code> PAM Configuration</h3></div></div></div><p>
    460460There is an option in <code class="filename">smb.conf</code> called <a class="link" href="smb.conf.5.html#OBEYPAMRESTRICTIONS" target="_top">obey pam restrictions</a>.
    461461The following is from the online help for this option in SWAT:
     
    467467The reason is that PAM modules cannot support the challenge/response authentication mechanism needed in the presence of SMB
    468468password encryption.
    469 </p><p>Default: <a class="link" href="smb.conf.5.html#OBEYPAMRESTRICTIONS" target="_top">obey pam restrictions = no</a></p></blockquote></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2667262"></a>Remote CIFS Authentication Using <code class="filename">winbindd.so</code></h3></div></div></div><p>
     469</p><p>Default: <a class="link" href="smb.conf.5.html#OBEYPAMRESTRICTIONS" target="_top">obey pam restrictions = no</a></p></blockquote></div></div><div class="sect2" title="Remote CIFS Authentication Using winbindd.so"><div class="titlepage"><div><div><h3 class="title"><a name="id2673315"></a>Remote CIFS Authentication Using <code class="filename">winbindd.so</code></h3></div></div></div><p>
    470470All operating systems depend on the provision of user credentials acceptable to the platform.
    471471UNIX requires the provision of a user identifier (UID) as well as a group identifier (GID).
     
    490490particularly potent advantages compared with the use of Microsoft Active Directory Service (ADS) insofar as
    491491the reduction of wide-area network authentication traffic.
    492 </p><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
     492</p><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
    493493The RID to UNIX ID database is the only location where the user and group  mappings are
    494494stored by <code class="literal">winbindd</code>. If this file is deleted or corrupted, there is no way for <code class="literal">winbindd</code>
    495495to determine which user and group IDs correspond to Windows NT user and group RIDs.
    496 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2667365"></a>Password Synchronization Using <code class="filename">pam_smbpass.so</code></h3></div></div></div><p>
     496</p></div></div><div class="sect2" title="Password Synchronization Using pam_smbpass.so"><div class="titlepage"><div><div><h3 class="title"><a name="id2673418"></a>Password Synchronization Using <code class="filename">pam_smbpass.so</code></h3></div></div></div><p>
    497497<code class="filename">pam_smbpass</code> is a PAM module that can be used on conforming systems to
    498498keep the <code class="filename">smbpasswd</code> (Samba password) database in sync with the UNIX
     
    507507</p><p>
    508508Options recognized by this module are shown in <a class="link" href="pam.html#smbpassoptions" title="Table 28.1. Options recognized by pam_smbpass">next table</a>.
    509 </p><div class="table"><a name="smbpassoptions"></a><p class="title"><b>Table 28.1. Options recognized by <em class="parameter"><code>pam_smbpass</code></em></b></p><div class="table-contents"><table summary="Options recognized by pam_smbpass" border="1"><colgroup><col align="left"><col align="justify"></colgroup><tbody><tr><td align="left">debug</td><td align="justify">Log more debugging info.</td></tr><tr><td align="left">audit</td><td align="justify">Like debug, but also logs unknown usernames.</td></tr><tr><td align="left">use_first_pass</td><td align="justify">Do not prompt the user for passwords; take them from PAM_ items instead.</td></tr><tr><td align="left">try_first_pass</td><td align="justify">Try to get the password from a previous PAM module; fall back to prompting the user.</td></tr><tr><td align="left">use_authtok</td><td align="justify">Like try_first_pass, but *fail* if the new PAM_AUTHTOK has not been previously set (intended for stacking password modules only).</td></tr><tr><td align="left">not_set_pass</td><td align="justify">Do not make passwords used by this module available to other modules.</td></tr><tr><td align="left">nodelay</td><td align="justify">dDo not insert ~1-second delays on authentication failure.</td></tr><tr><td align="left">nullok</td><td align="justify">Null passwords are allowed.</td></tr><tr><td align="left">nonull</td><td align="justify">Null passwords are not allowed. Used to override the Samba configuration.</td></tr><tr><td align="left">migrate</td><td align="justify">Only meaningful in an &#8220;<span class="quote">auth</span>&#8221; context; used to update smbpasswd file with a password used for successful authentication.</td></tr><tr><td align="left">smbconf=<em class="replaceable"><code>file</code></em></td><td align="justify">Specify an alternate path to the <code class="filename">smb.conf</code> file.</td></tr></tbody></table></div></div><p><br class="table-break">
     509</p><div class="table"><a name="smbpassoptions"></a><p class="title"><b>Table 28.1. Options recognized by <em class="parameter"><code>pam_smbpass</code></em></b></p><div class="table-contents"><table summary="Options recognized by pam_smbpass" border="1"><colgroup><col align="left"><col align="justify"></colgroup><tbody><tr><td align="left">debug</td><td align="justify">Log more debugging info.</td></tr><tr><td align="left">audit</td><td align="justify">Like debug, but also logs unknown usernames.</td></tr><tr><td align="left">use_first_pass</td><td align="justify">Do not prompt the user for passwords; take them from PAM_ items instead.</td></tr><tr><td align="left">try_first_pass</td><td align="justify">Try to get the password from a previous PAM module; fall back to prompting the user.</td></tr><tr><td align="left">use_authtok</td><td align="justify">Like try_first_pass, but *fail* if the new PAM_AUTHTOK has not been previously set (intended for stacking password modules only).</td></tr><tr><td align="left">not_set_pass</td><td align="justify">Do not make passwords used by this module available to other modules.</td></tr><tr><td align="left">nodelay</td><td align="justify">dDo not insert ~1-second delays on authentication failure.</td></tr><tr><td align="left">nullok</td><td align="justify">Null passwords are allowed.</td></tr><tr><td align="left">nonull</td><td align="justify">Null passwords are not allowed. Used to override the Samba configuration.</td></tr><tr><td align="left">migrate</td><td align="justify">Only meaningful in an <span class="quote">&#8220;<span class="quote">auth</span>&#8221;</span> context; used to update smbpasswd file with a password used for successful authentication.</td></tr><tr><td align="left">smbconf=<em class="replaceable"><code>file</code></em></td><td align="justify">Specify an alternate path to the <code class="filename">smb.conf</code> file.</td></tr></tbody></table></div></div><p><br class="table-break">
    510510</p><p>
    511511The following are examples of the use of <code class="filename">pam_smbpass.so</code> in the format of the Linux
    512512<code class="filename">/etc/pam.d/</code> files structure. Those wishing to implement this
    513513tool on other platforms will need to adapt this appropriately.
    514 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2667584"></a>Password Synchronization Configuration</h4></div></div></div><p>
     514</p><div class="sect3" title="Password Synchronization Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2673638"></a>Password Synchronization Configuration</h4></div></div></div><p>
    515515The following is a sample PAM configuration that shows the use of pam_smbpass to make
    516516sure <code class="filename">private/smbpasswd</code> is kept in sync when <code class="filename">/etc/passwd (/etc/shadow)</code>
     
    529529password   required     pam_smbpass.so nullok use_authtok try_first_pass
    530530session    required     pam_unix.so
    531 </pre></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2667630"></a>Password Migration Configuration</h4></div></div></div><p>
     531</pre></div><div class="sect3" title="Password Migration Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2673683"></a>Password Migration Configuration</h4></div></div></div><p>
    532532The following PAM configuration shows the use of <code class="filename">pam_smbpass</code> to migrate
    533533from plaintext to encrypted passwords for Samba. Unlike other methods,
     
    549549password   optional    pam_smbpass.so nullok use_authtok try_first_pass
    550550session    required    pam_unix.so
    551 </pre></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2667678"></a>Mature Password Configuration</h4></div></div></div><p>
     551</pre></div><div class="sect3" title="Mature Password Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2673732"></a>Mature Password Configuration</h4></div></div></div><p>
    552552The following is a sample PAM configuration for a mature <code class="filename">smbpasswd</code> installation.
    553553<code class="filename">private/smbpasswd</code> is fully populated, and we consider it an error if
     
    565565password   required     pam_smbpass.so use_authtok use_first_pass
    566566session    required     pam_unix.so
    567 </pre></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2667718"></a>Kerberos Password Integration Configuration</h4></div></div></div><p>
     567</pre></div><div class="sect3" title="Kerberos Password Integration Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2673771"></a>Kerberos Password Integration Configuration</h4></div></div></div><p>
    568568The following is a sample PAM configuration that shows <em class="parameter"><code>pam_smbpass</code></em> used together with
    569569<em class="parameter"><code>pam_krb5</code></em>. This could be useful on a Samba PDC that is also a member of
     
    582582password   required    pam_krb5.so use_authtok try_first_pass
    583583session    required    pam_krb5.so
    584 </pre></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2667759"></a>Common Errors</h2></div></div></div><p>
     584</pre></div></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2673812"></a>Common Errors</h2></div></div></div><p>
    585585PAM can be fickle and sensitive to configuration glitches. Here we look at a few cases from
    586586the Samba mailing list.
    587 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2667770"></a>pam_winbind Problem</h3></div></div></div><p>
     587</p><div class="sect2" title="pam_winbind Problem"><div class="titlepage"><div><div><h3 class="title"><a name="id2673824"></a>pam_winbind Problem</h3></div></div></div><p>
    588588        A user reported, <span class="emphasis"><em>I have the following PAM configuration</em></span>:
    589589        </p><p>
     
    599599</pre><p>
    600600</p><p>
    601         <span class="emphasis"><em>When I open a new console with [ctrl][alt][F1], I can't log in with my user &#8220;<span class="quote">pitie.</span>&#8221;
    602         I have tried with user &#8220;<span class="quote">scienceu\pitie</span>&#8221; also.</em></span>
     601        <span class="emphasis"><em>When I open a new console with [ctrl][alt][F1], I can't log in with my user <span class="quote">&#8220;<span class="quote">pitie.</span>&#8221;</span>
     602        I have tried with user <span class="quote">&#8220;<span class="quote">scienceu\pitie</span>&#8221;</span> also.</em></span>
    603603        </p><p>
    604604        The problem may lie with the inclusion of <em class="parameter"><code>pam_stack.so
     
    609609        <code class="filename">/etc/pam.d/login</code> file. Alternatively, if you want all services to use
    610610        Winbind, you can put the Winbind-specific stuff in <code class="filename">/etc/pam.d/system-auth</code>.
    611         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2667868"></a>Winbind Is Not Resolving Users and Groups</h3></div></div></div><p>
    612         &#8220;<span class="quote">
     611        </p></div><div class="sect2" title="Winbind Is Not Resolving Users and Groups"><div class="titlepage"><div><div><h3 class="title"><a name="id2673922"></a>Winbind Is Not Resolving Users and Groups</h3></div></div></div><p>
     612        <span class="quote">&#8220;<span class="quote">
    613613        My <code class="filename">smb.conf</code> file is correctly configured. I have specified
    614614        <a class="link" href="smb.conf.5.html#IDMAPUID" target="_top">idmap uid = 12000</a>
    615615        and <a class="link" href="smb.conf.5.html#IDMAPGID" target="_top">idmap gid = 3000-3500,</a>
    616616        and <code class="literal">winbind</code> is running. When I do the following it all works fine.
    617         </span>&#8221;
     617        </span>&#8221;</span>
    618618        </p><pre class="screen">
    619619<code class="prompt">root# </code><strong class="userinput"><code>wbinfo -u</code></strong>
     
    637637maryo:x:15000:15003:Mary Orville:/home/MIDEARTH/maryo:/bin/false
    638638</pre><p>
    639         &#8220;<span class="quote">
     639        <span class="quote">&#8220;<span class="quote">
    640640        But this command fails:
    641         </span>&#8221;
     641        </span>&#8221;</span>
    642642</p><pre class="screen">
    643643<code class="prompt">root# </code><strong class="userinput"><code>chown maryo a_file</code></strong>
    644644chown: 'maryo': invalid user
    645645</pre><p>
    646         &#8220;<span class="quote">This is driving me nuts! What can be wrong?</span>&#8221;
     646        <span class="quote">&#8220;<span class="quote">This is driving me nuts! What can be wrong?</span>&#8221;</span>
    647647        </p><p>
    648648        Your system is likely running <code class="literal">nscd</code>, the name service
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/passdb.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 11. Account Information Databases</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing"><link rel="next" href="groupmapping.html" title="Chapter 12. Group Mapping: MS Windows and UNIX"></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 11. Account Information Databases</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="NetworkBrowsing.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="groupmapping.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="passdb"></a>Chapter 11. Account Information Databases</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jeremy</span> <span class="orgname">Samba Team</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Guenther</span> <span class="orgname">SuSE</span> <span class="surname">Deschner</span></h3><span class="contrib">LDAP updates</span> <div class="affiliation"><span class="orgname">SuSE<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:gd@suse.de">gd@suse.de</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Olivier (lem)</span> <span class="orgname">IDEALX</span> <span class="surname">Lemaire</span></h3><div class="affiliation"><span class="orgname">IDEALX<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:olem@IDEALX.org">olem@IDEALX.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">May 24, 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="passdb.html#id2587249">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2587476">New Account Storage Systems</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#passdbtech">Technical Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2588044">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a></span></dt><dt><span class="sect2"><a href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2589112">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#acctmgmttools">Account Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2589966">The smbpasswd Tool</a></span></dt><dt><span class="sect2"><a href="passdb.html#pdbeditthing">The pdbedit Tool</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2592519">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2592572">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2592915">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2593072">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2595597">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2595602">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2595640">Configuration of auth methods</a></span></dt></dl></dd></dl></div><p>
    2 <a class="indexterm" name="id2587052"></a>
    3 <a class="indexterm" name="id2587059"></a>
    4 <a class="indexterm" name="id2587066"></a>
    5 <a class="indexterm" name="id2587072"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 11. Account Information Databases</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing"><link rel="next" href="groupmapping.html" title="Chapter 12. Group Mapping: MS Windows and UNIX"></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 11. Account Information Databases</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="NetworkBrowsing.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="groupmapping.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 11. Account Information Databases"><div class="titlepage"><div><div><h2 class="title"><a name="passdb"></a>Chapter 11. Account Information Databases</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jeremy</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Guenther</span> <span class="surname">Deschner</span></h3><span class="contrib">LDAP updates</span> <div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:gd@samba.org">gd@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Olivier (lem)</span> <span class="surname">Lemaire</span></h3><div class="affiliation"><span class="orgname">IDEALX<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:olem@IDEALX.org">olem@IDEALX.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">May 24, 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="passdb.html#id2593316">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2593543">New Account Storage Systems</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#passdbtech">Technical Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2594111">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a></span></dt><dt><span class="sect2"><a href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2595179">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#acctmgmttools">Account Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2596033">The <code class="literal">smbpasswd</code> Tool</a></span></dt><dt><span class="sect2"><a href="passdb.html#pdbeditthing">The <code class="literal">pdbedit</code> Tool</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2598586">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2598639">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2598981">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2599139">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2601663">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2601669">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2601707">Configuration of <em class="parameter"><code>auth methods</code></em></a></span></dt></dl></dd></dl></div><p>
     2<a class="indexterm" name="id2593118"></a>
     3<a class="indexterm" name="id2593125"></a>
     4<a class="indexterm" name="id2593132"></a>
     5<a class="indexterm" name="id2593139"></a>
    66Early releases of Samba-3 implemented new capability to work concurrently with multiple account backends. This
    77capability was removed beginning with release of Samba 3.0.23. Commencing with Samba 3.0.23 it is possible to
    88work with only one specified passwd backend.
    99</p><p>
    10 <a class="indexterm" name="id2587087"></a>
    11 <a class="indexterm" name="id2587094"></a>
    12 <a class="indexterm" name="id2587100"></a>
    13 <a class="indexterm" name="id2587107"></a>
    14 <a class="indexterm" name="id2587114"></a>
    15 <a class="indexterm" name="id2587121"></a>
     10<a class="indexterm" name="id2593153"></a>
     11<a class="indexterm" name="id2593160"></a>
     12<a class="indexterm" name="id2593167"></a>
     13<a class="indexterm" name="id2593174"></a>
     14<a class="indexterm" name="id2593180"></a>
     15<a class="indexterm" name="id2593187"></a>
    1616The three passdb backends that are fully maintained (actively supported) by the Samba Team are:
    1717<code class="literal">smbpasswd</code> (being obsoleted), <code class="literal">tdbsam</code> (a tdb-based binary file format),
     
    2424<code class="literal">ldapsam</code> for larger and more complex networks.
    2525</p><p>
    26 <a class="indexterm" name="id2587191"></a>
    27 <a class="indexterm" name="id2587198"></a>
    28 <a class="indexterm" name="id2587205"></a>
    29 <a class="indexterm" name="id2587212"></a>
    30 <a class="indexterm" name="id2587219"></a>
    31 <a class="indexterm" name="id2587226"></a>
    32 <a class="indexterm" name="id2587233"></a>
     26<a class="indexterm" name="id2593258"></a>
     27<a class="indexterm" name="id2593265"></a>
     28<a class="indexterm" name="id2593272"></a>
     29<a class="indexterm" name="id2593279"></a>
     30<a class="indexterm" name="id2593286"></a>
     31<a class="indexterm" name="id2593293"></a>
     32<a class="indexterm" name="id2593300"></a>
    3333In a strict and literal sense, the passdb backends are account storage mechanisms (or methods) alone. The choice
    3434of terminology can be misleading, however we are stuck with this choice of wording. This chapter documents the
     
    3636machine trust accounts (computer accounts) and interdomain trust accounts. These are all treated as user-like
    3737entities.
    38 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2587249"></a>Features and Benefits</h2></div></div></div><p>
     38</p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2593316"></a>Features and Benefits</h2></div></div></div><p>
    3939Samba-3 provides for complete backward compatibility with Samba-2.2.x functionality
    4040as follows:
    41 <a class="indexterm" name="id2587259"></a>
    42 <a class="indexterm" name="id2587268"></a>
    43 <a class="indexterm" name="id2587277"></a>
    44 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2587285"></a>Backward Compatibility Account Storage Systems</h3></div></div></div><div class="variablelist"><dl><dt><span class="term">Plaintext</span></dt><dd><p>
    45 <a class="indexterm" name="id2587303"></a>
    46 <a class="indexterm" name="id2587309"></a>
    47 <a class="indexterm" name="id2587316"></a>
    48 <a class="indexterm" name="id2587323"></a>
    49 <a class="indexterm" name="id2587330"></a>
     41<a class="indexterm" name="id2593325"></a>
     42<a class="indexterm" name="id2593335"></a>
     43<a class="indexterm" name="id2593344"></a>
     44</p><div class="sect2" title="Backward Compatibility Account Storage Systems"><div class="titlepage"><div><div><h3 class="title"><a name="id2593352"></a>Backward Compatibility Account Storage Systems</h3></div></div></div><div class="variablelist"><dl><dt><span class="term">Plaintext</span></dt><dd><p>
     45<a class="indexterm" name="id2593369"></a>
     46<a class="indexterm" name="id2593376"></a>
     47<a class="indexterm" name="id2593383"></a>
     48<a class="indexterm" name="id2593390"></a>
     49<a class="indexterm" name="id2593397"></a>
    5050                        This isn't really a backend at all, but is listed here for simplicity.  Samba can be configured to pass
    5151                        plaintext authentication requests to the traditional UNIX/Linux <code class="filename">/etc/passwd</code> and
     
    5555                        password usage.
    5656                        </p></dd><dt><span class="term">smbpasswd</span></dt><dd><p>
    57 <a class="indexterm" name="id2587377"></a>
    58 <a class="indexterm" name="id2587384"></a>
    59 <a class="indexterm" name="id2587391"></a>
    60 <a class="indexterm" name="id2587398"></a>
     57<a class="indexterm" name="id2593444"></a>
     58<a class="indexterm" name="id2593450"></a>
     59<a class="indexterm" name="id2593457"></a>
     60<a class="indexterm" name="id2593464"></a>
    6161                        This option allows continued use of the <code class="filename">smbpasswd</code>
    6262                        file that maintains a plain ASCII (text) layout that includes the MS Windows
     
    7070                        versions of Samba. It may be deprecated in future releases.
    7171                        </p></dd><dt><span class="term">ldapsam_compat (Samba-2.2 LDAP Compatibility)</span></dt><dd><p>
    72 <a class="indexterm" name="id2587444"></a>
    73 <a class="indexterm" name="id2587451"></a>
    74 <a class="indexterm" name="id2587458"></a>
     72<a class="indexterm" name="id2593511"></a>
     73<a class="indexterm" name="id2593518"></a>
     74<a class="indexterm" name="id2593525"></a>
    7575                        There is a password backend option that allows continued operation with
    7676                        an existing OpenLDAP backend that uses the Samba-2.2.x LDAP schema extension.
     
    7878                        no reason to force migration at this time. This tool will eventually
    7979                        be deprecated.
    80                         </p></dd></dl></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2587476"></a>New Account Storage Systems</h3></div></div></div><p>
     80                        </p></dd></dl></div></div><div class="sect2" title="New Account Storage Systems"><div class="titlepage"><div><div><h3 class="title"><a name="id2593543"></a>New Account Storage Systems</h3></div></div></div><p>
    8181Samba-3 introduces a number of new password backend capabilities.
    82 <a class="indexterm" name="id2587485"></a>
    83 <a class="indexterm" name="id2587494"></a>
     82<a class="indexterm" name="id2593552"></a>
     83<a class="indexterm" name="id2593561"></a>
    8484</p><div class="variablelist"><dl><dt><span class="term">tdbsam</span></dt><dd><p>
    85 <a class="indexterm" name="id2587516"></a>
    86 <a class="indexterm" name="id2587523"></a>
    87 <a class="indexterm" name="id2587529"></a>
     85<a class="indexterm" name="id2593582"></a>
     86<a class="indexterm" name="id2593589"></a>
     87<a class="indexterm" name="id2593596"></a>
    8888                        This backend provides a rich database backend for local servers. This
    8989                        backend is not suitable for multiple domain controllers (i.e., PDC + one
    9090                        or more BDC) installations.
    9191                        </p><p>
    92 <a class="indexterm" name="id2587542"></a>
    93 <a class="indexterm" name="id2587549"></a>
    94 <a class="indexterm" name="id2587556"></a>
    95 <a class="indexterm" name="id2587563"></a>
    96 <a class="indexterm" name="id2587570"></a>
    97 <a class="indexterm" name="id2587577"></a>
     92<a class="indexterm" name="id2593609"></a>
     93<a class="indexterm" name="id2593616"></a>
     94<a class="indexterm" name="id2593623"></a>
     95<a class="indexterm" name="id2593630"></a>
     96<a class="indexterm" name="id2593636"></a>
     97<a class="indexterm" name="id2593644"></a>
    9898                        The <span class="emphasis"><em>tdbsam</em></span> password backend stores the old <span class="emphasis"><em>
    9999                        smbpasswd</em></span> information plus the extended MS Windows NT/200x
     
    103103                        with MS Windows NT4/200x-based systems.
    104104                        </p><p>
    105 <a class="indexterm" name="id2587601"></a>
    106 <a class="indexterm" name="id2587608"></a>
    107 <a class="indexterm" name="id2587614"></a>
     105<a class="indexterm" name="id2593667"></a>
     106<a class="indexterm" name="id2593674"></a>
     107<a class="indexterm" name="id2593681"></a>
    108108                        The inclusion of the <span class="emphasis"><em>tdbsam</em></span> capability is a direct
    109109                        response to user requests to allow simple site operation without the overhead
     
    112112                        the use of OpenLDAP or of Active Directory integration is strongly recommended.
    113113                        </p></dd><dt><span class="term">ldapsam</span></dt><dd><p>
    114 <a class="indexterm" name="id2587643"></a>
    115 <a class="indexterm" name="id2587650"></a>
     114<a class="indexterm" name="id2593709"></a>
     115<a class="indexterm" name="id2593716"></a>
    116116                        This provides a rich directory backend for distributed account installation.
    117117                        </p><p>
    118 <a class="indexterm" name="id2587662"></a>
    119 <a class="indexterm" name="id2587668"></a>
    120 <a class="indexterm" name="id2587675"></a>
    121 <a class="indexterm" name="id2587682"></a>
    122 <a class="indexterm" name="id2587689"></a>
     118<a class="indexterm" name="id2593728"></a>
     119<a class="indexterm" name="id2593735"></a>
     120<a class="indexterm" name="id2593742"></a>
     121<a class="indexterm" name="id2593749"></a>
     122<a class="indexterm" name="id2593756"></a>
    123123                        Samba-3 has a new and extended LDAP implementation that requires configuration
    124124                        of OpenLDAP with a new format Samba schema. The new format schema file is
    125125                        included in the <code class="filename">examples/LDAP</code> directory of the Samba distribution.
    126126                        </p><p>
    127 <a class="indexterm" name="id2587711"></a>
    128 <a class="indexterm" name="id2587718"></a>
    129 <a class="indexterm" name="id2587725"></a>
    130 <a class="indexterm" name="id2587732"></a>
    131 <a class="indexterm" name="id2587739"></a>
     127<a class="indexterm" name="id2593778"></a>
     128<a class="indexterm" name="id2593785"></a>
     129<a class="indexterm" name="id2593792"></a>
     130<a class="indexterm" name="id2593798"></a>
     131<a class="indexterm" name="id2593806"></a>
    132132                        The new LDAP implementation significantly expands the control abilities that
    133133                        were possible with prior versions of Samba. It is now possible to specify
    134                         &#8220;<span class="quote">per-user</span>&#8221; profile settings, home directories, account access controls, and
     134                        <span class="quote">&#8220;<span class="quote">per-user</span>&#8221;</span> profile settings, home directories, account access controls, and
    135135                        much more. Corporate sites will see that the Samba Team has listened to their
    136136                        requests both for capability and greater scalability.
    137                         </p></dd></dl></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="passdbtech"></a>Technical Information</h2></div></div></div><p>
    138 <a class="indexterm" name="id2587774"></a>
    139 <a class="indexterm" name="id2587780"></a>
     137                        </p></dd></dl></div></div></div><div class="sect1" title="Technical Information"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="passdbtech"></a>Technical Information</h2></div></div></div><p>
     138<a class="indexterm" name="id2593840"></a>
     139<a class="indexterm" name="id2593847"></a>
    140140        Old Windows clients send plaintext passwords over the wire. Samba can check these
    141141        passwords by encrypting them and comparing them to the hash stored in the UNIX user database.
    142142        </p><p>
    143 <a class="indexterm" name="id2587794"></a>
    144 <a class="indexterm" name="id2587800"></a>
    145 <a class="indexterm" name="id2587807"></a>
    146 <a class="indexterm" name="id2587814"></a>
     143<a class="indexterm" name="id2593860"></a>
     144<a class="indexterm" name="id2593867"></a>
     145<a class="indexterm" name="id2593874"></a>
     146<a class="indexterm" name="id2593881"></a>
    147147        Newer Windows clients send encrypted passwords (LanMan and NT hashes) instead of plaintext passwords over
    148148        the wire. The newest clients will send only encrypted passwords and refuse to send plaintext passwords unless
    149149        their registry is tweaked.
    150150        </p><p>
    151 <a class="indexterm" name="id2587828"></a>
    152 <a class="indexterm" name="id2587836"></a>
     151<a class="indexterm" name="id2593895"></a>
     152<a class="indexterm" name="id2593902"></a>
    153153        Many people ask why Samba cannot simply use the UNIX password database. Windows requires
    154154        passwords that are encrypted in its own format.  The UNIX passwords can't be converted to
     
    156156        database, and you have to store the LanMan and NT hashes somewhere else.
    157157        </p><p>
    158 <a class="indexterm" name="id2587852"></a>
    159 <a class="indexterm" name="id2587859"></a>
    160 <a class="indexterm" name="id2587866"></a>
    161 <a class="indexterm" name="id2587872"></a>
     158<a class="indexterm" name="id2593918"></a>
     159<a class="indexterm" name="id2593925"></a>
     160<a class="indexterm" name="id2593932"></a>
     161<a class="indexterm" name="id2593939"></a>
    162162        In addition to differently encrypted passwords, Windows also stores certain data for each
    163163        user that is not stored in a UNIX user database: for example, workstations the user may logon from,
     
    167167        <a class="link" href="smb.conf.5.html#PASSDBBACKEND" target="_top">passdb backend</a> parameter.
    168168        </p><div class="figure"><a name="idmap-sid2uid"></a><p class="title"><b>Figure 11.1. IDMAP: Resolution of SIDs to UIDs.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/idmap-sid2uid.png" width="216" alt="IDMAP: Resolution of SIDs to UIDs."></div></div></div><br class="figure-break"><p>
    169         <a class="indexterm" name="id2587962"></a>
    170 <a class="indexterm" name="id2587968"></a>
    171 <a class="indexterm" name="id2587975"></a>
     169        <a class="indexterm" name="id2594028"></a>
     170<a class="indexterm" name="id2594035"></a>
     171<a class="indexterm" name="id2594042"></a>
    172172        The resolution of SIDs to UIDs is fundamental to correct operation of Samba. In both cases shown, if winbindd
    173173        is not running or cannot be contacted, then only local SID/UID resolution is possible. See <a class="link" href="passdb.html#idmap-sid2uid" title="Figure 11.1. IDMAP: Resolution of SIDs to UIDs.">resolution of SIDs to UIDs</a> and <a class="link" href="passdb.html#idmap-uid2sid" title="Figure 11.2. IDMAP: Resolution of UIDs to SIDs.">resolution of UIDs
    174174        to SIDs</a> diagrams.
    175         </p><div class="figure"><a name="idmap-uid2sid"></a><p class="title"><b>Figure 11.2. IDMAP: Resolution of UIDs to SIDs.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/idmap-uid2sid.png" width="270" alt="IDMAP: Resolution of UIDs to SIDs."></div></div></div><br class="figure-break"><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2588044"></a>Important Notes About Security</h3></div></div></div><p>
    176 <a class="indexterm" name="id2588053"></a>
    177 <a class="indexterm" name="id2588060"></a>
    178 <a class="indexterm" name="id2588067"></a>
    179 <a class="indexterm" name="id2588074"></a>
    180 <a class="indexterm" name="id2588081"></a>
     175        </p><div class="figure"><a name="idmap-uid2sid"></a><p class="title"><b>Figure 11.2. IDMAP: Resolution of UIDs to SIDs.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/idmap-uid2sid.png" width="270" alt="IDMAP: Resolution of UIDs to SIDs."></div></div></div><br class="figure-break"><div class="sect2" title="Important Notes About Security"><div class="titlepage"><div><div><h3 class="title"><a name="id2594111"></a>Important Notes About Security</h3></div></div></div><p>
     176<a class="indexterm" name="id2594119"></a>
     177<a class="indexterm" name="id2594126"></a>
     178<a class="indexterm" name="id2594133"></a>
     179<a class="indexterm" name="id2594140"></a>
     180<a class="indexterm" name="id2594147"></a>
    181181                The UNIX and SMB password encryption techniques seem similar on the surface. This
    182182                similarity is, however, only skin deep. The UNIX scheme typically sends clear-text
     
    184184                never sends the clear-text password over the network, but it does store the 16-byte
    185185                hashed values on disk. This is also bad. Why? Because the 16 byte hashed values
    186                 are a &#8220;<span class="quote">password equivalent.</span>&#8221; You cannot derive the user's password from them, but
     186                are a <span class="quote">&#8220;<span class="quote">password equivalent.</span>&#8221;</span> You cannot derive the user's password from them, but
    187187                they could potentially be used in a modified client to gain access to a server.
    188188                This would require considerable technical knowledge on behalf of the attacker but
     
    192192                be protected accordingly.
    193193                </p><p>
    194 <a class="indexterm" name="id2588110"></a>
    195 <a class="indexterm" name="id2588116"></a>
    196 <a class="indexterm" name="id2588123"></a>
     194<a class="indexterm" name="id2594177"></a>
     195<a class="indexterm" name="id2594183"></a>
     196<a class="indexterm" name="id2594190"></a>
    197197                Ideally, we would like a password scheme that involves neither plaintext passwords
    198198                on the network nor plaintext passwords on disk. Unfortunately, this is not available because Samba is stuck with
    199199                having to be compatible with other SMB systems (Windows NT, Windows for Workgroups, Windows 9x/Me).
    200200                </p><p>
    201 <a class="indexterm" name="id2588138"></a>
    202 <a class="indexterm" name="id2588145"></a>
     201<a class="indexterm" name="id2594205"></a>
     202<a class="indexterm" name="id2594212"></a>
    203203                Windows NT 4.0 Service Pack 3 changed the default setting so plaintext passwords
    204204                are disabled from being sent over the wire. This mandates either the use of encrypted
    205205                password support or editing the Windows NT registry to re-enable plaintext passwords.
    206206                </p><p>
    207 <a class="indexterm" name="id2588160"></a>
    208 <a class="indexterm" name="id2588167"></a>
     207<a class="indexterm" name="id2594226"></a>
     208<a class="indexterm" name="id2594233"></a>
    209209                The following versions of Microsoft Windows do not support full domain security protocols,
    210210                although they may log onto a domain environment:
    211                 </p><div class="itemizedlist"><ul type="disc"><li><p>MS DOS Network client 3.0 with the basic network redirector installed.</p></li><li><p>Windows 95 with the network redirector update installed.</p></li><li><p>Windows 98 [Second Edition].</p></li><li><p>Windows Me.</p></li></ul></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    212 <a class="indexterm" name="id2588205"></a>
    213 <a class="indexterm" name="id2588212"></a>
    214 <a class="indexterm" name="id2588219"></a>
     211                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>MS DOS Network client 3.0 with the basic network redirector installed.</p></li><li class="listitem"><p>Windows 95 with the network redirector update installed.</p></li><li class="listitem"><p>Windows 98 [Second Edition].</p></li><li class="listitem"><p>Windows Me.</p></li></ul></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     212<a class="indexterm" name="id2594272"></a>
     213<a class="indexterm" name="id2594279"></a>
     214<a class="indexterm" name="id2594286"></a>
    215215                MS Windows XP Home does not have facilities to become a domain member, and it cannot participate in domain logons.
    216216                </p></div><p>
    217217                The following versions of MS Windows fully support domain security protocols.
    218                 </p><div class="itemizedlist"><ul type="disc"><li><p>Windows NT 3.5x.</p></li><li><p>Windows NT 4.0.</p></li><li><p>Windows 2000 Professional.</p></li><li><p>Windows 200x Server/Advanced Server.</p></li><li><p>Windows XP Professional.</p></li></ul></div><p>
    219 <a class="indexterm" name="id2588264"></a>
    220 <a class="indexterm" name="id2588271"></a>
    221 <a class="indexterm" name="id2588278"></a>
    222 <a class="indexterm" name="id2588285"></a>
    223 <a class="indexterm" name="id2588292"></a>
    224 <a class="indexterm" name="id2588299"></a>
     218                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Windows NT 3.5x.</p></li><li class="listitem"><p>Windows NT 4.0.</p></li><li class="listitem"><p>Windows 2000 Professional.</p></li><li class="listitem"><p>Windows 200x Server/Advanced Server.</p></li><li class="listitem"><p>Windows XP Professional.</p></li></ul></div><p>
     219<a class="indexterm" name="id2594331"></a>
     220<a class="indexterm" name="id2594338"></a>
     221<a class="indexterm" name="id2594345"></a>
     222<a class="indexterm" name="id2594352"></a>
     223<a class="indexterm" name="id2594358"></a>
     224<a class="indexterm" name="id2594365"></a>
    225225                All current releases of Microsoft SMB/CIFS clients support authentication via the
    226226                SMB challenge/response mechanism described here. Enabling clear-text authentication
     
    229229                handling.
    230230                </p><p>
    231 <a class="indexterm" name="id2588315"></a>
    232 <a class="indexterm" name="id2588322"></a>
    233 <a class="indexterm" name="id2588329"></a>
    234 <a class="indexterm" name="id2588336"></a>
    235 <a class="indexterm" name="id2588343"></a>
     231<a class="indexterm" name="id2594381"></a>
     232<a class="indexterm" name="id2594388"></a>
     233<a class="indexterm" name="id2594395"></a>
     234<a class="indexterm" name="id2594402"></a>
     235<a class="indexterm" name="id2594409"></a>
    236236                MS Windows clients will cache the encrypted password alone. Where plaintext passwords
    237237                are re-enabled through the appropriate registry change, the plaintext password is never
     
    240240                effect an auto-reconnect. If the resource server does not support encrypted passwords, the
    241241                auto-reconnect will fail. Use of encrypted passwords is strongly advised.
    242                 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2588360"></a>Advantages of Encrypted Passwords</h4></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>
    243 <a class="indexterm" name="id2588371"></a>
    244 <a class="indexterm" name="id2588378"></a>
    245 <a class="indexterm" name="id2588385"></a>
     242                </p><div class="sect3" title="Advantages of Encrypted Passwords"><div class="titlepage"><div><div><h4 class="title"><a name="id2594426"></a>Advantages of Encrypted Passwords</h4></div></div></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     243<a class="indexterm" name="id2594438"></a>
     244<a class="indexterm" name="id2594445"></a>
     245<a class="indexterm" name="id2594452"></a>
    246246                                Plaintext passwords are not passed across the network. Someone using a network sniffer
    247247                                cannot just record passwords going to the SMB server.
    248                                 </p></li><li><p>
    249 <a class="indexterm" name="id2588399"></a>
    250 <a class="indexterm" name="id2588406"></a>
    251 <a class="indexterm" name="id2588412"></a>
     248                                </p></li><li class="listitem"><p>
     249<a class="indexterm" name="id2594465"></a>
     250<a class="indexterm" name="id2594472"></a>
     251<a class="indexterm" name="id2594479"></a>
    252252                                Plaintext passwords are not stored anywhere in memory or on disk.
    253                                 </p></li><li><p>
    254 <a class="indexterm" name="id2588425"></a>
    255 <a class="indexterm" name="id2588432"></a>
    256 <a class="indexterm" name="id2588439"></a>
    257 <a class="indexterm" name="id2588446"></a>
     253                                </p></li><li class="listitem"><p>
     254<a class="indexterm" name="id2594491"></a>
     255<a class="indexterm" name="id2594498"></a>
     256<a class="indexterm" name="id2594505"></a>
     257<a class="indexterm" name="id2594512"></a>
    258258                                Windows NT does not like talking to a server that does not support encrypted passwords. It will refuse to
    259259                                browse the server if the server is also in user-level security mode. It will insist on prompting the user for
    260260                                the password on each connection, which is very annoying. The only thing you can do to stop this is to use SMB
    261261                                encryption.
    262                                 </p></li><li><p>
    263 <a class="indexterm" name="id2588463"></a>
    264 <a class="indexterm" name="id2588470"></a>
     262                                </p></li><li class="listitem"><p>
     263<a class="indexterm" name="id2594530"></a>
     264<a class="indexterm" name="id2594536"></a>
    265265                                Encrypted password support allows automatic share (resource) reconnects.
    266                                 </p></li><li><p>
    267 <a class="indexterm" name="id2588483"></a>
    268 <a class="indexterm" name="id2588489"></a>
     266                                </p></li><li class="listitem"><p>
     267<a class="indexterm" name="id2594549"></a>
     268<a class="indexterm" name="id2594556"></a>
    269269                                Encrypted passwords are essential for PDC/BDC operation.
    270                                 </p></li></ul></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2588500"></a>Advantages of Non-Encrypted Passwords</h4></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>
    271 <a class="indexterm" name="id2588512"></a>
     270                                </p></li></ul></div></div><div class="sect3" title="Advantages of Non-Encrypted Passwords"><div class="titlepage"><div><div><h4 class="title"><a name="id2594567"></a>Advantages of Non-Encrypted Passwords</h4></div></div></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     271<a class="indexterm" name="id2594578"></a>
    272272                                Plaintext passwords are not kept on disk and are not cached in memory.
    273                                 </p></li><li><p>
    274 <a class="indexterm" name="id2588524"></a>
    275 <a class="indexterm" name="id2588531"></a>
     273                                </p></li><li class="listitem"><p>
     274<a class="indexterm" name="id2594591"></a>
     275<a class="indexterm" name="id2594598"></a>
    276276                                Plaintext passwords use the same password file as other UNIX services, such as Login and FTP.
    277                                 </p></li><li><p>
    278 <a class="indexterm" name="id2588544"></a>
    279 <a class="indexterm" name="id2588551"></a>
     277                                </p></li><li class="listitem"><p>
     278<a class="indexterm" name="id2594610"></a>
     279<a class="indexterm" name="id2594617"></a>
    280280                                Use of other services (such as Telnet and FTP) that send plaintext passwords over
    281281                                the network makes sending them for SMB not such a big deal.
    282                                 </p></li></ul></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2588564"></a>Mapping User Identifiers between MS Windows and UNIX</h3></div></div></div><p>
    283 <a class="indexterm" name="id2588573"></a>
    284 <a class="indexterm" name="id2588579"></a>
    285 <a class="indexterm" name="id2588586"></a>
     282                                </p></li></ul></div></div></div><div class="sect2" title="Mapping User Identifiers between MS Windows and UNIX"><div class="titlepage"><div><div><h3 class="title"><a name="id2594631"></a>Mapping User Identifiers between MS Windows and UNIX</h3></div></div></div><p>
     283<a class="indexterm" name="id2594639"></a>
     284<a class="indexterm" name="id2594646"></a>
     285<a class="indexterm" name="id2594652"></a>
    286286        Every operation in UNIX/Linux requires a user identifier (UID), just as in
    287287        MS Windows NT4/200x this requires a security identifier (SID). Samba provides
    288288        two means for mapping an MS Windows user to a UNIX/Linux UID.
    289289        </p><p>
    290 <a class="indexterm" name="id2588600"></a>
    291 <a class="indexterm" name="id2588606"></a>
    292 <a class="indexterm" name="id2588613"></a>
    293 <a class="indexterm" name="id2588619"></a>
    294 <a class="indexterm" name="id2588627"></a>
     290<a class="indexterm" name="id2594666"></a>
     291<a class="indexterm" name="id2594673"></a>
     292<a class="indexterm" name="id2594679"></a>
     293<a class="indexterm" name="id2594686"></a>
     294<a class="indexterm" name="id2594693"></a>
    295295        First, all Samba SAM database accounts require a UNIX/Linux UID that the account will map to. As users are
    296296        added to the account information database, Samba will call the <a class="link" href="smb.conf.5.html#ADDUSERSCRIPT" target="_top">add user script</a>
     
    298298        user account.
    299299        </p><p>
    300         <a class="indexterm" name="id2588656"></a>
    301         <a class="indexterm" name="id2588662"></a>
    302         <a class="indexterm" name="id2588669"></a>
    303         <a class="indexterm" name="id2588675"></a>
    304         <a class="indexterm" name="id2588682"></a>
    305         <a class="indexterm" name="id2588689"></a>
    306         <a class="indexterm" name="id2588696"></a>
     300        <a class="indexterm" name="id2594722"></a>
     301        <a class="indexterm" name="id2594728"></a>
     302        <a class="indexterm" name="id2594735"></a>
     303        <a class="indexterm" name="id2594742"></a>
     304        <a class="indexterm" name="id2594748"></a>
     305        <a class="indexterm" name="id2594754"></a>
     306        <a class="indexterm" name="id2594762"></a>
    307307        The second way to map Windows SID to UNIX UID is via the <span class="emphasis"><em>idmap uid</em></span> and
    308308        <span class="emphasis"><em>idmap gid</em></span> parameters in <code class="filename">smb.conf</code>.  Please refer to the man page for information about
    309309        these parameters.  These parameters are essential when mapping users from a remote (non-member Windows client
    310310        or a member of a foreign domain) SAM server.
    311         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="idmapbackend"></a>Mapping Common UIDs/GIDs on Distributed Machines</h3></div></div></div><p>
    312 <a class="indexterm" name="id2588735"></a>
    313 <a class="indexterm" name="id2588742"></a>
    314 <a class="indexterm" name="id2588748"></a>
    315 <a class="indexterm" name="id2588755"></a>
    316 <a class="indexterm" name="id2588762"></a>
    317 <a class="indexterm" name="id2588768"></a>
     311        </p></div><div class="sect2" title="Mapping Common UIDs/GIDs on Distributed Machines"><div class="titlepage"><div><div><h3 class="title"><a name="idmapbackend"></a>Mapping Common UIDs/GIDs on Distributed Machines</h3></div></div></div><p>
     312<a class="indexterm" name="id2594801"></a>
     313<a class="indexterm" name="id2594807"></a>
     314<a class="indexterm" name="id2594814"></a>
     315<a class="indexterm" name="id2594820"></a>
     316<a class="indexterm" name="id2594828"></a>
     317<a class="indexterm" name="id2594834"></a>
    318318        Samba-3 has a special facility that makes it possible to maintain identical UIDs and GIDs
    319319        on all servers in a distributed network. A distributed network is one where there exists
     
    322322        users are copying files across UNIX/Linux systems using tools such as <code class="literal">rsync</code>.
    323323        </p><p>
    324 <a class="indexterm" name="id2588791"></a>
    325 <a class="indexterm" name="id2588798"></a>
    326 <a class="indexterm" name="id2588805"></a>
    327 <a class="indexterm" name="id2588811"></a>
    328 <a class="indexterm" name="id2588817"></a>
    329 <a class="indexterm" name="id2588824"></a>
    330 <a class="indexterm" name="id2588831"></a>
    331         <a class="indexterm" name="id2588838"></a>
     324<a class="indexterm" name="id2594857"></a>
     325<a class="indexterm" name="id2594864"></a>
     326<a class="indexterm" name="id2594871"></a>
     327<a class="indexterm" name="id2594877"></a>
     328<a class="indexterm" name="id2594884"></a>
     329<a class="indexterm" name="id2594890"></a>
     330<a class="indexterm" name="id2594897"></a>
     331        <a class="indexterm" name="id2594904"></a>
    332332        The special facility is enabled using a parameter called <em class="parameter"><code>idmap backend</code></em>.
    333333        The default setting for this parameter is an empty string. Technically it is possible to use
     
    336336        <a class="link" href="passdb.html#idmapbackendexample" title="Example 11.1. Example Configuration with the LDAP idmap Backend">Example Configuration with the LDAP idmap Backend</a>
    337337        shows that configuration.
    338         </p><a class="indexterm" name="id2588867"></a><div class="example"><a name="idmapbackendexample"></a><p class="title"><b>Example 11.1. Example Configuration with the LDAP idmap Backend</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2588900"></a><em class="parameter"><code>idmap backend = ldap:ldap://ldap-server.quenya.org:636</code></em></td></tr><tr><td># Alternatively, this could be specified as:</td></tr><tr><td><a class="indexterm" name="id2588916"></a><em class="parameter"><code>idmap backend = ldap:ldaps://ldap-server.quenya.org</code></em></td></tr></table></div></div><br class="example-break"><p>
    339 <a class="indexterm" name="id2588932"></a>
    340 <a class="indexterm" name="id2588939"></a>
     338        </p><a class="indexterm" name="id2594933"></a><div class="example"><a name="idmapbackendexample"></a><p class="title"><b>Example 11.1. Example Configuration with the LDAP idmap Backend</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2594967"></a><em class="parameter"><code>idmap backend = ldap:ldap://ldap-server.quenya.org:636</code></em></td></tr><tr><td># Alternatively, this could be specified as:</td></tr><tr><td><a class="indexterm" name="id2594983"></a><em class="parameter"><code>idmap backend = ldap:ldaps://ldap-server.quenya.org</code></em></td></tr></table></div></div><br class="example-break"><p>
     339<a class="indexterm" name="id2594999"></a>
     340<a class="indexterm" name="id2595006"></a>
    341341        A network administrator who wants to make significant use of LDAP backends will sooner or later be
    342342        exposed to the excellent work done by PADL Software. PADL <a class="ulink" href="http://www.padl.com" target="_top">http://www.padl.com</a> have
    343343        produced and released to open source an array of tools that might be of interest. These tools include:
    344         </p><div class="itemizedlist"><ul type="disc"><li><p>
    345 <a class="indexterm" name="id2588963"></a>
    346 <a class="indexterm" name="id2588969"></a>
    347 <a class="indexterm" name="id2588976"></a>
    348 <a class="indexterm" name="id2588983"></a>
    349 <a class="indexterm" name="id2588990"></a>
    350 <a class="indexterm" name="id2588996"></a>
    351 <a class="indexterm" name="id2589003"></a>
    352 <a class="indexterm" name="id2589010"></a>
     344        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     345<a class="indexterm" name="id2595029"></a>
     346<a class="indexterm" name="id2595036"></a>
     347<a class="indexterm" name="id2595043"></a>
     348<a class="indexterm" name="id2595050"></a>
     349<a class="indexterm" name="id2595056"></a>
     350<a class="indexterm" name="id2595063"></a>
     351<a class="indexterm" name="id2595070"></a>
     352<a class="indexterm" name="id2595076"></a>
    353353                <span class="emphasis"><em>nss_ldap:</em></span> An LDAP name service switch (NSS) module to provide native
    354354                name service support for AIX, Linux, Solaris, and other operating systems. This tool
    355355                can be used for centralized storage and retrieval of UIDs and GIDs.
    356                 </p></li><li><p>
    357 <a class="indexterm" name="id2589030"></a>
    358 <a class="indexterm" name="id2589037"></a>
    359 <a class="indexterm" name="id2589043"></a>
    360 <a class="indexterm" name="id2589050"></a>
     356                </p></li><li class="listitem"><p>
     357<a class="indexterm" name="id2595097"></a>
     358<a class="indexterm" name="id2595103"></a>
     359<a class="indexterm" name="id2595110"></a>
     360<a class="indexterm" name="id2595117"></a>
    361361                <span class="emphasis"><em>pam_ldap:</em></span> A PAM module that provides LDAP integration for UNIX/Linux
    362362                system access authentication.
    363                 </p></li><li><p>
    364 <a class="indexterm" name="id2589069"></a>
    365 <a class="indexterm" name="id2589076"></a>
    366 <a class="indexterm" name="id2589082"></a>
    367 <a class="indexterm" name="id2589089"></a>
     363                </p></li><li class="listitem"><p>
     364<a class="indexterm" name="id2595135"></a>
     365<a class="indexterm" name="id2595142"></a>
     366<a class="indexterm" name="id2595149"></a>
     367<a class="indexterm" name="id2595156"></a>
    368368                <span class="emphasis"><em>idmap_ad:</em></span> An IDMAP backend that supports the Microsoft Services for
    369369                UNIX RFC 2307 schema available from the PADL Web
    370370                <a class="ulink" href="http://www.padl.com/download/xad_oss_plugins.tar.gz" target="_top">site</a>.
    371                 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2589112"></a>Comments Regarding LDAP</h3></div></div></div><p>
    372 <a class="indexterm" name="id2589120"></a>
    373 <a class="indexterm" name="id2589130"></a>
    374 <a class="indexterm" name="id2589137"></a>
    375 <a class="indexterm" name="id2589143"></a>
     371                </p></li></ul></div></div><div class="sect2" title="Comments Regarding LDAP"><div class="titlepage"><div><div><h3 class="title"><a name="id2595179"></a>Comments Regarding LDAP</h3></div></div></div><p>
     372<a class="indexterm" name="id2595187"></a>
     373<a class="indexterm" name="id2595196"></a>
     374<a class="indexterm" name="id2595203"></a>
     375<a class="indexterm" name="id2595210"></a>
    376376        There is much excitement and interest in LDAP directories in the information technology world
    377377        today. The LDAP architecture was designed to be highly scalable. It was also designed for
     
    380380        Identity Management (FIM) solutions that can underlie a corporate Single Sign-On (SSO) environment.
    381381        </p><p>
    382 <a class="indexterm" name="id2589161"></a>
    383 <a class="indexterm" name="id2589168"></a>
    384 <a class="indexterm" name="id2589175"></a>
    385 <a class="indexterm" name="id2589181"></a>
     382<a class="indexterm" name="id2595228"></a>
     383<a class="indexterm" name="id2595235"></a>
     384<a class="indexterm" name="id2595241"></a>
     385<a class="indexterm" name="id2595248"></a>
    386386        LDAP implementations have been built across a wide variety of platforms. It lies at the core of Microsoft
    387387        Windows Active Directory services (ADS), Novell's eDirectory, as well as many others. Implementation of the
     
    389389        depend on some form of authentication services.
    390390        </p><p>
    391 <a class="indexterm" name="id2589198"></a>
    392 <a class="indexterm" name="id2589205"></a>
    393 <a class="indexterm" name="id2589212"></a>
    394 <a class="indexterm" name="id2589219"></a>
    395 <a class="indexterm" name="id2589226"></a>
    396 <a class="indexterm" name="id2589232"></a>
    397 <a class="indexterm" name="id2589239"></a>
    398 <a class="indexterm" name="id2589246"></a>
    399 <a class="indexterm" name="id2589253"></a>
    400 <a class="indexterm" name="id2589260"></a>
    401 <a class="indexterm" name="id2589267"></a>
    402 <a class="indexterm" name="id2589274"></a>
    403 <a class="indexterm" name="id2589281"></a>
    404 <a class="indexterm" name="id2589288"></a>
     391<a class="indexterm" name="id2595264"></a>
     392<a class="indexterm" name="id2595271"></a>
     393<a class="indexterm" name="id2595278"></a>
     394<a class="indexterm" name="id2595285"></a>
     395<a class="indexterm" name="id2595292"></a>
     396<a class="indexterm" name="id2595299"></a>
     397<a class="indexterm" name="id2595306"></a>
     398<a class="indexterm" name="id2595313"></a>
     399<a class="indexterm" name="id2595320"></a>
     400<a class="indexterm" name="id2595327"></a>
     401<a class="indexterm" name="id2595334"></a>
     402<a class="indexterm" name="id2595340"></a>
     403<a class="indexterm" name="id2595347"></a>
     404<a class="indexterm" name="id2595354"></a>
    405405        UNIX services can utilize LDAP directory information for authentication and access controls
    406406        through intermediate tools and utilities. The total environment that consists of the LDAP directory
     
    411411        and also Samba.
    412412        </p><p>
    413 <a class="indexterm" name="id2589308"></a>
    414 <a class="indexterm" name="id2589315"></a>
    415 <a class="indexterm" name="id2589322"></a>
    416 <a class="indexterm" name="id2589328"></a>
    417 <a class="indexterm" name="id2589335"></a>
    418 <a class="indexterm" name="id2589342"></a>
     413<a class="indexterm" name="id2595374"></a>
     414<a class="indexterm" name="id2595381"></a>
     415<a class="indexterm" name="id2595388"></a>
     416<a class="indexterm" name="id2595395"></a>
     417<a class="indexterm" name="id2595402"></a>
     418<a class="indexterm" name="id2595409"></a>
    419419        Many sites are installing LDAP for the first time in order to provide a scalable passdb backend
    420420        for Samba. Others are faced with the need to adapt an existing LDAP directory to new uses such
     
    424424        information systems management costs.
    425425        </p><p>
    426 <a class="indexterm" name="id2589361"></a>
    427 <a class="indexterm" name="id2589368"></a>
     426<a class="indexterm" name="id2595428"></a>
     427<a class="indexterm" name="id2595435"></a>
    428428        Do not rush into an LDAP deployment. Take the time to understand how the design of the Directory
    429429        Information Tree (DIT) may impact current and future site needs, as well as the ability to meet
     
    432432        first implementations create awakening, second implementations of LDAP create fear, and
    433433        third-generation deployments bring peace and tranquility.
    434         </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2589388"></a>Caution Regarding LDAP and Samba</h4></div></div></div><p>
    435 <a class="indexterm" name="id2589396"></a>
    436 <a class="indexterm" name="id2589403"></a>
    437 <a class="indexterm" name="id2589410"></a>
    438 <a class="indexterm" name="id2589417"></a>
    439 <a class="indexterm" name="id2589424"></a>
    440 <a class="indexterm" name="id2589431"></a>
    441 <a class="indexterm" name="id2589438"></a>
     434        </p><div class="sect3" title="Caution Regarding LDAP and Samba"><div class="titlepage"><div><div><h4 class="title"><a name="id2595454"></a>Caution Regarding LDAP and Samba</h4></div></div></div><p>
     435<a class="indexterm" name="id2595463"></a>
     436<a class="indexterm" name="id2595470"></a>
     437<a class="indexterm" name="id2595477"></a>
     438<a class="indexterm" name="id2595484"></a>
     439<a class="indexterm" name="id2595490"></a>
     440<a class="indexterm" name="id2595498"></a>
     441<a class="indexterm" name="id2595505"></a>
    442442        Samba requires UNIX POSIX identity information as well as a place to store information that is
    443443        specific to Samba and the Windows networking environment. The most used information that must
     
    445445        trust accounts, and intermediate information specific to Samba internals.
    446446        </p><p>
    447 <a class="indexterm" name="id2589454"></a>
    448 <a class="indexterm" name="id2589461"></a>
    449 <a class="indexterm" name="id2589468"></a>
     447<a class="indexterm" name="id2595521"></a>
     448<a class="indexterm" name="id2595528"></a>
     449<a class="indexterm" name="id2595535"></a>
    450450        The example deployment guidelines in this book, as well as other books and HOWTO documents
    451451        available from the internet may not fit with established directory designs and implementations.
     
    454454        the LDAP directory for use with Samba may not suit your needs.
    455455        </p><p>
    456 <a class="indexterm" name="id2589486"></a>
     456<a class="indexterm" name="id2595553"></a>
    457457        It is not uncommon, for sites that have existing LDAP DITs to find necessity to generate a
    458458        set of site-specific scripts and utilities to make it possible to deploy Samba within the
     
    462462        into deployment.
    463463        </p><p>
    464 <a class="indexterm" name="id2589504"></a>
    465 <a class="indexterm" name="id2589511"></a>
     464<a class="indexterm" name="id2595571"></a>
     465<a class="indexterm" name="id2595578"></a>
    466466        Above all, do not blindly use scripts and tools that are not suitable for your site. Check
    467467        and validate all scripts before you execute them to make sure that the existing infrastructure
    468468        will not be damaged by inadvertent use of an inappropriate tool.
    469         </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2589525"></a>LDAP Directories and Windows Computer Accounts</h3></div></div></div><p>
    470 <a class="indexterm" name="id2589534"></a>
    471 <a class="indexterm" name="id2589541"></a>
    472 <a class="indexterm" name="id2589548"></a>
     469        </p></div></div><div class="sect2" title="LDAP Directories and Windows Computer Accounts"><div class="titlepage"><div><div><h3 class="title"><a name="id2595592"></a>LDAP Directories and Windows Computer Accounts</h3></div></div></div><p>
     470<a class="indexterm" name="id2595600"></a>
     471<a class="indexterm" name="id2595607"></a>
     472<a class="indexterm" name="id2595614"></a>
    473473                Samba doesn't provide a turnkey solution to LDAP. It is best to deal with the design and
    474474                configuration of an LDAP directory prior to integration with Samba. A working knowledge
     
    476476                it a frustrating experience.
    477477                </p><p>
    478 <a class="indexterm" name="id2589563"></a>
    479 <a class="indexterm" name="id2589570"></a>
    480 <a class="indexterm" name="id2589577"></a>
     478<a class="indexterm" name="id2595630"></a>
     479<a class="indexterm" name="id2595637"></a>
     480<a class="indexterm" name="id2595644"></a>
    481481                Computer (machine) accounts can be placed wherever you like in an LDAP directory subject
    482482                to some constraints that are described in this chapter.
    483483                </p><p>
    484 <a class="indexterm" name="id2589590"></a>
    485 <a class="indexterm" name="id2589596"></a>
    486 <a class="indexterm" name="id2589603"></a>
    487 <a class="indexterm" name="id2589610"></a>
    488 <a class="indexterm" name="id2589617"></a>
    489 <a class="indexterm" name="id2589624"></a>
    490 <a class="indexterm" name="id2589631"></a>
     484<a class="indexterm" name="id2595656"></a>
     485<a class="indexterm" name="id2595663"></a>
     486<a class="indexterm" name="id2595670"></a>
     487<a class="indexterm" name="id2595677"></a>
     488<a class="indexterm" name="id2595684"></a>
     489<a class="indexterm" name="id2595691"></a>
     490<a class="indexterm" name="id2595698"></a>
    491491                The POSIX and sambaSamAccount components of computer (machine) accounts are both used by Samba.
    492492                Thus, machine accounts are treated inside Samba in the same way that Windows NT4/200X treats
     
    494494                the machine account ends in a $ character, as do trust accounts.
    495495                </p><p>
    496 <a class="indexterm" name="id2589647"></a>
    497 <a class="indexterm" name="id2589654"></a>
    498 <a class="indexterm" name="id2589661"></a>
    499 <a class="indexterm" name="id2589668"></a>
    500 <a class="indexterm" name="id2589675"></a>
     496<a class="indexterm" name="id2595714"></a>
     497<a class="indexterm" name="id2595721"></a>
     498<a class="indexterm" name="id2595728"></a>
     499<a class="indexterm" name="id2595734"></a>
     500<a class="indexterm" name="id2595741"></a>
    501501                The need for Windows user, group, machine, trust, and other accounts to be tied to a valid UNIX
    502502                UID is a design decision that was made a long way back in the history of Samba development. It
     
    504504                Samba-3.x series.
    505505                </p><p>
    506 <a class="indexterm" name="id2589690"></a>
    507 <a class="indexterm" name="id2589696"></a>
    508 <a class="indexterm" name="id2589703"></a>
     506<a class="indexterm" name="id2595756"></a>
     507<a class="indexterm" name="id2595763"></a>
     508<a class="indexterm" name="id2595769"></a>
    509509                The resolution of a UID from the Windows SID is achieved within Samba through a mechanism that
    510510                must refer back to the host operating system on which Samba is running. The NSS is the preferred
     
    512512                host OS it runs on.
    513513                </p><p>
    514 <a class="indexterm" name="id2589718"></a>
    515 <a class="indexterm" name="id2589724"></a>
    516 <a class="indexterm" name="id2589731"></a>
    517 <a class="indexterm" name="id2589738"></a>
    518 <a class="indexterm" name="id2589745"></a>
    519 <a class="indexterm" name="id2589751"></a>
    520 <a class="indexterm" name="id2589758"></a>
    521                 Samba asks the host OS to provide a UID via the &#8220;<span class="quote">passwd</span>&#8221;, &#8220;<span class="quote">shadow</span>&#8221;,
    522                 and &#8220;<span class="quote">group</span>&#8221; facilities in the NSS control (configuration) file. The best tool
     514<a class="indexterm" name="id2595785"></a>
     515<a class="indexterm" name="id2595791"></a>
     516<a class="indexterm" name="id2595798"></a>
     517<a class="indexterm" name="id2595805"></a>
     518<a class="indexterm" name="id2595812"></a>
     519<a class="indexterm" name="id2595818"></a>
     520<a class="indexterm" name="id2595825"></a>
     521                Samba asks the host OS to provide a UID via the <span class="quote">&#8220;<span class="quote">passwd</span>&#8221;</span>, <span class="quote">&#8220;<span class="quote">shadow</span>&#8221;</span>,
     522                and <span class="quote">&#8220;<span class="quote">group</span>&#8221;</span> facilities in the NSS control (configuration) file. The best tool
    523523                for achieving this is left up to the UNIX administrator to determine. It is not imposed by
    524524                Samba. Samba provides winbindd with its support libraries as one method. It is
     
    526526                all account entities can be located in an LDAP directory.
    527527                </p><p>
    528 <a class="indexterm" name="id2589786"></a>
    529 <a class="indexterm" name="id2589793"></a>
    530 <a class="indexterm" name="id2589800"></a>
    531 <a class="indexterm" name="id2589807"></a>
    532 <a class="indexterm" name="id2589813"></a>
     528<a class="indexterm" name="id2595853"></a>
     529<a class="indexterm" name="id2595860"></a>
     530<a class="indexterm" name="id2595867"></a>
     531<a class="indexterm" name="id2595873"></a>
     532<a class="indexterm" name="id2595880"></a>
    533533                For many the weapon of choice is to use the PADL nss_ldap utility. This utility must
    534534                be configured so that computer accounts can be resolved to a POSIX/UNIX account UID. That
     
    536536                in the documentation is directed at providing working examples only. The design
    537537                of an LDAP directory is a complex subject that is beyond the scope of this documentation.
    538                 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="acctmgmttools"></a>Account Management Tools</h2></div></div></div><p>
    539 <a class="indexterm" name="id2589844"></a>
    540 <a class="indexterm" name="id2589851"></a>
    541 <a class="indexterm" name="id2589857"></a>
     538                </p></div></div><div class="sect1" title="Account Management Tools"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="acctmgmttools"></a>Account Management Tools</h2></div></div></div><p>
     539<a class="indexterm" name="id2595910"></a>
     540<a class="indexterm" name="id2595917"></a>
     541<a class="indexterm" name="id2595924"></a>
    542542Samba provides two tools for management of user and machine accounts:
    543543<code class="literal">smbpasswd</code> and <code class="literal">pdbedit</code>.
    544544</p><p>
    545 <a class="indexterm" name="id2589880"></a>
    546 <a class="indexterm" name="id2589887"></a>
    547 <a class="indexterm" name="id2589894"></a>
     545<a class="indexterm" name="id2595947"></a>
     546<a class="indexterm" name="id2595954"></a>
     547<a class="indexterm" name="id2595961"></a>
    548548The <code class="literal">pdbedit</code> can be used to manage account policies in addition to
    549549Samba user account information. The policy management capability is used to administer
     
    551551attempts.
    552552</p><p>
    553 <a class="indexterm" name="id2589914"></a>
    554 <a class="indexterm" name="id2589921"></a>
    555 <a class="indexterm" name="id2589928"></a>
    556 <a class="indexterm" name="id2589935"></a>
     553<a class="indexterm" name="id2595981"></a>
     554<a class="indexterm" name="id2595988"></a>
     555<a class="indexterm" name="id2595995"></a>
     556<a class="indexterm" name="id2596002"></a>
    557557Some people are confused when reference is made to <code class="literal">smbpasswd</code> because the
    558558name refers to a storage mechanism for SambaSAMAccount information, but it is also the name
    559559of a utility tool. That tool is destined to eventually be replaced by new functionality that
    560560is being added to the <code class="literal">net</code> toolset (see <a class="link" href="NetCommand.html" title="Chapter 13. Remote and Local Management: The Net Command">the Net Command</a>.
    561 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2589966"></a>The <code class="literal">smbpasswd</code> Tool</h3></div></div></div><p>
    562 <a class="indexterm" name="id2589980"></a>
    563 <a class="indexterm" name="id2589986"></a>
    564 <a class="indexterm" name="id2589993"></a>
    565 <a class="indexterm" name="id2590000"></a>
    566 <a class="indexterm" name="id2590007"></a>
     561</p><div class="sect2" title="The smbpasswd Tool"><div class="titlepage"><div><div><h3 class="title"><a name="id2596033"></a>The <code class="literal">smbpasswd</code> Tool</h3></div></div></div><p>
     562<a class="indexterm" name="id2596046"></a>
     563<a class="indexterm" name="id2596053"></a>
     564<a class="indexterm" name="id2596060"></a>
     565<a class="indexterm" name="id2596067"></a>
     566<a class="indexterm" name="id2596074"></a>
    567567                The <code class="literal">smbpasswd</code> utility is similar to the <code class="literal">passwd</code>
    568568                and <code class="literal">yppasswd</code> programs. It maintains the two 32 byte password
     
    571571                backend</code></em> in the <code class="filename">smb.conf</code> file.
    572572                </p><p>
    573 <a class="indexterm" name="id2590051"></a>
    574 <a class="indexterm" name="id2590058"></a>
     573<a class="indexterm" name="id2596118"></a>
     574<a class="indexterm" name="id2596124"></a>
    575575                <code class="literal">smbpasswd</code> works in a client-server mode where it contacts the
    576576                local smbd to change the user's password on its behalf. This has enormous benefits.
    577577                </p><p>
    578 <a class="indexterm" name="id2590076"></a>
    579 <a class="indexterm" name="id2590083"></a>
     578<a class="indexterm" name="id2596143"></a>
     579<a class="indexterm" name="id2596150"></a>
    580580                <code class="literal">smbpasswd</code> has the capability to change passwords on Windows NT
    581581                servers (this only works when the request is sent to the NT PDC if changing an NT
    582582                domain user's password).
    583583                </p><p>
    584                 <a class="indexterm" name="id2590102"></a>
    585                 <a class="indexterm" name="id2590109"></a>
     584                <a class="indexterm" name="id2596168"></a>
     585                <a class="indexterm" name="id2596175"></a>
    586586                <code class="literal">smbpasswd</code> can be used to:
    587                 </p><div class="itemizedlist"><ul type="disc"><li><p><span class="emphasis"><em>add</em></span> user or machine accounts.</p></li><li><p><span class="emphasis"><em>delete</em></span> user or machine accounts.</p></li><li><p><span class="emphasis"><em>enable</em></span> user or machine accounts.</p></li><li><p><span class="emphasis"><em>disable</em></span> user or machine accounts.</p></li><li><p><span class="emphasis"><em>set to NULL</em></span> user passwords.</p></li><li><p><span class="emphasis"><em>manage</em></span> interdomain trust accounts.</p></li></ul></div><p>
     587                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><span class="emphasis"><em>add</em></span> user or machine accounts.</p></li><li class="listitem"><p><span class="emphasis"><em>delete</em></span> user or machine accounts.</p></li><li class="listitem"><p><span class="emphasis"><em>enable</em></span> user or machine accounts.</p></li><li class="listitem"><p><span class="emphasis"><em>disable</em></span> user or machine accounts.</p></li><li class="listitem"><p><span class="emphasis"><em>set to NULL</em></span> user passwords.</p></li><li class="listitem"><p><span class="emphasis"><em>manage</em></span> interdomain trust accounts.</p></li></ul></div><p>
    588588                To run smbpasswd as a normal user, just type:
    589589                </p><p>
     
    602602                new values do not match each other, then the password will not be changed.
    603603                </p><p>
    604 <a class="indexterm" name="id2590249"></a>
     604<a class="indexterm" name="id2596316"></a>
    605605                When invoked by an ordinary user, the command will allow only the user to change his or her own
    606606                SMB password.
    607607                </p><p>
    608 <a class="indexterm" name="id2590261"></a>
    609 <a class="indexterm" name="id2590268"></a>
     608<a class="indexterm" name="id2596328"></a>
     609<a class="indexterm" name="id2596335"></a>
    610610                When run by root, <code class="literal">smbpasswd</code> may take an optional argument specifying
    611611                the username whose SMB password you wish to change. When run as root, <code class="literal">smbpasswd</code>
     
    613613                for users who have forgotten their passwords.
    614614                </p><p>
    615 <a class="indexterm" name="id2590295"></a>
    616 <a class="indexterm" name="id2590301"></a>
    617 <a class="indexterm" name="id2590308"></a>
    618 <a class="indexterm" name="id2590315"></a>
     615<a class="indexterm" name="id2596361"></a>
     616<a class="indexterm" name="id2596368"></a>
     617<a class="indexterm" name="id2596375"></a>
     618<a class="indexterm" name="id2596382"></a>
    619619                <code class="literal">smbpasswd</code> is designed to work in the way familiar to UNIX
    620620                users who use the <code class="literal">passwd</code> or <code class="literal">yppasswd</code> commands.
     
    622622                password change capabilities.
    623623                </p><p>
    624 <a class="indexterm" name="id2590346"></a>
     624<a class="indexterm" name="id2596413"></a>
    625625                For more details on using <code class="literal">smbpasswd</code>, refer to the man page (the
    626626                definitive reference).
    627                 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="pdbeditthing"></a>The <code class="literal">pdbedit</code> Tool</h3></div></div></div><p>
    628                 <a class="indexterm" name="id2590381"></a>
    629                 <a class="indexterm" name="id2590387"></a>
    630                 <a class="indexterm" name="id2590394"></a>
    631                 <a class="indexterm" name="id2590401"></a>
     627                </p></div><div class="sect2" title="The pdbedit Tool"><div class="titlepage"><div><div><h3 class="title"><a name="pdbeditthing"></a>The <code class="literal">pdbedit</code> Tool</h3></div></div></div><p>
     628                <a class="indexterm" name="id2596447"></a>
     629                <a class="indexterm" name="id2596454"></a>
     630                <a class="indexterm" name="id2596461"></a>
     631                <a class="indexterm" name="id2596468"></a>
    632632                <code class="literal">pdbedit</code> is a tool that can be used only by root. It is used to
    633633                manage the passdb backend, as well as domain-wide account policy settings. <code class="literal">pdbedit</code>
    634634                can be used to:
    635                 </p><div class="itemizedlist"><ul type="disc"><li><p>add, remove, or modify user accounts.</p></li><li><p>list user accounts.</p></li><li><p>migrate user accounts.</p></li><li><p>migrate group accounts.</p></li><li><p>manage account policies.</p></li><li><p>manage domain access policy settings.</p></li></ul></div><p>
    636                 <a class="indexterm" name="id2590460"></a>
     635                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>add, remove, or modify user accounts.</p></li><li class="listitem"><p>list user accounts.</p></li><li class="listitem"><p>migrate user accounts.</p></li><li class="listitem"><p>migrate group accounts.</p></li><li class="listitem"><p>manage account policies.</p></li><li class="listitem"><p>manage domain access policy settings.</p></li></ul></div><p>
     636                <a class="indexterm" name="id2596527"></a>
    637637                Under the terms of the Sarbanes-Oxley Act of 2002, American businesses and organizations are mandated to
    638638                implement a series of <code class="literal">internal controls</code> and procedures to communicate, store,
    639639                and protect financial data. The Sarbanes-Oxley Act has far reaching implications in respect of:
    640                 </p><div class="orderedlist"><ol type="1"><li><p>Who has access to information systems that store financial data.</p></li><li><p>How personal and financial information is treated among employees and business
    641                                 partners.</p></li><li><p>How security vulnerabilities are managed.</p></li><li><p>Security and patch level maintenance for all information systems.</p></li><li><p>How information systems changes are documented and tracked.</p></li><li><p>How information access controls are implemented and managed.</p></li><li><p>Auditability of all information systems in respect of change and security.</p></li><li><p>Disciplinary procedures and controls to ensure privacy.</p></li></ol></div><p>
    642                 <a class="indexterm" name="id2590533"></a>
    643                 <a class="indexterm" name="id2590540"></a>
     640                </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>Who has access to information systems that store financial data.</p></li><li class="listitem"><p>How personal and financial information is treated among employees and business
     641                                partners.</p></li><li class="listitem"><p>How security vulnerabilities are managed.</p></li><li class="listitem"><p>Security and patch level maintenance for all information systems.</p></li><li class="listitem"><p>How information systems changes are documented and tracked.</p></li><li class="listitem"><p>How information access controls are implemented and managed.</p></li><li class="listitem"><p>Auditability of all information systems in respect of change and security.</p></li><li class="listitem"><p>Disciplinary procedures and controls to ensure privacy.</p></li></ol></div><p>
     642                <a class="indexterm" name="id2596599"></a>
     643                <a class="indexterm" name="id2596606"></a>
    644644                In short, the Sarbanes-Oxley Act of 2002 is an instrument that enforces accountability in respect of
    645645                business related information systems so as to ensure the compliance of all information systems that
     
    647647                accountabilities are being demanded around the world.
    648648                </p><p>
    649                 <a class="indexterm" name="id2590562"></a>
    650                 <a class="indexterm" name="id2590569"></a>
    651                 <a class="indexterm" name="id2590575"></a>
    652                 <a class="indexterm" name="id2590582"></a>
    653                 <a class="indexterm" name="id2590589"></a>
     649                <a class="indexterm" name="id2596628"></a>
     650                <a class="indexterm" name="id2596635"></a>
     651                <a class="indexterm" name="id2596642"></a>
     652                <a class="indexterm" name="id2596649"></a>
     653                <a class="indexterm" name="id2596656"></a>
    654654                The need to be familiar with the Samba tools and facilities that permit information systems operation
    655655                in compliance with government laws and regulations is clear to all. The <code class="literal">pdbedit</code> is
     
    661661                is shown in <a class="link" href="passdb.html#policycontrols" title="Table 11.1. NT4 Domain v's Samba Policy Controls">NT4 Domain v's Samba Policy Controls</a>.
    662662                </p><div class="table"><a name="policycontrols"></a><p class="title"><b>Table 11.1. NT4 Domain v's Samba Policy Controls</b></p><div class="table-contents"><table summary="NT4 Domain v's Samba Policy Controls" border="1"><colgroup><col align="left"><col align="left"><col align="center"><col align="center"><col align="center"></colgroup><thead><tr><th align="left"><p>NT4 policy Name</p></th><th align="left"><p>Samba Policy Name</p></th><th align="center"><p>NT4 Range</p></th><th align="center"><p>Samba Range</p></th><th align="center"><p>Samba Default</p></th></tr></thead><tbody><tr><td align="left"><p>Maximum Password Age</p></td><td align="left"><p>maximum password age</p></td><td align="center"><p>0 - 999 (days)</p></td><td align="center"><p>0 - 4294967295 (sec)</p></td><td align="center"><p>4294967295</p></td></tr><tr><td align="left"><p>Minimum Password Age</p></td><td align="left"><p>minimum password age</p></td><td align="center"><p>0 - 999 (days)</p></td><td align="center"><p>0 - 4294967295 (sec)</p></td><td align="center"><p>0</p></td></tr><tr><td align="left"><p>Minimum Password Length</p></td><td align="left"><p>min password length</p></td><td align="center"><p>1 - 14 (Chars)</p></td><td align="center"><p>0 - 4294967295 (Chars)</p></td><td align="center"><p>5</p></td></tr><tr><td align="left"><p>Password Uniqueness</p></td><td align="left"><p>password history</p></td><td align="center"><p>0 - 23 (#)</p></td><td align="center"><p>0 - 4294967295 (#)</p></td><td align="center"><p>0</p></td></tr><tr><td align="left"><p>Account Lockout - Reset count after</p></td><td align="left"><p>reset count minutes</p></td><td align="center"><p>1 - 99998 (min)</p></td><td align="center"><p>0 - 4294967295 (min)</p></td><td align="center"><p>30</p></td></tr><tr><td align="left"><p>Lockout after bad logon attempts</p></td><td align="left"><p>bad lockout attempt</p></td><td align="center"><p>0 - 998 (#)</p></td><td align="center"><p>0 - 4294967295 (#)</p></td><td align="center"><p>0</p></td></tr><tr><td align="left"><p>*** Not Known ***</p></td><td align="left"><p>disconnect time</p></td><td align="center"><p>TBA</p></td><td align="center"><p>0 - 4294967295</p></td><td align="center"><p>0</p></td></tr><tr><td align="left"><p>Lockout Duration</p></td><td align="left"><p>lockout duration</p></td><td align="center"><p>1 - 99998 (min)</p></td><td align="center"><p>0 - 4294967295 (min)</p></td><td align="center"><p>30</p></td></tr><tr><td align="left"><p>Users must log on in order to change password</p></td><td align="left"><p>user must logon to change password</p></td><td align="center"><p>0/1</p></td><td align="center"><p>0 - 4294967295</p></td><td align="center"><p>0</p></td></tr><tr><td align="left"><p>*** Registry Setting ***</p></td><td align="left"><p>refuse machine password change</p></td><td align="center"><p>0/1</p></td><td align="center"><p>0 - 4294967295</p></td><td align="center"><p>0</p></td></tr></tbody></table></div></div><br class="table-break"><p>
    663                 <a class="indexterm" name="id2590972"></a>
    664 <a class="indexterm" name="id2590979"></a>
    665 <a class="indexterm" name="id2590986"></a>
    666 <a class="indexterm" name="id2590993"></a>
     663                <a class="indexterm" name="id2597039"></a>
     664<a class="indexterm" name="id2597046"></a>
     665<a class="indexterm" name="id2597053"></a>
     666<a class="indexterm" name="id2597060"></a>
    667667                The <code class="literal">pdbedit</code> tool is the only one that can manage the account
    668668                security and policy settings. It is capable of all operations that smbpasswd can
    669669                do as well as a superset of them.
    670670                </p><p>
    671                 <a class="indexterm" name="id2591012"></a>
    672 <a class="indexterm" name="id2591019"></a>
    673 <a class="indexterm" name="id2591026"></a>
     671                <a class="indexterm" name="id2597078"></a>
     672<a class="indexterm" name="id2597085"></a>
     673<a class="indexterm" name="id2597092"></a>
    674674                One particularly important purpose of the <code class="literal">pdbedit</code> is to allow
    675675                the import/export of account information from one passdb backend to another.
    676                 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2591042"></a>User Account Management</h4></div></div></div><p>
    677 <a class="indexterm" name="id2591050"></a>
    678 <a class="indexterm" name="id2591057"></a>
    679 <a class="indexterm" name="id2591064"></a>
    680 <a class="indexterm" name="id2591071"></a>
    681 <a class="indexterm" name="id2591078"></a>
    682 <a class="indexterm" name="id2591084"></a>
    683 <a class="indexterm" name="id2591091"></a>
     676                </p><div class="sect3" title="User Account Management"><div class="titlepage"><div><div><h4 class="title"><a name="id2597109"></a>User Account Management</h4></div></div></div><p>
     677<a class="indexterm" name="id2597117"></a>
     678<a class="indexterm" name="id2597124"></a>
     679<a class="indexterm" name="id2597130"></a>
     680<a class="indexterm" name="id2597137"></a>
     681<a class="indexterm" name="id2597144"></a>
     682<a class="indexterm" name="id2597151"></a>
     683<a class="indexterm" name="id2597158"></a>
    684684                The <code class="literal">pdbedit</code> tool, like the <code class="literal">smbpasswd</code> tool, requires
    685685                that a POSIX user account already exists in the UNIX/Linux system accounts database (backend).
     
    691691                make use of these interface scripts.
    692692                </p><p>
    693 <a class="indexterm" name="id2591135"></a>
    694 <a class="indexterm" name="id2591142"></a>
     693<a class="indexterm" name="id2597202"></a>
     694<a class="indexterm" name="id2597209"></a>
    695695                Before attempting to use the <code class="literal">pdbedit</code> tool to manage user and machine
    696696                accounts, make certain that a system (POSIX) account has already been created.
    697                 </p><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2591158"></a>Listing User and Machine Accounts</h5></div></div></div><p>
    698 <a class="indexterm" name="id2591167"></a>
    699 <a class="indexterm" name="id2591173"></a>
     697                </p><div class="sect4" title="Listing User and Machine Accounts"><div class="titlepage"><div><div><h5 class="title"><a name="id2597225"></a>Listing User and Machine Accounts</h5></div></div></div><p>
     698<a class="indexterm" name="id2597233"></a>
     699<a class="indexterm" name="id2597240"></a>
    700700                The following is an example of the user account information that is stored in
    701701                a tdbsam password backend. This listing was produced by running:
     
    724724</pre><p>
    725725                </p><p>
    726 <a class="indexterm" name="id2591215"></a>
     726<a class="indexterm" name="id2597282"></a>
    727727                Accounts can also be listed in the older <code class="literal">smbpasswd</code> format:
    728728</p><pre class="screen">
     
    749749     C610EFE9A385A3E8AA46ADFD576E6881:[W          ]:LCT-40F07A4
    750750</pre><p>
    751 <a class="indexterm" name="id2591264"></a>
    752 <a class="indexterm" name="id2591271"></a>
    753 <a class="indexterm" name="id2591277"></a>
    754 <a class="indexterm" name="id2591284"></a>
    755 <a class="indexterm" name="id2591291"></a>
    756 <a class="indexterm" name="id2591298"></a>
     751<a class="indexterm" name="id2597331"></a>
     752<a class="indexterm" name="id2597337"></a>
     753<a class="indexterm" name="id2597344"></a>
     754<a class="indexterm" name="id2597351"></a>
     755<a class="indexterm" name="id2597358"></a>
     756<a class="indexterm" name="id2597365"></a>
    757757                The account information that was returned by this command in order from left to right
    758758                consists of the following colon separated data:
    759                 </p><div class="itemizedlist"><ul type="disc"><li><p>Login ID.</p></li><li><p>UNIX UID.</p></li><li><p>Microsoft LanManager password hash (password converted to upper-case then hashed.</p></li><li><p>Microsoft NT password hash (hash of the case-preserved password).</p></li><li><p>Samba SAM Account Flags.</p></li><li><p>The LCT data (password last change time).</p></li></ul></div><p>
    760 <a class="indexterm" name="id2591349"></a>
    761 <a class="indexterm" name="id2591356"></a>
     759                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Login ID.</p></li><li class="listitem"><p>UNIX UID.</p></li><li class="listitem"><p>Microsoft LanManager password hash (password converted to upper-case then hashed.</p></li><li class="listitem"><p>Microsoft NT password hash (hash of the case-preserved password).</p></li><li class="listitem"><p>Samba SAM Account Flags.</p></li><li class="listitem"><p>The LCT data (password last change time).</p></li></ul></div><p>
     760<a class="indexterm" name="id2597415"></a>
     761<a class="indexterm" name="id2597422"></a>
    762762                The Account Flags parameters are documented in the <code class="literal">pdbedit</code> man page, and are
    763763                briefly documented in <a class="link" href="passdb.html#TOSHARG-acctflags" title="Account Flags Management">the Account Flags Management section</a>.
    764764                </p><p>
    765 <a class="indexterm" name="id2591382"></a>
     765<a class="indexterm" name="id2597449"></a>
    766766                The LCT data consists of 8 hexadecimal characters representing the time since January 1, 1970, of
    767767                the time when the password was last changed.
    768                 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2591394"></a>Adding User Accounts</h5></div></div></div><p>
    769 <a class="indexterm" name="id2591402"></a>
    770 <a class="indexterm" name="id2591408"></a>
    771 <a class="indexterm" name="id2591415"></a>
    772 <a class="indexterm" name="id2591422"></a>
    773 <a class="indexterm" name="id2591429"></a>
     768                </p></div><div class="sect4" title="Adding User Accounts"><div class="titlepage"><div><div><h5 class="title"><a name="id2597460"></a>Adding User Accounts</h5></div></div></div><p>
     769<a class="indexterm" name="id2597468"></a>
     770<a class="indexterm" name="id2597475"></a>
     771<a class="indexterm" name="id2597482"></a>
     772<a class="indexterm" name="id2597489"></a>
     773<a class="indexterm" name="id2597496"></a>
    774774                The <code class="literal">pdbedit</code> can be used to add a user account to a standalone server
    775775                or to a domain. In the example shown here the account for the user <code class="literal">vlaan</code>
     
    803803Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    804804</pre><p>
    805                 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2591481"></a>Deleting Accounts</h5></div></div></div><p>
    806 <a class="indexterm" name="id2591489"></a>
    807 <a class="indexterm" name="id2591496"></a>
    808 <a class="indexterm" name="id2591503"></a>
    809 <a class="indexterm" name="id2591509"></a>
     805                </p></div><div class="sect4" title="Deleting Accounts"><div class="titlepage"><div><div><h5 class="title"><a name="id2597548"></a>Deleting Accounts</h5></div></div></div><p>
     806<a class="indexterm" name="id2597555"></a>
     807<a class="indexterm" name="id2597562"></a>
     808<a class="indexterm" name="id2597569"></a>
     809<a class="indexterm" name="id2597576"></a>
    810810                An account can be deleted from the SambaSAMAccount database
    811811</p><pre class="screen">
     
    815815                SambaSAMAccount (passdb backend) database, it is not removed from the UNIX account backend.
    816816                </p><p>
    817 <a class="indexterm" name="id2591536"></a>
    818 <a class="indexterm" name="id2591543"></a>
     817<a class="indexterm" name="id2597602"></a>
     818<a class="indexterm" name="id2597609"></a>
    819819                The use of the NT4 domain user manager to delete an account will trigger the <em class="parameter"><code>delete user
    820820                script</code></em>, but not the <code class="literal">pdbedit</code> tool.
    821                 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2591566"></a>Changing User Accounts</h5></div></div></div><p>
    822 <a class="indexterm" name="id2591574"></a>
     821                </p></div><div class="sect4" title="Changing User Accounts"><div class="titlepage"><div><div><h5 class="title"><a name="id2597632"></a>Changing User Accounts</h5></div></div></div><p>
     822<a class="indexterm" name="id2597640"></a>
    823823                Refer to the <code class="literal">pdbedit</code> man page for a full synopsis of all operations
    824824                that are available with this tool.
    825825                </p><p>
    826 <a class="indexterm" name="id2591591"></a>
     826<a class="indexterm" name="id2597658"></a>
    827827                An example of a simple change in the user account information is the change of the full name
    828828                information shown here:
     
    836836</pre><p>
    837837                </p><p>
    838 <a class="indexterm" name="id2591618"></a>
    839 <a class="indexterm" name="id2591625"></a>
    840 <a class="indexterm" name="id2591632"></a>
     838<a class="indexterm" name="id2597685"></a>
     839<a class="indexterm" name="id2597692"></a>
     840<a class="indexterm" name="id2597699"></a>
    841841                Let us assume for a moment that a user's password has expired and the user is unable to
    842842                change the password at this time. It may be necessary to give the user additional grace time
     
    853853...
    854854</pre><p>
    855 <a class="indexterm" name="id2591661"></a>
    856 <a class="indexterm" name="id2591668"></a>
     855<a class="indexterm" name="id2597727"></a>
     856<a class="indexterm" name="id2597734"></a>
    857857                The user has recorded 2 bad logon attempts and the next will lock the account, but the
    858858                password is also expired. Here is how this account can be reset:
     
    886886...
    887887</pre><p>
    888 <a class="indexterm" name="id2591732"></a>
    889 <a class="indexterm" name="id2591738"></a>
     888<a class="indexterm" name="id2597798"></a>
     889<a class="indexterm" name="id2597805"></a>
    890890                Refer to the strptime man page for specific time format information.
    891891                </p><p>
    892 <a class="indexterm" name="id2591750"></a>
    893 <a class="indexterm" name="id2591756"></a>
     892<a class="indexterm" name="id2597816"></a>
     893<a class="indexterm" name="id2597823"></a>
    894894                Please refer to the pdbedit man page for further information relating to SambaSAMAccount
    895895                management.
    896                 </p><div class="sect5" lang="en"><div class="titlepage"><div><div><h6 class="title"><a name="TOSHARG-acctflags"></a>Account Flags Management</h6></div></div></div><p>
    897 <a class="indexterm" name="id2591778"></a>
    898 <a class="indexterm" name="id2591785"></a>
    899 <a class="indexterm" name="id2591794"></a>
    900 <a class="indexterm" name="id2591801"></a>
     896                </p><div class="sect5" title="Account Flags Management"><div class="titlepage"><div><div><h6 class="title"><a name="TOSHARG-acctflags"></a>Account Flags Management</h6></div></div></div><p>
     897<a class="indexterm" name="id2597845"></a>
     898<a class="indexterm" name="id2597852"></a>
     899<a class="indexterm" name="id2597861"></a>
     900<a class="indexterm" name="id2597868"></a>
    901901                The Samba SAM account flags are properly called the ACB (account control block) within
    902902                the Samba source code. In some parts of the Samba source code they are referred to as the
    903903                account encode_bits, and also as the account control flags.
    904904                </p><p>
    905 <a class="indexterm" name="id2591816"></a>
    906 <a class="indexterm" name="id2591823"></a>
    907 <a class="indexterm" name="id2591830"></a>
    908 <a class="indexterm" name="id2591837"></a>
    909 <a class="indexterm" name="id2591844"></a>
     905<a class="indexterm" name="id2597883"></a>
     906<a class="indexterm" name="id2597889"></a>
     907<a class="indexterm" name="id2597896"></a>
     908<a class="indexterm" name="id2597903"></a>
     909<a class="indexterm" name="id2597910"></a>
    910910                The manual adjustment of user, machine (workstation or server) or an inter-domain trust
    911911                account account flgas should not be necessary under normal conditions of use of Samba. On the other hand,
     
    913913                useful. The tool of choice by which such correction can be affected is the <code class="literal">pdbedit</code> utility.
    914914                </p><p>
    915 <a class="indexterm" name="id2591873"></a>
    916 <a class="indexterm" name="id2591880"></a>
     915<a class="indexterm" name="id2597940"></a>
     916<a class="indexterm" name="id2597946"></a>
    917917                There have been a few requests for information regarding the account flags from developers
    918918                who are creating their own Samba management tools. An example of a need for information regarding
     
    920920                to manage an LDAP directory.
    921921                </p><p>
    922 <a class="indexterm" name="id2591896"></a>
    923 <a class="indexterm" name="id2591902"></a>
     922<a class="indexterm" name="id2597962"></a>
     923<a class="indexterm" name="id2597969"></a>
    924924                The account flag field can contain up to 16 characters. Presently, only 11 are in use.
    925925                These are listed in <a class="link" href="passdb.html#accountflags" title="Table 11.2. Samba SAM Account Control Block Flags">Samba SAM Account Control Block Flags</a>.
     
    927927                In fact, they can be set without problem in any order in the SambaAcctFlags record in the LDAP directory.
    928928                </p><div class="table"><a name="accountflags"></a><p class="title"><b>Table 11.2. Samba SAM Account Control Block Flags</b></p><div class="table-contents"><table summary="Samba SAM Account Control Block Flags" border="1"><colgroup><col><col></colgroup><thead><tr><th align="center">Flag</th><th align="center">Description</th></tr></thead><tbody><tr><td align="center">D</td><td align="left">Account is disabled.</td></tr><tr><td align="center">H</td><td align="left">A home directory is required.</td></tr><tr><td align="center">I</td><td align="left">An inter-domain trust account.</td></tr><tr><td align="center">L</td><td align="left">Account has been auto-locked.</td></tr><tr><td align="center">M</td><td align="left">An MNS (Microsoft network service) logon account.</td></tr><tr><td align="center">N</td><td align="left">Password not required.</td></tr><tr><td align="center">S</td><td align="left">A server trust account.</td></tr><tr><td align="center">T</td><td align="left">Temporary duplicate account entry.</td></tr><tr><td align="center">U</td><td align="left">A normal user account.</td></tr><tr><td align="center">W</td><td align="left">A workstation trust account.</td></tr><tr><td align="center">X</td><td align="left">Password does not expire.</td></tr></tbody></table></div></div><br class="table-break"><p>
    929 <a class="indexterm" name="id2592133"></a>
    930 <a class="indexterm" name="id2592140"></a>
     929<a class="indexterm" name="id2598200"></a>
     930<a class="indexterm" name="id2598206"></a>
    931931                An example of use of the <code class="literal">pdbedit</code> utility to set the account control flags
    932932                is shown here:
     
    956956Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    957957</pre><p>
    958 <a class="indexterm" name="id2592195"></a>
     958<a class="indexterm" name="id2598262"></a>
    959959        The flags can be reset to the default settings by executing:
    960960</p><pre class="screen">
     
    983983Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    984984</pre><p>
    985                 </p></div></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2592232"></a>Domain Account Policy Managment</h5></div></div></div><p>
    986 <a class="indexterm" name="id2592240"></a>
    987 <a class="indexterm" name="id2592248"></a>
     985                </p></div></div><div class="sect4" title="Domain Account Policy Managment"><div class="titlepage"><div><div><h5 class="title"><a name="id2598299"></a>Domain Account Policy Managment</h5></div></div></div><p>
     986<a class="indexterm" name="id2598307"></a>
     987<a class="indexterm" name="id2598314"></a>
    988988                To view the domain account access policies that may be configured execute:
    989989</p><pre class="screen">
     
    10041004                </p><p>
    10051005                Commands will be executed to establish controls for our domain as follows:
    1006                 </p><div class="orderedlist"><ol type="1"><li><p>min password length = 8 characters.</p></li><li><p>password history = last 4 passwords.</p></li><li><p>maximum password age = 90 days.</p></li><li><p>minimum password age = 7 days.</p></li><li><p>bad lockout attempt = 8 bad logon attempts.</p></li><li><p>lockout duration = forever, account must be manually reenabled.</p></li></ol></div><p>
     1006                </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>min password length = 8 characters.</p></li><li class="listitem"><p>password history = last 4 passwords.</p></li><li class="listitem"><p>maximum password age = 90 days.</p></li><li class="listitem"><p>minimum password age = 7 days.</p></li><li class="listitem"><p>bad lockout attempt = 8 bad logon attempts.</p></li><li class="listitem"><p>lockout duration = forever, account must be manually reenabled.</p></li></ol></div><p>
    10071007                The following command execution will achieve these settings:
    10081008</p><pre class="screen">
     
    10261026account policy value for lockout duration is now 4294967295
    10271027</pre><p>
    1028                 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     1028                </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    10291029To set the maximum (infinite) lockout time use the value of -1.
    1030 </p></div><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
     1030</p></div><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
    10311031Account policies must be set individually on each PDC and BDC. At this time (Samba 3.0.11 to Samba 3.0.14a)
    10321032account policies are not replicated automatically. This may be fixed before Samba 3.0.20 ships or some
    10331033time there after. Please check the WHATSNEW.txt file in the Samba-3 tarball for specific update notiations
    10341034regarding this facility.
    1035 </p></div></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2592394"></a>Account Import/Export</h4></div></div></div><p>
    1036                 <a class="indexterm" name="id2592402"></a>
    1037 <a class="indexterm" name="id2592409"></a>
    1038 <a class="indexterm" name="id2592416"></a>
     1035</p></div></div></div><div class="sect3" title="Account Import/Export"><div class="titlepage"><div><div><h4 class="title"><a name="id2598461"></a>Account Import/Export</h4></div></div></div><p>
     1036                <a class="indexterm" name="id2598469"></a>
     1037<a class="indexterm" name="id2598475"></a>
     1038<a class="indexterm" name="id2598482"></a>
    10391039                The <code class="literal">pdbedit</code> tool allows import/export of authentication (account)
    10401040                databases from one backend to another. For example, to import/export accounts from an
    10411041                old <code class="filename">smbpasswd</code> database to a <em class="parameter"><code>tdbsam</code></em>
    10421042                backend:
    1043                 </p><div class="procedure"><ol type="1"><li><p>
    1044 <a class="indexterm" name="id2592452"></a>
     1043                </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
     1044<a class="indexterm" name="id2598519"></a>
    10451045</p><pre class="screen">
    10461046<code class="prompt">root# </code><strong class="userinput"><code>pdbedit -i smbpasswd -e tdbsam</code></strong>
    10471047</pre><p>
    1048                         </p></li><li><p>
    1049 <a class="indexterm" name="id2592482"></a>
     1048                        </p></li><li class="step" title="Step 2"><p>
     1049<a class="indexterm" name="id2598549"></a>
    10501050                        Replace the <em class="parameter"><code>smbpasswd</code></em> with <em class="parameter"><code>tdbsam</code></em> in the
    10511051                        <em class="parameter"><code>passdb backend</code></em> configuration in <code class="filename">smb.conf</code>.
    1052                         </p></li></ol></div></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2592519"></a>Password Backends</h2></div></div></div><p>
    1053 <a class="indexterm" name="id2592527"></a>
    1054 <a class="indexterm" name="id2592534"></a>
     1052                        </p></li></ol></div></div></div></div><div class="sect1" title="Password Backends"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2598586"></a>Password Backends</h2></div></div></div><p>
     1053<a class="indexterm" name="id2598593"></a>
     1054<a class="indexterm" name="id2598600"></a>
    10551055Samba offers flexibility in backend account database design. The flexibility is immediately obvious as one
    10561056begins to explore this capability. Recent changes to Samba (since 3.0.23) have removed the mulitple backend
     
    10581058operation of Samba-3 more consistent and predictable.
    10591059</p><p>
    1060 <a class="indexterm" name="id2592550"></a>
    1061 <a class="indexterm" name="id2592557"></a>
     1060<a class="indexterm" name="id2598617"></a>
     1061<a class="indexterm" name="id2598624"></a>
    10621062Beginning with Samba 3.0.23 it is no longer possible to specify use of mulitple passdb backends. Earlier
    10631063versions of Samba-3 made it possible to specify multiple password backends, and even multiple
     
    10651065SID to name ID resolution.  The Samba team wrestled with the challenges and decided that this feature needed
    10661066to be removed.
    1067 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2592572"></a>Plaintext</h3></div></div></div><p>
    1068 <a class="indexterm" name="id2592580"></a>
    1069 <a class="indexterm" name="id2592587"></a>
    1070 <a class="indexterm" name="id2592594"></a>
    1071 <a class="indexterm" name="id2592601"></a>
    1072 <a class="indexterm" name="id2592608"></a>
    1073 <a class="indexterm" name="id2592615"></a>
     1067</p><div class="sect2" title="Plaintext"><div class="titlepage"><div><div><h3 class="title"><a name="id2598639"></a>Plaintext</h3></div></div></div><p>
     1068<a class="indexterm" name="id2598647"></a>
     1069<a class="indexterm" name="id2598654"></a>
     1070<a class="indexterm" name="id2598661"></a>
     1071<a class="indexterm" name="id2598668"></a>
     1072<a class="indexterm" name="id2598675"></a>
     1073<a class="indexterm" name="id2598682"></a>
    10741074                Older versions of Samba retrieved user information from the UNIX user database
    10751075                and eventually some other fields from the file <code class="filename">/etc/samba/smbpasswd</code>
     
    10781078                that the Samba host OS will access its <code class="filename">/etc/passwd</code> database.
    10791079                On most Linux systems, for example, all user and group resolution is done via PAM.
    1080                 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2592648"></a>smbpasswd: Encrypted Password Database</h3></div></div></div><p>
    1081                 <a class="indexterm" name="id2592657"></a>
    1082 <a class="indexterm" name="id2592666"></a>
    1083 <a class="indexterm" name="id2592673"></a>
    1084 <a class="indexterm" name="id2592680"></a>
     1080                </p></div><div class="sect2" title="smbpasswd: Encrypted Password Database"><div class="titlepage"><div><div><h3 class="title"><a name="id2598715"></a>smbpasswd: Encrypted Password Database</h3></div></div></div><p>
     1081                <a class="indexterm" name="id2598723"></a>
     1082<a class="indexterm" name="id2598733"></a>
     1083<a class="indexterm" name="id2598740"></a>
     1084<a class="indexterm" name="id2598747"></a>
    10851085                Traditionally, when configuring <a class="link" href="smb.conf.5.html#ENCRYPTPASSWORDS" target="_top">encrypt passwords = yes</a>
    10861086                in Samba's <code class="filename">smb.conf</code> file, user account information such as username, LM/NT password hashes,
     
    10881088                file. There are several disadvantages to this approach for sites with large numbers of users
    10891089                (counted in the thousands).
    1090                 </p><div class="itemizedlist"><ul type="disc"><li><p>
    1091 <a class="indexterm" name="id2592723"></a>
     1090                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     1091<a class="indexterm" name="id2598789"></a>
    10921092                The first problem is that all lookups must be performed sequentially. Given that
    10931093                there are approximately two lookups per domain logon (one during initial logon validation
     
    10951095                is a performance bottleneck for large sites. What is needed is an indexed approach
    10961096                such as that used in databases.
    1097                 </p></li><li><p>
    1098 <a class="indexterm" name="id2592740"></a>
    1099 <a class="indexterm" name="id2592747"></a>
    1100 <a class="indexterm" name="id2592754"></a>
    1101 <a class="indexterm" name="id2592761"></a>
    1102 <a class="indexterm" name="id2592767"></a>
     1097                </p></li><li class="listitem"><p>
     1098<a class="indexterm" name="id2598807"></a>
     1099<a class="indexterm" name="id2598814"></a>
     1100<a class="indexterm" name="id2598821"></a>
     1101<a class="indexterm" name="id2598828"></a>
     1102<a class="indexterm" name="id2598834"></a>
    11031103                The second problem is that administrators who desire to replicate an smbpasswd file
    11041104                to more than one Samba server are left to use external tools such as
    11051105                <code class="literal">rsync(1)</code> and <code class="literal">ssh(1)</code> and write custom,
    11061106                in-house scripts.
    1107                 </p></li><li><p>
    1108 <a class="indexterm" name="id2592793"></a>
    1109 <a class="indexterm" name="id2592800"></a>
    1110 <a class="indexterm" name="id2592807"></a>
    1111 <a class="indexterm" name="id2592814"></a>
    1112 <a class="indexterm" name="id2592821"></a>
     1107                </p></li><li class="listitem"><p>
     1108<a class="indexterm" name="id2598860"></a>
     1109<a class="indexterm" name="id2598867"></a>
     1110<a class="indexterm" name="id2598874"></a>
     1111<a class="indexterm" name="id2598880"></a>
     1112<a class="indexterm" name="id2598887"></a>
    11131113                Finally, the amount of information that is stored in an smbpasswd entry leaves
    11141114                no room for additional attributes such as a home directory, password expiration time,
    11151115                or even a relative identifier (RID).
    11161116                </p></li></ul></div><p>
    1117 <a class="indexterm" name="id2592838"></a>
    1118 <a class="indexterm" name="id2592845"></a>
    1119 <a class="indexterm" name="id2592851"></a>
    1120 <a class="indexterm" name="id2592858"></a>
     1117<a class="indexterm" name="id2598904"></a>
     1118<a class="indexterm" name="id2598911"></a>
     1119<a class="indexterm" name="id2598918"></a>
     1120<a class="indexterm" name="id2598925"></a>
    11211121                As a result of these deficiencies, a more robust means of storing user attributes
    11221122                used by smbd was developed. The API that defines access to user accounts
     
    11241124                API and is still so named in the Samba source code trees).
    11251125                </p><p>
    1126 <a class="indexterm" name="id2592874"></a>
    1127 <a class="indexterm" name="id2592881"></a>
    1128 <a class="indexterm" name="id2592888"></a>
    1129 <a class="indexterm" name="id2592895"></a>
    1130 <a class="indexterm" name="id2592902"></a>
     1126<a class="indexterm" name="id2598940"></a>
     1127<a class="indexterm" name="id2598947"></a>
     1128<a class="indexterm" name="id2598955"></a>
     1129<a class="indexterm" name="id2598961"></a>
     1130<a class="indexterm" name="id2598968"></a>
    11311131                Samba provides an enhanced set of passdb backends that overcome the deficiencies
    11321132                of the smbpasswd plaintext database. These are tdbsam and ldapsam.
    11331133                Of these, ldapsam will be of most interest to large corporate or enterprise sites.
    1134                 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2592915"></a>tdbsam</h3></div></div></div><p>
    1135                 <a class="indexterm" name="id2592922"></a>
    1136 <a class="indexterm" name="id2592932"></a>
    1137 <a class="indexterm" name="id2592941"></a>
    1138                 Samba can store user and machine account data in a &#8220;<span class="quote">TDB</span>&#8221; (trivial database).
     1134                </p></div><div class="sect2" title="tdbsam"><div class="titlepage"><div><div><h3 class="title"><a name="id2598981"></a>tdbsam</h3></div></div></div><p>
     1135                <a class="indexterm" name="id2598989"></a>
     1136<a class="indexterm" name="id2598998"></a>
     1137<a class="indexterm" name="id2599007"></a>
     1138                Samba can store user and machine account data in a <span class="quote">&#8220;<span class="quote">TDB</span>&#8221;</span> (trivial database).
    11391139                Using this backend does not require any additional configuration. This backend is
    11401140                recommended for new installations that do not require LDAP.
    11411141                </p><p>
    1142 <a class="indexterm" name="id2592958"></a>
    1143 <a class="indexterm" name="id2592965"></a>
    1144 <a class="indexterm" name="id2592971"></a>
    1145 <a class="indexterm" name="id2592978"></a>
     1142<a class="indexterm" name="id2599025"></a>
     1143<a class="indexterm" name="id2599031"></a>
     1144<a class="indexterm" name="id2599038"></a>
     1145<a class="indexterm" name="id2599044"></a>
    11461146                As a general guide, the Samba Team does not recommend using the tdbsam backend for sites
    11471147                that have 250 or more users. Additionally, tdbsam is not capable of scaling for use
     
    11491149                database. Clearly, for reason of scalability, the use of ldapsam should be encouraged.
    11501150                </p><p>
    1151 <a class="indexterm" name="id2592994"></a>
    1152 <a class="indexterm" name="id2593001"></a>
    1153 <a class="indexterm" name="id2593008"></a>
     1151<a class="indexterm" name="id2599061"></a>
     1152<a class="indexterm" name="id2599068"></a>
     1153<a class="indexterm" name="id2599074"></a>
    11541154                The recommendation of a 250-user limit is purely based on the notion that this
    11551155                would generally involve a site that has routed networks, possibly spread across
     
    11571157                the performance-based scalability limits of the tdbsam architecture.
    11581158                </p><p>
    1159 <a class="indexterm" name="id2593023"></a>
    1160 <a class="indexterm" name="id2593030"></a>
    1161 <a class="indexterm" name="id2593037"></a>
    1162 <a class="indexterm" name="id2593044"></a>
     1159<a class="indexterm" name="id2599090"></a>
     1160<a class="indexterm" name="id2599097"></a>
     1161<a class="indexterm" name="id2599104"></a>
     1162<a class="indexterm" name="id2599111"></a>
    11631163                There are sites that have thousands of users and yet require only one server.
    11641164                One site recently reported having 4,500 user accounts on one UNIX system and
     
    11681168                only on the need for a reliable distribution mechanism for the SambaSAMAccount
    11691169                backend.
    1170                 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2593072"></a>ldapsam</h3></div></div></div><p>
    1171 <a class="indexterm" name="id2593080"></a>
    1172 <a class="indexterm" name="id2593087"></a>
    1173                 <a class="indexterm" name="id2593094"></a>
     1170                </p></div><div class="sect2" title="ldapsam"><div class="titlepage"><div><div><h3 class="title"><a name="id2599139"></a>ldapsam</h3></div></div></div><p>
     1171<a class="indexterm" name="id2599147"></a>
     1172<a class="indexterm" name="id2599154"></a>
     1173                <a class="indexterm" name="id2599160"></a>
    11741174                There are a few points to stress that the ldapsam does not provide. The LDAP
    11751175                support referred to in this documentation does not include:
    1176                 </p><div class="itemizedlist"><ul type="disc"><li><p>A means of retrieving user account information from
    1177                         a Windows 200x Active Directory server.</p></li><li><p>A means of replacing /etc/passwd.</p></li></ul></div><p>
    1178 <a class="indexterm" name="id2593123"></a>
    1179 <a class="indexterm" name="id2593130"></a>
    1180 <a class="indexterm" name="id2593136"></a>
    1181 <a class="indexterm" name="id2593143"></a>
     1176                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>A means of retrieving user account information from
     1177                        a Windows 200x Active Directory server.</p></li><li class="listitem"><p>A means of replacing /etc/passwd.</p></li></ul></div><p>
     1178<a class="indexterm" name="id2599189"></a>
     1179<a class="indexterm" name="id2599196"></a>
     1180<a class="indexterm" name="id2599203"></a>
     1181<a class="indexterm" name="id2599209"></a>
    11821182                The second item can be accomplished by using LDAP NSS and PAM modules. LGPL versions of these libraries can be
    11831183                obtained from <a class="ulink" href="http://www.padl.com/" target="_top">PADL Software</a>.  More information about the
     
    11851185                <span class="emphasis"><em>LDAP, System Administration</em></span> by Gerald Carter, Chapter 6, Replacing NIS"</a>.
    11861186                </p><p>
    1187 <a class="indexterm" name="id2593174"></a>
    1188 <a class="indexterm" name="id2593180"></a>
    1189 <a class="indexterm" name="id2593187"></a>
     1187<a class="indexterm" name="id2599240"></a>
     1188<a class="indexterm" name="id2599247"></a>
     1189<a class="indexterm" name="id2599254"></a>
    11901190                This document describes how to use an LDAP directory for storing Samba user
    11911191                account information traditionally stored in the smbpasswd(5) file. It is
     
    11931193                and has a working directory server already installed. For more information
    11941194                on LDAP architectures and directories, please refer to the following sites:
    1195                 </p><div class="itemizedlist"><ul type="disc"><li><p><a class="ulink" href="http://www.openldap.org/" target="_top">OpenLDAP</a></p></li><li><p><a class="ulink" href="http://www.sun.com/software/products/directory_srvr_ee/index.xml" target="_top">
    1196                                 Sun One Directory Server</a></p></li><li><p><a class="ulink" href="http://www.novell.com/products/edirectory/" target="_top">Novell eDirectory</a></p></li><li><p><a class="ulink" href="http://www-306.ibm.com/software/tivoli/products/directory-server/" target="_top">IBM
    1197                                 Tivoli Directory Server</a></p></li><li><p><a class="ulink" href="http://www.redhat.com/software/rha/directory/" target="_top">Red Hat Directory
    1198                                 Server</a></p></li><li><p><a class="ulink" href="http://www.linuxsecurity.com/content/view/119229" target="_top">Fedora Directory
     1195                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><a class="ulink" href="http://www.openldap.org/" target="_top">OpenLDAP</a></p></li><li class="listitem"><p><a class="ulink" href="http://www.sun.com/software/products/directory_srvr_ee/index.xml" target="_top">
     1196                                Sun One Directory Server</a></p></li><li class="listitem"><p><a class="ulink" href="http://www.novell.com/products/edirectory/" target="_top">Novell eDirectory</a></p></li><li class="listitem"><p><a class="ulink" href="http://www-306.ibm.com/software/tivoli/products/directory-server/" target="_top">IBM
     1197                                Tivoli Directory Server</a></p></li><li class="listitem"><p><a class="ulink" href="http://www.redhat.com/software/rha/directory/" target="_top">Red Hat Directory
     1198                                Server</a></p></li><li class="listitem"><p><a class="ulink" href="http://www.linuxsecurity.com/content/view/119229" target="_top">Fedora Directory
    11991199                                Server</a></p></li></ul></div><p>
    12001200                Two additional Samba resources that may prove to be helpful are:
    1201                 </p><div class="itemizedlist"><ul type="disc"><li><p>
    1202 <a class="indexterm" name="id2593268"></a>
     1201                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     1202<a class="indexterm" name="id2599334"></a>
    12031203                        The <a class="ulink" href="http://www.unav.es/cti/ldap-smb/ldap-smb-3-howto.html" target="_top">Samba-PDC-LDAP-HOWTO</a>
    12041204                        maintained by Ignacio Coupeau.
    1205                         </p></li><li><p>
    1206 <a class="indexterm" name="id2593287"></a>
    1207 <a class="indexterm" name="id2593294"></a>
    1208 <a class="indexterm" name="id2593301"></a>
     1205                        </p></li><li class="listitem"><p>
     1206<a class="indexterm" name="id2599354"></a>
     1207<a class="indexterm" name="id2599360"></a>
     1208<a class="indexterm" name="id2599368"></a>
    12091209                        The NT migration scripts from <a class="ulink" href="http://samba.idealx.org/" target="_top">IDEALX</a> that are
    12101210                        geared to manage users and groups in such a Samba-LDAP domain controller configuration.
    12111211                        Idealx also produced the smbldap-tools and the Interactive Console Management tool.
    1212                         </p></li></ul></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2593320"></a>Supported LDAP Servers</h4></div></div></div><p>
    1213 <a class="indexterm" name="id2593328"></a>
    1214 <a class="indexterm" name="id2593335"></a>
    1215 <a class="indexterm" name="id2593342"></a>
    1216 <a class="indexterm" name="id2593348"></a>
     1212                        </p></li></ul></div><div class="sect3" title="Supported LDAP Servers"><div class="titlepage"><div><div><h4 class="title"><a name="id2599387"></a>Supported LDAP Servers</h4></div></div></div><p>
     1213<a class="indexterm" name="id2599395"></a>
     1214<a class="indexterm" name="id2599401"></a>
     1215<a class="indexterm" name="id2599408"></a>
     1216<a class="indexterm" name="id2599415"></a>
    12171217                        The LDAP ldapsam code was developed and tested using the OpenLDAP 2.x server and
    12181218                        client libraries. The same code should work with Netscape's Directory Server and client SDK.
     
    12211221                        </p><p>
    12221222                        Samba is capable of working with any standards-compliant LDAP server.
    1223                         </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2593375"></a>Schema and Relationship to the RFC 2307 posixAccount</h4></div></div></div><p>
     1223                        </p></div><div class="sect3" title="Schema and Relationship to the RFC 2307 posixAccount"><div class="titlepage"><div><div><h4 class="title"><a name="id2599442"></a>Schema and Relationship to the RFC 2307 posixAccount</h4></div></div></div><p>
    12241224                        Samba-3.0 includes the necessary schema file for OpenLDAP 2.x in the
    12251225                        <code class="filename">examples/LDAP/samba.schema</code> directory of the source code distribution
     
    12371237</pre><p>
    12381238                        </p><p>
    1239 <a class="indexterm" name="id2593411"></a>
    1240 <a class="indexterm" name="id2593418"></a>
    1241 <a class="indexterm" name="id2593425"></a>
     1239<a class="indexterm" name="id2599478"></a>
     1240<a class="indexterm" name="id2599485"></a>
     1241<a class="indexterm" name="id2599491"></a>
    12421242                        The <code class="filename">samba.schema</code> file has been formatted for OpenLDAP 2.0/2.1.
    12431243                        The Samba Team owns the OID space used by the above schema and recommends its use.
     
    12451245                        schema file as a patch to <a class="ulink" href="mailto:jerry@samba.org" target="_top">jerry@samba.org</a>.
    12461246                        </p><p>
    1247 <a class="indexterm" name="id2593452"></a>
    1248 <a class="indexterm" name="id2593458"></a>
    1249 <a class="indexterm" name="id2593465"></a>
    1250 <a class="indexterm" name="id2593472"></a>
    1251 <a class="indexterm" name="id2593479"></a>
    1252 <a class="indexterm" name="id2593486"></a>
    1253 <a class="indexterm" name="id2593493"></a>
     1247<a class="indexterm" name="id2599518"></a>
     1248<a class="indexterm" name="id2599525"></a>
     1249<a class="indexterm" name="id2599532"></a>
     1250<a class="indexterm" name="id2599539"></a>
     1251<a class="indexterm" name="id2599546"></a>
     1252<a class="indexterm" name="id2599552"></a>
     1253<a class="indexterm" name="id2599559"></a>
    12541254                        Just as the smbpasswd file is meant to store information that provides information
    12551255                        additional to  a user's <code class="filename">/etc/passwd</code> entry, so is the sambaSamAccount
     
    12601260                        with the posixAccount ObjectClass outlined in RFC 2307. This is by design.
    12611261                        </p><p>
    1262 <a class="indexterm" name="id2593521"></a>
    1263 <a class="indexterm" name="id2593528"></a>
    1264 <a class="indexterm" name="id2593535"></a>
    1265 <a class="indexterm" name="id2593542"></a>
    1266 <a class="indexterm" name="id2593549"></a>
    1267 <a class="indexterm" name="id2593556"></a>
    1268 <a class="indexterm" name="id2593563"></a>
    1269 <a class="indexterm" name="id2593570"></a>
    1270 <a class="indexterm" name="id2593576"></a>
     1262<a class="indexterm" name="id2599588"></a>
     1263<a class="indexterm" name="id2599595"></a>
     1264<a class="indexterm" name="id2599602"></a>
     1265<a class="indexterm" name="id2599609"></a>
     1266<a class="indexterm" name="id2599616"></a>
     1267<a class="indexterm" name="id2599623"></a>
     1268<a class="indexterm" name="id2599629"></a>
     1269<a class="indexterm" name="id2599636"></a>
     1270<a class="indexterm" name="id2599643"></a>
    12711271                        In order to store all user account information (UNIX and Samba) in the directory,
    12721272                        it is necessary to use the sambaSamAccount and posixAccount ObjectClasses in
     
    12771277                        store all Samba account information in LDAP, but still maintain UNIX account
    12781278                        information in NIS while the network is transitioning to a full LDAP infrastructure.
    1279                         </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2593601"></a>OpenLDAP Configuration</h4></div></div></div><p>
    1280 <a class="indexterm" name="id2593609"></a>
    1281 <a class="indexterm" name="id2593616"></a>
    1282 <a class="indexterm" name="id2593623"></a>
    1283 <a class="indexterm" name="id2593630"></a>
     1279                        </p></div><div class="sect3" title="OpenLDAP Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2599668"></a>OpenLDAP Configuration</h4></div></div></div><p>
     1280<a class="indexterm" name="id2599676"></a>
     1281<a class="indexterm" name="id2599683"></a>
     1282<a class="indexterm" name="id2599690"></a>
     1283<a class="indexterm" name="id2599697"></a>
    12841284                To include support for the sambaSamAccount object in an OpenLDAP directory
    12851285                server, first copy the samba.schema file to slapd's configuration directory.
     
    12901290</pre><p>
    12911291                </p><p>
    1292 <a class="indexterm" name="id2593667"></a>
    1293 <a class="indexterm" name="id2593674"></a>
    1294 <a class="indexterm" name="id2593681"></a>
    1295 <a class="indexterm" name="id2593688"></a>
    1296 <a class="indexterm" name="id2593694"></a>
    1297 <a class="indexterm" name="id2593701"></a>
    1298 <a class="indexterm" name="id2593708"></a>
    1299 <a class="indexterm" name="id2593715"></a>
     1292<a class="indexterm" name="id2599734"></a>
     1293<a class="indexterm" name="id2599740"></a>
     1294<a class="indexterm" name="id2599747"></a>
     1295<a class="indexterm" name="id2599754"></a>
     1296<a class="indexterm" name="id2599761"></a>
     1297<a class="indexterm" name="id2599768"></a>
     1298<a class="indexterm" name="id2599775"></a>
     1299<a class="indexterm" name="id2599782"></a>
    13001300                Next, include the <code class="filename">samba.schema</code> file in <code class="filename">slapd.conf</code>.
    13011301                The sambaSamAccount object contains two attributes that depend on other schema
     
    13171317</pre><p>
    13181318                </p><p>
    1319 <a class="indexterm" name="id2593783"></a>
    1320 <a class="indexterm" name="id2593790"></a>
    1321 <a class="indexterm" name="id2593797"></a>
    1322 <a class="indexterm" name="id2593804"></a>
     1319<a class="indexterm" name="id2599850"></a>
     1320<a class="indexterm" name="id2599856"></a>
     1321<a class="indexterm" name="id2599863"></a>
     1322<a class="indexterm" name="id2599870"></a>
    13231323                It is recommended that you maintain some indices on some of the most useful attributes,
    13241324                as in the following example, to speed up searches made on sambaSamAccount ObjectClasses
     
    13581358<code class="prompt">root# </code><strong class="userinput"><code>/etc/init.d/slapd restart</code></strong>
    13591359</pre><p>
    1360                 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2593873"></a>Initialize the LDAP Database</h4></div></div></div><p>
    1361 <a class="indexterm" name="id2593882"></a>
    1362 <a class="indexterm" name="id2593888"></a>
    1363 <a class="indexterm" name="id2593895"></a>
    1364 <a class="indexterm" name="id2593902"></a>
     1360                </p></div><div class="sect3" title="Initialize the LDAP Database"><div class="titlepage"><div><div><h4 class="title"><a name="id2599940"></a>Initialize the LDAP Database</h4></div></div></div><p>
     1361<a class="indexterm" name="id2599948"></a>
     1362<a class="indexterm" name="id2599955"></a>
     1363<a class="indexterm" name="id2599962"></a>
     1364<a class="indexterm" name="id2599969"></a>
    13651365                Before you can add accounts to the LDAP database, you must create the account containers
    13661366                that they will be stored in. The following LDIF file should be modified to match your
     
    14241424</pre><p>
    14251425                </p><p>
    1426 <a class="indexterm" name="id2593945"></a>
    1427 <a class="indexterm" name="id2593952"></a>
     1426<a class="indexterm" name="id2600012"></a>
     1427<a class="indexterm" name="id2600018"></a>
    14281428                The userPassword shown above should be generated using <code class="literal">slappasswd</code>.
    14291429                </p><p>
    1430 <a class="indexterm" name="id2593969"></a>
    1431 <a class="indexterm" name="id2593976"></a>
     1430<a class="indexterm" name="id2600036"></a>
     1431<a class="indexterm" name="id2600042"></a>
    14321432                The following command will then load the contents of the LDIF file into the LDAP
    14331433                database.
    1434 <a class="indexterm" name="id2593984"></a>
     1434<a class="indexterm" name="id2600051"></a>
    14351435</p><pre class="screen">
    14361436<code class="prompt">$ </code><strong class="userinput"><code>slapadd -v -l initldap.dif</code></strong>
     
    14391439                Do not forget to secure your LDAP server with an adequate access control list
    14401440                as well as an admin password.
    1441                 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    1442 <a class="indexterm" name="id2594016"></a>
     1441                </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     1442<a class="indexterm" name="id2600083"></a>
    14431443                Before Samba can access the LDAP server, you need to store the LDAP admin password
    14441444                in the Samba-3 <code class="filename">secrets.tdb</code> database by:
    1445 <a class="indexterm" name="id2594031"></a>
     1445<a class="indexterm" name="id2600098"></a>
    14461446</p><pre class="screen">
    14471447<code class="prompt">root# </code><strong class="userinput"><code>smbpasswd -w <em class="replaceable"><code>secret</code></em></code></strong>
    14481448</pre><p>
    1449                 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2594059"></a>Configuring Samba</h4></div></div></div><p>
    1450 <a class="indexterm" name="id2594067"></a>
    1451 <a class="indexterm" name="id2594073"></a>
     1449                </p></div></div><div class="sect3" title="Configuring Samba"><div class="titlepage"><div><div><h4 class="title"><a name="id2600125"></a>Configuring Samba</h4></div></div></div><p>
     1450<a class="indexterm" name="id2600133"></a>
     1451<a class="indexterm" name="id2600140"></a>
    14521452                        The following parameters are available in <code class="filename">smb.conf</code> only if your version of Samba was built with
    14531453                        LDAP support. Samba automatically builds with LDAP support if the LDAP libraries are found. The
     
    14681468                        and libraries were not found during compilation.
    14691469                        </p><p>LDAP-related smb.conf options include these:
    1470                         </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2594130"></a><em class="parameter"><code>passdb backend = ldapsam:url</code></em></td></tr><tr><td><a class="indexterm" name="id2594142"></a></td></tr><tr><td><a class="indexterm" name="id2594149"></a></td></tr><tr><td><a class="indexterm" name="id2594156"></a></td></tr><tr><td><a class="indexterm" name="id2594163"></a></td></tr><tr><td><a class="indexterm" name="id2594170"></a></td></tr><tr><td><a class="indexterm" name="id2594176"></a></td></tr><tr><td><a class="indexterm" name="id2594183"></a></td></tr><tr><td><a class="indexterm" name="id2594190"></a></td></tr><tr><td><a class="indexterm" name="id2594197"></a></td></tr><tr><td><a class="indexterm" name="id2594204"></a></td></tr><tr><td><a class="indexterm" name="id2594211"></a></td></tr><tr><td><a class="indexterm" name="id2594218"></a></td></tr><tr><td><a class="indexterm" name="id2594225"></a></td></tr></table><p>
     1470                        </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2600197"></a><em class="parameter"><code>passdb backend = ldapsam:url</code></em></td></tr><tr><td><a class="indexterm" name="id2600209"></a></td></tr><tr><td><a class="indexterm" name="id2600216"></a></td></tr><tr><td><a class="indexterm" name="id2600222"></a></td></tr><tr><td><a class="indexterm" name="id2600229"></a></td></tr><tr><td><a class="indexterm" name="id2600236"></a></td></tr><tr><td><a class="indexterm" name="id2600243"></a></td></tr><tr><td><a class="indexterm" name="id2600250"></a></td></tr><tr><td><a class="indexterm" name="id2600257"></a></td></tr><tr><td><a class="indexterm" name="id2600264"></a></td></tr><tr><td><a class="indexterm" name="id2600271"></a></td></tr><tr><td><a class="indexterm" name="id2600278"></a></td></tr><tr><td><a class="indexterm" name="id2600285"></a></td></tr><tr><td><a class="indexterm" name="id2600292"></a></td></tr></table><p>
    14711471                        </p><p>
    14721472                        These are described in the <code class="filename">smb.conf</code> man page and so are not repeated here. However, an example
    14731473                        for use with an LDAP directory is shown in <a class="link" href="passdb.html#confldapex" title="Example 11.2. Configuration with LDAP">the Configuration with LDAP.</a>
    1474                         </p><div class="example"><a name="confldapex"></a><p class="title"><b>Example 11.2. Configuration with LDAP</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2594276"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2594288"></a><em class="parameter"><code>encrypt passwords = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2594300"></a><em class="parameter"><code>netbios name = MORIA</code></em></td></tr><tr><td><a class="indexterm" name="id2594312"></a><em class="parameter"><code>workgroup = NOLDOR</code></em></td></tr><tr><td># LDAP related parameters:</td></tr><tr><td># Define the DN used when binding to the LDAP servers.</td></tr><tr><td># The password for this DN is not stored in smb.conf</td></tr><tr><td># Set it using 'smbpasswd -w secret' to store the</td></tr><tr><td># passphrase in the secrets.tdb file.</td></tr><tr><td># If the "ldap admin dn" value changes, it must be reset.</td></tr><tr><td><a class="indexterm" name="id2594348"></a><em class="parameter"><code>ldap admin dn = "cn=Manager,dc=quenya,dc=org"</code></em></td></tr><tr><td># SSL directory connections can be configured by:</td></tr><tr><td># ('off', 'start tls', or 'on' (default))</td></tr><tr><td><a class="indexterm" name="id2594368"></a><em class="parameter"><code>ldap ssl = start tls</code></em></td></tr><tr><td># syntax: passdb backend = ldapsam:ldap://server-name[:port]</td></tr><tr><td><a class="indexterm" name="id2594384"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://frodo.quenya.org</code></em></td></tr><tr><td># smbpasswd -x delete the entire dn-entry</td></tr><tr><td><a class="indexterm" name="id2594401"></a><em class="parameter"><code>ldap delete dn = no</code></em></td></tr><tr><td># The machine and user suffix are added to the base suffix</td></tr><tr><td># wrote WITHOUT quotes. NULL suffixes by default</td></tr><tr><td><a class="indexterm" name="id2594421"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2594433"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2594445"></a><em class="parameter"><code>ldap machine suffix = ou=Computers</code></em></td></tr><tr><td># Trust UNIX account information in LDAP</td></tr><tr><td>#  (see the smb.conf man page for details)</td></tr><tr><td># Specify the base DN to use when searching the directory</td></tr><tr><td><a class="indexterm" name="id2594469"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2594483"></a>Accounts and Groups Management</h4></div></div></div><p>
    1475                         <a class="indexterm" name="id2594491"></a>
    1476                         <a class="indexterm" name="id2594498"></a>
     1474                        </p><div class="example"><a name="confldapex"></a><p class="title"><b>Example 11.2. Configuration with LDAP</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2600343"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2600355"></a><em class="parameter"><code>encrypt passwords = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2600366"></a><em class="parameter"><code>netbios name = MORIA</code></em></td></tr><tr><td><a class="indexterm" name="id2600378"></a><em class="parameter"><code>workgroup = NOLDOR</code></em></td></tr><tr><td># LDAP related parameters:</td></tr><tr><td># Define the DN used when binding to the LDAP servers.</td></tr><tr><td># The password for this DN is not stored in smb.conf</td></tr><tr><td># Set it using 'smbpasswd -w secret' to store the</td></tr><tr><td># passphrase in the secrets.tdb file.</td></tr><tr><td># If the "ldap admin dn" value changes, it must be reset.</td></tr><tr><td><a class="indexterm" name="id2600415"></a><em class="parameter"><code>ldap admin dn = "cn=Manager,dc=quenya,dc=org"</code></em></td></tr><tr><td># SSL directory connections can be configured by:</td></tr><tr><td># ('off', 'start tls', or 'on' (default))</td></tr><tr><td><a class="indexterm" name="id2600435"></a><em class="parameter"><code>ldap ssl = start tls</code></em></td></tr><tr><td># syntax: passdb backend = ldapsam:ldap://server-name[:port]</td></tr><tr><td><a class="indexterm" name="id2600451"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://frodo.quenya.org</code></em></td></tr><tr><td># smbpasswd -x delete the entire dn-entry</td></tr><tr><td><a class="indexterm" name="id2600467"></a><em class="parameter"><code>ldap delete dn = no</code></em></td></tr><tr><td># The machine and user suffix are added to the base suffix</td></tr><tr><td># wrote WITHOUT quotes. NULL suffixes by default</td></tr><tr><td><a class="indexterm" name="id2600488"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2600500"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2600512"></a><em class="parameter"><code>ldap machine suffix = ou=Computers</code></em></td></tr><tr><td># Trust UNIX account information in LDAP</td></tr><tr><td>#  (see the smb.conf man page for details)</td></tr><tr><td># Specify the base DN to use when searching the directory</td></tr><tr><td><a class="indexterm" name="id2600536"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect3" title="Accounts and Groups Management"><div class="titlepage"><div><div><h4 class="title"><a name="id2600550"></a>Accounts and Groups Management</h4></div></div></div><p>
     1475                        <a class="indexterm" name="id2600558"></a>
     1476                        <a class="indexterm" name="id2600565"></a>
    14771477                        Because user accounts are managed through the sambaSamAccount ObjectClass, you should
    14781478                        modify your existing administration tools to deal with sambaSamAccount attributes.
    14791479                        </p><p>
    1480 <a class="indexterm" name="id2594514"></a>
    1481 <a class="indexterm" name="id2594521"></a>
    1482 <a class="indexterm" name="id2594528"></a>
     1480<a class="indexterm" name="id2600581"></a>
     1481<a class="indexterm" name="id2600588"></a>
     1482<a class="indexterm" name="id2600595"></a>
    14831483                        Machine accounts are managed with the sambaSamAccount ObjectClass, just
    14841484                        like user accounts. However, it is up to you to store those accounts
    14851485                        in a different tree of your LDAP namespace. You should use
    1486                         &#8220;<span class="quote">ou=Groups,dc=quenya,dc=org</span>&#8221; to store groups and
    1487                         &#8220;<span class="quote">ou=People,dc=quenya,dc=org</span>&#8221; to store users. Just configure your
     1486                        <span class="quote">&#8220;<span class="quote">ou=Groups,dc=quenya,dc=org</span>&#8221;</span> to store groups and
     1487                        <span class="quote">&#8220;<span class="quote">ou=People,dc=quenya,dc=org</span>&#8221;</span> to store users. Just configure your
    14881488                        NSS and PAM accordingly (usually, in the <code class="filename">/etc/openldap/sldap.conf</code>
    14891489                        configuration file).
    14901490                        </p><p>
    1491 <a class="indexterm" name="id2594558"></a>
    1492 <a class="indexterm" name="id2594564"></a>
    1493 <a class="indexterm" name="id2594571"></a>
    1494 <a class="indexterm" name="id2594578"></a>
     1491<a class="indexterm" name="id2600624"></a>
     1492<a class="indexterm" name="id2600631"></a>
     1493<a class="indexterm" name="id2600638"></a>
     1494<a class="indexterm" name="id2600645"></a>
    14951495                        In Samba-3, the group management system is based on POSIX
    14961496                        groups. This means that Samba makes use of the posixGroup ObjectClass.
     
    14991499                        and, unlike MS Windows 2000 and Active Directory, Samba-3 does not
    15001500                        support nested groups.
    1501                         </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2594596"></a>Security and sambaSamAccount</h4></div></div></div><p>
    1502 <a class="indexterm" name="id2594605"></a>
     1501                        </p></div><div class="sect3" title="Security and sambaSamAccount"><div class="titlepage"><div><div><h4 class="title"><a name="id2600663"></a>Security and sambaSamAccount</h4></div></div></div><p>
     1502<a class="indexterm" name="id2600671"></a>
    15031503                        There are two important points to remember when discussing the security
    15041504                        of sambaSAMAccount entries in the directory.
    1505                         </p><div class="itemizedlist"><ul type="disc"><li><p><span class="emphasis"><em>Never</em></span> retrieve the SambaLMPassword or
    1506 <a class="indexterm" name="id2594623"></a>
    1507                                 SambaNTPassword attribute values over an unencrypted LDAP session.</p></li><li><p><span class="emphasis"><em>Never</em></span> allow non-admin users to
     1505                        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><span class="emphasis"><em>Never</em></span> retrieve the SambaLMPassword or
     1506<a class="indexterm" name="id2600690"></a>
     1507                                SambaNTPassword attribute values over an unencrypted LDAP session.</p></li><li class="listitem"><p><span class="emphasis"><em>Never</em></span> allow non-admin users to
    15081508                                view the SambaLMPassword or SambaNTPassword attribute values.</p></li></ul></div><p>
    1509 <a class="indexterm" name="id2594644"></a>
    1510 <a class="indexterm" name="id2594651"></a>
    1511 <a class="indexterm" name="id2594658"></a>
     1509<a class="indexterm" name="id2600711"></a>
     1510<a class="indexterm" name="id2600718"></a>
     1511<a class="indexterm" name="id2600724"></a>
    15121512                        These password hashes are clear-text equivalents and can be used to impersonate
    15131513                        the user without deriving the original clear-text strings. For more information
     
    15151515                        Account Information Database section</a>.
    15161516                        </p><p>
    1517 <a class="indexterm" name="id2594679"></a>
    1518 <a class="indexterm" name="id2594686"></a>
    1519 <a class="indexterm" name="id2594693"></a>
    1520 <a class="indexterm" name="id2594700"></a>
     1517<a class="indexterm" name="id2600746"></a>
     1518<a class="indexterm" name="id2600753"></a>
     1519<a class="indexterm" name="id2600760"></a>
     1520<a class="indexterm" name="id2600766"></a>
    15211521                        To remedy the first security issue, the <a class="link" href="smb.conf.5.html#LDAPSSL" target="_top">ldap ssl</a> <code class="filename">smb.conf</code>
    15221522                        parameter defaults to require an encrypted session (<a class="link" href="smb.conf.5.html#LDAPSSL" target="_top">ldap    ssl = on</a>) using the default port of <code class="constant">636</code> when
     
    15261526                        (so do not set <a class="link" href="smb.conf.5.html#LDAPSSL" target="_top">ldap ssl = off</a>).
    15271527                        </p><p>
    1528 <a class="indexterm" name="id2594761"></a>
    1529 <a class="indexterm" name="id2594768"></a>
    1530 <a class="indexterm" name="id2594774"></a>
     1528<a class="indexterm" name="id2600828"></a>
     1529<a class="indexterm" name="id2600834"></a>
     1530<a class="indexterm" name="id2600841"></a>
    15311531                        Note that the LDAPS protocol is deprecated in favor of the LDAPv3 StartTLS
    15321532                        extended operation. However, the OpenLDAP library still provides support for
    15331533                        the older method of securing communication between clients and servers.
    15341534                        </p><p>
    1535 <a class="indexterm" name="id2594789"></a>
    1536 <a class="indexterm" name="id2594796"></a>
    1537 <a class="indexterm" name="id2594802"></a>
     1535<a class="indexterm" name="id2600855"></a>
     1536<a class="indexterm" name="id2600862"></a>
     1537<a class="indexterm" name="id2600869"></a>
    15381538                        The second security precaution is to prevent non-administrative users from
    15391539                        harvesting password hashes from the directory. This can be done using the
     
    15461546     by * none
    15471547</pre><p>
    1548 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2594832"></a>LDAP Special Attributes for sambaSamAccounts</h4></div></div></div><p> The sambaSamAccount ObjectClass is composed of the attributes shown in next tables: <a class="link" href="passdb.html#attribobjclPartA" title="Table 11.3. Attributes in the sambaSamAccount ObjectClass (LDAP), Part A">Part A</a>, and <a class="link" href="passdb.html#attribobjclPartB" title="Table 11.4. Attributes in the sambaSamAccount ObjectClass (LDAP), Part B">Part B</a>.
     1548</p></div><div class="sect3" title="LDAP Special Attributes for sambaSamAccounts"><div class="titlepage"><div><div><h4 class="title"><a name="id2600899"></a>LDAP Special Attributes for sambaSamAccounts</h4></div></div></div><p> The sambaSamAccount ObjectClass is composed of the attributes shown in next tables: <a class="link" href="passdb.html#attribobjclPartA" title="Table 11.3. Attributes in the sambaSamAccount ObjectClass (LDAP), Part A">Part A</a>, and <a class="link" href="passdb.html#attribobjclPartB" title="Table 11.4. Attributes in the sambaSamAccount ObjectClass (LDAP), Part B">Part B</a>.
    15491549                        </p><div class="table"><a name="attribobjclPartA"></a><p class="title"><b>Table 11.3. Attributes in the sambaSamAccount ObjectClass (LDAP), Part A</b></p><div class="table-contents"><table summary="Attributes in the sambaSamAccount ObjectClass (LDAP), Part A" border="1"><colgroup><col align="left"><col align="justify"></colgroup><tbody><tr><td align="left"><code class="constant">sambaLMPassword</code></td><td align="justify">The LanMan password 16-byte hash stored as a character
    15501550                                                representation of a hexadecimal string.</td></tr><tr><td align="left"><code class="constant">sambaNTPassword</code></td><td align="justify">The NT password 16-byte hash stored as a character
     
    15621562                                forced to change his password. If this value is set to 0, the user will have to change his password at first login.
    15631563                                If this attribute is not set, then the password will never expire.</td></tr><tr><td align="left"><code class="constant">sambaHomeDrive</code></td><td align="justify">Specifies the drive letter to which to map the
    1564                                 UNC path specified by sambaHomePath. The drive letter must be specified in the form &#8220;<span class="quote">X:</span>&#8221;
    1565                                 where X is the letter of the drive to map. Refer to the &#8220;<span class="quote">logon drive</span>&#8221; parameter in the
     1564                                UNC path specified by sambaHomePath. The drive letter must be specified in the form <span class="quote">&#8220;<span class="quote">X:</span>&#8221;</span>
     1565                                where X is the letter of the drive to map. Refer to the <span class="quote">&#8220;<span class="quote">logon drive</span>&#8221;</span> parameter in the
    15661566                                smb.conf(5) man page for more information.</td></tr><tr><td align="left"><code class="constant">sambaLogonScript</code></td><td align="justify">The sambaLogonScript property specifies the path of
    15671567                                the user's logon script, .CMD, .EXE, or .BAT file. The string can be null. The path
     
    15811581                                The Windows equivalent of UNIX UIDs.</td></tr><tr><td align="left"><code class="constant">sambaPrimaryGroupSID</code></td><td align="justify">The security identifier (SID) of the primary group
    15821582                                of the user.</td></tr><tr><td align="left"><code class="constant">sambaDomainName</code></td><td align="justify">Domain the user is part of.</td></tr></tbody></table></div></div><br class="table-break"><p>
    1583 <a class="indexterm" name="id2595181"></a>
    1584 <a class="indexterm" name="id2595187"></a>
     1583<a class="indexterm" name="id2601247"></a>
     1584<a class="indexterm" name="id2601254"></a>
    15851585                        The majority of these parameters are only used when Samba is acting as a PDC of
    15861586                        a domain (refer to <a class="link" href="samba-pdc.html" title="Chapter 4. Domain Control">Domain Control</a>, for details on
    15871587                        how to configure Samba as a PDC). The following four attributes
    15881588                        are only stored with the sambaSamAccount entry if the values are non-default values:
    1589                         </p><div class="itemizedlist"><a class="indexterm" name="id2595209"></a><a class="indexterm" name="id2595216"></a><a class="indexterm" name="id2595223"></a><a class="indexterm" name="id2595230"></a><ul type="disc"><li><p>sambaHomePath</p></li><li><p>sambaLogonScript</p></li><li><p>sambaProfilePath</p></li><li><p>sambaHomeDrive</p></li></ul></div><p>
    1590 <a class="indexterm" name="id2595259"></a>
    1591 <a class="indexterm" name="id2595266"></a>
    1592 <a class="indexterm" name="id2595272"></a>
     1589                        </p><div class="itemizedlist"><a class="indexterm" name="id2601276"></a><a class="indexterm" name="id2601283"></a><a class="indexterm" name="id2601290"></a><a class="indexterm" name="id2601296"></a><ul class="itemizedlist" type="disc"><li class="listitem"><p>sambaHomePath</p></li><li class="listitem"><p>sambaLogonScript</p></li><li class="listitem"><p>sambaProfilePath</p></li><li class="listitem"><p>sambaHomeDrive</p></li></ul></div><p>
     1590<a class="indexterm" name="id2601325"></a>
     1591<a class="indexterm" name="id2601332"></a>
     1592<a class="indexterm" name="id2601339"></a>
    15931593                        These attributes are only stored with the sambaSamAccount entry if
    15941594                        the values are non-default values. For example, assume MORIA has now been
    15951595                        configured as a PDC and that <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home = \\%L\%u</a> was defined in
    1596                         its <code class="filename">smb.conf</code> file. When a user named &#8220;<span class="quote">becky</span>&#8221; logs on to the domain,
     1596                        its <code class="filename">smb.conf</code> file. When a user named <span class="quote">&#8220;<span class="quote">becky</span>&#8221;</span> logs on to the domain,
    15971597                        the <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home</a> string is expanded to \\MORIA\becky.
    1598                         If the smbHome attribute exists in the entry &#8220;<span class="quote">uid=becky,ou=People,dc=samba,dc=org</span>&#8221;,
     1598                        If the smbHome attribute exists in the entry <span class="quote">&#8220;<span class="quote">uid=becky,ou=People,dc=samba,dc=org</span>&#8221;</span>,
    15991599                        this value is used. However, if this attribute does not exist, then the value
    16001600                        of the <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home</a> parameter is used in its place. Samba
    16011601                        will only write the attribute value to the directory entry if the value is
    16021602                        something other than the default (e.g., <code class="filename">\\MOBY\becky</code>).
    1603                         </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2595346"></a>Example LDIF Entries for a sambaSamAccount</h4></div></div></div><p>
     1603                        </p></div><div class="sect3" title="Example LDIF Entries for a sambaSamAccount"><div class="titlepage"><div><div><h4 class="title"><a name="id2601412"></a>Example LDIF Entries for a sambaSamAccount</h4></div></div></div><p>
    16041604                        The following is a working LDIF that demonstrates the use of the SambaSamAccount ObjectClass:
    16051605</p><pre class="programlisting">
     
    16461646sambaNTPassword: 878D8014606CDA29677A44EFA1353FC7
    16471647</pre><p>
    1648                 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2595393"></a>Password Synchronization</h4></div></div></div><p>
     1648                </p></div><div class="sect3" title="Password Synchronization"><div class="titlepage"><div><div><h4 class="title"><a name="id2601460"></a>Password Synchronization</h4></div></div></div><p>
    16491649                Samba-3 and later can update the non-Samba (LDAP) password stored with an account. When
    16501650                using pam_ldap, this allows changing both UNIX and Windows passwords at once.
     
    16551655                                        <code class="constant">SambaLMPassword</code>.</p></td></tr><tr><td align="left">only</td><td align="justify"><p>Only update the LDAP password and let the LDAP server
    16561656                        worry about the other fields.  This option is only available on some LDAP servers and
    1657                         only when the LDAP server supports LDAP_EXOP_X_MODIFY_PASSWD.</p></td></tr></tbody></table></div></div><br class="table-break"><p>More information can be found in the <code class="filename">smb.conf</code> man page.</p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2595546"></a>Using OpenLDAP Overlay for Password Synchronization</h4></div></div></div><p>
     1657                        only when the LDAP server supports LDAP_EXOP_X_MODIFY_PASSWD.</p></td></tr></tbody></table></div></div><br class="table-break"><p>More information can be found in the <code class="filename">smb.conf</code> man page.</p></div><div class="sect3" title="Using OpenLDAP Overlay for Password Synchronization"><div class="titlepage"><div><div><h4 class="title"><a name="id2601612"></a>Using OpenLDAP Overlay for Password Synchronization</h4></div></div></div><p>
    16581658                Howard Chu has written a special overlay called <code class="literal">smbk5pwd</code>. This tool  modifies the
    16591659                <code class="literal">SambaNTPassword</code>, <code class="literal">SambaLMPassword</code> and <code class="literal">Heimdal</code>
     
    16631663                <code class="filename">contrib/slapd-modules/smbk5pwd</code> subdirectory. This module can also be used with
    16641664                OpenLDAP-2.2.
    1665                 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2595597"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2595602"></a>Users Cannot Logon</h3></div></div></div><p>&#8220;<span class="quote">I've installed Samba, but now I can't log on with my UNIX account! </span>&#8221;</p><p>Make sure your user has been added to the current Samba <a class="link" href="smb.conf.5.html#PASSDBBACKEND" target="_top">passdb backend</a>.
    1666                 Read the <a class="link" href="passdb.html#acctmgmttools" title="Account Management Tools">Account Management Tools,</a> for details.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2595640"></a>Configuration of <em class="parameter"><code>auth methods</code></em></h3></div></div></div><p>
     1665                </p></div></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2601663"></a>Common Errors</h2></div></div></div><div class="sect2" title="Users Cannot Logon"><div class="titlepage"><div><div><h3 class="title"><a name="id2601669"></a>Users Cannot Logon</h3></div></div></div><p><span class="quote">&#8220;<span class="quote">I've installed Samba, but now I can't log on with my UNIX account! </span>&#8221;</span></p><p>Make sure your user has been added to the current Samba <a class="link" href="smb.conf.5.html#PASSDBBACKEND" target="_top">passdb backend</a>.
     1666                Read the <a class="link" href="passdb.html#acctmgmttools" title="Account Management Tools">Account Management Tools,</a> for details.</p></div><div class="sect2" title="Configuration of auth methods"><div class="titlepage"><div><div><h3 class="title"><a name="id2601707"></a>Configuration of <em class="parameter"><code>auth methods</code></em></h3></div></div></div><p>
    16671667        When explicitly setting an <a class="link" href="smb.conf.5.html#AUTHMETHODS" target="_top">auth methods</a> parameter,
    16681668        <em class="parameter"><code>guest</code></em> must be specified as the first entry on the line
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/pr01.html

    r274 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>About the Cover Artwork</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="next" href="pr02.html" title="Attribution"></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">About the Cover Artwork</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="index.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="pr02.html">Next</a></td></tr></table><hr></div><div class="preface" lang="en-US"><div class="titlepage"><div><div><h2 class="title"><a name="id2500842"></a>About the Cover Artwork</h2></div></div></div><p>
    2         The cover artwork of this book continues the freedom theme of the first edition of &#8220;<span class="quote">The Official Samba-3
    3         HOWTO and Reference Guide</span>&#8221;.  We may look back upon the past to question the motives of those who have
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>About the Cover Artwork</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="next" href="pr02.html" title="Attribution"></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">About the Cover Artwork</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="index.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="pr02.html">Next</a></td></tr></table><hr></div><div lang="en-US" class="preface" title="About the Cover Artwork"><div class="titlepage"><div><div><h2 class="title"><a name="id2546473"></a>About the Cover Artwork</h2></div></div></div><p>
     2        The cover artwork of this book continues the freedom theme of the first edition of <span class="quote">&#8220;<span class="quote">The Official Samba-3
     3        HOWTO and Reference Guide</span>&#8221;</span>.  We may look back upon the past to question the motives of those who have
    44        gone before us. Seldom do we realise that the past owes us no answer, and despite what we may think of the
    55        actions of those who have travelled lifes' road before us, we must feel a sense of pride and gratitude for
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/pr02.html

    r274 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Attribution</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="pr01.html" title="About the Cover Artwork"><link rel="next" href="pr03.html" title="Foreword"></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">Attribution</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pr01.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="pr03.html">Next</a></td></tr></table><hr></div><div class="preface" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="id2500910"></a>Attribution</h2></div></div></div><p><a class="link" href="install.html" title="Chapter 1. How to Install and Test SAMBA">How to Install and Test SAMBA</a>
    2         </p><div class="itemizedlist"><ul type="disc"><li><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Karl Auer<a class="ulink" href="mailto:kauer@biplane.com.au" target="_top">mailto:kauer@biplane.com.au</a></p></li><li><p>Dan Shearer<a class="ulink" href="mailto:dan@samba.org" target="_top">mailto:dan@samba.org</a></p></li></ul></div><p>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Attribution</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="pr01.html" title="About the Cover Artwork"><link rel="next" href="pr03.html" title="Foreword"></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">Attribution</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pr01.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="pr03.html">Next</a></td></tr></table><hr></div><div class="preface" title="Attribution"><div class="titlepage"><div><div><h2 class="title"><a name="id2506960"></a>Attribution</h2></div></div></div><p><a class="link" href="install.html" title="Chapter 1. How to Install and Test SAMBA">How to Install and Test SAMBA</a>
     2        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li class="listitem"><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Karl Auer<a class="ulink" href="mailto:kauer@biplane.com.au" target="_top">mailto:kauer@biplane.com.au</a></p></li><li class="listitem"><p>Dan Shearer<a class="ulink" href="mailto:dan@samba.org" target="_top">mailto:dan@samba.org</a></p></li></ul></div><p>
    33</p><p><a class="link" href="FastStart.html" title="Chapter 2. Fast Start: Cure for Impatience">Fast Start: Cure for Impatience</a>
    4         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     4        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    55</p><p><a class="link" href="ServerType.html" title="Chapter 3. Server Types and Security Modes">Server Types and Security Modes</a>
    6         </p><div class="itemizedlist"><ul type="disc"><li><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     6        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li class="listitem"><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    77</p><p><a class="link" href="samba-pdc.html" title="Chapter 4. Domain Control">Domain Control</a>
    8         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Gerald (Jerry)  Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li><p>David Bannon<a class="ulink" href="mailto:dbannon@samba.org" target="_top">mailto:dbannon@samba.org</a></p></li><li><p>Guenther Deschner<a class="ulink" href="mailto:gd@suse.de" target="_top">mailto:gd@suse.de</a> (LDAP updates) </p></li></ul></div><p>
     8        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Gerald (Jerry)  Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li class="listitem"><p>David Bannon<a class="ulink" href="mailto:dbannon@samba.org" target="_top">mailto:dbannon@samba.org</a></p></li><li class="listitem"><p>Guenther Deschner<a class="ulink" href="mailto:gd@samba.org" target="_top">mailto:gd@samba.org</a> (LDAP updates) </p></li></ul></div><p>
    99</p><p><a class="link" href="samba-bdc.html" title="Chapter 5. Backup Domain Control">Backup Domain Control</a>
    10         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Volker Lendecke<a class="ulink" href="mailto:Volker.Lendecke@SerNet.DE" target="_top">mailto:Volker.Lendecke@SerNet.DE</a></p></li><li><p>Guenther Deschner<a class="ulink" href="mailto:gd@suse.de" target="_top">mailto:gd@suse.de</a> (LDAP updates) </p></li></ul></div><p>
     10        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Volker Lendecke<a class="ulink" href="mailto:Volker.Lendecke@SerNet.DE" target="_top">mailto:Volker.Lendecke@SerNet.DE</a></p></li><li class="listitem"><p>Guenther Deschner<a class="ulink" href="mailto:gd@samba.org" target="_top">mailto:gd@samba.org</a> (LDAP updates) </p></li></ul></div><p>
    1111</p><p><a class="link" href="domain-member.html" title="Chapter 6. Domain Membership">Domain Membership</a>
    12         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li><li><p>Gerald (Jerry)  Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>Guenther Deschner<a class="ulink" href="mailto:gd@suse.de" target="_top">mailto:gd@suse.de</a> (LDAP updates) </p></li></ul></div><p>
     12        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li><li class="listitem"><p>Gerald (Jerry)  Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li class="listitem"><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li class="listitem"><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>Guenther Deschner<a class="ulink" href="mailto:gd@samba.org" target="_top">mailto:gd@samba.org</a> (LDAP updates) </p></li></ul></div><p>
    1313</p><p><a class="link" href="StandAloneServer.html" title="Chapter 7. Standalone Servers">Standalone Servers</a>
    14         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     14        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    1515</p><p><a class="link" href="ClientConfig.html" title="Chapter 8. MS Windows Network Configuration Guide">MS Windows Network Configuration Guide</a>
    16         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     16        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    1717</p><p><a class="link" href="ChangeNotes.html" title="Chapter 9. Important and Critical Change Notes for the Samba 3.x Series">Important and Critical Change Notes for the Samba 3.x Series</a>
    18         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Gerald (Jerry)  Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li></ul></div><p>
     18        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Gerald (Jerry)  Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li></ul></div><p>
    1919</p><p><a class="link" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing">Network Browsing</a>
    20         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>Jonathan Johnson<a class="ulink" href="mailto:jon@sutinen.com" target="_top">mailto:jon@sutinen.com</a></p></li></ul></div><p>
     20        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>Jonathan Johnson<a class="ulink" href="mailto:jon@sutinen.com" target="_top">mailto:jon@sutinen.com</a></p></li></ul></div><p>
    2121</p><p><a class="link" href="passdb.html" title="Chapter 11. Account Information Databases">Account Information Databases</a>
    22         </p><div class="itemizedlist"><ul type="disc"><li><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Gerald (Jerry)  Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li><li><p>Guenther Deschner<a class="ulink" href="mailto:gd@suse.de" target="_top">mailto:gd@suse.de</a> (LDAP updates) </p></li><li><p>Olivier (lem) Lemaire<a class="ulink" href="mailto:olem@IDEALX.org" target="_top">mailto:olem@IDEALX.org</a></p></li></ul></div><p>
     22        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Gerald (Jerry)  Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li class="listitem"><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li><li class="listitem"><p>Guenther Deschner<a class="ulink" href="mailto:gd@samba.org" target="_top">mailto:gd@samba.org</a> (LDAP updates) </p></li><li class="listitem"><p>Olivier (lem) Lemaire<a class="ulink" href="mailto:olem@IDEALX.org" target="_top">mailto:olem@IDEALX.org</a></p></li></ul></div><p>
    2323</p><p><a class="link" href="groupmapping.html" title="Chapter 12. Group Mapping: MS Windows and UNIX">Group Mapping: MS Windows and UNIX</a>
    24         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Jean François Micouleau</p></li><li><p>Gerald (Jerry)  Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li></ul></div><p>
     24        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Jean François Micouleau</p></li><li class="listitem"><p>Gerald (Jerry)  Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li></ul></div><p>
    2525</p><p><a class="link" href="NetCommand.html" title="Chapter 13. Remote and Local Management: The Net Command">Remote and Local Management: The Net Command</a>
    26         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Volker Lendecke<a class="ulink" href="mailto:Volker.Lendecke@SerNet.DE" target="_top">mailto:Volker.Lendecke@SerNet.DE</a></p></li><li><p>Guenther Deschner<a class="ulink" href="mailto:gd@suse.de" target="_top">mailto:gd@suse.de</a></p></li></ul></div><p>
     26        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Volker Lendecke<a class="ulink" href="mailto:Volker.Lendecke@SerNet.DE" target="_top">mailto:Volker.Lendecke@SerNet.DE</a></p></li><li class="listitem"><p>Guenther Deschner<a class="ulink" href="mailto:gd@samba.org" target="_top">mailto:gd@samba.org</a></p></li></ul></div><p>
    2727</p><p><a class="link" href="idmapper.html" title="Chapter 14. Identity Mapping (IDMAP)">Identity Mapping (IDMAP)</a>
    28         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     28        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    2929</p><p><a class="link" href="rights.html" title="Chapter 15. User Rights and Privileges">User Rights and Privileges</a>
    30         </p><div class="itemizedlist"><ul type="disc"><li><p>Gerald (Jerry)  Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     30        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Gerald (Jerry)  Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    3131</p><p><a class="link" href="AccessControls.html" title="Chapter 16. File, Directory, and Share Access Controls">File, Directory, and Share Access Controls</a>
    32         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li><li><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a> (drawing) </p></li></ul></div><p>
     32        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li><li class="listitem"><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a> (drawing) </p></li></ul></div><p>
    3333</p><p><a class="link" href="locking.html" title="Chapter 17. File and Record Locking">File and Record Locking</a>
    34         </p><div class="itemizedlist"><ul type="disc"><li><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li><li><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Eric Roseme<a class="ulink" href="mailto:eric.roseme@hp.com" target="_top">mailto:eric.roseme@hp.com</a></p></li></ul></div><p>
     34        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li><li class="listitem"><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Eric Roseme<a class="ulink" href="mailto:eric.roseme@hp.com" target="_top">mailto:eric.roseme@hp.com</a></p></li></ul></div><p>
    3535</p><p><a class="link" href="securing-samba.html" title="Chapter 18. Securing Samba">Securing Samba</a>
    36         </p><div class="itemizedlist"><ul type="disc"><li><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     36        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    3737</p><p><a class="link" href="InterdomainTrusts.html" title="Chapter 19. Interdomain Trust Relationships">Interdomain Trust Relationships</a>
    38         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Rafal Szczesniak<a class="ulink" href="mailto:mimir@samba.org" target="_top">mailto:mimir@samba.org</a></p></li><li><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a> (drawing) </p></li><li><p>Stephen Langasek<a class="ulink" href="mailto:vorlon@netexpress.net" target="_top">mailto:vorlon@netexpress.net</a></p></li></ul></div><p>
     38        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Rafal Szczesniak<a class="ulink" href="mailto:mimir@samba.org" target="_top">mailto:mimir@samba.org</a></p></li><li class="listitem"><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a> (drawing) </p></li><li class="listitem"><p>Stephen Langasek<a class="ulink" href="mailto:vorlon@netexpress.net" target="_top">mailto:vorlon@netexpress.net</a></p></li></ul></div><p>
    3939</p><p><a class="link" href="msdfs.html" title="Chapter 20. Hosting a Microsoft Distributed File System Tree">Hosting a Microsoft Distributed File System Tree</a>
    40         </p><div class="itemizedlist"><ul type="disc"><li><p>Shirish Kalele<a class="ulink" href="mailto:samba@samba.org" target="_top">mailto:samba@samba.org</a></p></li><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     40        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Shirish Kalele<a class="ulink" href="mailto:samba@samba.org" target="_top">mailto:samba@samba.org</a></p></li><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    4141</p><p><a class="link" href="classicalprinting.html" title="Chapter 21. Classical Printing Support">Classical Printing Support</a>
    42         </p><div class="itemizedlist"><ul type="disc"><li><p>Kurt Pfeifle<a class="ulink" href="mailto:kpfeifle@danka.de" target="_top">mailto:kpfeifle@danka.de</a></p></li><li><p>Gerald (Jerry)  Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     42        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Kurt Pfeifle<a class="ulink" href="mailto:kpfeifle@danka.de" target="_top">mailto:kpfeifle@danka.de</a></p></li><li class="listitem"><p>Gerald (Jerry)  Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    4343</p><p><a class="link" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support">CUPS Printing Support</a>
    44         </p><div class="itemizedlist"><ul type="disc"><li><p>Kurt Pfeifle<a class="ulink" href="mailto:kpfeifle@danka.de" target="_top">mailto:kpfeifle@danka.de</a></p></li><li><p>Ciprian Vizitiu<a class="ulink" href="mailto:CVizitiu@gbif.org" target="_top">mailto:CVizitiu@gbif.org</a> (drawings) </p></li><li><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a> (drawings) </p></li></ul></div><p>
     44        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Kurt Pfeifle<a class="ulink" href="mailto:kpfeifle@danka.de" target="_top">mailto:kpfeifle@danka.de</a></p></li><li class="listitem"><p>Ciprian Vizitiu<a class="ulink" href="mailto:CVizitiu@gbif.org" target="_top">mailto:CVizitiu@gbif.org</a> (drawings) </p></li><li class="listitem"><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a> (drawings) </p></li></ul></div><p>
    4545</p><p><a class="link" href="VFS.html" title="Chapter 23. Stackable VFS modules">Stackable VFS modules</a>
    46         </p><div class="itemizedlist"><ul type="disc"><li><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Tim Potter<a class="ulink" href="mailto:tpot@samba.org" target="_top">mailto:tpot@samba.org</a></p></li><li><p>Simo Sorce (original vfs_skel README) </p></li><li><p>Alexander Bokovoy (original vfs_netatalk docs) </p></li><li><p>Stefan Metzmacher (Update for multiple modules) </p></li><li><p>Ed Riddle (original shadow_copy docs) </p></li></ul></div><p>
     46        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Tim Potter<a class="ulink" href="mailto:tpot@samba.org" target="_top">mailto:tpot@samba.org</a></p></li><li class="listitem"><p>Simo Sorce (original vfs_skel README) </p></li><li class="listitem"><p>Alexander Bokovoy (original vfs_netatalk docs) </p></li><li class="listitem"><p>Stefan Metzmacher (Update for multiple modules) </p></li><li class="listitem"><p>Ed Riddle (original shadow_copy docs) </p></li></ul></div><p>
    4747</p><p><a class="link" href="winbind.html" title="Chapter 24. Winbind: Use of Domain Accounts">Winbind: Use of Domain Accounts</a>
    48         </p><div class="itemizedlist"><ul type="disc"><li><p>Tim Potter<a class="ulink" href="mailto:tpot@linuxcare.com.au" target="_top">mailto:tpot@linuxcare.com.au</a></p></li><li><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li><p>Naag Mummaneni<a class="ulink" href="mailto:getnag@rediffmail.com" target="_top">mailto:getnag@rediffmail.com</a> (Notes for Solaris) </p></li><li><p>John Trostel<a class="ulink" href="mailto:jtrostel@snapserver.com" target="_top">mailto:jtrostel@snapserver.com</a></p></li><li><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     48        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Tim Potter<a class="ulink" href="mailto:tpot@linuxcare.com.au" target="_top">mailto:tpot@linuxcare.com.au</a></p></li><li class="listitem"><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li class="listitem"><p>Naag Mummaneni<a class="ulink" href="mailto:getnag@rediffmail.com" target="_top">mailto:getnag@rediffmail.com</a> (Notes for Solaris) </p></li><li class="listitem"><p>John Trostel<a class="ulink" href="mailto:jtrostel@snapserver.com" target="_top">mailto:jtrostel@snapserver.com</a></p></li><li class="listitem"><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    4949</p><p><a class="link" href="AdvancedNetworkManagement.html" title="Chapter 25. Advanced Network Management">Advanced Network Management</a>
    50         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     50        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    5151</p><p><a class="link" href="PolicyMgmt.html" title="Chapter 26. System and Account Policies">System and Account Policies</a>
    52         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     52        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    5353</p><p><a class="link" href="ProfileMgmt.html" title="Chapter 27. Desktop Profile Management">Desktop Profile Management</a>
    54         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     54        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    5555</p><p><a class="link" href="pam.html" title="Chapter 28. PAM-Based Distributed Authentication">PAM-Based Distributed Authentication</a>
    56         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Stephen Langasek<a class="ulink" href="mailto:vorlon@netexpress.net" target="_top">mailto:vorlon@netexpress.net</a></p></li></ul></div><p>
     56        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Stephen Langasek<a class="ulink" href="mailto:vorlon@netexpress.net" target="_top">mailto:vorlon@netexpress.net</a></p></li></ul></div><p>
    5757</p><p><a class="link" href="integrate-ms-networks.html" title="Chapter 29. Integrating MS Windows Networks with Samba">Integrating MS Windows Networks with Samba</a>
    58         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     58        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    5959</p><p><a class="link" href="unicode.html" title="Chapter 30. Unicode/Charsets">Unicode/Charsets</a>
    60         </p><div class="itemizedlist"><ul type="disc"><li><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>TAKAHASHI Motonobu<a class="ulink" href="mailto:monyo@home.monyo.com" target="_top">mailto:monyo@home.monyo.com</a> (Japanese character support) </p></li></ul></div><p>
     60        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>TAKAHASHI Motonobu<a class="ulink" href="mailto:monyo@home.monyo.com" target="_top">mailto:monyo@home.monyo.com</a> (Japanese character support) </p></li></ul></div><p>
    6161</p><p><a class="link" href="Backup.html" title="Chapter 31. Backup Techniques">Backup Techniques</a>
    62         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     62        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    6363</p><p><a class="link" href="SambaHA.html" title="Chapter 32. High Availability">High Availability</a>
    64         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li></ul></div><p>
     64        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li></ul></div><p>
    6565</p><p><a class="link" href="largefile.html" title="Chapter 33. Handling Large Directories">Handling Large Directories</a>
    66         </p><div class="itemizedlist"><ul type="disc"><li><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     66        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    6767</p><p><a class="link" href="cfgsmarts.html" title="Chapter 34. Advanced Configuration Techniques">Advanced Configuration Techniques</a>
    68         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     68        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    6969</p><p><a class="link" href="upgrading-to-3.0.html" title="Chapter 35. Updating and Upgrading Samba">Updating and Upgrading Samba</a>
    70         </p><div class="itemizedlist"><ul type="disc"><li><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Gerald (Jerry)  Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li></ul></div><p>
     70        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Gerald (Jerry)  Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li></ul></div><p>
    7171</p><p><a class="link" href="NT4Migration.html" title="Chapter 36. Migration from NT4 PDC to Samba-3 PDC">Migration from NT4 PDC to Samba-3 PDC</a>
    72         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     72        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    7373</p><p><a class="link" href="SWAT.html" title="Chapter 37. SWAT: The Samba Web Administration Tool">SWAT: The Samba Web Administration Tool</a>
    74         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     74        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    7575</p><p><a class="link" href="diagnosis.html" title="Chapter 38. The Samba Checklist">The Samba Checklist</a>
    76         </p><div class="itemizedlist"><ul type="disc"><li><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>Dan Shearer<a class="ulink" href="mailto:dan@samba.org" target="_top">mailto:dan@samba.org</a></p></li></ul></div><p>
     76        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li class="listitem"><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>Dan Shearer<a class="ulink" href="mailto:dan@samba.org" target="_top">mailto:dan@samba.org</a></p></li></ul></div><p>
    7777</p><p><a class="link" href="problems.html" title="Chapter 39. Analyzing and Solving Samba Problems">Analyzing and Solving Samba Problems</a>
    78         </p><div class="itemizedlist"><ul type="disc"><li><p>Gerald (Jerry)  Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>David Bannon<a class="ulink" href="mailto:dbannon@samba.org" target="_top">mailto:dbannon@samba.org</a></p></li><li><p>Dan Shearer<a class="ulink" href="mailto:dan@samba.org" target="_top">mailto:dan@samba.org</a></p></li></ul></div><p>
     78        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Gerald (Jerry)  Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li class="listitem"><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>David Bannon<a class="ulink" href="mailto:dbannon@samba.org" target="_top">mailto:dbannon@samba.org</a></p></li><li class="listitem"><p>Dan Shearer<a class="ulink" href="mailto:dan@samba.org" target="_top">mailto:dan@samba.org</a></p></li></ul></div><p>
    7979</p><p><a class="link" href="bugreport.html" title="Chapter 40. Reporting Bugs">Reporting Bugs</a>
    80         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li></ul></div><p>
     80        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li></ul></div><p>
    8181</p><p><a class="link" href="tdb.html" title="Chapter 41. Managing TDB Files">Managing TDB Files</a>
    82         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     82        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    8383</p><p><a class="link" href="compiling.html" title="Chapter 42. How to Compile Samba">How to Compile Samba</a>
    84         </p><div class="itemizedlist"><ul type="disc"><li><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li></ul></div><p>
     84        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li></ul></div><p>
    8585</p><p><a class="link" href="Portability.html" title="Chapter 43. Portability">Portability</a>
    86         </p><div class="itemizedlist"><ul type="disc"><li><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     86        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    8787</p><p><a class="link" href="Other-Clients.html" title="Chapter 44. Samba and Other CIFS Clients">Samba and Other CIFS Clients</a>
    88         </p><div class="itemizedlist"><ul type="disc"><li><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Dan Shearer<a class="ulink" href="mailto:dan@samba.org" target="_top">mailto:dan@samba.org</a></p></li><li><p>Jim McDonough<a class="ulink" href="mailto:jmcd@us.ibm.com" target="_top">mailto:jmcd@us.ibm.com</a> (OS/2) </p></li></ul></div><p>
     88        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Dan Shearer<a class="ulink" href="mailto:dan@samba.org" target="_top">mailto:dan@samba.org</a></p></li><li class="listitem"><p>Jim McDonough<a class="ulink" href="mailto:jmcd@us.ibm.com" target="_top">mailto:jmcd@us.ibm.com</a> (OS/2) </p></li></ul></div><p>
    8989</p><p><a class="link" href="speed.html" title="Chapter 45. Samba Performance Tuning">Samba Performance Tuning</a>
    90         </p><div class="itemizedlist"><ul type="disc"><li><p>Paul Cochrane<a class="ulink" href="mailto:paulc@dth.scot.nhs.uk" target="_top">mailto:paulc@dth.scot.nhs.uk</a></p></li><li><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     90        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Paul Cochrane<a class="ulink" href="mailto:paulc@dth.scot.nhs.uk" target="_top">mailto:paulc@dth.scot.nhs.uk</a></p></li><li class="listitem"><p>Jelmer R.  Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    9191</p><p><a class="link" href="ch-ldap-tls.html" title="Chapter 46. LDAP and Transport Layer Security">LDAP and Transport Layer Security</a>
    92         </p><div class="itemizedlist"><ul type="disc"><li><p>Gavin Henry<a class="ulink" href="mailto:ghenry@suretecsystems.com" target="_top">mailto:ghenry@suretecsystems.com</a></p></li></ul></div><p>
     92        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Gavin Henry<a class="ulink" href="mailto:ghenry@suretecsystems.com" target="_top">mailto:ghenry@suretecsystems.com</a></p></li></ul></div><p>
    9393</p><p><a class="link" href="DNSDHCP.html" title="Chapter 48. DNS and DHCP Configuration Guide">DNS and DHCP Configuration Guide</a>
    94         </p><div class="itemizedlist"><ul type="disc"><li><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
     94        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H.  Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>
    9595</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="pr01.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="pr03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">About the Cover Artwork </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Foreword</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/pr03.html

    r274 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Foreword</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="pr02.html" title="Attribution"><link rel="next" href="TOSHpreface.html" title="Preface"></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">Foreword</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pr02.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="TOSHpreface.html">Next</a></td></tr></table><hr></div><div class="preface" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="id2550942"></a>Foreword</h2></div></div></div><p>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Foreword</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="pr02.html" title="Attribution"><link rel="next" href="TOSHpreface.html" title="Preface"></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">Foreword</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pr02.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="TOSHpreface.html">Next</a></td></tr></table><hr></div><div class="preface" title="Foreword"><div class="titlepage"><div><div><h2 class="title"><a name="id2557000"></a>Foreword</h2></div></div></div><p>
    22When John first asked me to write an introductory piece for his latest book, I was somewhat mystified as to
    33why he chose me. A conversation with John provided some of the rationale, and he left it to me to fill in the
     
    5151owed a debt of gratitude by those of us who rely on standards to make our lives more manageable.
    5252</p><p>
    53 </p><table class="simplelist" border="0" summary="Simple list"><tr><td>Carl Cargill, Senior Director</td></tr><tr><td>Corporate Standardization, The Office of the CTO</td></tr><tr><td>Sun Microsystems</td></tr></table><p>
     53</p><table border="0" summary="Simple list" class="simplelist"><tr><td>Carl Cargill, Senior Director</td></tr><tr><td>Corporate Standardization, The Office of the CTO</td></tr><tr><td>Sun Microsystems</td></tr></table><p>
    5454</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="pr02.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="TOSHpreface.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Attribution </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Preface</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/problems.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 39. Analyzing and Solving Samba Problems</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="troubleshooting.html" title="Part V. Troubleshooting"><link rel="prev" href="diagnosis.html" title="Chapter 38. The Samba Checklist"><link rel="next" href="bugreport.html" title="Chapter 40. Reporting Bugs"></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 39. Analyzing and Solving Samba Problems</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="diagnosis.html">Prev</a> </td><th width="60%" align="center">Part V. Troubleshooting</th><td width="20%" align="right"> <a accesskey="n" href="bugreport.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="problems"></a>Chapter 39. Analyzing and Solving Samba Problems</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">David</span> <span class="orgname">Samba Team</span> <span class="surname">Bannon</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:dbannon@samba.org">dbannon@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Dan</span> <span class="orgname">Samba Team</span> <span class="surname">Shearer</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:dan@samba.org">dan@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">8 Apr 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="problems.html#id2684879">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2684931">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685187">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685238">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685381">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2685707">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2685744">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2685919">How to Get Off the Mailing Lists</a></span></dt></dl></div><p>
    2 <a class="indexterm" name="id2684854"></a>
    3 <a class="indexterm" name="id2684860"></a>
    4 <a class="indexterm" name="id2684867"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 39. Analyzing and Solving Samba Problems</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="troubleshooting.html" title="Part V. Troubleshooting"><link rel="prev" href="diagnosis.html" title="Chapter 38. The Samba Checklist"><link rel="next" href="bugreport.html" title="Chapter 40. Reporting Bugs"></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 39. Analyzing and Solving Samba Problems</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="diagnosis.html">Prev</a> </td><th width="60%" align="center">Part V. Troubleshooting</th><td width="20%" align="right"> <a accesskey="n" href="bugreport.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 39. Analyzing and Solving Samba Problems"><div class="titlepage"><div><div><h2 class="title"><a name="problems"></a>Chapter 39. Analyzing and Solving Samba Problems</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">David</span> <span class="surname">Bannon</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:dbannon@samba.org">dbannon@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Dan</span> <span class="surname">Shearer</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:dan@samba.org">dan@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">8 Apr 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="problems.html#id2690936">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2690988">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2691244">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2691294">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2691438">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2691764">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2691801">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2691975">How to Get Off the Mailing Lists</a></span></dt></dl></div><p>
     2<a class="indexterm" name="id2690910"></a>
     3<a class="indexterm" name="id2690917"></a>
     4<a class="indexterm" name="id2690924"></a>
    55There are many sources of information available in the form of mailing lists, RFCs, and documentation. The
    66documentation that comes with the Samba distribution contains good explanations of general SMB topics such as
    77browsing.
    8 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2684879"></a>Diagnostics Tools</h2></div></div></div><p>
    9 <a class="indexterm" name="id2684887"></a>
    10 <a class="indexterm" name="id2684894"></a>
    11 <a class="indexterm" name="id2684901"></a>
    12 <a class="indexterm" name="id2684908"></a>
    13 <a class="indexterm" name="id2684914"></a>
     8</p><div class="sect1" title="Diagnostics Tools"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2690936"></a>Diagnostics Tools</h2></div></div></div><p>
     9<a class="indexterm" name="id2690944"></a>
     10<a class="indexterm" name="id2690951"></a>
     11<a class="indexterm" name="id2690957"></a>
     12<a class="indexterm" name="id2690964"></a>
     13<a class="indexterm" name="id2690971"></a>
    1414With SMB networking, it is often not immediately clear what the cause is of a certain problem. Samba itself
    1515provides rather useful information, but in some cases you might have to fall back to using a
    1616<span class="emphasis"><em>sniffer</em></span>. A sniffer is a program that listens on your LAN, analyzes the data sent on it,
    1717and displays it on the screen.
    18 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2684931"></a>Debugging with Samba Itself</h3></div></div></div><p>
    19 <a class="indexterm" name="id2684939"></a>
    20 <a class="indexterm" name="id2684946"></a>
    21 <a class="indexterm" name="id2684953"></a>
    22 <a class="indexterm" name="id2684960"></a>
    23 <a class="indexterm" name="id2684967"></a>
    24 <a class="indexterm" name="id2684974"></a>
    25 <a class="indexterm" name="id2684981"></a>
     18</p><div class="sect2" title="Debugging with Samba Itself"><div class="titlepage"><div><div><h3 class="title"><a name="id2690988"></a>Debugging with Samba Itself</h3></div></div></div><p>
     19<a class="indexterm" name="id2690996"></a>
     20<a class="indexterm" name="id2691003"></a>
     21<a class="indexterm" name="id2691010"></a>
     22<a class="indexterm" name="id2691017"></a>
     23<a class="indexterm" name="id2691024"></a>
     24<a class="indexterm" name="id2691030"></a>
     25<a class="indexterm" name="id2691037"></a>
    2626One of the best diagnostic tools for debugging problems is Samba itself.  You can use the <code class="option">-d
    2727option</code> for both <span class="application">smbd</span> and <span class="application">nmbd</span> to specify the <a class="link" href="smb.conf.5.html#DEBUGLEVEL" target="_top">debug level</a> at which to run.
     
    2929options. The debug level (log level) can range from 1 (the default) to 10 (100 for debugging passwords).
    3030</p><p>
    31 <a class="indexterm" name="id2685035"></a>
    32 <a class="indexterm" name="id2685042"></a>
    33 <a class="indexterm" name="id2685049"></a>
    34 <a class="indexterm" name="id2685056"></a>
    35 <a class="indexterm" name="id2685062"></a>
    36 <a class="indexterm" name="id2685069"></a>
    37 <a class="indexterm" name="id2685076"></a>
     31<a class="indexterm" name="id2691092"></a>
     32<a class="indexterm" name="id2691098"></a>
     33<a class="indexterm" name="id2691105"></a>
     34<a class="indexterm" name="id2691112"></a>
     35<a class="indexterm" name="id2691119"></a>
     36<a class="indexterm" name="id2691126"></a>
     37<a class="indexterm" name="id2691133"></a>
    3838Another helpful method of debugging is to compile Samba using the <code class="literal">gcc -g </code> flag. This will
    3939include debug information in the binaries and allow you to attach <code class="literal">gdb</code> to the running
     
    4747</p><p>
    4848Some useful Samba commands worth investigating are:
    49 <a class="indexterm" name="id2685145"></a>
    50 <a class="indexterm" name="id2685152"></a>
     49<a class="indexterm" name="id2691202"></a>
     50<a class="indexterm" name="id2691209"></a>
    5151</p><pre class="screen">
    5252<code class="prompt">$ </code><strong class="userinput"><code>testparm | more</code></strong>
    5353<code class="prompt">$ </code><strong class="userinput"><code>smbclient -L //{netbios name of server}</code></strong>
    5454</pre><p>
    55 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2685187"></a>Tcpdump</h3></div></div></div><p>
    56 <a class="indexterm" name="id2685195"></a>
    57 <a class="indexterm" name="id2685202"></a>
    58 <a class="indexterm" name="id2685209"></a>
     55</p></div><div class="sect2" title="Tcpdump"><div class="titlepage"><div><div><h3 class="title"><a name="id2691244"></a>Tcpdump</h3></div></div></div><p>
     56<a class="indexterm" name="id2691252"></a>
     57<a class="indexterm" name="id2691259"></a>
     58<a class="indexterm" name="id2691265"></a>
    5959<a class="ulink" href="http://www.tcpdump.org/" target="_top">Tcpdump</a> was the first
    6060UNIX sniffer with SMB support. It is a command-line utility and
    6161now, its SMB support is somewhat lagging that of <code class="literal">ethereal</code>
    6262and <code class="literal">tethereal</code>.
    63 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2685238"></a>Ethereal</h3></div></div></div><p>
    64 <a class="indexterm" name="id2685245"></a>
     63</p></div><div class="sect2" title="Ethereal"><div class="titlepage"><div><div><h3 class="title"><a name="id2691294"></a>Ethereal</h3></div></div></div><p>
     64<a class="indexterm" name="id2691302"></a>
    6565<a class="ulink" href="http://www.ethereal.com/" target="_top">Ethereal</a> is a graphical sniffer, available for both UNIX (Gtk)
    6666and Windows. Ethereal's SMB support is quite good. For details on the use of <code class="literal">ethereal</code>, read
    6767the well-written Ethereal User Guide.
    6868</p><div class="figure"><a name="ethereal1"></a><p class="title"><b>Figure 39.1. Starting a Capture.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/ethereal1.png" alt="Starting a Capture."></div></div></div><br class="figure-break"><p>
    69 <a class="indexterm" name="id2685308"></a>
     69<a class="indexterm" name="id2691365"></a>
    7070Listen for data on ports 137, 138, 139, and 445. For example, use the filter <strong class="userinput"><code>port 137, port 138,
    7171port 139, or port 445</code></strong> as seen in <a class="link" href="problems.html#ethereal1" title="Figure 39.1. Starting a Capture.">Starting a Capture</a> snapshot.
    7272</p><p>
    7373A console version of ethereal is available as well and is called <code class="literal">tethereal</code>.
    74 </p><div class="figure"><a name="ethereal2"></a><p class="title"><b>Figure 39.2. Main Ethereal Data Window.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/ethereal2.png" alt="Main Ethereal Data Window."></div></div></div><br class="figure-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2685381"></a>The Windows Network Monitor</h3></div></div></div><p>
    75 <a class="indexterm" name="id2685389"></a>
    76 <a class="indexterm" name="id2685396"></a>
    77 <a class="indexterm" name="id2685403"></a>
    78 <a class="indexterm" name="id2685410"></a>
    79 <a class="indexterm" name="id2685417"></a>
    80 <a class="indexterm" name="id2685424"></a>
     74</p><div class="figure"><a name="ethereal2"></a><p class="title"><b>Figure 39.2. Main Ethereal Data Window.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/ethereal2.png" alt="Main Ethereal Data Window."></div></div></div><br class="figure-break"></div><div class="sect2" title="The Windows Network Monitor"><div class="titlepage"><div><div><h3 class="title"><a name="id2691438"></a>The Windows Network Monitor</h3></div></div></div><p>
     75<a class="indexterm" name="id2691446"></a>
     76<a class="indexterm" name="id2691453"></a>
     77<a class="indexterm" name="id2691460"></a>
     78<a class="indexterm" name="id2691467"></a>
     79<a class="indexterm" name="id2691473"></a>
     80<a class="indexterm" name="id2691480"></a>
    8181For tracing things on Microsoft Windows NT, Network Monitor (aka Netmon) is available on Microsoft Developer
    8282Network CDs, the Windows NT Server install CD, and the SMS CDs. The version of Netmon that ships with SMS
     
    8585local NT box and broadcasts on the local subnet. Be aware that Ethereal can read and write Netmon formatted
    8686files.
    87 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2685441"></a>Installing Network Monitor on an NT Workstation</h4></div></div></div><p>
    88 <a class="indexterm" name="id2685449"></a>
     87</p><div class="sect3" title="Installing Network Monitor on an NT Workstation"><div class="titlepage"><div><div><h4 class="title"><a name="id2691497"></a>Installing Network Monitor on an NT Workstation</h4></div></div></div><p>
     88<a class="indexterm" name="id2691506"></a>
    8989Installing Netmon on an NT workstation requires a couple of steps. The following are instructions for
    9090installing Netmon V4.00.349, which comes with Microsoft Windows NT Server 4.0, on Microsoft Windows NT
     
    9292need both the Microsoft Windows NT Server 4.0 Install CD and the Workstation 4.0 Install CD.
    9393</p><p>
    94 <a class="indexterm" name="id2685466"></a>
     94<a class="indexterm" name="id2691523"></a>
    9595Initially you will need to install <span class="application">Network Monitor Tools and Agent</span>
    9696on the NT Server to do this:
    97 </p><div class="itemizedlist"><ul type="disc"><li><p>Go to <span class="guibutton">Start</span> -&gt; <span class="guibutton">Settings</span> -&gt; <span class="guibutton">Control Panel</span> -&gt;
    98         <span class="guibutton">Network</span> -&gt; <span class="guibutton">Services</span> -&gt; <span class="guibutton">Add</span>.</p></li><li><p>Select the <span class="guilabel">Network Monitor Tools and Agent</span> and click on <span class="guibutton">OK</span>.</p></li><li><p>Click on <span class="guibutton">OK</span> on the Network Control Panel.</p></li><li><p>Insert the Windows NT Server 4.0 install CD when prompted.</p></li></ul></div><p>
     97</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Go to <span class="guibutton">Start</span> -&gt; <span class="guibutton">Settings</span> -&gt; <span class="guibutton">Control Panel</span> -&gt;
     98        <span class="guibutton">Network</span> -&gt; <span class="guibutton">Services</span> -&gt; <span class="guibutton">Add</span>.</p></li><li class="listitem"><p>Select the <span class="guilabel">Network Monitor Tools and Agent</span> and click on <span class="guibutton">OK</span>.</p></li><li class="listitem"><p>Click on <span class="guibutton">OK</span> on the Network Control Panel.</p></li><li class="listitem"><p>Insert the Windows NT Server 4.0 install CD when prompted.</p></li></ul></div><p>
    9999At this point, the Netmon files should exist in <code class="filename">%SYSTEMROOT%\System32\netmon\*.*</code>.   
    100100Two subdirectories exist as well: <code class="filename">parsers\</code>, which contains the necessary DLLs
     
    103103To install the Netmon tools on an NT Workstation, you will first need to install the
    104104Network  Monitor Agent from the Workstation install CD.
    105 </p><div class="itemizedlist"><ul type="disc"><li><p>Go to <span class="guibutton">Start</span> -&gt; <span class="guibutton">Settings</span> -&gt;
     105</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Go to <span class="guibutton">Start</span> -&gt; <span class="guibutton">Settings</span> -&gt;
    106106                <span class="guibutton">Control Panel</span> -&gt; <span class="guibutton">Network</span> -&gt;
    107                 <span class="guibutton">Services</span> -&gt; <span class="guibutton">Add</span>.</p></li><li><p>Select the <span class="guilabel">Network Monitor Agent</span>, click on
    108                 <span class="guibutton">OK</span>.</p></li><li><p>Click on <span class="guibutton">OK</span> in the Network Control Panel.
    109         </p></li><li><p>Insert the Windows NT Workstation 4.0 install CD when prompted.</p></li></ul></div><p>
     107                <span class="guibutton">Services</span> -&gt; <span class="guibutton">Add</span>.</p></li><li class="listitem"><p>Select the <span class="guilabel">Network Monitor Agent</span>, click on
     108                <span class="guibutton">OK</span>.</p></li><li class="listitem"><p>Click on <span class="guibutton">OK</span> in the Network Control Panel.
     109        </p></li><li class="listitem"><p>Insert the Windows NT Workstation 4.0 install CD when prompted.</p></li></ul></div><p>
    110110Now copy the files from the NT Server in <code class="filename">%SYSTEMROOT%\System32\netmon</code>
    111111to <code class="filename">%SYSTEMROOT%\System32\netmon</code> on the workstation and set permissions
    112112as you deem appropriate for your site. You will need administrative rights on the NT box to run Netmon.
    113 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2685684"></a>Installing Network Monitor on Windows 9x/Me</h4></div></div></div><p>
     113</p></div><div class="sect3" title="Installing Network Monitor on Windows 9x/Me"><div class="titlepage"><div><div><h4 class="title"><a name="id2691740"></a>Installing Network Monitor on Windows 9x/Me</h4></div></div></div><p>
    114114To install Netmon on Windows 9x/Me, install the Network Monitor Agent
    115115from the Windows 9x/Me CD (<code class="filename">\admin\nettools\netmon</code>).
    116116There is a readme file included with the Netmon driver files on the CD if you need
    117117information on how to do this. Copy the files from a working Netmon installation.
    118 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2685707"></a>Useful URLs</h2></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>See how Scott Merrill simulates a BDC behavior at
     118</p></div></div></div><div class="sect1" title="Useful URLs"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2691764"></a>Useful URLs</h2></div></div></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>See how Scott Merrill simulates a BDC behavior at
    119119       <a class="ulink" href="http://www.skippy.net/linux/smb-howto.html" target="_top">
    120        http://www.skippy.net/linux/smb-howto.html</a>. </p></li><li><p>FTP site for older SMB specs,
     120       http://www.skippy.net/linux/smb-howto.html</a>. </p></li><li class="listitem"><p>FTP site for older SMB specs,
    121121       <a class="ulink" href="ftp://ftp.microsoft.com/developr/drg/CIFS/" target="_top">
    122        ftp://ftp.microsoft.com/developr/drg/CIFS/</a></p></li></ul></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2685744"></a>Getting Mailing List Help</h2></div></div></div><p>
     122       ftp://ftp.microsoft.com/developr/drg/CIFS/</a></p></li></ul></div></div><div class="sect1" title="Getting Mailing List Help"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2691801"></a>Getting Mailing List Help</h2></div></div></div><p>
    123123There are a number of Samba-related mailing lists. Go to <a class="ulink" href="http://samba.org" target="_top">http://samba.org</a>, click on your nearest mirror,
    124124and then click on <code class="literal">Support</code>. Next, click on <code class="literal">
     
    130130mainstream Samba lists.</p><p>
    131131If you do post a message to one of the lists, please observe the following guidelines:
    132 </p><div class="itemizedlist"><ul type="disc"><li><p>
    133 <a class="indexterm" name="id2685800"></a>
     132</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     133<a class="indexterm" name="id2691856"></a>
    134134        Always remember that the developers are volunteers; they are
    135135        not paid and they never guarantee to produce a particular feature at
    136         a particular time. Any timelines are &#8220;<span class="quote">best guess,</span>&#8221; and nothing more.
    137         </p></li><li><p>
    138 <a class="indexterm" name="id2685818"></a>
     136        a particular time. Any timelines are <span class="quote">&#8220;<span class="quote">best guess,</span>&#8221;</span> and nothing more.
     137        </p></li><li class="listitem"><p>
     138<a class="indexterm" name="id2691875"></a>
    139139        Always mention what version of Samba you are using and what
    140140        operating system it's running under. You should list the relevant sections of
    141141        your <code class="filename">smb.conf</code> file, at least the options in <em class="parameter"><code>[global]</code></em>
    142142        that affect PDC support.
    143         </p></li><li><p>In addition to the version, if you obtained Samba via
    144         CVS, mention the date when you last checked it out.</p></li><li><p> Try to make your questions clear and brief. Lots of long,
     143        </p></li><li class="listitem"><p>In addition to the version, if you obtained Samba via
     144        CVS, mention the date when you last checked it out.</p></li><li class="listitem"><p> Try to make your questions clear and brief. Lots of long,
    145145        convoluted questions get deleted before they are completely read!
    146146        Do not post HTML-encoded messages. Most people on mailing lists simply delete
    147147        them.
    148         </p></li><li><p> If you run one of those nifty &#8220;<span class="quote">I'm on holiday</span>&#8221; things when
     148        </p></li><li class="listitem"><p> If you run one of those nifty <span class="quote">&#8220;<span class="quote">I'm on holiday</span>&#8221;</span> things when
    149149        you are away, make sure its configured to not answer mailing list traffic. Autoresponses
    150150        to mailing lists really irritate the thousands of people who end up having to deal
    151151        with such bad netiquet bahavior.
    152         </p></li><li><p>
    153 <a class="indexterm" name="id2685871"></a>
     152        </p></li><li class="listitem"><p>
     153<a class="indexterm" name="id2691927"></a>
    154154        Don't cross post. Work out which is the best list to post to
    155155        and see what happens. Do not post to both samba-ntdom and samba-technical.
     
    157157        than one list and get annoyed to see the same message two or more times.
    158158        Often someone who thinks a message would be better dealt
    159         with on another list will forward it on for you.</p></li><li><p>You might include <span class="emphasis"><em>partial</em></span>
     159        with on another list will forward it on for you.</p></li><li class="listitem"><p>You might include <span class="emphasis"><em>partial</em></span>
    160160        log files written at a log level set to as much as 20.
    161161        Please do not send the entire log but just enough to give the context of the
    162         error messages.</p></li><li><p>If you have a complete Netmon trace (from the opening of
    163         the pipe to the error), you can send the *.CAP file as well.</p></li><li><p>Please think carefully before attaching a document to an email.
     162        error messages.</p></li><li class="listitem"><p>If you have a complete Netmon trace (from the opening of
     163        the pipe to the error), you can send the *.CAP file as well.</p></li><li class="listitem"><p>Please think carefully before attaching a document to an email.
    164164        Consider pasting the relevant parts into the body of the message. The Samba
    165165        mailing lists go to a huge number of people. Do they all need a copy of your
    166         <code class="filename">smb.conf</code> in their attach directory?</p></li></ul></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2685919"></a>How to Get Off the Mailing Lists</h2></div></div></div><p>To have your name removed from a Samba mailing list, go to the same
     166        <code class="filename">smb.conf</code> in their attach directory?</p></li></ul></div></div><div class="sect1" title="How to Get Off the Mailing Lists"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2691975"></a>How to Get Off the Mailing Lists</h2></div></div></div><p>To have your name removed from a Samba mailing list, go to the same
    167167place where you went to
    168168subscribe to it, go to <a class="ulink" href="http://lists.samba.org/" target="_top">http://lists.samba.org</a>,
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/rights.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 15. User Rights and Privileges</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="idmapper.html" title="Chapter 14. Identity Mapping (IDMAP)"><link rel="next" href="AccessControls.html" title="Chapter 16. File, Directory, and Share Access Controls"></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 15. User Rights and Privileges</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="idmapper.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="AccessControls.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="rights"></a>Chapter 15. User Rights and Privileges</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="rights.html#id2608451">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2608726">Using the net rpc rights Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2609072">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2609893">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2610070">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></span></dt></dl></dd></dl></div><p>
    2 <a class="indexterm" name="id2608159"></a>
    3 <a class="indexterm" name="id2608166"></a>
    4 <a class="indexterm" name="id2608173"></a>
    5 <a class="indexterm" name="id2608180"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 15. User Rights and Privileges</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="idmapper.html" title="Chapter 14. Identity Mapping (IDMAP)"><link rel="next" href="AccessControls.html" title="Chapter 16. File, Directory, and Share Access Controls"></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 15. User Rights and Privileges</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="idmapper.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="AccessControls.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 15. User Rights and Privileges"><div class="titlepage"><div><div><h2 class="title"><a name="rights"></a>Chapter 15. User Rights and Privileges</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="rights.html#id2614523">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2614798">Using the <span class="quote">&#8220;<span class="quote">net rpc rights</span>&#8221;</span> Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2615144">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2615970">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2616147">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></span></dt></dl></dd></dl></div><p>
     2<a class="indexterm" name="id2614231"></a>
     3<a class="indexterm" name="id2614238"></a>
     4<a class="indexterm" name="id2614245"></a>
     5<a class="indexterm" name="id2614252"></a>
    66The administration of Windows user, group, and machine accounts in the Samba
    77domain-controlled network necessitates interfacing between the MS Windows
     
    1111Active Directory domains.
    1212</p><p>
    13 <a class="indexterm" name="id2608196"></a>
    14 <a class="indexterm" name="id2608203"></a>
    15 <a class="indexterm" name="id2608210"></a>
    16 <a class="indexterm" name="id2608217"></a>
     13<a class="indexterm" name="id2614268"></a>
     14<a class="indexterm" name="id2614275"></a>
     15<a class="indexterm" name="id2614282"></a>
     16<a class="indexterm" name="id2614289"></a>
    1717The addition of Windows NT4/2kX/XPPro machines to the domain necessitates the
    1818creation of a machine account for each machine added. The machine account is
     
    2020user logons.
    2121</p><p>
    22 <a class="indexterm" name="id2608231"></a>
    23 <a class="indexterm" name="id2608238"></a>
    24 <a class="indexterm" name="id2608245"></a>
    25 <a class="indexterm" name="id2608252"></a>
    26 <a class="indexterm" name="id2608259"></a>
    27 <a class="indexterm" name="id2608266"></a>
     22<a class="indexterm" name="id2614303"></a>
     23<a class="indexterm" name="id2614310"></a>
     24<a class="indexterm" name="id2614317"></a>
     25<a class="indexterm" name="id2614324"></a>
     26<a class="indexterm" name="id2614331"></a>
     27<a class="indexterm" name="id2614338"></a>
    2828Machine accounts are analogous to user accounts, and thus in implementing them on a UNIX machine that is
    2929hosting Samba (i.e., on which Samba is running), it is necessary to create a special type of user account.
     
    3434account is used only to authenticate domain member machines during start-up. This security measure
    3535is designed to block man-in-the-middle attempts to violate network integrity.
    36 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    37 <a class="indexterm" name="id2608306"></a>
    38 <a class="indexterm" name="id2608313"></a>
    39 <a class="indexterm" name="id2608320"></a>
    40 <a class="indexterm" name="id2608327"></a>
    41 <a class="indexterm" name="id2608334"></a>
     36</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     37<a class="indexterm" name="id2614378"></a>
     38<a class="indexterm" name="id2614385"></a>
     39<a class="indexterm" name="id2614392"></a>
     40<a class="indexterm" name="id2614399"></a>
     41<a class="indexterm" name="id2614406"></a>
    4242Machine (computer) accounts are used in the Windows NT OS family to store security
    4343credentials for domain member servers and workstations. When the domain member
     
    4848Windows secures authentication.
    4949</p></div><p>
    50 <a class="indexterm" name="id2608362"></a>
    51 <a class="indexterm" name="id2608369"></a>
    52 <a class="indexterm" name="id2608376"></a>
    53 <a class="indexterm" name="id2608382"></a>
     50<a class="indexterm" name="id2614434"></a>
     51<a class="indexterm" name="id2614441"></a>
     52<a class="indexterm" name="id2614448"></a>
     53<a class="indexterm" name="id2614454"></a>
    5454The creation of UNIX system accounts has traditionally been the sole right of
    5555the system administrator, better known as the <code class="constant">root</code> account.
     
    5858<code class="constant">root</code> account user.
    5959</p><p>
    60 <a class="indexterm" name="id2608405"></a>
    61 <a class="indexterm" name="id2608412"></a>
    62 <a class="indexterm" name="id2608419"></a>
    63 <a class="indexterm" name="id2608426"></a>
     60<a class="indexterm" name="id2614477"></a>
     61<a class="indexterm" name="id2614484"></a>
     62<a class="indexterm" name="id2614491"></a>
     63<a class="indexterm" name="id2614498"></a>
    6464All versions of Samba call system interface scripts that permit CIFS function
    6565calls that are used to manage users, groups, and machine accounts
     
    7171necessary to permit people who should not possess <code class="constant">root</code>-level
    7272access to the UNIX host system.
    73 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2608451"></a>Rights Management Capabilities</h2></div></div></div><p>
    74 <a class="indexterm" name="id2608459"></a>
    75 <a class="indexterm" name="id2608466"></a>
    76 <a class="indexterm" name="id2608473"></a>
    77 <a class="indexterm" name="id2608480"></a>
     73</p><div class="sect1" title="Rights Management Capabilities"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2614523"></a>Rights Management Capabilities</h2></div></div></div><p>
     74<a class="indexterm" name="id2614531"></a>
     75<a class="indexterm" name="id2614538"></a>
     76<a class="indexterm" name="id2614545"></a>
     77<a class="indexterm" name="id2614552"></a>
    7878Samba 3.0.11 introduced support for the Windows privilege model.  This model
    7979allows certain rights to be assigned to a user or group SID.  In order to enable
     
    8181must be defined in the <em class="parameter"><code>global</code></em> section of the <code class="filename">smb.conf</code> file.
    8282</p><p>
    83 <a class="indexterm" name="id2608519"></a>
    84 <a class="indexterm" name="id2608526"></a>
    85 <a class="indexterm" name="id2608532"></a>
     83<a class="indexterm" name="id2614591"></a>
     84<a class="indexterm" name="id2614598"></a>
     85<a class="indexterm" name="id2614604"></a>
    8686Currently, the rights supported in Samba-3 are listed in <a class="link" href="rights.html#rp-privs" title="Table 15.1. Current Privilege Capabilities">&#8220;Current Privilege Capabilities&#8221;</a>.
    8787The remainder of this chapter explains how to manage and use these privileges on Samba servers.
    88 </p><a class="indexterm" name="id2608550"></a><a class="indexterm" name="id2608556"></a><a class="indexterm" name="id2608564"></a><a class="indexterm" name="id2608570"></a><a class="indexterm" name="id2608578"></a><a class="indexterm" name="id2608585"></a><div class="table"><a name="rp-privs"></a><p class="title"><b>Table 15.1. Current Privilege Capabilities</b></p><div class="table-contents"><table summary="Current Privilege Capabilities" border="1"><colgroup><col align="right"><col align="left"></colgroup><thead><tr><th align="left">Privilege</th><th align="left">Description</th></tr></thead><tbody><tr><td align="right"><p>SeMachineAccountPrivilege</p></td><td align="left"><p>Add machines to domain</p></td></tr><tr><td align="right"><p>SePrintOperatorPrivilege</p></td><td align="left"><p>Manage printers</p></td></tr><tr><td align="right"><p>SeAddUsersPrivilege</p></td><td align="left"><p>Add users and groups to the domain</p></td></tr><tr><td align="right"><p>SeRemoteShutdownPrivilege</p></td><td align="left"><p>Force shutdown from a remote system</p></td></tr><tr><td align="right"><p>SeDiskOperatorPrivilege</p></td><td align="left"><p>Manage disk share</p></td></tr><tr><td align="right"><p>SeTakeOwnershipPrivilege</p></td><td align="left"><p>Take ownership of files or other objects</p></td></tr></tbody></table></div></div><br class="table-break"><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2608726"></a>Using the &#8220;<span class="quote">net rpc rights</span>&#8221; Utility</h3></div></div></div><p>
    89 <a class="indexterm" name="id2608737"></a>
    90 <a class="indexterm" name="id2608744"></a>
    91 <a class="indexterm" name="id2608751"></a>
    92 <a class="indexterm" name="id2608758"></a>
    93 <a class="indexterm" name="id2608765"></a>
     88</p><a class="indexterm" name="id2614622"></a><a class="indexterm" name="id2614628"></a><a class="indexterm" name="id2614636"></a><a class="indexterm" name="id2614642"></a><a class="indexterm" name="id2614650"></a><a class="indexterm" name="id2614657"></a><div class="table"><a name="rp-privs"></a><p class="title"><b>Table 15.1. Current Privilege Capabilities</b></p><div class="table-contents"><table summary="Current Privilege Capabilities" border="1"><colgroup><col align="right"><col align="left"></colgroup><thead><tr><th align="left">Privilege</th><th align="left">Description</th></tr></thead><tbody><tr><td align="right"><p>SeMachineAccountPrivilege</p></td><td align="left"><p>Add machines to domain</p></td></tr><tr><td align="right"><p>SePrintOperatorPrivilege</p></td><td align="left"><p>Manage printers</p></td></tr><tr><td align="right"><p>SeAddUsersPrivilege</p></td><td align="left"><p>Add users and groups to the domain</p></td></tr><tr><td align="right"><p>SeRemoteShutdownPrivilege</p></td><td align="left"><p>Force shutdown from a remote system</p></td></tr><tr><td align="right"><p>SeDiskOperatorPrivilege</p></td><td align="left"><p>Manage disk share</p></td></tr><tr><td align="right"><p>SeTakeOwnershipPrivilege</p></td><td align="left"><p>Take ownership of files or other objects</p></td></tr></tbody></table></div></div><br class="table-break"><div class="sect2" title="Using the &#8220;net rpc rights&#8221; Utility"><div class="titlepage"><div><div><h3 class="title"><a name="id2614798"></a>Using the <span class="quote">&#8220;<span class="quote">net rpc rights</span>&#8221;</span> Utility</h3></div></div></div><p>
     89<a class="indexterm" name="id2614809"></a>
     90<a class="indexterm" name="id2614816"></a>
     91<a class="indexterm" name="id2614823"></a>
     92<a class="indexterm" name="id2614830"></a>
     93<a class="indexterm" name="id2614837"></a>
    9494There are two primary means of managing the rights assigned to users and groups
    9595on a Samba server.  The <code class="literal">NT4 User Manager for Domains</code> may be
     
    102102The <code class="literal">net rpc rights</code> utility in Samba 3.0.11 has three new subcommands:
    103103</p><div class="variablelist"><dl><dt><span class="term">list [name|accounts]</span></dt><dd><p>
    104 <a class="indexterm" name="id2608808"></a>
    105 <a class="indexterm" name="id2608819"></a>
    106 <a class="indexterm" name="id2608826"></a>
    107 <a class="indexterm" name="id2608833"></a>
     104<a class="indexterm" name="id2614880"></a>
     105<a class="indexterm" name="id2614891"></a>
     106<a class="indexterm" name="id2614898"></a>
     107<a class="indexterm" name="id2614905"></a>
    108108                When called with no arguments, <code class="literal">net rpc list</code>
    109109                simply lists the available rights on the server.  When passed
     
    114114                privileged accounts on the server and the assigned rights.
    115115                </p></dd><dt><span class="term">grant &lt;user&gt; &lt;right [right ...]&gt;</span></dt><dd><p>
    116 <a class="indexterm" name="id2608872"></a>
    117 <a class="indexterm" name="id2608879"></a>
    118 <a class="indexterm" name="id2608886"></a>
    119 <a class="indexterm" name="id2608893"></a>
     116<a class="indexterm" name="id2614944"></a>
     117<a class="indexterm" name="id2614951"></a>
     118<a class="indexterm" name="id2614958"></a>
     119<a class="indexterm" name="id2614965"></a>
    120120                When called with no arguments, this function is used to assign
    121121                a list of rights to a specified user or group.  For example,
     
    127127</pre><p>
    128128                The following syntax has the same result:
    129 <a class="indexterm" name="id2608919"></a>
     129<a class="indexterm" name="id2614991"></a>
    130130</p><pre class="screen">
    131131<code class="prompt">root# </code> net rpc rights grant 'DOMAIN\Domain Admins' \
     
    139139                This command is similar in format to <code class="literal">net rpc rights grant</code>.  Its
    140140                effect is to remove an assigned right (or list of rights) from a user or group.
    141                 </p></dd></dl></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    142 <a class="indexterm" name="id2608974"></a>
    143 <a class="indexterm" name="id2608981"></a>
    144 <a class="indexterm" name="id2608988"></a>
     141                </p></dd></dl></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     142<a class="indexterm" name="id2615046"></a>
     143<a class="indexterm" name="id2615053"></a>
     144<a class="indexterm" name="id2615060"></a>
    145145You must be connected as a member of the Domain Admins group to be able to grant or revoke privileges assigned
    146146to an account.  This capability is inherent to the Domain Admins group and is not configurable. There are no
     
    149149explicitly assigned, even for the Domain Admins group.
    150150</p></div><p>
    151 <a class="indexterm" name="id2609006"></a>
    152 <a class="indexterm" name="id2609013"></a>
    153 <a class="indexterm" name="id2609020"></a>
    154 <a class="indexterm" name="id2609027"></a>
     151<a class="indexterm" name="id2615078"></a>
     152<a class="indexterm" name="id2615085"></a>
     153<a class="indexterm" name="id2615092"></a>
     154<a class="indexterm" name="id2615099"></a>
    155155By default, no privileges are initially assigned to any account because certain actions will be performed as
    156156root once smbd determines that a user has the necessary rights.  For example, when joining a client to a
     
    158158cases.  For this reason, you should be very careful about handing out privileges to accounts.
    159159</p><p>
    160 <a class="indexterm" name="id2609048"></a>
    161 <a class="indexterm" name="id2609055"></a>
    162 <a class="indexterm" name="id2609061"></a>
     160<a class="indexterm" name="id2615120"></a>
     161<a class="indexterm" name="id2615127"></a>
     162<a class="indexterm" name="id2615133"></a>
    163163Access as the root user (UID=0) bypasses all privilege checks.
    164 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2609072"></a>Description of Privileges</h3></div></div></div><p>
    165 <a class="indexterm" name="id2609080"></a>
    166 <a class="indexterm" name="id2609086"></a>
    167 <a class="indexterm" name="id2609094"></a>
     164</p></div><div class="sect2" title="Description of Privileges"><div class="titlepage"><div><div><h3 class="title"><a name="id2615144"></a>Description of Privileges</h3></div></div></div><p>
     165<a class="indexterm" name="id2615152"></a>
     166<a class="indexterm" name="id2615158"></a>
     167<a class="indexterm" name="id2615166"></a>
    168168The privileges that have been implemented in Samba-3.0.11 are shown below.  It is possible, and likely, that
    169169additional privileges may be implemented in later releases of Samba. It is also likely that any privileges
     
    172172mailing lists.
    173173</p><div class="variablelist"><dl><dt><span class="term">SeAddUsersPrivilege</span></dt><dd><p>
    174 <a class="indexterm" name="id2609119"></a>
    175 <a class="indexterm" name="id2609126"></a>
    176 <a class="indexterm" name="id2609133"></a>
     174<a class="indexterm" name="id2615191"></a>
     175<a class="indexterm" name="id2615198"></a>
     176<a class="indexterm" name="id2615205"></a>
    177177                This right determines whether or not smbd will allow the
    178178                user to create new user or group accounts via such tools
     
    180180                <code class="literal">NT4 User Manager for Domains.</code>
    181181                </p></dd><dt><span class="term">SeDiskOperatorPrivilege</span></dt><dd><p>
    182 <a class="indexterm" name="id2609164"></a>
    183 <a class="indexterm" name="id2609172"></a>
    184 <a class="indexterm" name="id2609179"></a>
     182<a class="indexterm" name="id2615236"></a>
     183<a class="indexterm" name="id2615244"></a>
     184<a class="indexterm" name="id2615251"></a>
    185185                Accounts that possess this right will be able to execute
    186186                scripts defined by the <code class="literal">add/delete/change</code>
     
    189189                on the Samba server.
    190190                </p></dd><dt><span class="term">SeMachineAccountPrivilege</span></dt><dd><p>
    191 <a class="indexterm" name="id2609211"></a>
    192 <a class="indexterm" name="id2609218"></a>
    193 <a class="indexterm" name="id2609225"></a>
     191<a class="indexterm" name="id2615283"></a>
     192<a class="indexterm" name="id2615290"></a>
     193<a class="indexterm" name="id2615297"></a>
    194194                This right controls whether or not the user can join client
    195195                machines to a Samba-controlled domain.
    196196                </p></dd><dt><span class="term">SePrintOperatorPrivilege</span></dt><dd><p>
    197 <a class="indexterm" name="id2609244"></a>
    198 <a class="indexterm" name="id2609251"></a>
    199 <a class="indexterm" name="id2609258"></a>
    200 <a class="indexterm" name="id2609265"></a>
    201 <a class="indexterm" name="id2609272"></a>
     197<a class="indexterm" name="id2615316"></a>
     198<a class="indexterm" name="id2615323"></a>
     199<a class="indexterm" name="id2615330"></a>
     200<a class="indexterm" name="id2615337"></a>
     201<a class="indexterm" name="id2615344"></a>
    202202                This privilege operates identically to the <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a>
    203203                option in the <code class="filename">smb.conf</code> file (see section 5 man page for <code class="filename">smb.conf</code>)
     
    208208                <code class="filename">ntprinters.tdb</code> file.
    209209                </p></dd><dt><span class="term">SeRemoteShutdownPrivilege</span></dt><dd><p>
    210 <a class="indexterm" name="id2609326"></a>
    211 <a class="indexterm" name="id2609333"></a>
    212 <a class="indexterm" name="id2609340"></a>
     210<a class="indexterm" name="id2615398"></a>
     211<a class="indexterm" name="id2615405"></a>
     212<a class="indexterm" name="id2615412"></a>
    213213                Samba provides two hooks for shutting down or rebooting
    214214                the server and for aborting a previously issued shutdown
     
    217217                right to be able to execute either of these hooks.
    218218                </p></dd><dt><span class="term">SeTakeOwnershipPrivilege</span></dt><dd><p>
    219 <a class="indexterm" name="id2609362"></a>
    220 <a class="indexterm" name="id2609369"></a>
     219<a class="indexterm" name="id2615439"></a>
     220<a class="indexterm" name="id2615446"></a>
    221221                This right permits users to take ownership of files and directories.
    222                 </p></dd></dl></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2609382"></a>Privileges Suppored by Windows 2000 Domain Controllers</h3></div></div></div><p>
     222                </p></dd></dl></div></div><div class="sect2" title="Privileges Suppored by Windows 2000 Domain Controllers"><div class="titlepage"><div><div><h3 class="title"><a name="id2615459"></a>Privileges Suppored by Windows 2000 Domain Controllers</h3></div></div></div><p>
    223223    For reference purposes, a Windows NT4 Primary Domain Controller reports support for the following
    224224        privileges:
    225 <a class="indexterm" name="id2609392"></a>
    226 <a class="indexterm" name="id2609400"></a>
    227 <a class="indexterm" name="id2609407"></a>
    228 <a class="indexterm" name="id2609414"></a>
    229 <a class="indexterm" name="id2609421"></a>
    230 <a class="indexterm" name="id2609428"></a>
    231 <a class="indexterm" name="id2609435"></a>
    232 <a class="indexterm" name="id2609442"></a>
    233 <a class="indexterm" name="id2609449"></a>
    234 <a class="indexterm" name="id2609456"></a>
    235 <a class="indexterm" name="id2609463"></a>
    236 <a class="indexterm" name="id2609470"></a>
    237 <a class="indexterm" name="id2609477"></a>
    238 <a class="indexterm" name="id2609484"></a>
    239 <a class="indexterm" name="id2609492"></a>
    240 <a class="indexterm" name="id2609499"></a>
    241 <a class="indexterm" name="id2609506"></a>
    242 <a class="indexterm" name="id2609512"></a>
    243 <a class="indexterm" name="id2609519"></a>
    244 <a class="indexterm" name="id2609526"></a>
    245 <a class="indexterm" name="id2609533"></a>
    246 <a class="indexterm" name="id2609540"></a>
    247 <a class="indexterm" name="id2609548"></a>
     225<a class="indexterm" name="id2615470"></a>
     226<a class="indexterm" name="id2615477"></a>
     227<a class="indexterm" name="id2615484"></a>
     228<a class="indexterm" name="id2615491"></a>
     229<a class="indexterm" name="id2615498"></a>
     230<a class="indexterm" name="id2615505"></a>
     231<a class="indexterm" name="id2615512"></a>
     232<a class="indexterm" name="id2615519"></a>
     233<a class="indexterm" name="id2615526"></a>
     234<a class="indexterm" name="id2615533"></a>
     235<a class="indexterm" name="id2615540"></a>
     236<a class="indexterm" name="id2615547"></a>
     237<a class="indexterm" name="id2615554"></a>
     238<a class="indexterm" name="id2615562"></a>
     239<a class="indexterm" name="id2615569"></a>
     240<a class="indexterm" name="id2615576"></a>
     241<a class="indexterm" name="id2615583"></a>
     242<a class="indexterm" name="id2615590"></a>
     243<a class="indexterm" name="id2615596"></a>
     244<a class="indexterm" name="id2615603"></a>
     245<a class="indexterm" name="id2615610"></a>
     246<a class="indexterm" name="id2615618"></a>
     247<a class="indexterm" name="id2615625"></a>
    248248</p><pre class="screen">
    249249         SeCreateTokenPrivilege  Create a token object
     
    272272</pre><p>
    273273        And Windows 200x/XP Domain Controllers and workstations reports to support the following privileges:
    274 <a class="indexterm" name="id2609608"></a>
    275 <a class="indexterm" name="id2609615"></a>
    276 <a class="indexterm" name="id2609622"></a>
    277 <a class="indexterm" name="id2609629"></a>
    278 <a class="indexterm" name="id2609636"></a>
    279 <a class="indexterm" name="id2609643"></a>
    280 <a class="indexterm" name="id2609650"></a>
    281 <a class="indexterm" name="id2609657"></a>
    282 <a class="indexterm" name="id2609664"></a>
    283 <a class="indexterm" name="id2609671"></a>
    284 <a class="indexterm" name="id2609678"></a>
    285 <a class="indexterm" name="id2609685"></a>
    286 <a class="indexterm" name="id2609692"></a>
    287 <a class="indexterm" name="id2609700"></a>
    288 <a class="indexterm" name="id2609707"></a>
    289 <a class="indexterm" name="id2609714"></a>
    290 <a class="indexterm" name="id2609721"></a>
    291 <a class="indexterm" name="id2609728"></a>
    292 <a class="indexterm" name="id2609735"></a>
    293 <a class="indexterm" name="id2609742"></a>
    294 <a class="indexterm" name="id2609748"></a>
    295 <a class="indexterm" name="id2609756"></a>
    296 <a class="indexterm" name="id2609763"></a>
    297 <a class="indexterm" name="id2609770"></a>
    298 <a class="indexterm" name="id2609777"></a>
    299 <a class="indexterm" name="id2609784"></a>
    300 <a class="indexterm" name="id2609791"></a>
    301 <a class="indexterm" name="id2609798"></a>
    302 <a class="indexterm" name="id2609805"></a>
     274<a class="indexterm" name="id2615686"></a>
     275<a class="indexterm" name="id2615692"></a>
     276<a class="indexterm" name="id2615699"></a>
     277<a class="indexterm" name="id2615706"></a>
     278<a class="indexterm" name="id2615713"></a>
     279<a class="indexterm" name="id2615720"></a>
     280<a class="indexterm" name="id2615727"></a>
     281<a class="indexterm" name="id2615734"></a>
     282<a class="indexterm" name="id2615741"></a>
     283<a class="indexterm" name="id2615748"></a>
     284<a class="indexterm" name="id2615755"></a>
     285<a class="indexterm" name="id2615762"></a>
     286<a class="indexterm" name="id2615770"></a>
     287<a class="indexterm" name="id2615777"></a>
     288<a class="indexterm" name="id2615784"></a>
     289<a class="indexterm" name="id2615791"></a>
     290<a class="indexterm" name="id2615798"></a>
     291<a class="indexterm" name="id2615805"></a>
     292<a class="indexterm" name="id2615812"></a>
     293<a class="indexterm" name="id2615819"></a>
     294<a class="indexterm" name="id2615826"></a>
     295<a class="indexterm" name="id2615833"></a>
     296<a class="indexterm" name="id2615840"></a>
     297<a class="indexterm" name="id2615847"></a>
     298<a class="indexterm" name="id2615854"></a>
     299<a class="indexterm" name="id2615861"></a>
     300<a class="indexterm" name="id2615868"></a>
     301<a class="indexterm" name="id2615875"></a>
     302<a class="indexterm" name="id2615882"></a>
    303303</p><pre class="screen">
    304304         SeCreateTokenPrivilege  Create a token object
     
    333333        SeCreateGlobalPrivilege  Create global objects
    334334</pre><p>
    335 <a class="indexterm" name="id2609879"></a>
     335<a class="indexterm" name="id2615956"></a>
    336336    The Samba Team is implementing only those privileges that are logical and useful in the UNIX/Linux
    337337    environment. Many of the Windows 200X/XP privileges have no direct equivalence in UNIX.
    338     </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2609893"></a>The Administrator Domain SID</h2></div></div></div><p>
    339 <a class="indexterm" name="id2609901"></a>
    340 <a class="indexterm" name="id2609908"></a>
    341 <a class="indexterm" name="id2609915"></a>
    342 <a class="indexterm" name="id2609922"></a>
    343 <a class="indexterm" name="id2609929"></a>
     338    </p></div></div><div class="sect1" title="The Administrator Domain SID"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2615970"></a>The Administrator Domain SID</h2></div></div></div><p>
     339<a class="indexterm" name="id2615978"></a>
     340<a class="indexterm" name="id2615985"></a>
     341<a class="indexterm" name="id2615992"></a>
     342<a class="indexterm" name="id2615999"></a>
     343<a class="indexterm" name="id2616006"></a>
    344344Please note that every Windows NT4 and later server requires a domain Administrator account. Samba versions
    345345commencing with 3.0.11 permit Administrative duties to be performed via assigned rights and privileges
     
    351351SID for domain FOO is: S-1-5-21-4294955119-3368514841-2087710299
    352352</pre><p>
    353 <a class="indexterm" name="id2609962"></a>
     353<a class="indexterm" name="id2616040"></a>
    354354You may assign the domain administrator RID to an account using the <code class="literal">pdbedit</code>
    355355command as shown here:
    356 <a class="indexterm" name="id2609977"></a>
     356<a class="indexterm" name="id2616054"></a>
    357357</p><pre class="screen">
    358358<code class="prompt">root# </code> pdbedit -U S-1-5-21-4294955119-3368514841-2087710299-500 -u root -r
    359359</pre><p>
    360 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    361 <a class="indexterm" name="id2610000"></a>
    362 <a class="indexterm" name="id2610007"></a>
    363 <a class="indexterm" name="id2610014"></a>
    364 <a class="indexterm" name="id2610021"></a>
     360</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     361<a class="indexterm" name="id2616077"></a>
     362<a class="indexterm" name="id2616084"></a>
     363<a class="indexterm" name="id2616091"></a>
     364<a class="indexterm" name="id2616098"></a>
    365365The RID 500 is the well known standard value of the default Administrator account. It is the RID
    366366that confers the rights and privileges that the Administrator account has on a Windows machine
    367367or domain. Under UNIX/Linux the equivalent is UID=0 (the root account).
    368368</p></div><p>
    369 <a class="indexterm" name="id2610036"></a>
    370 <a class="indexterm" name="id2610043"></a>
    371 <a class="indexterm" name="id2610050"></a>
    372 <a class="indexterm" name="id2610057"></a>
     369<a class="indexterm" name="id2616113"></a>
     370<a class="indexterm" name="id2616120"></a>
     371<a class="indexterm" name="id2616127"></a>
     372<a class="indexterm" name="id2616134"></a>
    373373Releases of Samba version 3.0.11 and later make it possible to operate without an Administrator account
    374374provided equivalent rights and privileges have been established for a Windows user or a Windows
    375375group account.
    376 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2610070"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2610076"></a>What Rights and Privileges Will Permit Windows Client Administration?</h3></div></div></div><p>
    377 <a class="indexterm" name="id2610084"></a>
    378 <a class="indexterm" name="id2610091"></a>
    379 <a class="indexterm" name="id2610098"></a>
    380 <a class="indexterm" name="id2610105"></a>
     376</p></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2616147"></a>Common Errors</h2></div></div></div><div class="sect2" title="What Rights and Privileges Will Permit Windows Client Administration?"><div class="titlepage"><div><div><h3 class="title"><a name="id2616153"></a>What Rights and Privileges Will Permit Windows Client Administration?</h3></div></div></div><p>
     377<a class="indexterm" name="id2616162"></a>
     378<a class="indexterm" name="id2616168"></a>
     379<a class="indexterm" name="id2616175"></a>
     380<a class="indexterm" name="id2616182"></a>
    381381        When a Windows NT4 (or later) client joins a domain, the domain global <code class="literal">Domain Admins</code> group
    382382        is added to the membership of the local <code class="literal">Administrators</code> group on the client. Any user who is
     
    384384        Windows client.
    385385        </p><p>
    386 <a class="indexterm" name="id2610138"></a>
    387 <a class="indexterm" name="id2610145"></a>
    388 <a class="indexterm" name="id2610152"></a>
    389 <a class="indexterm" name="id2610159"></a>
    390 <a class="indexterm" name="id2610166"></a>
     386<a class="indexterm" name="id2616215"></a>
     387<a class="indexterm" name="id2616222"></a>
     388<a class="indexterm" name="id2616229"></a>
     389<a class="indexterm" name="id2616236"></a>
     390<a class="indexterm" name="id2616243"></a>
    391391        This is often not the most desirable solution because it means that the user will have administrative
    392392        rights and privileges on domain servers also. The <code class="literal">Power Users</code> group on Windows client
     
    394394        group can be added to the membership of the local workstation group <code class="literal">Power Users</code>.
    395395        </p><p>
    396 <a class="indexterm" name="id2610194"></a>
    397 <a class="indexterm" name="id2610201"></a>
    398 <a class="indexterm" name="id2610208"></a>
    399 <a class="indexterm" name="id2610215"></a>
     396<a class="indexterm" name="id2616271"></a>
     397<a class="indexterm" name="id2616278"></a>
     398<a class="indexterm" name="id2616285"></a>
     399<a class="indexterm" name="id2616292"></a>
    400400        See <a class="link" href="NetCommand.html#nestedgrpmgmgt" title="Nested Group Support">Nested Group Support</a> for an example of how to add domain users
    401401        and groups to a local group that is on a Windows workstation. The use of the <code class="literal">net</code>
    402402        command permits this to be done from the Samba server.
    403403        </p><p>
    404 <a class="indexterm" name="id2610242"></a>
    405 <a class="indexterm" name="id2610249"></a>
    406 <a class="indexterm" name="id2610256"></a>
     404<a class="indexterm" name="id2616320"></a>
     405<a class="indexterm" name="id2616326"></a>
     406<a class="indexterm" name="id2616333"></a>
    407407        Another way this can be done is to log onto the Windows workstation as the user
    408408        <code class="literal">Administrator</code>, then open a <code class="literal">cmd</code> shell, then execute:
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/samba-bdc.html

    r274 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 5. Backup Domain Control</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="samba-pdc.html" title="Chapter 4. Domain Control"><link rel="next" href="domain-member.html" title="Chapter 6. Domain Membership"></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 5. Backup Domain Control</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="samba-pdc.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="domain-member.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="samba-bdc"></a>Chapter 5. Backup Domain Control</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Volker</span> <span class="orgname">Samba Team</span> <span class="surname">Lendecke</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:Volker.Lendecke@SerNet.DE">Volker.Lendecke@SerNet.DE</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Guenther</span> <span class="orgname">SuSE</span> <span class="surname">Deschner</span></h3><span class="contrib">LDAP updates</span> <div class="affiliation"><span class="orgname">SuSE<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:gd@suse.de">gd@suse.de</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="samba-bdc.html#id2565803">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2566209">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567331">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567390">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567481">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2568163">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2568620">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2568664">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568719">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568879">Can I Do This All with LDAP?</a></span></dt></dl></dd></dl></div><p>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 5. Backup Domain Control</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="samba-pdc.html" title="Chapter 4. Domain Control"><link rel="next" href="domain-member.html" title="Chapter 6. Domain Membership"></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 5. Backup Domain Control</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="samba-pdc.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="domain-member.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 5. Backup Domain Control"><div class="titlepage"><div><div><h2 class="title"><a name="samba-bdc"></a>Chapter 5. Backup Domain Control</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Volker</span> <span class="surname">Lendecke</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:Volker.Lendecke@SerNet.DE">Volker.Lendecke@SerNet.DE</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Guenther</span> <span class="surname">Deschner</span></h3><span class="contrib">LDAP updates</span> <div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:gd@samba.org">gd@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="samba-bdc.html#id2571862">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2572268">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573390">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573448">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573539">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2574222">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2574686">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2574730">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2574784">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2574945">Can I Do This All with LDAP?</a></span></dt></dl></dd></dl></div><p>
    22Before you continue reading this section, please make sure that you are comfortable
    33with configuring a Samba domain controller as described in <a class="link" href="samba-pdc.html" title="Chapter 4. Domain Control">Domain Control</a>.
    4 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2565803"></a>Features and Benefits</h2></div></div></div><p>
     4</p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2571862"></a>Features and Benefits</h2></div></div></div><p>
    55This is one of the most difficult chapters to summarize. It does not matter what we say here, for someone will
    66still draw conclusions and/or approach the Samba Team with expectations that are either not yet capable of
     
    99we will do our best to provide a solution.
    1010</p><p>
    11 <a class="indexterm" name="id2565829"></a>
    12 <a class="indexterm" name="id2565838"></a>
    13 <a class="indexterm" name="id2565845"></a>
    14 <a class="indexterm" name="id2565851"></a>
    15 <a class="indexterm" name="id2565861"></a>
     11<a class="indexterm" name="id2571888"></a>
     12<a class="indexterm" name="id2571897"></a>
     13<a class="indexterm" name="id2571904"></a>
     14<a class="indexterm" name="id2571910"></a>
     15<a class="indexterm" name="id2571919"></a>
    1616Samba-3 can act as a Backup Domain Controller (BDC) to another Samba Primary Domain Controller (PDC). A
    1717Samba-3 PDC can operate with an LDAP account backend. The LDAP backend can be either a common master LDAP
     
    2222you will have stability and operational problems.
    2323</p><p>
    24 <a class="indexterm" name="id2565885"></a>
    25 <a class="indexterm" name="id2565894"></a>
    26 <a class="indexterm" name="id2565903"></a>
    27 <a class="indexterm" name="id2565912"></a>
     24<a class="indexterm" name="id2571944"></a>
     25<a class="indexterm" name="id2571953"></a>
     26<a class="indexterm" name="id2571962"></a>
     27<a class="indexterm" name="id2571971"></a>
    2828While it is possible to run a Samba-3 BDC with a non-LDAP backend, that backend must allow some form of
    2929"two-way" propagation of changes from the BDC to the master.  At this time only LDAP delivers the capability
     
    3131is preferable for the PDC to use as its primary an LDAP master server.
    3232</p><p>
    33 <a class="indexterm" name="id2565929"></a>
    34 <a class="indexterm" name="id2565938"></a>
    35 <a class="indexterm" name="id2565947"></a>
    36 <a class="indexterm" name="id2565959"></a>
    37 <a class="indexterm" name="id2565965"></a>
    38 <a class="indexterm" name="id2565972"></a>
    39 <a class="indexterm" name="id2565979"></a>
     33<a class="indexterm" name="id2571988"></a>
     34<a class="indexterm" name="id2571997"></a>
     35<a class="indexterm" name="id2572006"></a>
     36<a class="indexterm" name="id2572018"></a>
     37<a class="indexterm" name="id2572024"></a>
     38<a class="indexterm" name="id2572031"></a>
     39<a class="indexterm" name="id2572038"></a>
    4040The use of a non-LDAP backend SAM database is particularly problematic because domain member
    4141servers and workstations periodically change the Machine Trust Account password. The new
     
    4747breakage of the domain trust.
    4848</p><p>
    49 <a class="indexterm" name="id2566000"></a>
    50 <a class="indexterm" name="id2566009"></a>
    51 <a class="indexterm" name="id2566018"></a>
    52 <a class="indexterm" name="id2566028"></a>
     49<a class="indexterm" name="id2572059"></a>
     50<a class="indexterm" name="id2572068"></a>
     51<a class="indexterm" name="id2572077"></a>
     52<a class="indexterm" name="id2572086"></a>
    5353Considering the number of comments and questions raised concerning how to configure a BDC,
    5454let's consider each possible option and look at the pros and cons for each possible solution.
     
    7171        and also suffers
    7272        from the issue of domain trust breakdown.
    73         </p></td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2566209"></a>Essential Background Information</h2></div></div></div><p>
    74 <a class="indexterm" name="id2566217"></a>
    75 <a class="indexterm" name="id2566224"></a>
    76 <a class="indexterm" name="id2566231"></a>
    77 <a class="indexterm" name="id2566238"></a>
     73        </p></td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect1" title="Essential Background Information"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2572268"></a>Essential Background Information</h2></div></div></div><p>
     74<a class="indexterm" name="id2572276"></a>
     75<a class="indexterm" name="id2572283"></a>
     76<a class="indexterm" name="id2572290"></a>
     77<a class="indexterm" name="id2572296"></a>
    7878A domain controller is a machine that is able to answer logon requests from network
    7979workstations. Microsoft LanManager and IBM LanServer were two early products that
    8080provided this capability. The technology has become known as the LanMan Netlogon service.
    8181</p><p>
    82 <a class="indexterm" name="id2566252"></a>
    83 <a class="indexterm" name="id2566264"></a>
     82<a class="indexterm" name="id2572311"></a>
     83<a class="indexterm" name="id2572322"></a>
    8484When MS Windows NT3.10 was first released, it supported a new style of Domain Control
    8585and with it a new form of the network logon service that has extended functionality.
     
    8787changed with the evolution of MS Windows NT and today provides a complex array of
    8888services that are implemented over an intricate spectrum of technologies.
    89 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2566279"></a>MS Windows NT4-style Domain Control</h3></div></div></div><p>
    90 <a class="indexterm" name="id2566287"></a>
    91 <a class="indexterm" name="id2566294"></a>
    92 <a class="indexterm" name="id2566301"></a>
    93 <a class="indexterm" name="id2566308"></a>
    94 <a class="indexterm" name="id2566314"></a>
    95 <a class="indexterm" name="id2566321"></a>
    96 <a class="indexterm" name="id2566330"></a>
     89</p><div class="sect2" title="MS Windows NT4-style Domain Control"><div class="titlepage"><div><div><h3 class="title"><a name="id2572337"></a>MS Windows NT4-style Domain Control</h3></div></div></div><p>
     90<a class="indexterm" name="id2572346"></a>
     91<a class="indexterm" name="id2572352"></a>
     92<a class="indexterm" name="id2572360"></a>
     93<a class="indexterm" name="id2572366"></a>
     94<a class="indexterm" name="id2572373"></a>
     95<a class="indexterm" name="id2572380"></a>
     96<a class="indexterm" name="id2572389"></a>
    9797Whenever a user logs into a Windows NT4/200x/XP Professional workstation,
    9898the workstation connects to a domain controller (authentication server) to validate that
     
    102102codes is returned to the workstation that has made the authentication request.
    103103</p><p>
    104 <a class="indexterm" name="id2566350"></a>
    105 <a class="indexterm" name="id2566357"></a>
    106 <a class="indexterm" name="id2566364"></a>
    107 <a class="indexterm" name="id2566371"></a>
    108 <a class="indexterm" name="id2566378"></a>
     104<a class="indexterm" name="id2572409"></a>
     105<a class="indexterm" name="id2572416"></a>
     106<a class="indexterm" name="id2572423"></a>
     107<a class="indexterm" name="id2572430"></a>
     108<a class="indexterm" name="id2572437"></a>
    109109When the username/password pair has been validated, the domain controller
    110110(authentication server) will respond with full enumeration of the account information
     
    118118in all versions of MS Windows NT (3.10, 3.50, 3.51, 4.0).
    119119</p><p>
    120 <a class="indexterm" name="id2566415"></a>
    121 <a class="indexterm" name="id2566424"></a>
    122 <a class="indexterm" name="id2566432"></a>
    123 <a class="indexterm" name="id2566439"></a>
    124 <a class="indexterm" name="id2566445"></a>
     120<a class="indexterm" name="id2572474"></a>
     121<a class="indexterm" name="id2572483"></a>
     122<a class="indexterm" name="id2572490"></a>
     123<a class="indexterm" name="id2572497"></a>
     124<a class="indexterm" name="id2572504"></a>
    125125The account information (user and machine) on domain controllers is stored in two files,
    126126one containing the security information and the other the SAM. These are stored in files
     
    131131</p><p>
    132132There are two situations in which it is desirable to install BDCs:
    133 </p><div class="itemizedlist"><ul type="disc"><li><p>
    134         <a class="indexterm" name="id2566481"></a>
    135         <a class="indexterm" name="id2566488"></a>
     133</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     134        <a class="indexterm" name="id2572540"></a>
     135        <a class="indexterm" name="id2572546"></a>
    136136        On the local network that the PDC is on, if there are many
    137137        workstations and/or where the PDC is generally very busy. In this case the BDCs
    138138        will pick up network logon requests and help to add robustness to network services.
    139         </p></li><li><p>
    140         <a class="indexterm" name="id2566502"></a>
     139        </p></li><li class="listitem"><p>
     140        <a class="indexterm" name="id2572561"></a>
    141141        At each remote site, to reduce wide-area network traffic and to add stability to
    142142        remote network operations. The design of the network, and the strategic placement of
     
    145145        (and thus costs).
    146146        </p></li></ul></div><p>
    147 <a class="indexterm" name="id2566522"></a>
    148 <a class="indexterm" name="id2566528"></a>
    149 <a class="indexterm" name="id2566535"></a>
    150 <a class="indexterm" name="id2566542"></a>
    151 <a class="indexterm" name="id2566549"></a>
     147<a class="indexterm" name="id2572581"></a>
     148<a class="indexterm" name="id2572587"></a>
     149<a class="indexterm" name="id2572594"></a>
     150<a class="indexterm" name="id2572601"></a>
     151<a class="indexterm" name="id2572607"></a>
    152152The interoperation of a PDC and its BDCs in a true Windows NT4 environment is worth
    153153mentioning here. The PDC contains the master copy of the SAM. In the event that an
     
    161161trigger them to obtain the update and then apply that to their own copy of the SAM.
    162162</p><p>
    163 <a class="indexterm" name="id2566573"></a>
    164 <a class="indexterm" name="id2566582"></a>
    165 <a class="indexterm" name="id2566590"></a>
    166 <a class="indexterm" name="id2566597"></a>
     163<a class="indexterm" name="id2572631"></a>
     164<a class="indexterm" name="id2572640"></a>
     165<a class="indexterm" name="id2572649"></a>
     166<a class="indexterm" name="id2572656"></a>
    167167Samba-3 cannot participate in true SAM replication and is therefore not able to
    168168employ precisely the same protocols used by MS Windows NT4. A Samba-3 BDC will
     
    170170to synchronize the SAM from delta files that are held by BDCs.
    171171</p><p>
    172 <a class="indexterm" name="id2566612"></a>
    173 <a class="indexterm" name="id2566619"></a>
     172<a class="indexterm" name="id2572671"></a>
     173<a class="indexterm" name="id2572677"></a>
    174174Samba-3 cannot function as a BDC to an MS Windows NT4 PDC, and Samba-3 cannot
    175175function correctly as a PDC to an MS Windows NT4 BDC. Both Samba-3 and MS Windows
    176176NT4 can function as a BDC to its own type of PDC.
    177177</p><p>
    178 <a class="indexterm" name="id2566632"></a>
    179 <a class="indexterm" name="id2566638"></a>
    180 <a class="indexterm" name="id2566645"></a>
     178<a class="indexterm" name="id2572691"></a>
     179<a class="indexterm" name="id2572697"></a>
     180<a class="indexterm" name="id2572704"></a>
    181181The BDC is said to hold a <span class="emphasis"><em>read-only</em></span> of the SAM from which
    182182it is able to process network logon requests and authenticate users. The BDC can
     
    185185maintenance of domain security as well as in network integrity.
    186186</p><p>
    187 <a class="indexterm" name="id2566665"></a>
    188 <a class="indexterm" name="id2566671"></a>
    189 <a class="indexterm" name="id2566678"></a>
    190 <a class="indexterm" name="id2566685"></a>
     187<a class="indexterm" name="id2572724"></a>
     188<a class="indexterm" name="id2572730"></a>
     189<a class="indexterm" name="id2572737"></a>
     190<a class="indexterm" name="id2572744"></a>
    191191In the event that the NT4 PDC should need to be taken out of service, or if it dies, one of the NT4 BDCs can
    192192be promoted to a PDC. If this happens while the original NT4 PDC is online, it is automatically demoted to an
     
    195195promoted in this manner because reconfiguration of Samba requires changes to the <code class="filename">smb.conf</code> file. It is easy
    196196enough to manuall change the <code class="filename">smb.conf</code> file and then restart relevant Samba network services.
    197 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2566715"></a>Example PDC Configuration</h4></div></div></div><p>
    198 <a class="indexterm" name="id2566723"></a>
    199 <a class="indexterm" name="id2566730"></a>
     197</p><div class="sect3" title="Example PDC Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2572774"></a>Example PDC Configuration</h4></div></div></div><p>
     198<a class="indexterm" name="id2572782"></a>
     199<a class="indexterm" name="id2572789"></a>
    200200Beginning with Version 2.2, Samba officially supports domain logons for all current Windows clients, including
    201201Windows NT4, 2003, and XP Professional. For Samba to be enabled as a PDC, some parameters in the
    202202<em class="parameter"><code>[global]</code></em> section of the <code class="filename">smb.conf</code> have to be set.  Refer to <a class="link" href="samba-bdc.html#minimalPDC" title="Example 5.1. Minimal smb.conf for a PDC in Use with a BDC LDAP Server on PDC">the Minimal smb.conf for a PDC in Use with a BDC  LDAP Server on PDC
    203203section</a> for an example of the minimum required settings.
    204 </p><div class="example"><a name="minimalPDC"></a><p class="title"><b>Example 5.1. Minimal smb.conf for a PDC in Use with a BDC  LDAP Server on PDC</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2566783"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2566795"></a><em class="parameter"><code>passdb backend = ldapsam://localhost:389</code></em></td></tr><tr><td><a class="indexterm" name="id2566807"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2566819"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2566831"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2566843"></a><em class="parameter"><code>ldap user suffix = ou=Users</code></em></td></tr><tr><td><a class="indexterm" name="id2566854"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2566866"></a><em class="parameter"><code>ldap machine suffix = ou=Computers</code></em></td></tr><tr><td><a class="indexterm" name="id2566878"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2566890"></a><em class="parameter"><code>ldap admin dn = cn=sambadmin,dc=quenya,dc=org</code></em></td></tr></table></div></div><br class="example-break"><p>
    205 <a class="indexterm" name="id2566906"></a>
    206 <a class="indexterm" name="id2566913"></a>
     204</p><div class="example"><a name="minimalPDC"></a><p class="title"><b>Example 5.1. Minimal smb.conf for a PDC in Use with a BDC  LDAP Server on PDC</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2572842"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2572854"></a><em class="parameter"><code>passdb backend = ldapsam://localhost:389</code></em></td></tr><tr><td><a class="indexterm" name="id2572866"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2572878"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2572890"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2572901"></a><em class="parameter"><code>ldap user suffix = ou=Users</code></em></td></tr><tr><td><a class="indexterm" name="id2572913"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2572925"></a><em class="parameter"><code>ldap machine suffix = ou=Computers</code></em></td></tr><tr><td><a class="indexterm" name="id2572937"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2572949"></a><em class="parameter"><code>ldap admin dn = cn=sambadmin,dc=quenya,dc=org</code></em></td></tr></table></div></div><br class="example-break"><p>
     205<a class="indexterm" name="id2572965"></a>
     206<a class="indexterm" name="id2572972"></a>
    207207Several other things like a <em class="parameter"><code>[homes]</code></em> and a <em class="parameter"><code>[netlogon]</code></em> share
    208208also need to be set along with settings for the profile path, the user's home drive, and so on. This is not
     
    210210Refer to <a class="link" href="samba-pdc.html" title="Chapter 4. Domain Control">the Domain Control chapter</a> for specific recommendations for PDC
    211211configuration. Alternately, fully documented working example network configurations using OpenLDAP and Samba
    212 as available in the <a class="ulink" href="http://www.samba.org/samba/docs/Samba3-ByExample" target="_top">book</a> &#8220;<span class="quote">Samba-3
    213 by Example</span>&#8221; that may be obtained from local and on-line book stores.
    214 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2566966"></a>LDAP Configuration Notes</h3></div></div></div><p>
    215 <a class="indexterm" name="id2566974"></a>
    216 <a class="indexterm" name="id2566984"></a>
    217 <a class="indexterm" name="id2566993"></a>
     212as available in the <a class="ulink" href="http://www.samba.org/samba/docs/Samba3-ByExample" target="_top">book</a> <span class="quote">&#8220;<span class="quote">Samba-3
     213by Example</span>&#8221;</span> that may be obtained from local and on-line book stores.
     214</p></div></div><div class="sect2" title="LDAP Configuration Notes"><div class="titlepage"><div><div><h3 class="title"><a name="id2573025"></a>LDAP Configuration Notes</h3></div></div></div><p>
     215<a class="indexterm" name="id2573033"></a>
     216<a class="indexterm" name="id2573042"></a>
     217<a class="indexterm" name="id2573052"></a>
    218218When configuring a master and a slave LDAP server, it is advisable to use the master LDAP server
    219219for the PDC and slave LDAP servers for the BDCs. It is not essential to use slave LDAP servers; however,
     
    222222entire network.
    223223</p><p>
    224 <a class="indexterm" name="id2567010"></a>
    225 <a class="indexterm" name="id2567019"></a>
    226 <a class="indexterm" name="id2567028"></a>
    227 <a class="indexterm" name="id2567035"></a>
    228 <a class="indexterm" name="id2567042"></a>
     224<a class="indexterm" name="id2573069"></a>
     225<a class="indexterm" name="id2573078"></a>
     226<a class="indexterm" name="id2573087"></a>
     227<a class="indexterm" name="id2573094"></a>
     228<a class="indexterm" name="id2573100"></a>
    229229When configuring a master LDAP server that will have slave LDAP servers, do not forget to configure this in
    230230the <code class="filename">/etc/openldap/slapd.conf</code> file. It must be noted that the DN of a server certificate
     
    233233on server certificate names are in RFC2830.
    234234</p><p>
    235 <a class="indexterm" name="id2567065"></a>
    236 <a class="indexterm" name="id2567072"></a>
    237 <a class="indexterm" name="id2567079"></a>
    238 <a class="indexterm" name="id2567085"></a>
    239 <a class="indexterm" name="id2567095"></a>
    240 <a class="indexterm" name="id2567102"></a>
    241 <a class="indexterm" name="id2567109"></a>
     235<a class="indexterm" name="id2573124"></a>
     236<a class="indexterm" name="id2573131"></a>
     237<a class="indexterm" name="id2573137"></a>
     238<a class="indexterm" name="id2573144"></a>
     239<a class="indexterm" name="id2573154"></a>
     240<a class="indexterm" name="id2573161"></a>
     241<a class="indexterm" name="id2573168"></a>
    242242It does not really fit within the scope of this document, but a working LDAP installation is basic to
    243243LDAP-enabled Samba operation. When using an OpenLDAP server with Transport Layer Security (TLS), the machine
    244244name in <code class="filename">/etc/ssl/certs/slapd.pem</code> must be the same as in
    245245<code class="filename">/etc/openldap/sldap.conf</code>. The Red Hat Linux startup script creates the
    246 <code class="filename">slapd.pem</code> file with hostname &#8220;<span class="quote">localhost.localdomain.</span>&#8221; It is impossible to
     246<code class="filename">slapd.pem</code> file with hostname <span class="quote">&#8220;<span class="quote">localhost.localdomain.</span>&#8221;</span> It is impossible to
    247247access this LDAP server from a slave LDAP server (i.e., a Samba BDC) unless the certificate is re-created with
    248248a correct hostname.
    249249</p><p>
    250 <a class="indexterm" name="id2567149"></a>
    251 <a class="indexterm" name="id2567156"></a>
    252 <a class="indexterm" name="id2567162"></a>
    253 <a class="indexterm" name="id2567169"></a>
    254 <a class="indexterm" name="id2567176"></a>
    255 <a class="indexterm" name="id2567183"></a>
     250<a class="indexterm" name="id2573208"></a>
     251<a class="indexterm" name="id2573214"></a>
     252<a class="indexterm" name="id2573221"></a>
     253<a class="indexterm" name="id2573228"></a>
     254<a class="indexterm" name="id2573235"></a>
     255<a class="indexterm" name="id2573242"></a>
    256256Do not install a Samba PDC so that is uses an LDAP slave server. Joining client machines to the domain
    257257will fail in this configuration because the change to the machine account in the LDAP tree must take place on
     
    264264</p><p>
    265265Possible PDC/BDC plus LDAP configurations include:
    266 </p><div class="itemizedlist"><ul type="disc"><li><p>
     266</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    267267        PDC+BDC -&gt; One Central LDAP Server.
    268         </p></li><li><p>
     268        </p></li><li class="listitem"><p>
    269269        PDC -&gt; LDAP master server, BDC -&gt; LDAP slave server.
    270         </p></li><li><p>
     270        </p></li><li class="listitem"><p>
    271271        PDC -&gt; LDAP master, with secondary slave LDAP server.
    272272        </p><p>
    273273        BDC -&gt; LDAP master, with secondary slave LDAP server.
    274         </p></li><li><p>
     274        </p></li><li class="listitem"><p>
    275275        PDC -&gt; LDAP master, with secondary slave LDAP server.
    276276        </p><p>
     
    280280the secondary LDAP server in the <code class="filename">smb.conf</code> file as shown in <a class="link" href="samba-bdc.html#mulitldapcfg" title="Example 5.2. Multiple LDAP Servers in smb.conf">the Multiple LDAP
    281281Servers in <code class="filename">smb.conf</code> example</a>.
    282 </p><div class="example"><a name="mulitldapcfg"></a><p class="title"><b>Example 5.2. Multiple LDAP Servers in <code class="filename">smb.conf</code></b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2567317"></a><em class="parameter"><code>passdb backend = ldapsam:"ldap://master.quenya.org ldap://slave.quenya.org"</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2567331"></a>Active Directory Domain Control</h3></div></div></div><p>
    283 <a class="indexterm" name="id2567340"></a>
    284 <a class="indexterm" name="id2567346"></a>
    285 <a class="indexterm" name="id2567353"></a>
    286 <a class="indexterm" name="id2567360"></a>
    287 <a class="indexterm" name="id2567367"></a>
    288 <a class="indexterm" name="id2567374"></a>
     282</p><div class="example"><a name="mulitldapcfg"></a><p class="title"><b>Example 5.2. Multiple LDAP Servers in <code class="filename">smb.conf</code></b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2573376"></a><em class="parameter"><code>passdb backend = ldapsam:"ldap://master.quenya.org ldap://slave.quenya.org"</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect2" title="Active Directory Domain Control"><div class="titlepage"><div><div><h3 class="title"><a name="id2573390"></a>Active Directory Domain Control</h3></div></div></div><p>
     283<a class="indexterm" name="id2573398"></a>
     284<a class="indexterm" name="id2573405"></a>
     285<a class="indexterm" name="id2573412"></a>
     286<a class="indexterm" name="id2573419"></a>
     287<a class="indexterm" name="id2573426"></a>
     288<a class="indexterm" name="id2573432"></a>
    289289As of the release of MS Windows 2000 and Active Directory, this information is now stored
    290290in a directory that can be replicated and for which partial or full administrative control
     
    292292tree, and it cannot be an Active Directory server. This means that Samba-3 also cannot
    293293act as a BDC to an Active Directory domain controller.
    294 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2567390"></a>What Qualifies a Domain Controller on the Network?</h3></div></div></div><p>
    295 <a class="indexterm" name="id2567398"></a>
    296 <a class="indexterm" name="id2567405"></a>
    297 <a class="indexterm" name="id2567411"></a>
    298 <a class="indexterm" name="id2567418"></a>
     294</p></div><div class="sect2" title="What Qualifies a Domain Controller on the Network?"><div class="titlepage"><div><div><h3 class="title"><a name="id2573448"></a>What Qualifies a Domain Controller on the Network?</h3></div></div></div><p>
     295<a class="indexterm" name="id2573457"></a>
     296<a class="indexterm" name="id2573463"></a>
     297<a class="indexterm" name="id2573470"></a>
     298<a class="indexterm" name="id2573477"></a>
    299299Every machine that is a domain controller for the domain MIDEARTH has to register the NetBIOS
    300300group name MIDEARTH&lt;1C&gt; with the WINS server and/or by broadcast on the local network.
     
    304304implementation requires the DMB to be on the same machine as the PDC.
    305305</p><p>
    306 <a class="indexterm" name="id2567440"></a>
    307 <a class="indexterm" name="id2567447"></a>
    308 <a class="indexterm" name="id2567454"></a>
     306<a class="indexterm" name="id2573499"></a>
     307<a class="indexterm" name="id2573505"></a>
     308<a class="indexterm" name="id2573512"></a>
    309309Where a WINS server is not used, broadcast name registrations alone must suffice. Refer to
    310310<a class="link" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing">Network Browsing</a>,<a class="link" href="NetworkBrowsing.html#netdiscuss" title="Discussion">Discussion</a>
    311311for more information regarding TCP/IP network protocols and how SMB/CIFS names are handled.
    312 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2567481"></a>How Does a Workstation find its Domain Controller?</h3></div></div></div><p>
    313 <a class="indexterm" name="id2567489"></a>
    314 <a class="indexterm" name="id2567496"></a>
     312</p></div><div class="sect2" title="How Does a Workstation find its Domain Controller?"><div class="titlepage"><div><div><h3 class="title"><a name="id2573539"></a>How Does a Workstation find its Domain Controller?</h3></div></div></div><p>
     313<a class="indexterm" name="id2573548"></a>
     314<a class="indexterm" name="id2573555"></a>
    315315There are two different mechanisms to locate a domain controller: one method is used when
    316316NetBIOS over TCP/IP is enabled and the other when it has been disabled in the TCP/IP
    317317network configuration.
    318318</p><p>
    319 <a class="indexterm" name="id2567510"></a>
    320 <a class="indexterm" name="id2567516"></a>
     319<a class="indexterm" name="id2573568"></a>
     320<a class="indexterm" name="id2573575"></a>
    321321Where NetBIOS over TCP/IP is disabled, all name resolution involves the use of DNS, broadcast
    322322messaging over UDP, as well as Active Directory communication technologies. In this type of
    323323environment all machines require appropriate DNS entries. More information may be found in
    324324<a class="link" href="NetworkBrowsing.html#adsdnstech" title="DNS and Active Directory">DNS and Active Directory</a>.
    325 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2567537"></a>NetBIOS Over TCP/IP Enabled</h4></div></div></div><p>
    326 <a class="indexterm" name="id2567545"></a>
    327 <a class="indexterm" name="id2567552"></a>
    328 <a class="indexterm" name="id2567559"></a>
    329 <a class="indexterm" name="id2567566"></a>
     325</p><div class="sect3" title="NetBIOS Over TCP/IP Enabled"><div class="titlepage"><div><div><h4 class="title"><a name="id2573596"></a>NetBIOS Over TCP/IP Enabled</h4></div></div></div><p>
     326<a class="indexterm" name="id2573604"></a>
     327<a class="indexterm" name="id2573611"></a>
     328<a class="indexterm" name="id2573618"></a>
     329<a class="indexterm" name="id2573624"></a>
    330330An MS Windows NT4/200x/XP Professional workstation in the domain MIDEARTH that wants a
    331331local user to be authenticated has to find the domain controller for MIDEARTH. It does this
     
    335335authenticate each other. After that the workstation sends the user's credentials (name and
    336336password) to the local domain controller for validation.
    337 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2567603"></a>NetBIOS Over TCP/IP Disabled</h4></div></div></div><p>
    338 <a class="indexterm" name="id2567611"></a>
    339 <a class="indexterm" name="id2567618"></a>
    340 <a class="indexterm" name="id2567625"></a>
    341 <a class="indexterm" name="id2567631"></a>
     337</p></div><div class="sect3" title="NetBIOS Over TCP/IP Disabled"><div class="titlepage"><div><div><h4 class="title"><a name="id2573662"></a>NetBIOS Over TCP/IP Disabled</h4></div></div></div><p>
     338<a class="indexterm" name="id2573670"></a>
     339<a class="indexterm" name="id2573676"></a>
     340<a class="indexterm" name="id2573684"></a>
     341<a class="indexterm" name="id2573690"></a>
    342342An MS Windows NT4/200x/XP Professional workstation in the realm <code class="constant">quenya.org</code>
    343343that has a need to affect user logon authentication will locate the domain controller by
    344344re-querying DNS servers for the <code class="constant">_ldap._tcp.pdc._msdcs.quenya.org</code> record.
    345345More information regarding this subject may be found in <a class="link" href="NetworkBrowsing.html#adsdnstech" title="DNS and Active Directory">DNS and Active Directory</a>.
    346 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2567662"></a>Backup Domain Controller Configuration</h2></div></div></div><p>
    347 <a class="indexterm" name="id2567669"></a>
     346</p></div></div></div><div class="sect1" title="Backup Domain Controller Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2573721"></a>Backup Domain Controller Configuration</h2></div></div></div><p>
     347<a class="indexterm" name="id2573728"></a>
    348348The creation of a BDC requires some steps to prepare the Samba server before
    349349<span class="application">smbd</span> is executed for the first time. These steps are as follows:
    350 </p><div class="itemizedlist"><ul type="disc"><li><p>
    351         <a class="indexterm" name="id2567690"></a>
    352         <a class="indexterm" name="id2567697"></a>
    353         <a class="indexterm" name="id2567703"></a>
    354         <a class="indexterm" name="id2567710"></a>
    355         <a class="indexterm" name="id2567717"></a>
    356         <a class="indexterm" name="id2567724"></a>
     350</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     351        <a class="indexterm" name="id2573749"></a>
     352        <a class="indexterm" name="id2573756"></a>
     353        <a class="indexterm" name="id2573762"></a>
     354        <a class="indexterm" name="id2573769"></a>
     355        <a class="indexterm" name="id2573776"></a>
     356        <a class="indexterm" name="id2573783"></a>
    357357        The domain SID has to be the same on the PDC and the BDC. In Samba versions pre-2.2.5, the domain SID was
    358358        stored in the file <code class="filename">private/MACHINE.SID</code>.  For all versions of Samba released since 2.2.5
     
    362362        domain SID. This is described here.
    363363        </p><p>
    364         <a class="indexterm" name="id2567754"></a>
    365         <a class="indexterm" name="id2567761"></a>
    366         <a class="indexterm" name="id2567768"></a>
    367         <a class="indexterm" name="id2567774"></a>
    368         <a class="indexterm" name="id2567781"></a>
     364        <a class="indexterm" name="id2573813"></a>
     365        <a class="indexterm" name="id2573820"></a>
     366        <a class="indexterm" name="id2573827"></a>
     367        <a class="indexterm" name="id2573833"></a>
     368        <a class="indexterm" name="id2573840"></a>
    369369        To retrieve the domain SID from the PDC or an existing BDC and store it in the
    370370        <code class="filename">secrets.tdb</code>, execute:
    371371        </p><pre class="screen">
    372372<code class="prompt">root# </code><strong class="userinput"><code>net rpc getsid</code></strong>
    373 </pre></li><li><p>
    374         <a class="indexterm" name="id2567821"></a>
    375         <a class="indexterm" name="id2567828"></a>
    376         <a class="indexterm" name="id2567835"></a>
     373</pre></li><li class="listitem"><p>
     374        <a class="indexterm" name="id2573880"></a>
     375        <a class="indexterm" name="id2573887"></a>
     376        <a class="indexterm" name="id2573894"></a>
    377377        Specification of the <a class="link" href="smb.conf.5.html#LDAPADMINDN" target="_top">ldap admin dn</a> is obligatory.
    378378        This also requires the LDAP administration password to be set in the <code class="filename">secrets.tdb</code>
    379379        using the <code class="literal">smbpasswd -w <em class="replaceable"><code>mysecret</code></em></code>.
    380         </p></li><li><p>
     380        </p></li><li class="listitem"><p>
    381381        The <a class="link" href="smb.conf.5.html#LDAPSUFFIX" target="_top">ldap suffix</a> parameter and the <a class="link" href="smb.conf.5.html#LDAPIDMAPSUFFIX" target="_top">ldap idmap suffix</a>
    382382        parameter must be specified in the <code class="filename">smb.conf</code> file.
    383         </p></li><li><p>
    384         <a class="indexterm" name="id2567910"></a>
    385         <a class="indexterm" name="id2567919"></a>
    386         <a class="indexterm" name="id2567926"></a>
    387         <a class="indexterm" name="id2567932"></a>
     383        </p></li><li class="listitem"><p>
     384        <a class="indexterm" name="id2573968"></a>
     385        <a class="indexterm" name="id2573977"></a>
     386        <a class="indexterm" name="id2573984"></a>
     387        <a class="indexterm" name="id2573991"></a>
    388388        The UNIX user database has to be synchronized from the PDC to the
    389389        BDC. This means that both the <code class="filename">/etc/passwd</code> and
     
    395395        a PDC failure. NIS is by no means the only method to synchronize
    396396        passwords. An LDAP solution would also work.
    397         </p></li><li><p>
    398         <a class="indexterm" name="id2567965"></a>
    399         <a class="indexterm" name="id2567972"></a>
    400         <a class="indexterm" name="id2567979"></a>
    401         <a class="indexterm" name="id2567986"></a>
    402         <a class="indexterm" name="id2567992"></a>
    403         <a class="indexterm" name="id2567999"></a>
    404         <a class="indexterm" name="id2568006"></a>
    405         <a class="indexterm" name="id2568012"></a>
     397        </p></li><li class="listitem"><p>
     398        <a class="indexterm" name="id2574024"></a>
     399        <a class="indexterm" name="id2574031"></a>
     400        <a class="indexterm" name="id2574038"></a>
     401        <a class="indexterm" name="id2574044"></a>
     402        <a class="indexterm" name="id2574051"></a>
     403        <a class="indexterm" name="id2574058"></a>
     404        <a class="indexterm" name="id2574064"></a>
     405        <a class="indexterm" name="id2574071"></a>
    406406        The Samba password database must be replicated from the PDC to the BDC.
    407407        Although it is possible to synchronize the <code class="filename">smbpasswd</code>
     
    418418        or when it takes place.
    419419        </p><p>
    420         <a class="indexterm" name="id2568058"></a>
    421         <a class="indexterm" name="id2568064"></a>
    422         <a class="indexterm" name="id2568071"></a>
    423         <a class="indexterm" name="id2568078"></a>
     420        <a class="indexterm" name="id2574117"></a>
     421        <a class="indexterm" name="id2574123"></a>
     422        <a class="indexterm" name="id2574130"></a>
     423        <a class="indexterm" name="id2574137"></a>
    424424        The use of LDAP for both the POSIX (UNIX user and group) accounts and for the
    425425        SambaSAMAccount data automatically ensures that all account change information
    426426        will be written to the shared directory. This eliminates the need for any special
    427427        action to synchronize account information because LDAP will meet that requirement.
    428         </p></li><li><p>
    429         <a class="indexterm" name="id2568095"></a>
    430         <a class="indexterm" name="id2568102"></a>
    431         <a class="indexterm" name="id2568109"></a>
    432         <a class="indexterm" name="id2568115"></a>
    433         <a class="indexterm" name="id2568122"></a>
    434         <a class="indexterm" name="id2568128"></a>
     428        </p></li><li class="listitem"><p>
     429        <a class="indexterm" name="id2574154"></a>
     430        <a class="indexterm" name="id2574161"></a>
     431        <a class="indexterm" name="id2574167"></a>
     432        <a class="indexterm" name="id2574174"></a>
     433        <a class="indexterm" name="id2574180"></a>
     434        <a class="indexterm" name="id2574187"></a>
    435435        The netlogon share has to be replicated from the PDC to the BDC. This can be done manually whenever login
    436436        scripts are changed, or it can be done automatically using a <code class="literal">cron</code> job that will replicate
     
    439439        that can be manually managed given that the administrator will make all changes to the netlogon share as part
    440440        of a conscious move.
    441         </p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2568163"></a>Example Configuration</h3></div></div></div><p>
     441        </p></li></ul></div><div class="sect2" title="Example Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="id2574222"></a>Example Configuration</h3></div></div></div><p>
    442442Finally, the BDC has to be capable of being found by the workstations. This can be done by configuring the
    443443Samba <code class="filename">smb.conf</code> file <em class="parameter"><code>[global]</code></em> section as shown in <a class="link" href="samba-bdc.html#minim-bdc" title="Example 5.3. Minimal Setup for Being a BDC">Minimal
    444444Setup for Being a BDC</a>.
    445 </p><div class="example"><a name="minim-bdc"></a><p class="title"><b>Example 5.3. Minimal Setup for Being a BDC</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2568209"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2568220"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://slave-ldap.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2568233"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2568244"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2568256"></a><em class="parameter"><code>ldap suffix = dc=abmas,dc=biz</code></em></td></tr><tr><td><a class="indexterm" name="id2568268"></a><em class="parameter"><code>ldap user suffix = ou=Users</code></em></td></tr><tr><td><a class="indexterm" name="id2568280"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2568292"></a><em class="parameter"><code>ldap machine suffix = ou=Computers</code></em></td></tr><tr><td><a class="indexterm" name="id2568304"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2568316"></a><em class="parameter"><code>ldap admin dn = cn=sambadmin,dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2568328"></a><em class="parameter"><code>idmap backend = ldap:ldap://master-ldap.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2568340"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2568352"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr></table></div></div><br class="example-break"><p>
     445</p><div class="example"><a name="minim-bdc"></a><p class="title"><b>Example 5.3. Minimal Setup for Being a BDC</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2574267"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2574279"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://slave-ldap.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2574292"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2574303"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2574315"></a><em class="parameter"><code>ldap suffix = dc=abmas,dc=biz</code></em></td></tr><tr><td><a class="indexterm" name="id2574327"></a><em class="parameter"><code>ldap user suffix = ou=Users</code></em></td></tr><tr><td><a class="indexterm" name="id2574339"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2574351"></a><em class="parameter"><code>ldap machine suffix = ou=Computers</code></em></td></tr><tr><td><a class="indexterm" name="id2574363"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2574375"></a><em class="parameter"><code>ldap admin dn = cn=sambadmin,dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2574387"></a><em class="parameter"><code>idmap backend = ldap:ldap://master-ldap.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2574399"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2574411"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr></table></div></div><br class="example-break"><p>
    446446Fully documented working example network configurations using OpenLDAP and Samba
    447 as available in the <a class="ulink" href="http://www.samba.org/samba/docs/Samba3-ByExample" target="_top">book</a> &#8220;<span class="quote">Samba-3
    448 by Example</span>&#8221; that may be obtained from local and on-line book stores.
    449 </p><p>
    450 <a class="indexterm" name="id2568383"></a>
    451 <a class="indexterm" name="id2568390"></a>
    452 <a class="indexterm" name="id2568397"></a>
    453 <a class="indexterm" name="id2568403"></a>
     447as available in the <a class="ulink" href="http://www.samba.org/samba/docs/Samba3-ByExample" target="_top">book</a> <span class="quote">&#8220;<span class="quote">Samba-3
     448by Example</span>&#8221;</span> that may be obtained from local and on-line book stores.
     449</p><p>
     450<a class="indexterm" name="id2574442"></a>
     451<a class="indexterm" name="id2574449"></a>
     452<a class="indexterm" name="id2574455"></a>
     453<a class="indexterm" name="id2574462"></a>
    454454This configuration causes the BDC to register only the name MIDEARTH&lt;1C&gt; with the WINS server. This is
    455455not a problem, as the name MIDEARTH&lt;1C&gt; is a NetBIOS group name that is meant to be registered by more
     
    457457register MIDEARTH&lt;1B&gt;, which is a unique NetBIOS name that is reserved for the PDC.
    458458</p><p>
    459 <a class="indexterm" name="id2568436"></a>
    460 <a class="indexterm" name="id2568442"></a>
    461 <a class="indexterm" name="id2568449"></a>
    462 <a class="indexterm" name="id2568456"></a>
    463 <a class="indexterm" name="id2568462"></a>
    464 <a class="indexterm" name="id2568469"></a>
    465 <a class="indexterm" name="id2568476"></a>
    466 <a class="indexterm" name="id2568483"></a>
    467 <a class="indexterm" name="id2568490"></a>
     459<a class="indexterm" name="id2574494"></a>
     460<a class="indexterm" name="id2574501"></a>
     461<a class="indexterm" name="id2574508"></a>
     462<a class="indexterm" name="id2574514"></a>
     463<a class="indexterm" name="id2574521"></a>
     464<a class="indexterm" name="id2574528"></a>
     465<a class="indexterm" name="id2574535"></a>
     466<a class="indexterm" name="id2574542"></a>
     467<a class="indexterm" name="id2574549"></a>
    468468The <em class="parameter"><code>idmap backend</code></em> will redirect the <code class="literal">winbindd</code> utility to use the LDAP
    469469database to store all mappings for Windows SIDs to  UIDs and GIDs for UNIX accounts in a repository that is
    470470shared. The BDC will however depend on local resolution of UIDs and GIDs via NSS and the
    471471<code class="literal">nss_ldap</code> utility.
    472 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    473 <a class="indexterm" name="id2568523"></a>
    474 <a class="indexterm" name="id2568532"></a>
    475 <a class="indexterm" name="id2568539"></a>
    476 <a class="indexterm" name="id2568545"></a>
     472</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     473<a class="indexterm" name="id2574582"></a>
     474<a class="indexterm" name="id2574591"></a>
     475<a class="indexterm" name="id2574598"></a>
     476<a class="indexterm" name="id2574605"></a>
    477477Samba-3 has introduced a new ID mapping facility. One of the features of this facility is that it
    478478allows greater flexibility in how user and group IDs are handled in respect to NT domain user and group
     
    482482regarding its behavior.
    483483</p></div><p>
    484 <a class="indexterm" name="id2568576"></a>
    485 <a class="indexterm" name="id2568582"></a>
    486 <a class="indexterm" name="id2568589"></a>
     484<a class="indexterm" name="id2574642"></a>
     485<a class="indexterm" name="id2574649"></a>
     486<a class="indexterm" name="id2574656"></a>
    487487The use of the <a class="link" href="smb.conf.5.html#IDMAPBACKEND" target="_top">idmap backend = ldap:ldap://master.quenya.org</a>
    488488option on a BDC only makes sense where ldapsam is used on a PDC. The purpose of an LDAP-based idmap backend is
     
    490490and groups to common UID/GIDs. In other words, this option is generally intended for use on BDCs and on domain
    491491member servers.
    492 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2568620"></a>Common Errors</h2></div></div></div><p>
    493 <a class="indexterm" name="id2568628"></a>
     492</p></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2574686"></a>Common Errors</h2></div></div></div><p>
     493<a class="indexterm" name="id2574694"></a>
    494494Domain control was a new area for Samba, but there are now many examples that we may refer to.
    495495Updated information will be published as they become available and may be found in later Samba releases or
    496496from the Samba Web <a class="ulink" href="http://samba.org" target="_top">site</a>; refer in particular to the
    497 <code class="filename">WHATSNEW.txt</code> in the Samba release tarball. The book, &#8220;<span class="quote">Samba-3 by Example</span>&#8221;
     497<code class="filename">WHATSNEW.txt</code> in the Samba release tarball. The book, <span class="quote">&#8220;<span class="quote">Samba-3 by Example</span>&#8221;</span>
    498498documents well tested and proven configuration examples. You can obtain a copy of this
    499499<a class="ulink" href="http://www.samba.org/samba/docs/Samba3-ByExample.pdf" target="_top">book</a> for the Samba web site.
    500 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2568664"></a>Machine Accounts Keep Expiring</h3></div></div></div><p>
    501 <a class="indexterm" name="id2568672"></a>
    502 <a class="indexterm" name="id2568679"></a>
    503 <a class="indexterm" name="id2568686"></a>
    504 <a class="indexterm" name="id2568692"></a>
     500</p><div class="sect2" title="Machine Accounts Keep Expiring"><div class="titlepage"><div><div><h3 class="title"><a name="id2574730"></a>Machine Accounts Keep Expiring</h3></div></div></div><p>
     501<a class="indexterm" name="id2574738"></a>
     502<a class="indexterm" name="id2574745"></a>
     503<a class="indexterm" name="id2574752"></a>
     504<a class="indexterm" name="id2574758"></a>
    505505This problem will occur when the passdb (SAM) files are copied  from a central
    506506server but the local BDC is acting as a PDC. This results in the application of
     
    514514The solution is to use a more robust passdb backend, such as the ldapsam backend, setting up
    515515a slave LDAP server for each BDC and a master LDAP server for the PDC.
    516 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2568719"></a>Can Samba Be a Backup Domain Controller to an NT4 PDC?</h3></div></div></div><p>
    517 <a class="indexterm" name="id2568727"></a>
    518 <a class="indexterm" name="id2568736"></a>
     516</p></div><div class="sect2" title="Can Samba Be a Backup Domain Controller to an NT4 PDC?"><div class="titlepage"><div><div><h3 class="title"><a name="id2574784"></a>Can Samba Be a Backup Domain Controller to an NT4 PDC?</h3></div></div></div><p>
     517<a class="indexterm" name="id2574793"></a>
     518<a class="indexterm" name="id2574802"></a>
    519519No. The native NT4 SAM replication protocols have not yet been fully implemented.
    520520</p><p>
    521 <a class="indexterm" name="id2568747"></a>
    522 <a class="indexterm" name="id2568754"></a>
    523 <a class="indexterm" name="id2568760"></a>
     521<a class="indexterm" name="id2574813"></a>
     522<a class="indexterm" name="id2574820"></a>
     523<a class="indexterm" name="id2574826"></a>
    524524Can I get the benefits of a BDC with Samba?  Yes, but only to a Samba PDC.The
    525525main reason for implementing a BDC is availability. If the PDC is a Samba
    526526machine, a second Samba machine can be set up to service logon requests whenever
    527527the PDC is down.
    528 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2568774"></a>How Do I Replicate the smbpasswd File?</h3></div></div></div><p>
    529 <a class="indexterm" name="id2568782"></a>
    530 <a class="indexterm" name="id2568791"></a>
    531 <a class="indexterm" name="id2568798"></a>
     528</p></div><div class="sect2" title="How Do I Replicate the smbpasswd File?"><div class="titlepage"><div><div><h3 class="title"><a name="id2574840"></a>How Do I Replicate the smbpasswd File?</h3></div></div></div><p>
     529<a class="indexterm" name="id2574848"></a>
     530<a class="indexterm" name="id2574857"></a>
     531<a class="indexterm" name="id2574864"></a>
    532532Replication of the smbpasswd file is sensitive. It has to be done whenever changes
    533533to the SAM are made. Every user's password change is done in the smbpasswd file and
    534534has to be replicated to the BDC. So replicating the smbpasswd file very often is necessary.
    535535</p><p>
    536 <a class="indexterm" name="id2568812"></a>
    537 <a class="indexterm" name="id2568819"></a>
    538 <a class="indexterm" name="id2568825"></a>
     536<a class="indexterm" name="id2574878"></a>
     537<a class="indexterm" name="id2574885"></a>
     538<a class="indexterm" name="id2574891"></a>
    539539As the smbpasswd file contains plaintext password equivalents, it must not be
    540540sent unencrypted over the wire. The best way to set up smbpasswd replication from
     
    543543<code class="literal">rsync</code> transfer without requiring the user to type a password.
    544544</p><p>
    545 <a class="indexterm" name="id2568856"></a>
    546 <a class="indexterm" name="id2568863"></a>
     545<a class="indexterm" name="id2574922"></a>
     546<a class="indexterm" name="id2574929"></a>
    547547As said a few times before, use of this method is broken and flawed. Machine trust
    548548accounts will go out of sync, resulting in a broken domain. This method is
    549549<span class="emphasis"><em>not</em></span> recommended. Try using LDAP instead.
    550 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2568879"></a>Can I Do This All with LDAP?</h3></div></div></div><p>
    551 <a class="indexterm" name="id2568887"></a>
    552 <a class="indexterm" name="id2568894"></a>
     550</p></div><div class="sect2" title="Can I Do This All with LDAP?"><div class="titlepage"><div><div><h3 class="title"><a name="id2574945"></a>Can I Do This All with LDAP?</h3></div></div></div><p>
     551<a class="indexterm" name="id2574953"></a>
     552<a class="indexterm" name="id2574960"></a>
    553553The simple answer is yes. Samba's pdb_ldap code supports binding to a replica
    554554LDAP server and will also follow referrals and rebind to the master if it ever
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/samba-pdc.html

    r274 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 4. Domain Control</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="ServerType.html" title="Chapter 3. Server Types and Security Modes"><link rel="next" href="samba-bdc.html" title="Chapter 5. Backup Domain Control"></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 4. Domain Control</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ServerType.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="samba-bdc.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="samba-pdc"></a>Chapter 4. Domain Control</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">David</span> <span class="orgname">Samba Team</span> <span class="surname">Bannon</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:dbannon@samba.org">dbannon@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Guenther</span> <span class="orgname">SuSE</span> <span class="surname">Deschner</span></h3><span class="contrib">LDAP updates</span> <div class="affiliation"><span class="orgname">SuSE<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:gd@suse.de">gd@suse.de</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="samba-pdc.html#id2561262">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2562485">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2562505">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2563009">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2564263">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2564316">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2564335">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2565206">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2565212">$ Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565312">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565377">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565454">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565573">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565600">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565619">Cannot Log onto Domain Member Workstation After Joining Domain</a></span></dt></dl></dd></dl></div><p>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 4. Domain Control</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="ServerType.html" title="Chapter 3. Server Types and Security Modes"><link rel="next" href="samba-bdc.html" title="Chapter 5. Backup Domain Control"></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 4. Domain Control</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ServerType.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="samba-bdc.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 4. Domain Control"><div class="titlepage"><div><div><h2 class="title"><a name="samba-pdc"></a>Chapter 4. Domain Control</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">David</span> <span class="surname">Bannon</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:dbannon@samba.org">dbannon@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Guenther</span> <span class="surname">Deschner</span></h3><span class="contrib">LDAP updates</span> <div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:gd@samba.org">gd@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="samba-pdc.html#id2567320">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2568544">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2568563">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2569068">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2570321">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2570374">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2570393">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2571265">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2571270"><span class="quote">&#8220;<span class="quote">$</span>&#8221;</span> Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571371">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571436">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571512">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571632">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571659">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571678">Cannot Log onto Domain Member Workstation After Joining Domain</a></span></dt></dl></dd></dl></div><p>
    22There are many who approach MS Windows networking with incredible misconceptions.
    33That's okay, because it gives the rest of us plenty of opportunity to be of assistance.
     
    55that is already available.
    66</p><p>
    7 <a class="indexterm" name="id2561124"></a>
     7<a class="indexterm" name="id2567183"></a>
    88You are advised not to tackle this section without having first understood
    99and mastered some basics. MS Windows networking is not particularly forgiving of
     
    2121sections of this HOWTO that deal with it. These are the most common causes of MS Windows
    2222networking problems:
    23 </p><div class="itemizedlist"><ul type="disc"><li><p>Basic TCP/IP configuration.</p></li><li><p>NetBIOS name resolution.</p></li><li><p>Authentication configuration.</p></li><li><p>User and group configuration.</p></li><li><p>Basic file and directory permission control in UNIX/Linux.</p></li><li><p>Understanding how MS Windows clients interoperate in a network environment.</p></li></ul></div><p>
     23</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Basic TCP/IP configuration.</p></li><li class="listitem"><p>NetBIOS name resolution.</p></li><li class="listitem"><p>Authentication configuration.</p></li><li class="listitem"><p>User and group configuration.</p></li><li class="listitem"><p>Basic file and directory permission control in UNIX/Linux.</p></li><li class="listitem"><p>Understanding how MS Windows clients interoperate in a network environment.</p></li></ul></div><p>
    2424Do not be put off; on the surface of it MS Windows networking seems so simple that anyone
    2525can do it. In fact, it is not a good idea to set up an MS Windows network with
     
    3333make mistakes, then please do it on a test network, away from users, and in such a way as
    3434to not inflict pain on others. Do your learning on a test network.
    35 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2561262"></a>Features and Benefits</h2></div></div></div><p>
    36 <a class="indexterm" name="id2561270"></a>
     35</p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2567320"></a>Features and Benefits</h2></div></div></div><p>
     36<a class="indexterm" name="id2567328"></a>
    3737<span class="emphasis"><em>What is the key benefit of Microsoft Domain Security?</em></span>
    3838</p><p>
    39 <a class="indexterm" name="id2561284"></a>
    40 <a class="indexterm" name="id2561294"></a>
    41 <a class="indexterm" name="id2561300"></a>
    42 <a class="indexterm" name="id2561307"></a>
     39<a class="indexterm" name="id2567343"></a>
     40<a class="indexterm" name="id2567352"></a>
     41<a class="indexterm" name="id2567359"></a>
     42<a class="indexterm" name="id2567366"></a>
    4343In a word, <span class="emphasis"><em>single sign-on</em></span>, or SSO for short. To many, this is the Holy Grail of MS
    4444Windows NT and beyond networking. SSO allows users in a well-designed network to log onto any workstation that
     
    4848feature of the domain security protocols.
    4949</p><p>
    50 <a class="indexterm" name="id2561335"></a>
    51 <a class="indexterm" name="id2561342"></a>
    52 <a class="indexterm" name="id2561349"></a>
    53 <a class="indexterm" name="id2561358"></a>
    54 <a class="indexterm" name="id2561367"></a>
     50<a class="indexterm" name="id2567394"></a>
     51<a class="indexterm" name="id2567401"></a>
     52<a class="indexterm" name="id2567408"></a>
     53<a class="indexterm" name="id2567417"></a>
     54<a class="indexterm" name="id2567426"></a>
    5555The benefits of domain security are available to those sites that deploy a Samba PDC.  A domain provides a
    5656unique network security identifier (SID). Domain user and group security identifiers are comprised of the
     
    5959organizational access control. UNIX systems recognize only local security identifiers.
    6060</p><p>
    61 <a class="indexterm" name="id2561386"></a>
     61<a class="indexterm" name="id2567445"></a>
    6262A SID represents a security context. For example, every Windows machine has local accounts within the security
    6363context of the local machine which has a unique SID. Every domain (NT4, ADS, Samba) contains accounts that
    6464exist within the domain security context which is defined by the domain SID.
    6565</p><p>
    66 <a class="indexterm" name="id2561401"></a>
    67 <a class="indexterm" name="id2561407"></a>
     66<a class="indexterm" name="id2567459"></a>
     67<a class="indexterm" name="id2567466"></a>
    6868A domain member server will have a SID that differs from the domain SID.  The domain member server can be
    6969configured to regard all domain users as local users. It can also be configured to recognize domain users and
     
    8282</pre><p>
    8383The result is that every account in the Windows networking world has a globally unique security identifier.
    84 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    85 <a class="indexterm" name="id2561454"></a>
    86 <a class="indexterm" name="id2561464"></a>
    87 <a class="indexterm" name="id2561470"></a>
     84</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     85<a class="indexterm" name="id2567513"></a>
     86<a class="indexterm" name="id2567522"></a>
     87<a class="indexterm" name="id2567529"></a>
    8888Network clients of an MS Windows domain security environment must be domain members to be able to gain access
    8989to the advanced features provided. Domain membership involves more than just setting the workgroup name to the
     
    9292</p></div><p>
    9393The following functionalities are new to the Samba-3 release:
    94 </p><div class="itemizedlist"><ul type="disc"><li><p>
    95         <a class="indexterm" name="id2561504"></a>
     94</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     95        <a class="indexterm" name="id2567563"></a>
    9696        Samba-3 supports the use of a choice of backends that may be used in which user, group and machine
    9797        accounts may be stored. Multiple passwd backends can be used in combination, either as additive backend
    9898        data sets, or as fail-over data sets.
    9999        </p><p>
    100         <a class="indexterm" name="id2561521"></a>
    101         <a class="indexterm" name="id2561528"></a>
    102         <a class="indexterm" name="id2561534"></a>
    103         <a class="indexterm" name="id2561541"></a>
    104         <a class="indexterm" name="id2561548"></a>
     100        <a class="indexterm" name="id2567579"></a>
     101        <a class="indexterm" name="id2567586"></a>
     102        <a class="indexterm" name="id2567593"></a>
     103        <a class="indexterm" name="id2567600"></a>
     104        <a class="indexterm" name="id2567607"></a>
    105105        An LDAP passdb backend confers the benefit that the account backend can be distributed and replicated,
    106106        which is of great value because it confers scalability and provides a high degree of reliability.
    107         </p></li><li><p>
    108         <a class="indexterm" name="id2561563"></a>
    109         <a class="indexterm" name="id2561574"></a>
    110         <a class="indexterm" name="id2561584"></a>
     107        </p></li><li class="listitem"><p>
     108        <a class="indexterm" name="id2567621"></a>
     109        <a class="indexterm" name="id2567633"></a>
     110        <a class="indexterm" name="id2567642"></a>
    111111        Windows NT4 domain trusts. Samba-3 supports workstation and server (machine) trust accounts. It also
    112112        supports Windows NT4 style interdomain trust accounts, which further assists in network scalability
    113113        and interoperability.
    114         </p></li><li><p>
    115         <a class="indexterm" name="id2561599"></a>
    116         <a class="indexterm" name="id2561606"></a>
    117         <a class="indexterm" name="id2561612"></a>
    118         <a class="indexterm" name="id2561619"></a>
    119         <a class="indexterm" name="id2561629"></a>
    120         <a class="indexterm" name="id2561638"></a>
     114        </p></li><li class="listitem"><p>
     115        <a class="indexterm" name="id2567657"></a>
     116        <a class="indexterm" name="id2567664"></a>
     117        <a class="indexterm" name="id2567671"></a>
     118        <a class="indexterm" name="id2567678"></a>
     119        <a class="indexterm" name="id2567687"></a>
     120        <a class="indexterm" name="id2567696"></a>
    121121        Operation without NetBIOS over TCP/IP, rather using the raw SMB over TCP/IP. Note, this is feasible
    122122        only when operating as a Microsoft active directory domain member server. When acting as a Samba domain
    123123        controller the use of NetBIOS is necessary to provide network browsing support.
    124         </p></li><li><p>
    125         <a class="indexterm" name="id2561656"></a>
    126         <a class="indexterm" name="id2561663"></a>
    127         <a class="indexterm" name="id2561670"></a>
     124        </p></li><li class="listitem"><p>
     125        <a class="indexterm" name="id2567715"></a>
     126        <a class="indexterm" name="id2567722"></a>
     127        <a class="indexterm" name="id2567728"></a>
    128128        Samba-3 provides NetBIOS name services (WINS), NetBIOS over TCP/IP (TCP port 139) session services, SMB over
    129129        TCP/IP (TCP port 445) session services, and Microsoft compatible ONC DCE RPC services (TCP port 135)
    130130        services.
    131         </p></li><li><p>
    132         <a class="indexterm" name="id2561685"></a>
     131        </p></li><li class="listitem"><p>
     132        <a class="indexterm" name="id2567744"></a>
    133133        Management of users and groups via the User Manager for Domains. This can be done on any MS Windows client
    134134        using the <code class="filename">Nexus.exe</code> toolkit for Windows 9x/Me, or using the SRVTOOLS.EXE package for MS
    135135        Windows NT4/200x/XP platforms. These packages are available from Microsoft's Web site.
    136         </p></li><li><p>
     136        </p></li><li class="listitem"><p>
    137137        Implements full Unicode support. This simplifies cross-locale internationalization support. It also opens up
    138138        the use of protocols that Samba-2.2.x had but could not use due to the need to fully support Unicode.
    139139        </p></li></ul></div><p>
    140140The following functionalities are not provided by Samba-3:
    141 </p><div class="itemizedlist"><ul type="disc"><li><p>
    142         <a class="indexterm" name="id2561722"></a>
    143         <a class="indexterm" name="id2561729"></a>
     141</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     142        <a class="indexterm" name="id2567781"></a>
     143        <a class="indexterm" name="id2567787"></a>
    144144        SAM replication with Windows NT4 domain controllers (i.e., a Samba PDC and a Windows NT BDC, or vice versa).
    145145        This means Samba cannot operate as a BDC when the PDC is Microsoft-based Windows NT PDC. Samba-3 can not
    146146        participate in replication of account data to Windows PDCs and BDCs.
    147         </p></li><li><p>
    148         <a class="indexterm" name="id2561745"></a>
    149         <a class="indexterm" name="id2561752"></a>
     147        </p></li><li class="listitem"><p>
     148        <a class="indexterm" name="id2567803"></a>
     149        <a class="indexterm" name="id2567810"></a>
    150150        Acting as a Windows 2000 active directory domain controller (i.e., Kerberos and Active Directory). In point of
    151151        fact, Samba-3 does have some Active Directory domain control ability that is at this time purely experimental.
     
    153153        generation Samba release. At this time there are no plans to enable active directory domain control
    154154        support during the Samba-3 series life-cycle.
    155         </p></li><li><p>
    156         <a class="indexterm" name="id2561771"></a>
    157         <a class="indexterm" name="id2561777"></a>
    158         <a class="indexterm" name="id2561784"></a>
     155        </p></li><li class="listitem"><p>
     156        <a class="indexterm" name="id2567829"></a>
     157        <a class="indexterm" name="id2567836"></a>
     158        <a class="indexterm" name="id2567843"></a>
    159159        The Windows 200x/XP Microsoft Management Console (MMC) cannot be used to manage a Samba-3 server. For this you
    160160        can use only the MS Windows NT4 Domain Server Manager and the MS Windows NT4 Domain User Manager. Both are
    161161        part of the SVRTOOLS.EXE package mentioned later.
    162162        </p></li></ul></div><p>
    163 <a class="indexterm" name="id2561802"></a>
    164 <a class="indexterm" name="id2561810"></a>
     163<a class="indexterm" name="id2567861"></a>
     164<a class="indexterm" name="id2567868"></a>
    165165Windows 9x/Me/XP Home clients are not true members of a domain for reasons outlined in this chapter. The
    166166protocol for support of Windows 9x/Me-style network (domain) logons is completely different from NT4/Windows
     
    168168network logon facilities that are supported in Samba since approximately the Samba-1.9.15 series.
    169169</p><p>
    170 <a class="indexterm" name="id2561827"></a>
     170<a class="indexterm" name="id2567885"></a>
    171171Samba-3 implements group mapping between Windows NT groups and UNIX groups (this is really quite complicated
    172172to explain in a short space). This is discussed more fully in <a class="link" href="groupmapping.html" title="Chapter 12. Group Mapping: MS Windows and UNIX">Group Mapping: MS
    173173Windows and UNIX</a>.
    174174</p><p>
    175 <a class="indexterm" name="id2561850"></a>
    176 <a class="indexterm" name="id2561857"></a>
    177 <a class="indexterm" name="id2561866"></a>
     175<a class="indexterm" name="id2567908"></a>
     176<a class="indexterm" name="id2567916"></a>
     177<a class="indexterm" name="id2567924"></a>
    178178Samba-3, like an MS Windows NT4 PDC or a Windows 200x Active Directory, needs to store user and Machine Trust
    179179Account information in a suitable backend data-store.  Refer to <a class="link" href="domain-member.html#machine-trust-accounts" title="MS Windows Workstation/Server Machine Trust Accounts">MS
     
    181181this. A complete discussion of account database backends can be found in <a class="link" href="passdb.html" title="Chapter 11. Account Information Databases">Account
    182182Information Databases</a>.
    183 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2561896"></a>Single Sign-On and Domain Security</h2></div></div></div><p>
    184 <a class="indexterm" name="id2561905"></a>
    185 <a class="indexterm" name="id2561913"></a>
    186 <a class="indexterm" name="id2561920"></a>
    187 <a class="indexterm" name="id2561927"></a>
    188 <a class="indexterm" name="id2561934"></a>
    189 <a class="indexterm" name="id2561941"></a>
    190 <a class="indexterm" name="id2561948"></a>
     183</p></div><div class="sect1" title="Single Sign-On and Domain Security"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2567955"></a>Single Sign-On and Domain Security</h2></div></div></div><p>
     184<a class="indexterm" name="id2567963"></a>
     185<a class="indexterm" name="id2567972"></a>
     186<a class="indexterm" name="id2567979"></a>
     187<a class="indexterm" name="id2567986"></a>
     188<a class="indexterm" name="id2567992"></a>
     189<a class="indexterm" name="id2567999"></a>
     190<a class="indexterm" name="id2568006"></a>
    191191When network administrators  are asked to describe the benefits of Windows NT4 and active directory networking
    192192the most often mentioned feature is that of single sign-on (SSO). Many companies have implemented SSO
     
    198198uniqueness and history limits are applied.
    199199</p><p>
    200 <a class="indexterm" name="id2561971"></a>
     200<a class="indexterm" name="id2568030"></a>
    201201There is a broadly held perception that SSO is the answer to the problem of users having to deal with too many
    202202information system access credentials (username/password pairs). Many elaborate schemes have been devised to
     
    205205many SSO solutions are an administrative nightmare.
    206206</p><p>
    207 <a class="indexterm" name="id2561989"></a>
    208 <a class="indexterm" name="id2561996"></a>
    209 <a class="indexterm" name="id2562003"></a>
     207<a class="indexterm" name="id2568048"></a>
     208<a class="indexterm" name="id2568055"></a>
     209<a class="indexterm" name="id2568062"></a>
    210210SSO implementations utilize centralization of all user account information. Depending on environmental
    211211complexity and the age of the systems over which a SSO solution is implemented, it may not be possible to
     
    216216Ideally, the implementation of SSO should reduce complexity and reduce administative overheads.
    217217</p><p>
    218 <a class="indexterm" name="id2562025"></a>
    219 <a class="indexterm" name="id2562032"></a>
    220 <a class="indexterm" name="id2562042"></a>
    221 <a class="indexterm" name="id2562051"></a>
    222 <a class="indexterm" name="id2562058"></a>
     218<a class="indexterm" name="id2568084"></a>
     219<a class="indexterm" name="id2568091"></a>
     220<a class="indexterm" name="id2568100"></a>
     221<a class="indexterm" name="id2568110"></a>
     222<a class="indexterm" name="id2568117"></a>
    223223The initial goal of many network administrators is often to create and use a centralized identity management
    224224system. It is often assumed that such a centralized system will use a single authentication infrastructure
     
    233233and access control were designed and built.
    234234</p><p>
    235 <a class="indexterm" name="id2562087"></a>
    236 <a class="indexterm" name="id2562094"></a>
    237 <a class="indexterm" name="id2562101"></a>
    238 <a class="indexterm" name="id2562108"></a>
    239 <a class="indexterm" name="id2562115"></a>
    240 <a class="indexterm" name="id2562122"></a>
    241 <a class="indexterm" name="id2562129"></a>
    242 <a class="indexterm" name="id2562136"></a>
     235<a class="indexterm" name="id2568146"></a>
     236<a class="indexterm" name="id2568153"></a>
     237<a class="indexterm" name="id2568159"></a>
     238<a class="indexterm" name="id2568167"></a>
     239<a class="indexterm" name="id2568174"></a>
     240<a class="indexterm" name="id2568181"></a>
     241<a class="indexterm" name="id2568187"></a>
     242<a class="indexterm" name="id2568194"></a>
    243243Over the past decade an industry has been developed around the various methods that have been built to get
    244244around the key limitations of legacy information technology systems. One approach that is often used involves
     
    249249credentials.
    250250</p><p>
    251 <a class="indexterm" name="id2562157"></a>
    252 <a class="indexterm" name="id2562167"></a>
    253 <a class="indexterm" name="id2562177"></a>
    254 <a class="indexterm" name="id2562186"></a>
     251<a class="indexterm" name="id2568216"></a>
     252<a class="indexterm" name="id2568226"></a>
     253<a class="indexterm" name="id2568235"></a>
     254<a class="indexterm" name="id2568245"></a>
    255255The Organization for the Advancement of Structured Information Standards (OASIS) has developed the Security
    256256Assertion Markup Language (SAML), a structured method for communication of authentication information. The
     
    259259authenticate their respective users and vouch for secure access to the services each provides.
    260260</p><p>
    261 <a class="indexterm" name="id2562205"></a>
    262 <a class="indexterm" name="id2562214"></a>
    263 <a class="indexterm" name="id2562222"></a>
    264 <a class="indexterm" name="id2562228"></a>
    265 <a class="indexterm" name="id2562235"></a>
    266 <a class="indexterm" name="id2562241"></a>
     261<a class="indexterm" name="id2568264"></a>
     262<a class="indexterm" name="id2568273"></a>
     263<a class="indexterm" name="id2568280"></a>
     264<a class="indexterm" name="id2568287"></a>
     265<a class="indexterm" name="id2568294"></a>
     266<a class="indexterm" name="id2568300"></a>
    267267SAML documents can be wrapped in a Simple Object Access Protocol (SOAP) message for the computer-to-computer
    268268communications needed for Web services. Or they may be passed between Web servers of federated organizations
     
    274274interfaces. In a nutshell, that is why FIM is a big and growing industry.
    275275</p><p>
    276 <a class="indexterm" name="id2562277"></a>
    277 <a class="indexterm" name="id2562284"></a>
    278 <a class="indexterm" name="id2562291"></a>
    279 <a class="indexterm" name="id2562298"></a>
    280 <a class="indexterm" name="id2562304"></a>
     276<a class="indexterm" name="id2568336"></a>
     277<a class="indexterm" name="id2568343"></a>
     278<a class="indexterm" name="id2568349"></a>
     279<a class="indexterm" name="id2568356"></a>
     280<a class="indexterm" name="id2568363"></a>
    281281Ignoring the bigger picture, which is beyond the scope of this book, the migration of all user and group
    282282management to a centralized system is a step in the right direction. It is essential for interoperability
     
    287287programming interface (GSSAPI) services.
    288288</p><p>
    289 <a class="indexterm" name="id2562329"></a>
    290 <a class="indexterm" name="id2562336"></a>
    291 <a class="indexterm" name="id2562342"></a>
     289<a class="indexterm" name="id2568388"></a>
     290<a class="indexterm" name="id2568394"></a>
     291<a class="indexterm" name="id2568401"></a>
    292292A growing number of companies provide authentication agents for disparate legacy platforms to permit the use
    293293of LDAP systems. Thus the use of OpenLDAP, the dominant open source software implementation of the light
     
    295295LDAP and Microsoft ADS make Samba a highly scalable and forward reaching organizational networking technology.
    296296</p><p>
    297 <a class="indexterm" name="id2562360"></a>
    298 <a class="indexterm" name="id2562366"></a>
    299 <a class="indexterm" name="id2562373"></a>
    300 <a class="indexterm" name="id2562380"></a>
    301 <a class="indexterm" name="id2562387"></a>
    302 <a class="indexterm" name="id2562394"></a>
     297<a class="indexterm" name="id2568419"></a>
     298<a class="indexterm" name="id2568425"></a>
     299<a class="indexterm" name="id2568432"></a>
     300<a class="indexterm" name="id2568439"></a>
     301<a class="indexterm" name="id2568446"></a>
     302<a class="indexterm" name="id2568453"></a>
    303303Microsoft ADS provides purely proprietary services that, with limitation, can be extended to provide a
    304304centralized authentication infrastructure. Samba plus LDAP provides a similar opportunity for extension of a
     
    308308sustainable choice and competition in the FIM market place.
    309309</p><p>
    310 <a class="indexterm" name="id2562419"></a>
    311 <a class="indexterm" name="id2562426"></a>
    312 <a class="indexterm" name="id2562433"></a>
     310<a class="indexterm" name="id2568478"></a>
     311<a class="indexterm" name="id2568485"></a>
     312<a class="indexterm" name="id2568492"></a>
    313313Primary domain control, if it is to be scalable to meet the needs of large sites, must therefore be capable of
    314314using LDAP. The rapid adoption of OpenLDAP, and Samba configurations that use it, is ample proof that the era
     
    316316user and group identity information can be distributed makes it an an unavoidable option.
    317317</p><p>
    318 <a class="indexterm" name="id2562457"></a>
    319 <a class="indexterm" name="id2562464"></a>
    320 <a class="indexterm" name="id2562471"></a>
     318<a class="indexterm" name="id2568516"></a>
     319<a class="indexterm" name="id2568523"></a>
     320<a class="indexterm" name="id2568529"></a>
    321321At this time, the use of Samba based BDCs, necessitates the use of LDAP. The most commonly used LDAP
    322322implementation used by Samba sites is OpenLDAP. It is possible to use any standards compliant LDAP server.
    323323Those known to work includes those manufactured by: IBM, CA, Novell (e-Directory), and others.
    324 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2562485"></a>Basics of Domain Control</h2></div></div></div><p>
    325 <a class="indexterm" name="id2562493"></a>
     324</p></div><div class="sect1" title="Basics of Domain Control"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2568544"></a>Basics of Domain Control</h2></div></div></div><p>
     325<a class="indexterm" name="id2568552"></a>
    326326Over the years, public perceptions of what domain control really is has taken on an almost mystical nature.
    327327Before we branch into a brief overview of domain control, there are three basic types of domain controllers.
    328 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2562505"></a>Domain Controller Types</h3></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>NT4 style Primary Domain Controller</p></li><li><p>NT4 style Backup Domain Controller</p></li><li><p>ADS Domain Controller</p></li></ul></div><p>
    329 <a class="indexterm" name="id2562530"></a>
    330 <a class="indexterm" name="id2562537"></a>
    331 <a class="indexterm" name="id2562544"></a>
    332 <a class="indexterm" name="id2562553"></a>
     328</p><div class="sect2" title="Domain Controller Types"><div class="titlepage"><div><div><h3 class="title"><a name="id2568563"></a>Domain Controller Types</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>NT4 style Primary Domain Controller</p></li><li class="listitem"><p>NT4 style Backup Domain Controller</p></li><li class="listitem"><p>ADS Domain Controller</p></li></ul></div><p>
     329<a class="indexterm" name="id2568589"></a>
     330<a class="indexterm" name="id2568596"></a>
     331<a class="indexterm" name="id2568602"></a>
     332<a class="indexterm" name="id2568612"></a>
    333333The <span class="emphasis"><em>Primary Domain Controller</em></span> or PDC plays an important role in MS Windows NT4. In
    334334Windows 200x domain control architecture, this role is held by domain controllers.  Folklore dictates that
     
    338338(domain member) servers than in the domain controllers.
    339339</p><p>
    340 <a class="indexterm" name="id2562581"></a>
    341 <a class="indexterm" name="id2562588"></a>
    342 <a class="indexterm" name="id2562594"></a>
    343 <a class="indexterm" name="id2562601"></a>
    344 <a class="indexterm" name="id2562608"></a>
     340<a class="indexterm" name="id2568640"></a>
     341<a class="indexterm" name="id2568646"></a>
     342<a class="indexterm" name="id2568653"></a>
     343<a class="indexterm" name="id2568660"></a>
     344<a class="indexterm" name="id2568667"></a>
    345345In the case of MS Windows NT4-style domains, it is the PDC that initiates a new domain control database.
    346346This forms a part of the Windows registry called the Security Account Manager (SAM). It plays a key
     
    348348database with BDCs.
    349349</p><p>
    350 <a class="indexterm" name="id2562626"></a>
    351 <a class="indexterm" name="id2562637"></a>
    352 <a class="indexterm" name="id2562644"></a>
    353 <a class="indexterm" name="id2562653"></a>
     350<a class="indexterm" name="id2568684"></a>
     351<a class="indexterm" name="id2568696"></a>
     352<a class="indexterm" name="id2568703"></a>
     353<a class="indexterm" name="id2568712"></a>
    354354With MS Windows 200x Server-based Active Directory domains, one domain controller initiates a potential
    355355hierarchy of domain controllers, each with its own area of delegated control. The master domain
     
    358358LDAP-based user and machine account backend.
    359359</p><p>
    360 <a class="indexterm" name="id2562671"></a>
    361 <a class="indexterm" name="id2562678"></a>
     360<a class="indexterm" name="id2568730"></a>
     361<a class="indexterm" name="id2568736"></a>
    362362New to Samba-3 is the ability to use a backend database that holds the same type of data as the NT4-style SAM
    363 database (one of the registry files)<sup>[<a name="id2562687" href="#ftn.id2562687" class="footnote">1</a>]</sup>
    364 </p><p>
    365 <a class="indexterm" name="id2562703"></a>
    366 <a class="indexterm" name="id2562710"></a>
    367 <a class="indexterm" name="id2562716"></a>
    368 <a class="indexterm" name="id2562723"></a>
    369 <a class="indexterm" name="id2562730"></a>
    370 <a class="indexterm" name="id2562737"></a>
     363database (one of the registry files)<sup>[<a name="id2568746" href="#ftn.id2568746" class="footnote">1</a>]</sup>
     364</p><p>
     365<a class="indexterm" name="id2568762"></a>
     366<a class="indexterm" name="id2568768"></a>
     367<a class="indexterm" name="id2568775"></a>
     368<a class="indexterm" name="id2568782"></a>
     369<a class="indexterm" name="id2568788"></a>
     370<a class="indexterm" name="id2568795"></a>
    371371The <span class="emphasis"><em>Backup Domain Controller</em></span> or BDC plays a key role in servicing network authentication
    372372requests. The BDC is biased to answer logon requests in preference to the PDC.  On a network segment that has
     
    380380particular logon authentication request.
    381381</p><p>
    382 <a class="indexterm" name="id2562767"></a>
    383 <a class="indexterm" name="id2562774"></a>
     382<a class="indexterm" name="id2568826"></a>
     383<a class="indexterm" name="id2568832"></a>
    384384A Windows NT4 BDC can be promoted to a PDC. If the PDC is online at the time that a BDC is promoted to PDC,
    385385the previous PDC is automatically demoted to a BDC. With Samba-3, this is not an automatic operation; the PDC
    386386and BDC must be manually configured, and other appropriate changes also need to be made.
    387387</p><p>
    388 <a class="indexterm" name="id2562789"></a>
     388<a class="indexterm" name="id2568848"></a>
    389389With MS Windows NT4, a decision is made at installation to determine what type of machine the server will be.
    390390It is possible to promote a BDC to a PDC, and vice versa. The only method Microsoft provide to convert a
    391391Windows NT4 domain controller to a domain member server or a standalone server is to reinstall it. The install
    392392time choices offered are:
    393 </p><div class="itemizedlist"><ul type="disc"><li><p><span class="emphasis"><em>Primary Domain Controller</em></span>  the one that seeds the domain SAM.</p></li><li><p><span class="emphasis"><em>Backup Domain Controller</em></span>  one that obtains a copy of the domain SAM.</p></li><li><p><span class="emphasis"><em>Domain Member Server</em></span>  one that has no copy of the domain SAM; rather
    394                 it obtains authentication from a domain controller for all access controls.</p></li><li><p><span class="emphasis"><em>Standalone Server</em></span>  one that plays no part in SAM synchronization,
    395                 has its own authentication database, and plays no role in domain security.</p></li></ul></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    396 <a class="indexterm" name="id2562858"></a>
     393</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><span class="emphasis"><em>Primary Domain Controller</em></span>  the one that seeds the domain SAM.</p></li><li class="listitem"><p><span class="emphasis"><em>Backup Domain Controller</em></span>  one that obtains a copy of the domain SAM.</p></li><li class="listitem"><p><span class="emphasis"><em>Domain Member Server</em></span>  one that has no copy of the domain SAM; rather
     394                it obtains authentication from a domain controller for all access controls.</p></li><li class="listitem"><p><span class="emphasis"><em>Standalone Server</em></span>  one that plays no part in SAM synchronization,
     395                has its own authentication database, and plays no role in domain security.</p></li></ul></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     396<a class="indexterm" name="id2568917"></a>
    397397Algin Technology LLC provide a commercial tool that makes it possible to promote a Windows NT4 standalone
    398398server to a PDC or a BDC, and also permits this process to be reversed. Refer to the <a class="ulink" href="http://utools.com/UPromote.asp" target="_top">Algin</a> web site for further information.
    399399</p></div><p>
    400 <a class="indexterm" name="id2562878"></a>
    401 <a class="indexterm" name="id2562889"></a>
     400<a class="indexterm" name="id2568936"></a>
     401<a class="indexterm" name="id2568948"></a>
    402402Samba-3 servers can readily be converted to and from domain controller roles through simple changes to the
    403403<code class="filename">smb.conf</code> file. Samba-3 is capable of acting fully as a native member of a Windows 200x server Active
    404404Directory domain.
    405405</p><p>
    406 <a class="indexterm" name="id2562909"></a>
     406<a class="indexterm" name="id2568968"></a>
    407407For the sake of providing a complete picture, MS Windows 2000 domain control configuration is done after the server has been
    408408installed. Please refer to Microsoft documentation for the procedures that should be followed to convert a
    409409domain member server to or from a domain control, and to install or remove active directory service support.
    410410</p><p>
    411 <a class="indexterm" name="id2562928"></a>
    412 <a class="indexterm" name="id2562937"></a>
     411<a class="indexterm" name="id2568986"></a>
     412<a class="indexterm" name="id2568995"></a>
    413413New to Samba-3 is the ability to function fully as an MS Windows NT4-style domain controller,
    414414excluding the SAM replication components. However, please be aware that Samba-3 also supports the
    415415MS Windows 200x domain control protocols.
    416416</p><p>
    417 <a class="indexterm" name="id2562953"></a>
     417<a class="indexterm" name="id2569011"></a>
    418418At this time any appearance that Samba-3 is capable of acting as a <span class="emphasis"><em>domain controller</em></span> in
    419419native ADS mode is limited and experimental in nature.  This functionality should not be used until the Samba
     
    421421configuration and management requirements. Samba can act as a NT4-style domain controller in a Windows 2000/XP
    422422environment. However, there are certain compromises:
    423 </p><div class="itemizedlist"><ul type="disc"><li><p>No machine policy files.</p></li><li><p>No Group Policy Objects.</p></li><li><p>No synchronously executed Active Directory logon scripts.</p></li><li><p>Can't use Active Directory management tools to manage users and machines.</p></li><li><p>Registry changes tattoo the main registry, while with Active Directory they do not leave
    424                 permanent changes in effect.</p></li><li><p>Without Active Directory you cannot perform the function of exporting specific
    425                 applications to specific users or groups.</p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2563009"></a>Preparing for Domain Control</h3></div></div></div><p>
    426 <a class="indexterm" name="id2563018"></a>
    427 <a class="indexterm" name="id2563024"></a>
    428 <a class="indexterm" name="id2563031"></a>
    429 <a class="indexterm" name="id2563038"></a>
     423</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>No machine policy files.</p></li><li class="listitem"><p>No Group Policy Objects.</p></li><li class="listitem"><p>No synchronously executed Active Directory logon scripts.</p></li><li class="listitem"><p>Can't use Active Directory management tools to manage users and machines.</p></li><li class="listitem"><p>Registry changes tattoo the main registry, while with Active Directory they do not leave
     424                permanent changes in effect.</p></li><li class="listitem"><p>Without Active Directory you cannot perform the function of exporting specific
     425                applications to specific users or groups.</p></li></ul></div></div><div class="sect2" title="Preparing for Domain Control"><div class="titlepage"><div><div><h3 class="title"><a name="id2569068"></a>Preparing for Domain Control</h3></div></div></div><p>
     426<a class="indexterm" name="id2569076"></a>
     427<a class="indexterm" name="id2569083"></a>
     428<a class="indexterm" name="id2569090"></a>
     429<a class="indexterm" name="id2569097"></a>
    430430There are two ways that MS Windows machines may interact with each other, with other servers,
    431431and with domain controllers: either as <span class="emphasis"><em>standalone</em></span> systems, more commonly
     
    433433more commonly called <span class="emphasis"><em>domain</em></span> members.
    434434</p><p>
    435 <a class="indexterm" name="id2563063"></a>
    436 <a class="indexterm" name="id2563070"></a>
    437 <a class="indexterm" name="id2563079"></a>
     435<a class="indexterm" name="id2569122"></a>
     436<a class="indexterm" name="id2569129"></a>
     437<a class="indexterm" name="id2569138"></a>
    438438It should be noted that workgroup membership involves no special configuration other than the machine being
    439439configured so the network configuration has a commonly used name for its workgroup entry. It is not uncommon
     
    443443involve security machine accounts</em></span>.
    444444</p><p>
    445 <a class="indexterm" name="id2563102"></a>
    446 <a class="indexterm" name="id2563109"></a>
    447 <a class="indexterm" name="id2563119"></a>
     445<a class="indexterm" name="id2569161"></a>
     446<a class="indexterm" name="id2569168"></a>
     447<a class="indexterm" name="id2569177"></a>
    448448Domain member machines have a machine trust account in the domain accounts database. A special procedure
    449449must be followed on each machine to effect domain membership. This procedure, which can be done
     
    451451not exist), and then initializes that account. When the client first logs onto the
    452452domain, a machine trust account password change will be automatically triggered.
    453 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    454 <a class="indexterm" name="id2563138"></a>
     453</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     454<a class="indexterm" name="id2569196"></a>
    455455When Samba is configured as a domain controller, secure network operation demands that
    456456all MS Windows NT4/200x/XP Professional clients should be configured as domain members.
     
    461461The following are necessary for configuring Samba-3 as an MS Windows NT4-style PDC for MS Windows
    462462NT4/200x/XP clients:
    463 </p><div class="itemizedlist"><ul type="disc"><li><p>Configuration of basic TCP/IP and MS Windows networking.</p></li><li><p>Correct designation of the server role (<a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = user</a>).</p></li><li><p>Consistent configuration of name resolution.<sup>[<a name="id2563193" href="#ftn.id2563193" class="footnote">2</a>]</sup></p></li><li><p>Domain logons for Windows NT4/200x/XP Professional clients.</p></li><li><p>Configuration of roaming profiles or explicit configuration to force local profile usage.</p></li><li><p>Configuration of network/system policies.</p></li><li><p>Adding and managing domain user accounts.</p></li><li><p>Configuring MS Windows NT4/2000 Professional and Windows XP Professional client machines to become domain members.</p></li></ul></div><p>
     463</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Configuration of basic TCP/IP and MS Windows networking.</p></li><li class="listitem"><p>Correct designation of the server role (<a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = user</a>).</p></li><li class="listitem"><p>Consistent configuration of name resolution.<sup>[<a name="id2569252" href="#ftn.id2569252" class="footnote">2</a>]</sup></p></li><li class="listitem"><p>Domain logons for Windows NT4/200x/XP Professional clients.</p></li><li class="listitem"><p>Configuration of roaming profiles or explicit configuration to force local profile usage.</p></li><li class="listitem"><p>Configuration of network/system policies.</p></li><li class="listitem"><p>Adding and managing domain user accounts.</p></li><li class="listitem"><p>Configuring MS Windows NT4/2000 Professional and Windows XP Professional client machines to become domain members.</p></li></ul></div><p>
    464464The following provisions are required to serve MS Windows 9x/Me clients:
    465 </p><div class="itemizedlist"><ul type="disc"><li><p>Configuration of basic TCP/IP and MS Windows networking.</p></li><li><p>Correct designation of the server role (<a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = user</a>).</p></li><li><p>Network logon configuration (since Windows 9x/Me/XP Home are not technically domain
    466         members, they do not really participate in  the security aspects of Domain logons as such).</p></li><li><p>Roaming profile configuration.</p></li><li><p>Configuration of system policy handling.</p></li><li><p>Installation of the network driver &#8220;<span class="quote">Client for MS Windows Networks</span>&#8221; and configuration
    467         to log onto the domain.</p></li><li><p>Placing Windows 9x/Me clients in user-level security  if it is desired to allow
    468         all client-share access to be controlled according to domain user/group identities.</p></li><li><p>Adding and managing domain user accounts.</p></li></ul></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    469 <a class="indexterm" name="id2563315"></a>
    470 <a class="indexterm" name="id2563321"></a>
     465</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Configuration of basic TCP/IP and MS Windows networking.</p></li><li class="listitem"><p>Correct designation of the server role (<a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = user</a>).</p></li><li class="listitem"><p>Network logon configuration (since Windows 9x/Me/XP Home are not technically domain
     466        members, they do not really participate in  the security aspects of Domain logons as such).</p></li><li class="listitem"><p>Roaming profile configuration.</p></li><li class="listitem"><p>Configuration of system policy handling.</p></li><li class="listitem"><p>Installation of the network driver <span class="quote">&#8220;<span class="quote">Client for MS Windows Networks</span>&#8221;</span> and configuration
     467        to log onto the domain.</p></li><li class="listitem"><p>Placing Windows 9x/Me clients in user-level security  if it is desired to allow
     468        all client-share access to be controlled according to domain user/group identities.</p></li><li class="listitem"><p>Adding and managing domain user accounts.</p></li></ul></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     469<a class="indexterm" name="id2569374"></a>
     470<a class="indexterm" name="id2569380"></a>
    471471Roaming profiles and system/network policies are advanced network administration topics
    472472that are covered in <a class="link" href="ProfileMgmt.html" title="Chapter 27. Desktop Profile Management">Desktop Profile Management</a> and
     
    475475</p></div><p>
    476476A domain controller is an SMB/CIFS server that:
    477 </p><div class="itemizedlist"><ul type="disc"><li><p>
    478         <a class="indexterm" name="id2563357"></a>
    479         <a class="indexterm" name="id2563366"></a>
    480         <a class="indexterm" name="id2563373"></a>
    481         <a class="indexterm" name="id2563380"></a>
    482         <a class="indexterm" name="id2563387"></a>
     477</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     478        <a class="indexterm" name="id2569416"></a>
     479        <a class="indexterm" name="id2569425"></a>
     480        <a class="indexterm" name="id2569432"></a>
     481        <a class="indexterm" name="id2569439"></a>
     482        <a class="indexterm" name="id2569446"></a>
    483483        Registers and advertises itself as a domain controller (through NetBIOS broadcasts
    484484        as well as by way of name registrations either by Mailslot Broadcasts over UDP broadcast,
    485485        to a WINS server over UDP unicast, or via DNS and Active Directory).
    486         </p></li><li><p>
    487         <a class="indexterm" name="id2563402"></a>
    488         <a class="indexterm" name="id2563409"></a>
     486        </p></li><li class="listitem"><p>
     487        <a class="indexterm" name="id2569461"></a>
     488        <a class="indexterm" name="id2569468"></a>
    489489        Provides the NETLOGON service. (This is actually a collection of services that runs over
    490490        multiple protocols. These include the LanMan logon service, the Netlogon service,
    491491        the Local Security Account service, and variations of them.)
    492         </p></li><li><p>
     492        </p></li><li class="listitem"><p>
    493493        Provides a share called NETLOGON.
    494494        </p></li></ul></div><p>
    495 <a class="indexterm" name="id2563430"></a>
    496 <a class="indexterm" name="id2563441"></a>
    497 <a class="indexterm" name="id2563453"></a>
    498 <a class="indexterm" name="id2563460"></a>
    499 <a class="indexterm" name="id2563466"></a>
     495<a class="indexterm" name="id2569488"></a>
     496<a class="indexterm" name="id2569500"></a>
     497<a class="indexterm" name="id2569512"></a>
     498<a class="indexterm" name="id2569519"></a>
     499<a class="indexterm" name="id2569525"></a>
    500500It is rather easy to configure Samba to provide these. Each Samba domain controller must provide the NETLOGON
    501501service that Samba calls the <a class="link" href="smb.conf.5.html#DOMAINLOGONS" target="_top">domain logons</a> functionality (after the name of the
    502502parameter in the <code class="filename">smb.conf</code> file). Additionally, one server in a Samba-3 domain must advertise itself as the
    503 domain master browser.<sup>[<a name="id2563498" href="#ftn.id2563498" class="footnote">3</a>]</sup> This causes the PDC to claim a domain-specific NetBIOS name that identifies
     503domain master browser.<sup>[<a name="id2569557" href="#ftn.id2569557" class="footnote">3</a>]</sup> This causes the PDC to claim a domain-specific NetBIOS name that identifies
    504504it as a DMB for its given domain or workgroup. Local master browsers (LMBs) in the same domain or workgroup on
    505505broadcast-isolated subnets then ask for a complete copy of the browse list for the whole wide-area network.
    506506Browser clients then contact their LMB, and will receive the domain-wide browse list instead of just the list
    507507for their broadcast-isolated subnet.
    508 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2563520"></a>Domain Control: Example Configuration</h2></div></div></div><p>
     508</p></div></div><div class="sect1" title="Domain Control: Example Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2569579"></a>Domain Control: Example Configuration</h2></div></div></div><p>
    509509The first step in creating a working Samba PDC is to understand the parameters necessary
    510510in <code class="filename">smb.conf</code>. An example <code class="filename">smb.conf</code> for acting as a PDC can be found in <a class="link" href="samba-pdc.html#pdc-example" title="Example 4.1. smb.conf for being a PDC">the
    511511smb.conf file for an example PDC</a>.
    512 </p><div class="example"><a name="pdc-example"></a><p class="title"><b>Example 4.1. smb.conf for being a PDC</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2563575"></a></td></tr><tr><td><a class="indexterm" name="id2563582"></a></td></tr><tr><td><a class="indexterm" name="id2563589"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2563601"></a><em class="parameter"><code>os level = 33</code></em></td></tr><tr><td><a class="indexterm" name="id2563612"></a><em class="parameter"><code>preferred master = auto</code></em></td></tr><tr><td><a class="indexterm" name="id2563624"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563636"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563648"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2563659"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563671"></a><em class="parameter"><code>logon path = \\%N\profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2563683"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2563694"></a><em class="parameter"><code>logon home = \\homeserver\%U\winprofile</code></em></td></tr><tr><td><a class="indexterm" name="id2563706"></a><em class="parameter"><code>logon script = logon.cmd</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="id2563727"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2563739"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563751"></a></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[profiles]</code></em></td></tr><tr><td><a class="indexterm" name="id2563766"></a><em class="parameter"><code>path = /var/lib/samba/profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2563778"></a><em class="parameter"><code>read only = no</code></em></td></tr><tr><td><a class="indexterm" name="id2563790"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2563801"></a><em class="parameter"><code>directory mask = 0700</code></em></td></tr></table></div></div><br class="example-break"><p>
     512</p><div class="example"><a name="pdc-example"></a><p class="title"><b>Example 4.1. smb.conf for being a PDC</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2569634"></a></td></tr><tr><td><a class="indexterm" name="id2569641"></a></td></tr><tr><td><a class="indexterm" name="id2569647"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2569659"></a><em class="parameter"><code>os level = 33</code></em></td></tr><tr><td><a class="indexterm" name="id2569671"></a><em class="parameter"><code>preferred master = auto</code></em></td></tr><tr><td><a class="indexterm" name="id2569683"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2569694"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2569706"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2569718"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2569730"></a><em class="parameter"><code>logon path = \\%N\profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2569741"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2569753"></a><em class="parameter"><code>logon home = \\homeserver\%U\winprofile</code></em></td></tr><tr><td><a class="indexterm" name="id2569765"></a><em class="parameter"><code>logon script = logon.cmd</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="id2569786"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2569798"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2569809"></a></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[profiles]</code></em></td></tr><tr><td><a class="indexterm" name="id2569825"></a><em class="parameter"><code>path = /var/lib/samba/profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2569837"></a><em class="parameter"><code>read only = no</code></em></td></tr><tr><td><a class="indexterm" name="id2569848"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2569860"></a><em class="parameter"><code>directory mask = 0700</code></em></td></tr></table></div></div><br class="example-break"><p>
    513513The basic options shown in <a class="link" href="samba-pdc.html#pdc-example" title="Example 4.1. smb.conf for being a PDC">this example</a> are explained as follows:
    514514</p><div class="variablelist"><dl><dt><span class="term">passdb backend </span></dt><dd><p>
    515                 <a class="indexterm" name="id2563836"></a>
    516                 <a class="indexterm" name="id2563845"></a>
    517                 <a class="indexterm" name="id2563852"></a>
    518                 <a class="indexterm" name="id2563858"></a>
    519                 <a class="indexterm" name="id2563865"></a>
    520                 <a class="indexterm" name="id2563872"></a>
     515                <a class="indexterm" name="id2569894"></a>
     516                <a class="indexterm" name="id2569903"></a>
     517                <a class="indexterm" name="id2569910"></a>
     518                <a class="indexterm" name="id2569917"></a>
     519                <a class="indexterm" name="id2569924"></a>
     520                <a class="indexterm" name="id2569931"></a>
    521521                This contains all the user and group account information. Acceptable values for a PDC
    522                 are: <span class="emphasis"><em>smbpasswd, tdbsam, and ldapsam</em></span>. The &#8220;<span class="quote">guest</span>&#8221; entry provides
     522                are: <span class="emphasis"><em>smbpasswd, tdbsam, and ldapsam</em></span>. The <span class="quote">&#8220;<span class="quote">guest</span>&#8221;</span> entry provides
    523523                default accounts and is included by default; there is no need to add it explicitly.
    524524                </p><p>
    525                 <a class="indexterm" name="id2563893"></a>
    526                 <a class="indexterm" name="id2563900"></a>
    527                 <a class="indexterm" name="id2563907"></a>
    528                 <a class="indexterm" name="id2563914"></a>
     525                <a class="indexterm" name="id2569952"></a>
     526                <a class="indexterm" name="id2569959"></a>
     527                <a class="indexterm" name="id2569966"></a>
     528                <a class="indexterm" name="id2569972"></a>
    529529                Where use of BDCs is intended, the only logical choice is
    530530                to use LDAP so the passdb backend can be distributed. The tdbsam and smbpasswd files
    531531                cannot effectively be distributed and therefore should not be used.
    532532                </p></dd><dt><span class="term">Domain Control Parameters </span></dt><dd><p>
    533                 <a class="indexterm" name="id2563935"></a>
    534                 <a class="indexterm" name="id2563941"></a>
    535                 <a class="indexterm" name="id2563948"></a>
    536                 <a class="indexterm" name="id2563955"></a>
     533                <a class="indexterm" name="id2569993"></a>
     534                <a class="indexterm" name="id2570000"></a>
     535                <a class="indexterm" name="id2570007"></a>
     536                <a class="indexterm" name="id2570014"></a>
    537537                The parameters <span class="emphasis"><em>os level, preferred master, domain master, security,
    538538                encrypt passwords</em></span>, and <span class="emphasis"><em>domain logons</em></span> play a central role in assuring domain
    539539                control and network logon support.
    540540                </p><p>
    541                 <a class="indexterm" name="id2563978"></a>
    542                 <a class="indexterm" name="id2563984"></a>
     541                <a class="indexterm" name="id2570037"></a>
     542                <a class="indexterm" name="id2570043"></a>
    543543                The <span class="emphasis"><em>os level</em></span> must be set at or above a value of 32. A domain controller
    544544                must be the DMB, must be set in <span class="emphasis"><em>user</em></span> mode security,
     
    547547                to do this, refer to <a class="link" href="passdb.html" title="Chapter 11. Account Information Databases">Account Information Databases</a>.
    548548                </p></dd><dt><span class="term">Environment Parameters </span></dt><dd><p>
    549                 <a class="indexterm" name="id2564022"></a>
    550                 <a class="indexterm" name="id2564028"></a>
    551                 <a class="indexterm" name="id2564035"></a>
    552                 <a class="indexterm" name="id2564042"></a>
     549                <a class="indexterm" name="id2570080"></a>
     550                <a class="indexterm" name="id2570087"></a>
     551                <a class="indexterm" name="id2570094"></a>
     552                <a class="indexterm" name="id2570101"></a>
    553553                The parameters <span class="emphasis"><em>logon path, logon home, logon drive</em></span>, and <span class="emphasis"><em>logon script</em></span> are
    554554                environment support settings that help to facilitate client logon operations and that help
     
    556556                to the man page information for these parameters.
    557557                </p></dd><dt><span class="term">NETLOGON Share </span></dt><dd><p>
    558                 <a class="indexterm" name="id2564071"></a>
    559                 <a class="indexterm" name="id2564078"></a>
    560                 <a class="indexterm" name="id2564085"></a>
    561                 <a class="indexterm" name="id2564092"></a>
    562                 <a class="indexterm" name="id2564099"></a>
    563                 <a class="indexterm" name="id2564106"></a>
     558                <a class="indexterm" name="id2570130"></a>
     559                <a class="indexterm" name="id2570137"></a>
     560                <a class="indexterm" name="id2570144"></a>
     561                <a class="indexterm" name="id2570151"></a>
     562                <a class="indexterm" name="id2570158"></a>
     563                <a class="indexterm" name="id2570165"></a>
    564564                The NETLOGON share plays a central role in domain logon and domain membership support.
    565565                This share is provided on all Microsoft domain controllers. It is used to provide logon
     
    567567                tools that may be needed for logon processing. This is an essential share on a domain controller.
    568568                </p></dd><dt><span class="term">PROFILE Share </span></dt><dd><p>
    569                 <a class="indexterm" name="id2564129"></a>
    570                 <a class="indexterm" name="id2564136"></a>
    571                 <a class="indexterm" name="id2564143"></a>
    572                 <a class="indexterm" name="id2564150"></a>
    573                 <a class="indexterm" name="id2564156"></a>
     569                <a class="indexterm" name="id2570188"></a>
     570                <a class="indexterm" name="id2570195"></a>
     571                <a class="indexterm" name="id2570201"></a>
     572                <a class="indexterm" name="id2570208"></a>
     573                <a class="indexterm" name="id2570215"></a>
    574574                This share is used to store user desktop profiles. Each user must have a directory at the root
    575575                of this share. This directory must be write-enabled for the user and must be globally read-enabled.
    576                 Samba-3 has a VFS module called &#8220;<span class="quote">fake_permissions</span>&#8221; that may be installed on this share. This will
     576                Samba-3 has a VFS module called <span class="quote">&#8220;<span class="quote">fake_permissions</span>&#8221;</span> that may be installed on this share. This will
    577577                allow a Samba administrator to make the directory read-only to everyone. Of course this is useful
    578578                only after the profile has been properly created.
    579                 </p></dd></dl></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     579                </p></dd></dl></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    580580The above parameters make for a full set of functionality that may define the server's mode
    581581of operation. The following <code class="filename">smb.conf</code> parameters are the essentials alone:
    582582</p><p>
    583 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2564197"></a><em class="parameter"><code>netbios name = BELERIAND</code></em></td></tr><tr><td><a class="indexterm" name="id2564208"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2564220"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564232"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564244"></a><em class="parameter"><code>security = User</code></em></td></tr></table><p>
     583</p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2570255"></a><em class="parameter"><code>netbios name = BELERIAND</code></em></td></tr><tr><td><a class="indexterm" name="id2570267"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2570279"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2570291"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2570302"></a><em class="parameter"><code>security = User</code></em></td></tr></table><p>
    584584</p><p>
    585585The additional parameters shown in the longer listing in this section just make for
    586586a more complete explanation.
    587 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2564263"></a>Samba ADS Domain Control</h2></div></div></div><p>
    588 <a class="indexterm" name="id2564271"></a>
     587</p></div></div><div class="sect1" title="Samba ADS Domain Control"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2570321"></a>Samba ADS Domain Control</h2></div></div></div><p>
     588<a class="indexterm" name="id2570329"></a>
    589589Samba-3 is not, and cannot act as, an Active Directory server. It cannot truly function as an Active Directory
    590590PDC. The protocols for some of the functionality of Active Directory domain controllers has been partially
     
    595595someday or maybe never!
    596596</p><p>
    597 <a class="indexterm" name="id2564292"></a>
    598 <a class="indexterm" name="id2564299"></a>
     597<a class="indexterm" name="id2570351"></a>
     598<a class="indexterm" name="id2570358"></a>
    599599To be sure, Samba-3 is designed to provide most of the functionality that Microsoft Windows NT4-style
    600600domain controllers have. Samba-3 does not have all the capabilities of Windows NT4, but it does have
     
    602602is not Windows Server 200x: it is not an Active Directory server. We hope this is plain and simple
    603603enough for all to understand.
    604 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2564316"></a>Domain and Network Logon Configuration</h2></div></div></div><p>
    605 <a class="indexterm" name="id2564324"></a>
     604</p></div><div class="sect1" title="Domain and Network Logon Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2570374"></a>Domain and Network Logon Configuration</h2></div></div></div><p>
     605<a class="indexterm" name="id2570382"></a>
    606606The subject of network or domain logons is discussed here because it forms
    607607an integral part of the essential functionality that is provided by a domain controller.
    608 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2564335"></a>Domain Network Logon Service</h3></div></div></div><p>
    609 <a class="indexterm" name="id2564343"></a>
     608</p><div class="sect2" title="Domain Network Logon Service"><div class="titlepage"><div><div><h3 class="title"><a name="id2570393"></a>Domain Network Logon Service</h3></div></div></div><p>
     609<a class="indexterm" name="id2570402"></a>
    610610All domain controllers must run the netlogon service (<span class="emphasis"><em>domain logons</em></span>
    611611in Samba). One domain controller must be configured with <a class="link" href="smb.conf.5.html#DOMAINMASTER" target="_top">domain master = Yes</a>
    612612(the PDC); on all BDCs set the parameter <a class="link" href="smb.conf.5.html#DOMAINMASTER" target="_top">domain master = No</a>.
    613 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2564382"></a>Example Configuration</h4></div></div></div><div class="example"><a name="PDC-config"></a><p class="title"><b>Example 4.2. smb.conf for being a PDC</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2564412"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564423"></a><em class="parameter"><code>domain master = (Yes on PDC, No on BDCs)</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="id2564444"></a><em class="parameter"><code>comment = Network Logon Service</code></em></td></tr><tr><td><a class="indexterm" name="id2564456"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2564467"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564479"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2564493"></a>The Special Case of MS Windows XP Home Edition</h4></div></div></div><p>
    614 <a class="indexterm" name="id2564501"></a>
     613</p><div class="sect3" title="Example Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2570441"></a>Example Configuration</h4></div></div></div><div class="example"><a name="PDC-config"></a><p class="title"><b>Example 4.2. smb.conf for being a PDC</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2570470"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2570482"></a><em class="parameter"><code>domain master = (Yes on PDC, No on BDCs)</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="id2570502"></a><em class="parameter"><code>comment = Network Logon Service</code></em></td></tr><tr><td><a class="indexterm" name="id2570514"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2570526"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2570538"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect3" title="The Special Case of MS Windows XP Home Edition"><div class="titlepage"><div><div><h4 class="title"><a name="id2570551"></a>The Special Case of MS Windows XP Home Edition</h4></div></div></div><p>
     614<a class="indexterm" name="id2570560"></a>
    615615To be completely clear: If you want MS Windows XP Home Edition to integrate with your
    616616MS Windows NT4 or Active Directory domain security, understand it cannot be done.
    617617The only option is to purchase the upgrade from MS Windows XP Home Edition to
    618618MS Windows XP Professional.
    619 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     619</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    620620MS Windows XP Home Edition does not have the ability to join any type of domain
    621621security facility. Unlike MS Windows 9x/Me, MS Windows XP Home Edition also completely
     
    626626If it can be done, then to do so would violate your software license agreement with
    627627Microsoft, and we recommend that you do not do that.
    628 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2564531"></a>The Special Case of Windows 9x/Me</h4></div></div></div><p>
    629 <a class="indexterm" name="id2564540"></a>
    630 <a class="indexterm" name="id2564546"></a>
    631 <a class="indexterm" name="id2564553"></a>
    632 <a class="indexterm" name="id2564560"></a>
    633 <a class="indexterm" name="id2564567"></a>
     628</p></div><div class="sect3" title="The Special Case of Windows 9x/Me"><div class="titlepage"><div><div><h4 class="title"><a name="id2570590"></a>The Special Case of Windows 9x/Me</h4></div></div></div><p>
     629<a class="indexterm" name="id2570598"></a>
     630<a class="indexterm" name="id2570605"></a>
     631<a class="indexterm" name="id2570612"></a>
     632<a class="indexterm" name="id2570619"></a>
     633<a class="indexterm" name="id2570626"></a>
    634634A domain and a workgroup are exactly the same in terms of network
    635635browsing. The difference is that a distributable authentication
     
    639639now in the same way as MS Windows NT/200x.
    640640</p><p>
    641 <a class="indexterm" name="id2564583"></a>
     641<a class="indexterm" name="id2570642"></a>
    642642The SMB client logging on to a domain has an expectation that every other
    643643server in the domain should accept the same authentication information.
     
    646646It should be noted that browsing is totally orthogonal to logon support.
    647647</p><p>
    648 <a class="indexterm" name="id2564600"></a>
    649 <a class="indexterm" name="id2564606"></a>
    650 <a class="indexterm" name="id2564613"></a>
     648<a class="indexterm" name="id2570658"></a>
     649<a class="indexterm" name="id2570665"></a>
     650<a class="indexterm" name="id2570672"></a>
    651651Issues related to the single-logon network model are discussed in this
    652652section. Samba supports domain logons, network logon scripts, and user
     
    654654which are the focus of this section.
    655655</p><p>
    656 <a class="indexterm" name="id2564628"></a>
     656<a class="indexterm" name="id2570686"></a>
    657657When an SMB client in a domain wishes to log on, it broadcasts requests for a logon server. The first one to
    658658reply gets the job and validates its password using whatever mechanism the Samba administrator has installed.
     
    669669Before launching into the configuration instructions, it is worthwhile to look at how a Windows 9x/Me client
    670670performs a logon:
    671 </p><div class="orderedlist"><ol type="1"><li><p>
    672         <a class="indexterm" name="id2564674"></a>
    673         <a class="indexterm" name="id2564681"></a>
     671</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
     672        <a class="indexterm" name="id2570733"></a>
     673        <a class="indexterm" name="id2570740"></a>
    674674        The client broadcasts (to the IP broadcast address of the subnet it is in)
    675675        a NetLogon request. This is sent to the NetBIOS name DOMAIN&lt;1C&gt; at the
     
    679679        type that is registered by domain controllers (SMB/CIFS servers that provide
    680680        the netlogon service).
    681         </p></li><li><p>
    682         <a class="indexterm" name="id2564723"></a>
    683         <a class="indexterm" name="id2564730"></a>
    684         <a class="indexterm" name="id2564737"></a>
     681        </p></li><li class="listitem"><p>
     682        <a class="indexterm" name="id2570782"></a>
     683        <a class="indexterm" name="id2570788"></a>
     684        <a class="indexterm" name="id2570795"></a>
    685685        The client connects to that server, logs on (does an SMBsessetupX) and
    686686        then connects to the IPC$ share (using an SMBtconX).
    687         </p></li><li><p>
    688         <a class="indexterm" name="id2564752"></a>
     687        </p></li><li class="listitem"><p>
     688        <a class="indexterm" name="id2570811"></a>
    689689        The client does a NetWkstaUserLogon request, which retrieves the name
    690690        of the user's logon script.
    691         </p></li><li><p>
     691        </p></li><li class="listitem"><p>
    692692        The client then connects to the NetLogon share and searches for said script.   
    693693        If it is found and can be read, it is retrieved and executed by the client.
    694694        After this, the client disconnects from the NetLogon share.
    695         </p></li><li><p>
    696         <a class="indexterm" name="id2564777"></a>
    697         <a class="indexterm" name="id2564784"></a>
     695        </p></li><li class="listitem"><p>
     696        <a class="indexterm" name="id2570836"></a>
     697        <a class="indexterm" name="id2570843"></a>
    698698        The client sends a NetUserGetInfo request to the server to retrieve
    699699        the user's home share, which is used to search for profiles. Since the
     
    701701        the user's home share, profiles for Windows 9x clients must reside in the user
    702702        home directory.
    703         </p></li><li><p>
    704         <a class="indexterm" name="id2564803"></a>
     703        </p></li><li class="listitem"><p>
     704        <a class="indexterm" name="id2570862"></a>
    705705        The client connects to the user's home share and searches for the
    706706        user's profile. As it turns out, you can specify the user's home share as
    707707        a share name and path. For example, <code class="filename">\\server\fred\.winprofile</code>.
    708708        If the profiles are found, they are implemented.
    709         </p></li><li><p>
    710         <a class="indexterm" name="id2564826"></a>
     709        </p></li><li class="listitem"><p>
     710        <a class="indexterm" name="id2570885"></a>
    711711        The client then disconnects from the user's home share and reconnects to
    712712        the NetLogon share and looks for <code class="filename">CONFIG.POL</code>, the policies file. If this is
     
    714714        </p></li></ol></div><p>
    715715The main difference between a PDC and a Windows 9x/Me logon server configuration is:
    716 </p><div class="itemizedlist"><ul type="disc"><li><p>
    717         <a class="indexterm" name="id2564856"></a>
    718         <a class="indexterm" name="id2564865"></a>
     716</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     717        <a class="indexterm" name="id2570914"></a>
     718        <a class="indexterm" name="id2570923"></a>
    719719        Password encryption is not required for a Windows 9x/Me logon server. But note
    720720        that beginning with MS Windows 98 the default setting is that plaintext
    721721        password support is disabled. It can be re-enabled with the registry
    722722        changes that are documented in <a class="link" href="PolicyMgmt.html" title="Chapter 26. System and Account Policies">System and Account Policies</a>.
    723         </p></li><li><p>
    724         <a class="indexterm" name="id2564888"></a>
     723        </p></li><li class="listitem"><p>
     724        <a class="indexterm" name="id2570946"></a>
    725725        Windows 9x/Me clients do not require and do not use Machine Trust Accounts.
    726726        </p></li></ul></div><p>
    727 <a class="indexterm" name="id2564900"></a>
     727<a class="indexterm" name="id2570959"></a>
    728728A Samba PDC will act as a Windows 9x/Me logon server; after all, it does provide the
    729729network logon services that MS Windows 9x/Me expect to find.
    730 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    731 <a class="indexterm" name="id2564914"></a>
     730</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     731<a class="indexterm" name="id2570973"></a>
    732732Use of plaintext passwords is strongly discouraged. Where used they are easily detected
    733733using a sniffer tool to examine network traffic.
    734 </p></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2564926"></a>Security Mode and Master Browsers</h3></div></div></div><p>
    735 <a class="indexterm" name="id2564934"></a>
    736 <a class="indexterm" name="id2564941"></a>
    737 <a class="indexterm" name="id2564948"></a>
     734</p></div></div></div><div class="sect2" title="Security Mode and Master Browsers"><div class="titlepage"><div><div><h3 class="title"><a name="id2570985"></a>Security Mode and Master Browsers</h3></div></div></div><p>
     735<a class="indexterm" name="id2570993"></a>
     736<a class="indexterm" name="id2571000"></a>
     737<a class="indexterm" name="id2571007"></a>
    738738There are a few comments to make in order to tie up some loose ends. There has been much debate over the issue
    739739of whether it is okay to configure Samba as a domain controller that operates with security mode other than
     
    741741and server mode security are really just a variation on SMB user-level security.
    742742</p><p>
    743 <a class="indexterm" name="id2564972"></a>
    744 <a class="indexterm" name="id2564979"></a>
    745 <a class="indexterm" name="id2564986"></a>
    746 <a class="indexterm" name="id2564993"></a>
    747 <a class="indexterm" name="id2564999"></a>
    748 <a class="indexterm" name="id2565006"></a>
    749 <a class="indexterm" name="id2565013"></a>
     743<a class="indexterm" name="id2571031"></a>
     744<a class="indexterm" name="id2571038"></a>
     745<a class="indexterm" name="id2571045"></a>
     746<a class="indexterm" name="id2571051"></a>
     747<a class="indexterm" name="id2571058"></a>
     748<a class="indexterm" name="id2571065"></a>
     749<a class="indexterm" name="id2571072"></a>
    750750Actually, this issue is also closely tied to the debate on whether Samba must be the DMB for its workgroup
    751751when operating as a domain controller.  In a pure Microsoft Windows NT domain, the PDC wins the election to be
     
    757757Windows event logger complaining that it has lost the election to become a DMB.  For this reason, in networks
    758758where a Samba server is the PDC it is wise to configure the Samba domain controller as the DMB.
    759 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    760 <a class="indexterm" name="id2565067"></a>
    761 <a class="indexterm" name="id2565074"></a>
    762 <a class="indexterm" name="id2565080"></a>
    763 <a class="indexterm" name="id2565087"></a>
    764 <a class="indexterm" name="id2565094"></a>
     759</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     760<a class="indexterm" name="id2571126"></a>
     761<a class="indexterm" name="id2571132"></a>
     762<a class="indexterm" name="id2571139"></a>
     763<a class="indexterm" name="id2571146"></a>
     764<a class="indexterm" name="id2571153"></a>
    765765SMB/CIFS servers that register the DOMAIN&lt;1C&gt; name do so because they provide the network logon
    766766service. Server that register the DOMAIN&lt;1B&gt; name are DMBs  meaning that they are responsible
     
    783783to be the DMB for its domain and set <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = user</a>.
    784784This is the only officially supported mode of operation.
    785 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2565206"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2565212"></a>&#8220;<span class="quote">$</span>&#8221; Cannot Be Included in Machine Name</h3></div></div></div><p>
    786 <a class="indexterm" name="id2565222"></a>
    787 <a class="indexterm" name="id2565229"></a>
    788 <a class="indexterm" name="id2565235"></a>
     785</p></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2571265"></a>Common Errors</h2></div></div></div><div class="sect2" title="&#8220;$&#8221; Cannot Be Included in Machine Name"><div class="titlepage"><div><div><h3 class="title"><a name="id2571270"></a><span class="quote">&#8220;<span class="quote">$</span>&#8221;</span> Cannot Be Included in Machine Name</h3></div></div></div><p>
     786<a class="indexterm" name="id2571281"></a>
     787<a class="indexterm" name="id2571287"></a>
     788<a class="indexterm" name="id2571294"></a>
    789789A machine account, typically stored in <code class="filename">/etc/passwd</code>, takes the form of the machine
    790 name with a &#8220;<span class="quote">$</span>&#8221; appended. Some BSD systems will not create a user with a &#8220;<span class="quote">$</span>&#8221; in the name.
     790name with a <span class="quote">&#8220;<span class="quote">$</span>&#8221;</span> appended. Some BSD systems will not create a user with a <span class="quote">&#8220;<span class="quote">$</span>&#8221;</span> in the name.
    791791Recent versions of FreeBSD have removed this limitation, but older releases are still in common use.
    792792</p><p>
    793 <a class="indexterm" name="id2565261"></a>
     793<a class="indexterm" name="id2571320"></a>
    794794The problem is only in the program used to make the entry. Once made, it works perfectly.  Create a user
    795 without the &#8220;<span class="quote">$</span>&#8221;. Then use <code class="literal">vipw</code> to edit the entry, adding the &#8220;<span class="quote">$</span>&#8221;.
     795without the <span class="quote">&#8220;<span class="quote">$</span>&#8221;</span>. Then use <code class="literal">vipw</code> to edit the entry, adding the <span class="quote">&#8220;<span class="quote">$</span>&#8221;</span>.
    796796Or create the whole entry with vipw if you like; make sure you use a unique user login ID.
    797 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>The machine account must have the exact name that the workstation has.</p></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     797</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>The machine account must have the exact name that the workstation has.</p></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    798798The UNIX tool <code class="literal">vipw</code> is a common tool for directly editing the <code class="filename">/etc/passwd</code> file.
    799799The use of vipw will ensure that shadow files (where used) will remain current with the passwd file. This is
    800800important for security reasons.
    801 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2565312"></a>Joining Domain Fails Because of Existing Machine Account</h3></div></div></div><p>
    802 <a class="indexterm" name="id2565321"></a>
    803 &#8220;<span class="quote">I get told, `You already have a connection to the Domain....' or `Cannot join domain, the
    804 credentials supplied conflict with an existing set...' when creating a Machine Trust Account.</span>&#8221;
     801</p></div></div><div class="sect2" title="Joining Domain Fails Because of Existing Machine Account"><div class="titlepage"><div><div><h3 class="title"><a name="id2571371"></a>Joining Domain Fails Because of Existing Machine Account</h3></div></div></div><p>
     802<a class="indexterm" name="id2571380"></a>
     803<span class="quote">&#8220;<span class="quote">I get told, `You already have a connection to the Domain....' or `Cannot join domain, the
     804credentials supplied conflict with an existing set...' when creating a Machine Trust Account.</span>&#8221;</span>
    805805</p><p>
    806806This happens if you try to create a Machine Trust Account from the machine itself and already have a
     
    812812This will break all network connections.
    813813</p><p>
    814 Further, if the machine is already a &#8220;<span class="quote">member of a workgroup</span>&#8221; that is the same name as the domain
     814Further, if the machine is already a <span class="quote">&#8220;<span class="quote">member of a workgroup</span>&#8221;</span> that is the same name as the domain
    815815you are joining (bad idea), you will get this message. Change the workgroup name to something else
    816816it does not matter what  reboot, and try again.
    817 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2565377"></a>The System Cannot Log You On (C000019B)</h3></div></div></div><p>&#8220;<span class="quote">
     817</p></div><div class="sect2" title="The System Cannot Log You On (C000019B)"><div class="titlepage"><div><div><h3 class="title"><a name="id2571436"></a>The System Cannot Log You On (C000019B)</h3></div></div></div><p><span class="quote">&#8220;<span class="quote">
    818818I joined the domain successfully but after upgrading to a newer version of the Samba code I get the message,
    819819<span class="errorname">`The system cannot log you on (C000019B). Please try again or consult your system
    820 administrator</span> when attempting to logon.'</span>&#8221;
    821 </p><p>
    822 <a class="indexterm" name="id2565398"></a>
     820administrator</span> when attempting to logon.'</span>&#8221;</span>
     821</p><p>
     822<a class="indexterm" name="id2571457"></a>
    823823This occurs when the domain SID stored in the secrets.tdb database is changed. The most common cause of a
    824824change in domain SID is when the domain name and/or the server name (NetBIOS name) is changed.  The only way
     
    837837can be recovered from the secrets.tdb file. The alternative is to visit each workstation to rejoin
    838838it to the domain.
    839 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2565454"></a>The Machine Trust Account Is Not Accessible</h3></div></div></div><p>
    840 &#8220;<span class="quote">When I try to join the domain I get the message, <span class="errorname">"The machine account
    841 for this computer either does not exist or is not accessible</span>." What's wrong?</span>&#8221;
     839</p></div><div class="sect2" title="The Machine Trust Account Is Not Accessible"><div class="titlepage"><div><div><h3 class="title"><a name="id2571512"></a>The Machine Trust Account Is Not Accessible</h3></div></div></div><p>
     840<span class="quote">&#8220;<span class="quote">When I try to join the domain I get the message, <span class="errorname">"The machine account
     841for this computer either does not exist or is not accessible</span>." What's wrong?</span>&#8221;</span>
    842842</p><p>
    843843This problem is caused by the PDC not having a suitable Machine Trust Account.  If you are using the
     
    848848sure that you have the entry correct for the Machine Trust Account in <code class="filename">smbpasswd</code> file on
    849849the Samba PDC.  If you added the account using an editor rather than using the smbpasswd utility, make sure
    850 that the account name is the machine NetBIOS name with a &#8220;<span class="quote">$</span>&#8221; appended to it (i.e.,
     850that the account name is the machine NetBIOS name with a <span class="quote">&#8220;<span class="quote">$</span>&#8221;</span> appended to it (i.e.,
    851851computer_name$). There must be an entry in both the POSIX UNIX system account backend as well as in the
    852852SambaSAMAccount backend. The default backend for Samba-3 (i.e., the parameter <em class="parameter"><code>passdb
     
    859859Some people have also reported that inconsistent subnet masks between the Samba server and the NT
    860860client can cause this problem.  Make sure that these are consistent for both client and server.
    861 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2565573"></a>Account Disabled</h3></div></div></div><p>&#8220;<span class="quote">When I attempt to log in to a Samba domain from a NT4/W200x workstation,
    862 I get a message about my account being disabled.</span>&#8221;</p><p>
     861</p></div><div class="sect2" title="Account Disabled"><div class="titlepage"><div><div><h3 class="title"><a name="id2571632"></a>Account Disabled</h3></div></div></div><p><span class="quote">&#8220;<span class="quote">When I attempt to log in to a Samba domain from a NT4/W200x workstation,
     862I get a message about my account being disabled.</span>&#8221;</span></p><p>
    863863Enable the user accounts with <strong class="userinput"><code>smbpasswd -e <em class="replaceable"><code>username</code></em>
    864864</code></strong>. This is normally done as an account is created.
    865 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2565600"></a>Domain Controller Unavailable</h3></div></div></div><p>&#8220;<span class="quote">Until a few minutes after Samba has started, clients get the error `Domain Controller Unavailable'</span>&#8221;</p><p>
     865</p></div><div class="sect2" title="Domain Controller Unavailable"><div class="titlepage"><div><div><h3 class="title"><a name="id2571659"></a>Domain Controller Unavailable</h3></div></div></div><p><span class="quote">&#8220;<span class="quote">Until a few minutes after Samba has started, clients get the error `Domain Controller Unavailable'</span>&#8221;</span></p><p>
    866866A domain controller has to announce its role on the network. This usually takes a while. Be patient for up to 15 minutes,
    867867then try again.
    868 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2565619"></a>Cannot Log onto Domain Member Workstation After Joining Domain</h3></div></div></div><p>
    869 <a class="indexterm" name="id2565628"></a>
    870 <a class="indexterm" name="id2565634"></a>
     868</p></div><div class="sect2" title="Cannot Log onto Domain Member Workstation After Joining Domain"><div class="titlepage"><div><div><h3 class="title"><a name="id2571678"></a>Cannot Log onto Domain Member Workstation After Joining Domain</h3></div></div></div><p>
     869<a class="indexterm" name="id2571686"></a>
     870<a class="indexterm" name="id2571693"></a>
    871871After successfully joining the domain, user logons fail with one of two messages: one to the
    872872effect that the domain controller cannot be found; the other claims that the account does not
     
    885885</p><p>
    886886It is important that these be set consistently with the Samba-3 server settings.
    887 </p></div></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id2562687" href="#id2562687" class="para">1</a>] </sup>See also <a class="link" href="passdb.html" title="Chapter 11. Account Information Databases">Account Information
    888 Databases</a>.</p>.</div><div class="footnote"><p><sup>[<a name="ftn.id2563193" href="#id2563193" class="para">2</a>] </sup>See <a class="link" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing">Network Browsing</a>, and
    889                 <a class="link" href="integrate-ms-networks.html" title="Chapter 29. Integrating MS Windows Networks with Samba">Integrating MS Windows Networks with Samba</a>.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2563498" href="#id2563498" class="para">3</a>] </sup>See <a class="link" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing">Network
     887</p></div></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id2568746" href="#id2568746" class="para">1</a>] </sup>See also <a class="link" href="passdb.html" title="Chapter 11. Account Information Databases">Account Information
     888Databases</a>.</p>.</div><div class="footnote"><p><sup>[<a name="ftn.id2569252" href="#id2569252" class="para">2</a>] </sup>See <a class="link" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing">Network Browsing</a>, and
     889                <a class="link" href="integrate-ms-networks.html" title="Chapter 29. Integrating MS Windows Networks with Samba">Integrating MS Windows Networks with Samba</a>.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2569557" href="#id2569557" class="para">3</a>] </sup>See <a class="link" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing">Network
    890890Browsing</a>.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ServerType.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="type.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="samba-bdc.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 3. Server Types and Security Modes </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 5. Backup Domain Control</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/securing-samba.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 18. Securing Samba</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="locking.html" title="Chapter 17. File and Record Locking"><link rel="next" href="InterdomainTrusts.html" title="Chapter 19. Interdomain Trust Relationships"></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 18. Securing Samba</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="locking.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="InterdomainTrusts.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="securing-samba"></a>Chapter 18. Securing Samba</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="orgname">Samba Team</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">May 26, 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="securing-samba.html#id2618075">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2618174">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2618320">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2618336">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618490">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618550">Using Interface Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#firewallports">Using a Firewall</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2619044">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2619099">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2619142">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2619158">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2618075"></a>Introduction</h2></div></div></div><p>
    2 <a class="indexterm" name="id2618083"></a>
    3 <a class="indexterm" name="id2618090"></a>
    4 <a class="indexterm" name="id2618097"></a>
    5 <a class="indexterm" name="id2618104"></a>
    6 <a class="indexterm" name="id2618111"></a>
    7 <a class="indexterm" name="id2618117"></a>
    8 <a class="indexterm" name="id2618124"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 18. Securing Samba</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="locking.html" title="Chapter 17. File and Record Locking"><link rel="next" href="InterdomainTrusts.html" title="Chapter 19. Interdomain Trust Relationships"></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 18. Securing Samba</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="locking.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="InterdomainTrusts.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 18. Securing Samba"><div class="titlepage"><div><div><h2 class="title"><a name="securing-samba"></a>Chapter 18. Securing Samba</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">May 26, 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="securing-samba.html#id2624168">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2624266">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2624413">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2624429">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2624583">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2624642">Using Interface Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#firewallports">Using a Firewall</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2625141">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2625196">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2625240">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2625255">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a></span></dt></dl></dd></dl></div><div class="sect1" title="Introduction"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2624168"></a>Introduction</h2></div></div></div><p>
     2<a class="indexterm" name="id2624176"></a>
     3<a class="indexterm" name="id2624182"></a>
     4<a class="indexterm" name="id2624190"></a>
     5<a class="indexterm" name="id2624196"></a>
     6<a class="indexterm" name="id2624203"></a>
     7<a class="indexterm" name="id2624210"></a>
     8<a class="indexterm" name="id2624217"></a>
    99The information contained in this chapter applies in general to all Samba installations. Security is
    1010everyone's concern in the information technology world. A surprising number of Samba servers are being
     
    1313some  network administrators to insist on the installation of robust firewalls even on servers that are located
    1414inside secured networks. This chapter provides information to assist the administrator who understands
    15 how to create the needed barriers and deterents against &#8220;<span class="quote">the enemy</span>&#8221;, no matter where [s]he may
     15how to create the needed barriers and deterents against <span class="quote">&#8220;<span class="quote">the enemy</span>&#8221;</span>, no matter where [s]he may
    1616come from.
    1717</p><div class="blockquote"><blockquote class="blockquote"><p>
    18 A new apprentice reported for duty to the chief engineer of a boiler house. He said, &#8220;<span class="quote">Here I am,
    19 if you will show me the boiler I'll start working on it.</span>&#8221; Then engineer replied, &#8220;<span class="quote">You're leaning
    20 on it!</span>&#8221;
     18A new apprentice reported for duty to the chief engineer of a boiler house. He said, <span class="quote">&#8220;<span class="quote">Here I am,
     19if you will show me the boiler I'll start working on it.</span>&#8221;</span> Then engineer replied, <span class="quote">&#8220;<span class="quote">You're leaning
     20on it!</span>&#8221;</span>
    2121</p></blockquote></div><p>
    2222Security concerns are just like that. You need to know a little about the subject to appreciate
    2323how obvious most of it really is. The challenge for most of us is to discover that first morsel
    2424of knowledge with which we may unlock the secrets of the masters.
    25 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2618174"></a>Features and Benefits</h2></div></div></div><p>
    26 <a class="indexterm" name="id2618182"></a>
    27 <a class="indexterm" name="id2618189"></a>
    28 <a class="indexterm" name="id2618196"></a>
    29 <a class="indexterm" name="id2618203"></a>
     25</p></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2624266"></a>Features and Benefits</h2></div></div></div><p>
     26<a class="indexterm" name="id2624274"></a>
     27<a class="indexterm" name="id2624281"></a>
     28<a class="indexterm" name="id2624288"></a>
     29<a class="indexterm" name="id2624295"></a>
    3030There are three levels at which security principles must be observed in order to render a site
    3131at least moderately secure. They are the perimeter firewall, the configuration of the host
     
    3535the latest protocols to permit more secure MS Windows file and print operations.
    3636</p><p>
    37 <a class="indexterm" name="id2618223"></a>
    38 <a class="indexterm" name="id2618230"></a>
    39 <a class="indexterm" name="id2618237"></a>
     37<a class="indexterm" name="id2624316"></a>
     38<a class="indexterm" name="id2624323"></a>
     39<a class="indexterm" name="id2624330"></a>
    4040Samba can be secured from connections that originate from outside the local network. This can be done using
    4141<span class="emphasis"><em>host-based protection</em></span>, using Samba's implementation of a technology known as
    42 &#8220;<span class="quote">tcpwrappers,</span>&#8221; or it may be done be using <span class="emphasis"><em>interface-based exclusion</em></span> so
     42<span class="quote">&#8220;<span class="quote">tcpwrappers,</span>&#8221;</span> or it may be done be using <span class="emphasis"><em>interface-based exclusion</em></span> so
    4343<span class="application">smbd</span> will bind only to specifically permitted interfaces. It is also possible to set specific share- or
    4444resource-based exclusions, for example, on the <em class="parameter"><code>[IPC$]</code></em> autoshare. The <em class="parameter"><code>[IPC$]</code></em> share is used for browsing purposes as well as to establish TCP/IP connections.
    4545</p><p>
    46 <a class="indexterm" name="id2618284"></a>
    47 <a class="indexterm" name="id2618294"></a>
    48 <a class="indexterm" name="id2618300"></a>
     46<a class="indexterm" name="id2624377"></a>
     47<a class="indexterm" name="id2624386"></a>
     48<a class="indexterm" name="id2624393"></a>
    4949Another method by which Samba may be secured is by setting Access Control Entries (ACEs) in an Access
    5050Control List (ACL) on the shares themselves. This is discussed in
    5151<a class="link" href="AccessControls.html" title="Chapter 16. File, Directory, and Share Access Controls">File, Directory, and Share Access Controls</a>.
    52 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2618320"></a>Technical Discussion of Protective Measures and Issues</h2></div></div></div><p>
     52</p></div><div class="sect1" title="Technical Discussion of Protective Measures and Issues"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2624413"></a>Technical Discussion of Protective Measures and Issues</h2></div></div></div><p>
    5353The key challenge of security is that protective measures suffice at best
    5454only to close the door on known exploits and breach techniques. Never assume that
     
    5656fortress! Given the history of information systems so far, it is only a matter of time
    5757before someone will find yet another vulnerability.
    58 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2618336"></a>Using Host-Based Protection</h3></div></div></div><p>
    59 <a class="indexterm" name="id2618344"></a>
    60 <a class="indexterm" name="id2618351"></a>
    61 <a class="indexterm" name="id2618357"></a>
     58</p><div class="sect2" title="Using Host-Based Protection"><div class="titlepage"><div><div><h3 class="title"><a name="id2624429"></a>Using Host-Based Protection</h3></div></div></div><p>
     59<a class="indexterm" name="id2624437"></a>
     60<a class="indexterm" name="id2624443"></a>
     61<a class="indexterm" name="id2624450"></a>
    6262        In many installations of Samba, the greatest threat comes from outside
    6363        your immediate network. By default, Samba accepts connections from
     
    6666        especially vulnerable.
    6767        </p><p>
    68 <a class="indexterm" name="id2618373"></a>
    69 <a class="indexterm" name="id2618380"></a>
     68<a class="indexterm" name="id2624465"></a>
     69<a class="indexterm" name="id2624472"></a>
    7070        One of the simplest fixes in this case is to use the <a class="link" href="smb.conf.5.html#HOSTSALLOW" target="_top">hosts allow</a> and
    7171        <a class="link" href="smb.conf.5.html#HOSTSDENY" target="_top">hosts deny</a> options in the Samba <code class="filename">smb.conf</code> configuration file to
    7272        allow access to your server only from a specific range of hosts. An example might be:
    73         </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2618426"></a><em class="parameter"><code>hosts allow = 127.0.0.1 192.168.2.0/24 192.168.3.0/24</code></em></td></tr><tr><td><a class="indexterm" name="id2618438"></a><em class="parameter"><code>hosts deny = 0.0.0.0/0</code></em></td></tr></table><p>
    74         </p><p>
    75 <a class="indexterm" name="id2618453"></a>
    76 <a class="indexterm" name="id2618460"></a>
    77 <a class="indexterm" name="id2618467"></a>
     73        </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2624519"></a><em class="parameter"><code>hosts allow = 127.0.0.1 192.168.2.0/24 192.168.3.0/24</code></em></td></tr><tr><td><a class="indexterm" name="id2624531"></a><em class="parameter"><code>hosts deny = 0.0.0.0/0</code></em></td></tr></table><p>
     74        </p><p>
     75<a class="indexterm" name="id2624546"></a>
     76<a class="indexterm" name="id2624553"></a>
     77<a class="indexterm" name="id2624560"></a>
    7878        The above will allow SMB connections only from <code class="constant">localhost</code> (your own
    7979        computer) and from the two private networks 192.168.2 and 192.168.3. All other
    8080        connections will be refused as soon as the client sends its first packet. The refusal
    8181        will be marked as <code class="literal">not listening on called name</code> error.
    82         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2618490"></a>User-Based Protection</h3></div></div></div><p>
     82        </p></div><div class="sect2" title="User-Based Protection"><div class="titlepage"><div><div><h3 class="title"><a name="id2624583"></a>User-Based Protection</h3></div></div></div><p>
    8383        If you want to restrict access to your server to valid users only, then the following
    8484        method may be of use. In the <code class="filename">smb.conf</code> <em class="parameter"><code>[global]</code></em> section put:
    85         </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2618518"></a><em class="parameter"><code>valid users = @smbusers, jacko</code></em></td></tr></table><p>
    86         </p><p>
    87 <a class="indexterm" name="id2618533"></a>
     85        </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2624610"></a><em class="parameter"><code>valid users = @smbusers, jacko</code></em></td></tr></table><p>
     86        </p><p>
     87<a class="indexterm" name="id2624626"></a>
    8888        This restricts all server access either to the user <span class="emphasis"><em>jacko</em></span>
    8989        or to members of the system group <span class="emphasis"><em>smbusers</em></span>.
    90         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2618550"></a>Using Interface Protection</h3></div></div></div><p>
    91 <a class="indexterm" name="id2618558"></a>
    92 <a class="indexterm" name="id2618565"></a>
    93 <a class="indexterm" name="id2618572"></a>
     90        </p></div><div class="sect2" title="Using Interface Protection"><div class="titlepage"><div><div><h3 class="title"><a name="id2624642"></a>Using Interface Protection</h3></div></div></div><p>
     91<a class="indexterm" name="id2624650"></a>
     92<a class="indexterm" name="id2624657"></a>
     93<a class="indexterm" name="id2624664"></a>
    9494        By default, Samba accepts connections on any network interface that
    9595        it finds on your system. That means if you have an ISDN line or a PPP
     
    9898        </p><p>
    9999        You can change this behavior using options like this:
    100         </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2618593"></a><em class="parameter"><code>interfaces = eth* lo</code></em></td></tr><tr><td><a class="indexterm" name="id2618604"></a><em class="parameter"><code>bind interfaces only = yes</code></em></td></tr></table><p>
    101         </p><p>
    102 <a class="indexterm" name="id2618620"></a>
    103 <a class="indexterm" name="id2618626"></a>
    104 <a class="indexterm" name="id2618633"></a>
    105 <a class="indexterm" name="id2618640"></a>
     100        </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2624685"></a><em class="parameter"><code>interfaces = eth* lo</code></em></td></tr><tr><td><a class="indexterm" name="id2624697"></a><em class="parameter"><code>bind interfaces only = yes</code></em></td></tr></table><p>
     101        </p><p>
     102<a class="indexterm" name="id2624712"></a>
     103<a class="indexterm" name="id2624719"></a>
     104<a class="indexterm" name="id2624726"></a>
     105<a class="indexterm" name="id2624733"></a>
    106106        This tells Samba to listen for connections only on interfaces with a name starting with
    107107        <code class="constant">eth</code> such as <code class="constant">eth0</code> or <code class="constant">eth1</code>, plus on the loopback interface called
     
    109109        the common name for Ethernet adapters on Linux.
    110110        </p><p>
    111 <a class="indexterm" name="id2618670"></a>
    112 <a class="indexterm" name="id2618676"></a>
    113 <a class="indexterm" name="id2618683"></a>
    114 <a class="indexterm" name="id2618689"></a>
     111<a class="indexterm" name="id2624762"></a>
     112<a class="indexterm" name="id2624769"></a>
     113<a class="indexterm" name="id2624775"></a>
     114<a class="indexterm" name="id2624782"></a>
    115115        If you use the above and someone tries to make an SMB connection to your host over a PPP interface called
    116116        <code class="constant">ppp0</code>, then [s]he will get a TCP connection refused reply. In that case, no Samba code
     
    119119        valid active services.
    120120        </p><p>
    121 <a class="indexterm" name="id2618710"></a>
    122 <a class="indexterm" name="id2618717"></a>
    123 <a class="indexterm" name="id2618724"></a>
    124 <a class="indexterm" name="id2618731"></a>
    125 <a class="indexterm" name="id2618738"></a>
     121<a class="indexterm" name="id2624803"></a>
     122<a class="indexterm" name="id2624810"></a>
     123<a class="indexterm" name="id2624817"></a>
     124<a class="indexterm" name="id2624824"></a>
     125<a class="indexterm" name="id2624831"></a>
    126126        A better response would be to ignore the connection (from, for example, ppp0) altogether. The
    127127        advantage of ignoring the connection attempt, as compared with refusing it, is that it foils those who
     
    129129        or denial of service attacks. This method of dealing with potential malicious activity demands the
    130130        use of appropriate firewall mechanisms.
    131         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="firewallports"></a>Using a Firewall</h3></div></div></div><p>
    132 <a class="indexterm" name="id2618767"></a>
    133 <a class="indexterm" name="id2618774"></a>
    134 <a class="indexterm" name="id2618780"></a>
     131        </p></div><div class="sect2" title="Using a Firewall"><div class="titlepage"><div><div><h3 class="title"><a name="firewallports"></a>Using a Firewall</h3></div></div></div><p>
     132<a class="indexterm" name="id2624860"></a>
     133<a class="indexterm" name="id2624866"></a>
     134<a class="indexterm" name="id2624873"></a>
    135135        Many people use a firewall to deny access to services they do not want exposed outside their network. This can
    136136        be a good idea, although I recommend using it in conjunction with the above methods so you are protected even
     
    139139        If you are setting up a firewall, you need to know what TCP and UDP ports to allow and block. Samba uses
    140140        the following:
    141 <a class="indexterm" name="id2618797"></a>
    142 <a class="indexterm" name="id2618804"></a>
    143 <a class="indexterm" name="id2618811"></a>
    144 <a class="indexterm" name="id2618818"></a>
    145 <a class="indexterm" name="id2618825"></a>
    146         </p><table class="simplelist" border="0" summary="Simple list"><tr><td>Port 135/TCP - used by smbd</td></tr><tr><td>Port 137/UDP - used by nmbd</td></tr><tr><td>Port 138/UDP - used by nmbd</td></tr><tr><td>Port 139/TCP - used by smbd</td></tr><tr><td>Port 445/TCP - used by smbd</td></tr></table><p>
    147 <a class="indexterm" name="id2618859"></a>
     141<a class="indexterm" name="id2624890"></a>
     142<a class="indexterm" name="id2624897"></a>
     143<a class="indexterm" name="id2624904"></a>
     144<a class="indexterm" name="id2624911"></a>
     145<a class="indexterm" name="id2624918"></a>
     146        </p><table border="0" summary="Simple list" class="simplelist"><tr><td>Port 135/TCP - used by smbd</td></tr><tr><td>Port 137/UDP - used by nmbd</td></tr><tr><td>Port 138/UDP - used by nmbd</td></tr><tr><td>Port 139/TCP - used by smbd</td></tr><tr><td>Port 445/TCP - used by smbd</td></tr></table><p>
     147<a class="indexterm" name="id2624952"></a>
    148148        The last one is important because many older firewall setups may not be aware of it, given that this port
    149149        was only added to the protocol in recent years.
    150150        </p><p>
    151 <a class="indexterm" name="id2618872"></a>
    152 <a class="indexterm" name="id2618879"></a>
    153 <a class="indexterm" name="id2618886"></a>
     151<a class="indexterm" name="id2624965"></a>
     152<a class="indexterm" name="id2624972"></a>
     153<a class="indexterm" name="id2624979"></a>
    154154        When configuring a firewall, the high order ports (1024-65535) are often used for outgoing connections and
    155155        therefore should be permitted through the firewall. It is prudent to block incoming packets on the high order
    156156        ports except for established connections.
    157         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2618900"></a>Using IPC$ Share-Based Denials </h3></div></div></div><p>
    158 <a class="indexterm" name="id2618908"></a>
    159 <a class="indexterm" name="id2618915"></a>
    160 <a class="indexterm" name="id2618922"></a>
     157        </p></div><div class="sect2" title="Using IPC$ Share-Based Denials"><div class="titlepage"><div><div><h3 class="title"><a name="id2624993"></a>Using IPC$ Share-Based Denials </h3></div></div></div><p>
     158<a class="indexterm" name="id2625001"></a>
     159<a class="indexterm" name="id2625008"></a>
     160<a class="indexterm" name="id2625014"></a>
    161161        If the above methods are not suitable, then you could also place a more specific deny on the IPC$ share that
    162162        is used in the recently discovered security hole. This allows you to offer access to other shares while
     
    164164        </p><p>
    165165        To do this you could use:
    166         </p><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[IPC$]</code></em></td></tr><tr><td><a class="indexterm" name="id2618952"></a><em class="parameter"><code>hosts allow = 192.168.115.0/24 127.0.0.1</code></em></td></tr><tr><td><a class="indexterm" name="id2618964"></a><em class="parameter"><code>hosts deny = 0.0.0.0/0</code></em></td></tr></table><p>
    167         </p><p>
    168 <a class="indexterm" name="id2618979"></a>
    169 <a class="indexterm" name="id2618986"></a>
    170 <a class="indexterm" name="id2618993"></a>
     166        </p><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[IPC$]</code></em></td></tr><tr><td><a class="indexterm" name="id2625049"></a><em class="parameter"><code>hosts allow = 192.168.115.0/24 127.0.0.1</code></em></td></tr><tr><td><a class="indexterm" name="id2625061"></a><em class="parameter"><code>hosts deny = 0.0.0.0/0</code></em></td></tr></table><p>
     167        </p><p>
     168<a class="indexterm" name="id2625076"></a>
     169<a class="indexterm" name="id2625083"></a>
     170<a class="indexterm" name="id2625090"></a>
    171171        This instructs Samba that IPC$ connections are not allowed from anywhere except the two listed network
    172172        addresses (localhost and the 192.168.115 subnet). Connections to other shares are still allowed. Because the
     
    174174        against attackers who do not know a valid username/password for your host.
    175175        </p><p>
    176 <a class="indexterm" name="id2619010"></a>
    177 <a class="indexterm" name="id2619017"></a>
    178 <a class="indexterm" name="id2619024"></a>
     176<a class="indexterm" name="id2625107"></a>
     177<a class="indexterm" name="id2625114"></a>
     178<a class="indexterm" name="id2625121"></a>
    179179        If you use this method, then clients will be given an <code class="literal">`access denied'</code> reply when they try
    180180        to access the IPC$ share. Those clients will not be able to browse shares and may also be unable to access
    181181        some other resources.  This is not recommended unless for some reason you cannot use one of the other methods
    182182        just discussed.
    183         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2619044"></a>NTLMv2 Security</h3></div></div></div><p>
    184 <a class="indexterm" name="id2619052"></a>
     183        </p></div><div class="sect2" title="NTLMv2 Security"><div class="titlepage"><div><div><h3 class="title"><a name="id2625141"></a>NTLMv2 Security</h3></div></div></div><p>
     184<a class="indexterm" name="id2625149"></a>
    185185        To configure NTLMv2 authentication, the following registry keys are worth knowing about:
    186186        </p><p>
     
    202202        NtlmMinServerSec is set to 0x00080000, the connection will fail if NTLMv2
    203203        session security is negotiated.
    204         </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2619099"></a>Upgrading Samba</h2></div></div></div><p>
    205 <a class="indexterm" name="id2619107"></a>
    206 <a class="indexterm" name="id2619113"></a>
    207 <a class="indexterm" name="id2619120"></a>
     204        </p></div></div><div class="sect1" title="Upgrading Samba"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2625196"></a>Upgrading Samba</h2></div></div></div><p>
     205<a class="indexterm" name="id2625204"></a>
     206<a class="indexterm" name="id2625211"></a>
     207<a class="indexterm" name="id2625218"></a>
    208208Please check regularly on <a class="ulink" href="http://www.samba.org/" target="_top">http://www.samba.org/</a> for
    209209updates and important announcements. Occasionally security releases are made, and it is highly recommended to
    210210upgrade Samba promptly when a security vulnerability is discovered. Check with your OS vendor for OS-specific
    211211upgrades.
    212 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2619142"></a>Common Errors</h2></div></div></div><p>
     212</p></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2625240"></a>Common Errors</h2></div></div></div><p>
    213213If all Samba and host platform configurations were really as intuitive as one might like them to be, this
    214214chapter would not be necessary. Security issues are often vexing for a support person to resolve, not because
    215215of the complexity of the problem, but because most administrators who post what turns out to be a security
    216216problem request are totally convinced that the problem is with Samba.
    217 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2619158"></a>Smbclient Works on Localhost, but the Network Is Dead</h3></div></div></div><p>
     217</p><div class="sect2" title="Smbclient Works on Localhost, but the Network Is Dead"><div class="titlepage"><div><div><h3 class="title"><a name="id2625255"></a>Smbclient Works on Localhost, but the Network Is Dead</h3></div></div></div><p>
    218218        This is a common problem. Linux vendors tend to install a default firewall.
    219219        With the default firewall in place, only traffic on the loopback adapter (IP address 127.0.0.1)
     
    223223        allow SMB networking traffic through. See <a class="link" href="securing-samba.html#firewallports" title="Using a Firewall">the Using a
    224224        Firewall</a> section.
    225         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2619187"></a>Why Can Users Access Other Users' Home Directories?</h3></div></div></div><p>
    226         &#8220;<span class="quote">
    227 <a class="indexterm" name="id2619197"></a>
    228 <a class="indexterm" name="id2619204"></a>
     225        </p></div><div class="sect2" title="Why Can Users Access Other Users' Home Directories?"><div class="titlepage"><div><div><h3 class="title"><a name="id2625284"></a>Why Can Users Access Other Users' Home Directories?</h3></div></div></div><p>
     226        <span class="quote">&#8220;<span class="quote">
     227<a class="indexterm" name="id2625295"></a>
     228<a class="indexterm" name="id2625302"></a>
    229229        We are unable to keep individual users from mapping to any other user's home directory once they have
    230230        supplied a valid password! They only need to enter their own password. I have not found any method to
    231231        configure Samba so that users may map only their own home directory.
    232         </span>&#8221;
    233         </p><p>&#8220;<span class="quote">
     232        </span>&#8221;</span>
     233        </p><p><span class="quote">&#8220;<span class="quote">
    234234        User xyzzy can map his home directory. Once mapped, user xyzzy can also map anyone else's home directory.
    235         </span>&#8221;</p><p>
    236 <a class="indexterm" name="id2619226"></a>
    237 <a class="indexterm" name="id2619233"></a>
     235        </span>&#8221;</span></p><p>
     236<a class="indexterm" name="id2625324"></a>
     237<a class="indexterm" name="id2625331"></a>
    238238        This is not a security flaw, it is by design. Samba allows users to have exactly the same access to the UNIX
    239239        file system as when they were logged on to the UNIX box, except that it only allows such views onto the file
    240240        system as are allowed by the defined shares.
    241241        </p><p>
    242 <a class="indexterm" name="id2619248"></a>
    243 <a class="indexterm" name="id2619255"></a>
     242<a class="indexterm" name="id2625345"></a>
     243<a class="indexterm" name="id2625352"></a>
    244244        If your UNIX home directories are set up so that one user can happily <code class="literal">cd</code>
    245245        into another user's directory and execute <code class="literal">ls</code>, the UNIX security solution is to change file
    246246        permissions on the user's home directories so that the <code class="literal">cd</code> and <code class="literal">ls</code> are denied.
    247247        </p><p>
    248 <a class="indexterm" name="id2619293"></a>
    249 <a class="indexterm" name="id2619300"></a>
     248<a class="indexterm" name="id2625390"></a>
     249<a class="indexterm" name="id2625397"></a>
    250250        Samba tries very hard not to second guess the UNIX administrator's security policies and
    251251        trusts the UNIX admin to set the policies and permissions he or she desires.
     
    256256        The <a class="link" href="smb.conf.5.html#ONLYUSER" target="_top">only user</a> works in conjunction with the <a class="link" href="smb.conf.5.html#USERS" target="_top">users = list</a>,
    257257        so to get the behavior you require, add the line:
    258         </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2619366"></a><em class="parameter"><code>users = %S</code></em></td></tr></table><p>
     258        </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2625463"></a><em class="parameter"><code>users = %S</code></em></td></tr></table><p>
    259259        This is equivalent to adding
    260         </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2619383"></a><em class="parameter"><code>valid users = %S</code></em></td></tr></table><p>
     260        </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2625480"></a><em class="parameter"><code>valid users = %S</code></em></td></tr></table><p>
    261261        to the definition of the <em class="parameter"><code>[homes]</code></em> share, as recommended in
    262262        the <code class="filename">smb.conf</code> man page.
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/speed.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 45. Samba Performance Tuning</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="Other-Clients.html" title="Chapter 44. Samba and Other CIFS Clients"><link rel="next" href="ch-ldap-tls.html" title="Chapter 46. LDAP and Transport Layer Security"></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 45. Samba Performance Tuning</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Other-Clients.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="ch-ldap-tls.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="speed"></a>Chapter 45. Samba Performance Tuning</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Paul</span> <span class="orgname">Dundee Limb Fitting Centre</span> <span class="surname">Cochrane</span></h3><div class="affiliation"><span class="orgname">Dundee Limb Fitting Centre<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:paulc@dth.scot.nhs.uk">paulc@dth.scot.nhs.uk</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="speed.html#id2690721">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690759">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690856">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690900">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690948">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690972">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691039">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691091">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691115">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691136">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691227">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691323">Samba Performance is Very Slow</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2690721"></a>Comparisons</h2></div></div></div><p>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 45. Samba Performance Tuning</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="Other-Clients.html" title="Chapter 44. Samba and Other CIFS Clients"><link rel="next" href="ch-ldap-tls.html" title="Chapter 46. LDAP and Transport Layer Security"></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 45. Samba Performance Tuning</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Other-Clients.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="ch-ldap-tls.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 45. Samba Performance Tuning"><div class="titlepage"><div><div><h2 class="title"><a name="speed"></a>Chapter 45. Samba Performance Tuning</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Paul</span> <span class="surname">Cochrane</span></h3><div class="affiliation"><span class="orgname">Dundee Limb Fitting Centre<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:paulc@dth.scot.nhs.uk">paulc@dth.scot.nhs.uk</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="speed.html#id2696777">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2696815">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2696912">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2696957">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697004">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697029">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697096">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697148">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697172">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697192">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697284">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697380">Samba Performance is Very Slow</a></span></dt></dl></div><div class="sect1" title="Comparisons"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2696777"></a>Comparisons</h2></div></div></div><p>
    22The Samba server uses TCP to talk to the client, so if you are
    33trying to see if it performs well, you should really compare it to
     
    2121hardware, Samba should certainly be competitive in speed with other
    2222systems.
    23 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2690759"></a>Socket Options</h2></div></div></div><p>
     23</p></div><div class="sect1" title="Socket Options"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2696815"></a>Socket Options</h2></div></div></div><p>
    2424There are a number of socket options that can greatly affect the
    2525performance of a TCP-based server like Samba.
     
    4545recommended that before specifying any settings for <em class="parameter"><code>socket options</code></em>, the effect
    4646first be quantitatively measured on the server being configured.
    47 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2690856"></a>Read Size</h2></div></div></div><p>
     47</p></div><div class="sect1" title="Read Size"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2696912"></a>Read Size</h2></div></div></div><p>
    4848The option <a class="link" href="smb.conf.5.html#READSIZE" target="_top">read size</a> affects the overlap of disk
    4949reads/writes with network reads/writes. If the amount of data being
     
    6262value will vary greatly between systems anyway. A value over 65536 is
    6363pointless and will cause you to allocate memory unnecessarily.
    64 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2690900"></a>Max Xmit</h2></div></div></div><p>
     64</p></div><div class="sect1" title="Max Xmit"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2696957"></a>Max Xmit</h2></div></div></div><p>
    6565        At startup the client and server negotiate a <em class="parameter"><code>maximum transmit</code></em> size,
    6666which limits the size of nearly all SMB commands. You can set the
     
    7575of less than 2048 is likely to cause severe problems.
    7676In most cases the default is the best option.
    77 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2690948"></a>Log Level</h2></div></div></div><p>
     77</p></div><div class="sect1" title="Log Level"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2697004"></a>Log Level</h2></div></div></div><p>
    7878If you set the log level (also known as <a class="link" href="smb.conf.5.html#DEBUGLEVEL" target="_top">debug level</a>) higher than 2,
    7979then you may suffer a large drop in performance. This is because the
    8080server flushes the log file after each operation, which can be quite
    8181expensive.
    82 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2690972"></a>Read Raw</h2></div></div></div><p>
     82</p></div><div class="sect1" title="Read Raw"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2697029"></a>Read Raw</h2></div></div></div><p>
    8383The <a class="link" href="smb.conf.5.html#READRAW" target="_top">read raw</a> operation is designed to be an optimized, low-latency
    8484file read operation. A server may choose to not support it,
     
    9191network. It might lower, raise, or not affect your performance. Only
    9292testing can really tell.
    93 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2691039"></a>Write Raw</h2></div></div></div><p>
     93</p></div><div class="sect1" title="Write Raw"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2697096"></a>Write Raw</h2></div></div></div><p>
    9494The <a class="link" href="smb.conf.5.html#WRITERAW" target="_top">write raw</a> operation is designed to be an optimized, low-latency
    9595file write operation. A server may choose to not support it, however, and Samba makes support for
     
    9898Some machines may find <a class="link" href="smb.conf.5.html#WRITERAW" target="_top">write raw</a> slower than normal write, in which
    9999case you may wish to change this option.
    100 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2691091"></a>Slow Logins</h2></div></div></div><p>
     100</p></div><div class="sect1" title="Slow Logins"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2697148"></a>Slow Logins</h2></div></div></div><p>
    101101Slow logins are almost always due to the password checking time. Using
    102102the lowest practical <a class="link" href="smb.conf.5.html#PASSWORDLEVEL" target="_top">password level</a> will improve things.
    103 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2691115"></a>Client Tuning</h2></div></div></div><p>
     103</p></div><div class="sect1" title="Client Tuning"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2697172"></a>Client Tuning</h2></div></div></div><p>
    104104Often a speed problem can be traced to the client. The client (for
    105105example Windows for Workgroups) can often be tuned for better TCP
    106106performance. Check the sections on the various clients in
    107107<a class="link" href="Other-Clients.html" title="Chapter 44. Samba and Other CIFS Clients">Samba and Other CIFS Clients</a>.
    108 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2691136"></a>Samba Performance Problem Due to Changing Linux Kernel</h2></div></div></div><p>
     108</p></div><div class="sect1" title="Samba Performance Problem Due to Changing Linux Kernel"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2697192"></a>Samba Performance Problem Due to Changing Linux Kernel</h2></div></div></div><p>
    109109A user wrote the following to the mailing list:
    110110</p><div class="blockquote"><blockquote class="blockquote"><p>
    111 <a class="indexterm" name="id2691151"></a>
    112 <a class="indexterm" name="id2691157"></a>
     111<a class="indexterm" name="id2697207"></a>
     112<a class="indexterm" name="id2697214"></a>
    113113I am running Gentoo on my server and Samba 2.2.8a. Recently I changed kernel versions from
    114114<code class="filename">linux-2.4.19-gentoo-r10</code> to <code class="filename">linux-2.4.20-wolk4.0s</code>. Now I have a
    115 performance issue with Samba.  Many of you will probably say,  &#8220;<span class="quote">Move to vanilla sources!</span>&#8221; Well, I
     115performance issue with Samba.  Many of you will probably say,  <span class="quote">&#8220;<span class="quote">Move to vanilla sources!</span>&#8221;</span> Well, I
    116116tried that and it didn't work. I have a 100MB LAN and two computers (Linux and Windows 2000). The Linux server
    117117shares directories with DivX files, the client (Windows 2000) plays them via LAN. Before, when I was running
     
    121121The answer he was given is:
    122122</p><div class="blockquote"><blockquote class="blockquote"><p>
    123 <a class="indexterm" name="id2691200"></a>
    124 <a class="indexterm" name="id2691206"></a>
    125 <a class="indexterm" name="id2691213"></a>
     123<a class="indexterm" name="id2697256"></a>
     124<a class="indexterm" name="id2697263"></a>
     125<a class="indexterm" name="id2697270"></a>
    126126Grab the mii-tool and check the duplex settings on the NIC.  My guess is that it is a link layer issue, not an
    127127application layer problem. Also run ifconfig and verify that the framing error, collisions, and so on, look
    128128normal for ethernet.
    129 </p></blockquote></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2691227"></a>Corrupt tdb Files</h2></div></div></div><p>
    130 <a class="indexterm" name="id2691235"></a>
    131 <a class="indexterm" name="id2691242"></a>
    132 <a class="indexterm" name="id2691249"></a>
     129</p></blockquote></div></div><div class="sect1" title="Corrupt tdb Files"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2697284"></a>Corrupt tdb Files</h2></div></div></div><p>
     130<a class="indexterm" name="id2697292"></a>
     131<a class="indexterm" name="id2697298"></a>
     132<a class="indexterm" name="id2697305"></a>
    133133Our Samba PDC server has been hosting three TB of data to our 500+ users [Windows NT/XP]  for the last three
    134134years using Samba without a problem.  Today all shares went very slow. Also, the main smbd kept spawning new
     
    139139how can I detect early corruption?
    140140</p><p>
    141 <a class="indexterm" name="id2691280"></a>
    142 <a class="indexterm" name="id2691287"></a>
     141<a class="indexterm" name="id2697337"></a>
     142<a class="indexterm" name="id2697343"></a>
    143143<span class="emphasis"><em>Answer:</em></span> Yes, run <code class="literal">tdbbackup</code> each time after stopping nmbd and before starting nmbd.
    144144</p><p>
     
    147147</p><p>
    148148<span class="emphasis"><em>Answer:</em></span> Yes. Same answer as for previous question!
    149 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2691323"></a>Samba Performance is Very Slow</h2></div></div></div><p>
    150 <a class="indexterm" name="id2691331"></a>
     149</p></div><div class="sect1" title="Samba Performance is Very Slow"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2697380"></a>Samba Performance is Very Slow</h2></div></div></div><p>
     150<a class="indexterm" name="id2697388"></a>
    151151A site reported experiencing very baffling symptoms with MYOB Premier opening and
    152152accessing its data files. Some  operations on the file would take between 40 and
    15315345 seconds.
    154154</p><p>
    155 <a class="indexterm" name="id2691344"></a>
    156 <a class="indexterm" name="id2691351"></a>
     155<a class="indexterm" name="id2697401"></a>
     156<a class="indexterm" name="id2697408"></a>
    157157It turned out that the printer monitor program running on the Windows
    158158clients was causing the problems. From the logs, we saw activity coming
    159159through with pauses of about 1 second.
    160160</p><p>
    161 <a class="indexterm" name="id2691364"></a>
    162 <a class="indexterm" name="id2691371"></a>
     161<a class="indexterm" name="id2697421"></a>
     162<a class="indexterm" name="id2697428"></a>
    163163Stopping the monitor software resulted in the networks access at normal
    164164(quick) speed. Restarting the program caused the speed to slow down
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/tdb.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 41. Managing TDB Files</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="troubleshooting.html" title="Part V. Troubleshooting"><link rel="prev" href="bugreport.html" title="Chapter 40. Reporting Bugs"><link rel="next" href="Appendix.html" title="Part VI. Reference Section"></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 41. Managing TDB Files</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="bugreport.html">Prev</a> </td><th width="60%" align="center">Part V. Troubleshooting</th><td width="20%" align="right"> <a accesskey="n" href="Appendix.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="tdb"></a>Chapter 41. Managing TDB Files</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">May 28, 2008</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="tdb.html#id2686919">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2687381">Managing TDB Files</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2686919"></a>Features and Benefits</h2></div></div></div><p>
    2 <a class="indexterm" name="id2686927"></a>
    3 <a class="indexterm" name="id2686934"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 41. Managing TDB Files</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="troubleshooting.html" title="Part V. Troubleshooting"><link rel="prev" href="bugreport.html" title="Chapter 40. Reporting Bugs"><link rel="next" href="Appendix.html" title="Part VI. Reference Section"></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 41. Managing TDB Files</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="bugreport.html">Prev</a> </td><th width="60%" align="center">Part V. Troubleshooting</th><td width="20%" align="right"> <a accesskey="n" href="Appendix.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 41. Managing TDB Files"><div class="titlepage"><div><div><h2 class="title"><a name="tdb"></a>Chapter 41. Managing TDB Files</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">May 28, 2008</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="tdb.html#id2692976">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2693437">Managing TDB Files</a></span></dt></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2692976"></a>Features and Benefits</h2></div></div></div><p>
     2<a class="indexterm" name="id2692984"></a>
     3<a class="indexterm" name="id2692990"></a>
    44        Samba uses a lightweight database called Trivial Database (tdb) in which it stores persistent and transient data.
    55        Some tdb files can be disposed of before restarting Samba, but others are used to store information that is vital
     
    77        to better manage their Samba installations.
    88        </p><p>
    9 <a class="indexterm" name="id2686950"></a>
    10 <a class="indexterm" name="id2686957"></a>
    11 <a class="indexterm" name="id2686964"></a>
    12 <a class="indexterm" name="id2686971"></a>
     9<a class="indexterm" name="id2693007"></a>
     10<a class="indexterm" name="id2693014"></a>
     11<a class="indexterm" name="id2693020"></a>
     12<a class="indexterm" name="id2693027"></a>
    1313        Those who package Samba for commercial distribution with operating systems and appliances would do well to take
    1414        note that tdb files can get corrupted, and for this reason ought to be backed up regularly.  An appropriate time
     
    3838                                </p></td></tr><tr><td align="center">passdb.tdb</td><td align="center">Y</td><td align="center"><p>
    3939                                This stores the Samba SAM account information when using a tdbsam password backend.
    40                                 </p></td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2687381"></a>Managing TDB Files</h2></div></div></div><p>
     40                                </p></td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect1" title="Managing TDB Files"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2693437"></a>Managing TDB Files</h2></div></div></div><p>
    4141        The <code class="literal">tdbbackup</code> utility is a tool that may be used to backup samba tdb files.
    4242        This tool may also be used to verify the integrity of the tdb files prior to Samba startup or
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/troubleshooting.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part V. Troubleshooting</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="SWAT.html" title="Chapter 37. SWAT: The Samba Web Administration Tool"><link rel="next" href="diagnosis.html" title="Chapter 38. The Samba Checklist"></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">Part V. Troubleshooting</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SWAT.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="diagnosis.html">Next</a></td></tr></table><hr></div><div class="part" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="troubleshooting"></a>Part V. Troubleshooting</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="diagnosis.html">38. The Samba Checklist</a></span></dt><dd><dl><dt><span class="sect1"><a href="diagnosis.html#id2682800">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2682839">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2683132">The Tests</a></span></dt></dl></dd><dt><span class="chapter"><a href="problems.html">39. Analyzing and Solving Samba Problems</a></span></dt><dd><dl><dt><span class="sect1"><a href="problems.html#id2684879">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2684931">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685187">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685238">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685381">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2685707">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2685744">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2685919">How to Get Off the Mailing Lists</a></span></dt></dl></dd><dt><span class="chapter"><a href="bugreport.html">40. Reporting Bugs</a></span></dt><dd><dl><dt><span class="sect1"><a href="bugreport.html#id2686050">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686140">General Information</a></span></dt><dt><span class="sect1"><a href="bugreport.html#dbglvl">Debug Levels</a></span></dt><dd><dl><dt><span class="sect2"><a href="bugreport.html#id2686375">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2686577">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686710">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686836">Patches</a></span></dt></dl></dd><dt><span class="chapter"><a href="tdb.html">41. Managing TDB Files</a></span></dt><dd><dl><dt><span class="sect1"><a href="tdb.html#id2686919">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2687381">Managing TDB Files</a></span></dt></dl></dd></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="SWAT.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="diagnosis.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 37. SWAT: The Samba Web Administration Tool </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 38. The Samba Checklist</td></tr></table></div></body></html>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part V. Troubleshooting</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="SWAT.html" title="Chapter 37. SWAT: The Samba Web Administration Tool"><link rel="next" href="diagnosis.html" title="Chapter 38. The Samba Checklist"></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">Part V. Troubleshooting</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SWAT.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="diagnosis.html">Next</a></td></tr></table><hr></div><div class="part" title="Part V. Troubleshooting"><div class="titlepage"><div><div><h1 class="title"><a name="troubleshooting"></a>Part V. Troubleshooting</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="diagnosis.html">38. The Samba Checklist</a></span></dt><dd><dl><dt><span class="sect1"><a href="diagnosis.html#id2688857">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2688896">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2689189">The Tests</a></span></dt></dl></dd><dt><span class="chapter"><a href="problems.html">39. Analyzing and Solving Samba Problems</a></span></dt><dd><dl><dt><span class="sect1"><a href="problems.html#id2690936">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2690988">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2691244">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2691294">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2691438">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2691764">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2691801">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2691975">How to Get Off the Mailing Lists</a></span></dt></dl></dd><dt><span class="chapter"><a href="bugreport.html">40. Reporting Bugs</a></span></dt><dd><dl><dt><span class="sect1"><a href="bugreport.html#id2692107">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2692196">General Information</a></span></dt><dt><span class="sect1"><a href="bugreport.html#dbglvl">Debug Levels</a></span></dt><dd><dl><dt><span class="sect2"><a href="bugreport.html#id2692432">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2692634">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2692767">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2692892">Patches</a></span></dt></dl></dd><dt><span class="chapter"><a href="tdb.html">41. Managing TDB Files</a></span></dt><dd><dl><dt><span class="sect1"><a href="tdb.html#id2692976">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2693437">Managing TDB Files</a></span></dt></dl></dd></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="SWAT.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="diagnosis.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 37. SWAT: The Samba Web Administration Tool </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 38. The Samba Checklist</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/type.html

    r274 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part II. Server Configuration Basics</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="FastStart.html" title="Chapter 2. Fast Start: Cure for Impatience"><link rel="next" href="ServerType.html" title="Chapter 3. Server Types and Security Modes"></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">Part II. Server Configuration Basics</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="FastStart.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ServerType.html">Next</a></td></tr></table><hr></div><div class="part" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="type"></a>Part II. Server Configuration Basics</h1></div></div></div><div class="partintro" lang="en"><div><div><div><h1 class="title"><a name="id2558696"></a>First Steps in Server Configuration</h1></div></div></div><p>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part II. Server Configuration Basics</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="FastStart.html" title="Chapter 2. Fast Start: Cure for Impatience"><link rel="next" href="ServerType.html" title="Chapter 3. Server Types and Security Modes"></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">Part II. Server Configuration Basics</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="FastStart.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ServerType.html">Next</a></td></tr></table><hr></div><div class="part" title="Part II. Server Configuration Basics"><div class="titlepage"><div><div><h1 class="title"><a name="type"></a>Part II. Server Configuration Basics</h1></div></div></div><div class="partintro" title="First Steps in Server Configuration"><div><div><div><h1 class="title"><a name="id2564753"></a>First Steps in Server Configuration</h1></div></div></div><p>
    22Samba can operate in various modes within SMB networks. This HOWTO section contains information on
    33configuring Samba to function as the type of server your network requires. Please read this
    44section carefully.
    5 </p><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="ServerType.html">3. Server Types and Security Modes</a></span></dt><dd><dl><dt><span class="sect1"><a href="ServerType.html#id2558832">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2558991">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2559136">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2559298">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2559461">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560148">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560291">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2560566">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2560753">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2560783">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560815">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560852">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560879">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560937">Stand-alone Server is converted to Domain Controller  Now User accounts don't work</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="samba-pdc.html">4. Domain Control</a></span></dt><dd><dl><dt><span class="sect1"><a href="samba-pdc.html#id2561262">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2562485">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2562505">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2563009">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2564263">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2564316">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2564335">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2565206">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2565212">$ Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565312">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565377">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565454">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565573">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565600">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565619">Cannot Log onto Domain Member Workstation After Joining Domain</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="samba-bdc.html">5. Backup Domain Control</a></span></dt><dd><dl><dt><span class="sect1"><a href="samba-bdc.html#id2565803">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2566209">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567331">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567390">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567481">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2568163">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2568620">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2568664">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568719">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568879">Can I Do This All with LDAP?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="domain-member.html">6. Domain Membership</a></span></dt><dd><dl><dt><span class="sect1"><a href="domain-member.html#id2569122">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570526">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570632">Making an MS Windows Workstation or Server a Domain Member</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#domain-member-server">Domain Member Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2571833">Why Is This Better Than security = server?</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#ads-member">Samba ADS Domain Membership</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2572115">Configure smb.conf</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-server">Testing Server Setup</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-smbclient">Testing with smbclient</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2573400">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2573679">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2573719">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2574030">I Can't Join a Windows 2003 PDC</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="StandAloneServer.html">7. Standalone Servers</a></span></dt><dd><dl><dt><span class="sect1"><a href="StandAloneServer.html#id2574163">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2574257">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2574458">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></span></dt><dt><span class="sect2"><a href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></span></dt></dl></dd><dt><span class="sect1"><a href="StandAloneServer.html#id2575441">Common Errors</a></span></dt></dl></dd><dt><span class="chapter"><a href="ClientConfig.html">8. MS Windows Network Configuration Guide</a></span></dt><dd><dl><dt><span class="sect1"><a href="ClientConfig.html#id2575509">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2575569">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2575613">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2578354">Common Errors</a></span></dt></dl></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="FastStart.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ServerType.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 2. Fast Start: Cure for Impatience </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 3. Server Types and Security Modes</td></tr></table></div></body></html>
     5</p><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="ServerType.html">3. Server Types and Security Modes</a></span></dt><dd><dl><dt><span class="sect1"><a href="ServerType.html#id2564889">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2565049">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2565193">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2565355">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2565518">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566205">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566348">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2566623">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2566810">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2566840">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566873">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566910">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566937">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566995">Stand-alone Server is converted to Domain Controller  Now User accounts don't work</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="samba-pdc.html">4. Domain Control</a></span></dt><dd><dl><dt><span class="sect1"><a href="samba-pdc.html#id2567320">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2568544">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2568563">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2569068">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2570321">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2570374">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2570393">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2571265">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2571270"><span class="quote">&#8220;<span class="quote">$</span>&#8221;</span> Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571371">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571436">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571512">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571632">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571659">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571678">Cannot Log onto Domain Member Workstation After Joining Domain</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="samba-bdc.html">5. Backup Domain Control</a></span></dt><dd><dl><dt><span class="sect1"><a href="samba-bdc.html#id2571862">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2572268">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573390">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573448">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573539">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2574222">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2574686">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2574730">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2574784">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2574945">Can I Do This All with LDAP?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="domain-member.html">6. Domain Membership</a></span></dt><dd><dl><dt><span class="sect1"><a href="domain-member.html#id2575193">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2576597">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2576703">Making an MS Windows Workstation or Server a Domain Member</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#domain-member-server">Domain Member Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2577904">Why Is This Better Than <em class="parameter"><code>security = server</code></em>?</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#ads-member">Samba ADS Domain Membership</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2578186">Configure <code class="filename">smb.conf</code></a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2578377">Configure <code class="filename">/etc/krb5.conf</code></a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-server">Testing Server Setup</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-smbclient">Testing with <span class="application">smbclient</span></a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2579471">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2579750">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2579789">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2580101">I Can't Join a Windows 2003 PDC</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="StandAloneServer.html">7. Standalone Servers</a></span></dt><dd><dl><dt><span class="sect1"><a href="StandAloneServer.html#id2580234">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2580328">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2580529">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></span></dt><dt><span class="sect2"><a href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></span></dt></dl></dd><dt><span class="sect1"><a href="StandAloneServer.html#id2581512">Common Errors</a></span></dt></dl></dd><dt><span class="chapter"><a href="ClientConfig.html">8. MS Windows Network Configuration Guide</a></span></dt><dd><dl><dt><span class="sect1"><a href="ClientConfig.html#id2581580">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2581640">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2581683">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2584425">Common Errors</a></span></dt></dl></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="FastStart.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ServerType.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 2. Fast Start: Cure for Impatience </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 3. Server Types and Security Modes</td></tr></table></div></body></html>
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/unicode.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 30. Unicode/Charsets</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="integrate-ms-networks.html" title="Chapter 29. Integrating MS Windows Networks with Samba"><link rel="next" href="Backup.html" title="Chapter 31. Backup Techniques"></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 30. Unicode/Charsets</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="integrate-ms-networks.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="Backup.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="unicode"></a>Chapter 30. Unicode/Charsets</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">TAKAHASHI</span> <span class="surname">Motonobu</span></h3><span class="contrib">Japanese character support</span> <div class="affiliation"><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:monyo@home.monyo.com">monyo@home.monyo.com</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">25 March 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="unicode.html#id2669894">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2669946">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670080">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670215">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670247">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2670386">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2671027">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2671150">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2671297">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2671302">CP850.so Can't Be Found</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2669894"></a>Features and Benefits</h2></div></div></div><p>
    2 <a class="indexterm" name="id2669902"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 30. Unicode/Charsets</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="integrate-ms-networks.html" title="Chapter 29. Integrating MS Windows Networks with Samba"><link rel="next" href="Backup.html" title="Chapter 31. Backup Techniques"></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 30. Unicode/Charsets</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="integrate-ms-networks.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="Backup.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 30. Unicode/Charsets"><div class="titlepage"><div><div><h2 class="title"><a name="unicode"></a>Chapter 30. Unicode/Charsets</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">TAKAHASHI</span> <span class="surname">Motonobu</span></h3><span class="contrib">Japanese character support</span> <div class="affiliation"><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:monyo@home.monyo.com">monyo@home.monyo.com</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">25 March 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="unicode.html#id2675949">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676001">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676134">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676270">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676302">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2676441">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2677082">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2677205">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2677352">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2677357">CP850.so Can't Be Found</a></span></dt></dl></dd></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2675949"></a>Features and Benefits</h2></div></div></div><p>
     2<a class="indexterm" name="id2675957"></a>
    33Every industry eventually matures. One of the great areas of maturation is in
    44the focus that has been given over the past decade to make it possible for anyone
     
    1212is deserving of special mention.
    1313</p><p>
    14 <a class="indexterm" name="id2669931"></a>
     14<a class="indexterm" name="id2675986"></a>
    1515Samba-2.x supported a single locale through a mechanism called
    1616<span class="emphasis"><em>codepages</em></span>. Samba-3 is destined to become a truly transglobal
    1717file- and printer-sharing platform.
    18 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2669946"></a>What Are Charsets and Unicode?</h2></div></div></div><p>
    19 <a class="indexterm" name="id2669954"></a>
     18</p></div><div class="sect1" title="What Are Charsets and Unicode?"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2676001"></a>What Are Charsets and Unicode?</h2></div></div></div><p>
     19<a class="indexterm" name="id2676009"></a>
    2020Computers communicate in numbers. In texts, each number is
    2121translated to a corresponding letter. The meaning that will be assigned
     
    2323</em></span> that is used.
    2424</p><p>
    25 <a class="indexterm" name="id2669971"></a>
    26 <a class="indexterm" name="id2669978"></a>
     25<a class="indexterm" name="id2676026"></a>
     26<a class="indexterm" name="id2676033"></a>
    2727A charset can be seen as a table that is used to translate numbers to
    2828letters. Not all computers use the same charset (there are charsets
     
    3232256 characters. Using this mode of encoding, each character takes exactly one byte.
    3333</p><p>
    34 <a class="indexterm" name="id2669996"></a>
    35 <a class="indexterm" name="id2670003"></a>
     34<a class="indexterm" name="id2676051"></a>
     35<a class="indexterm" name="id2676058"></a>
    3636There are also charsets that support extended characters, but those need at least
    3737twice as much storage space as does ASCII encoding. Such charsets can contain
     
    4040more then one byte to store one character.
    4141</p><p>
    42 <a class="indexterm" name="id2670025"></a>
     42<a class="indexterm" name="id2676080"></a>
    4343One standardized multibyte charset encoding scheme is known as
    4444<a class="ulink" href="http://www.unicode.org/" target="_top">unicode</a>.  A big advantage of using a
     
    4646computers use the same charset when they are communicating.
    4747</p><p>
    48 <a class="indexterm" name="id2670045"></a>
    49 <a class="indexterm" name="id2670052"></a>
    50 <a class="indexterm" name="id2670059"></a>
     48<a class="indexterm" name="id2676100"></a>
     49<a class="indexterm" name="id2676107"></a>
     50<a class="indexterm" name="id2676114"></a>
    5151Old Windows clients use single-byte charsets, named
    5252<em class="parameter"><code>codepages</code></em>, by Microsoft. However, there is no support for
     
    5454have to make sure you are using the same charset when talking to an older client.
    5555Newer clients (Windows NT, 200x, XP) talk Unicode over the wire.
    56 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2670080"></a>Samba and Charsets</h2></div></div></div><p>
    57 <a class="indexterm" name="id2670087"></a>
    58 <a class="indexterm" name="id2670094"></a>
     56</p></div><div class="sect1" title="Samba and Charsets"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2676134"></a>Samba and Charsets</h2></div></div></div><p>
     57<a class="indexterm" name="id2676142"></a>
     58<a class="indexterm" name="id2676149"></a>
    5959As of Samba-3, Samba can (and will) talk Unicode over the wire. Internally,
    6060Samba knows of three kinds of character sets:
    6161</p><div class="variablelist"><dl><dt><span class="term"><a class="link" href="smb.conf.5.html#UNIXCHARSET" target="_top">unix charset</a></span></dt><dd><p>
    62 <a class="indexterm" name="id2670126"></a>
    63 <a class="indexterm" name="id2670132"></a>
     62<a class="indexterm" name="id2676181"></a>
     63<a class="indexterm" name="id2676187"></a>
    6464                This is the charset used internally by your operating system.
    6565                The default is <code class="constant">UTF-8</code>, which is fine for most
     
    7474                Run <code class="literal">testparm -v | grep "dos charset"</code> to see
    7575                what the default is on your system.
    76                 </p></dd></dl></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2670215"></a>Conversion from Old Names</h2></div></div></div><p>
    77 <a class="indexterm" name="id2670223"></a>
     76                </p></dd></dl></div></div><div class="sect1" title="Conversion from Old Names"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2676270"></a>Conversion from Old Names</h2></div></div></div><p>
     77<a class="indexterm" name="id2676278"></a>
    7878Because previous Samba versions did not do any charset conversion,
    7979characters in filenames are usually not correct in the UNIX charset but only
     
    8181</p><p>Bjoern Jacke has written a utility named <a class="ulink" href="http://j3e.de/linux/convmv/" target="_top">convmv</a>
    8282that can convert whole directory structures to different charsets with one single command.
    83 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2670247"></a>Japanese Charsets</h2></div></div></div><p>
     83</p></div><div class="sect1" title="Japanese Charsets"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2676302"></a>Japanese Charsets</h2></div></div></div><p>
    8484Setting up Japanese charsets is quite difficult. This is mainly because:
    85 </p><div class="itemizedlist"><ul type="disc"><li><p>
    86 <a class="indexterm" name="id2670262"></a>
     85</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     86<a class="indexterm" name="id2676317"></a>
    8787                The Windows character set is extended from the original legacy Japanese
    8888                standard (JIS X 0208) and is not standardized. This means that the strictly
    8989                standardized implementation cannot support the full Windows character set.
    90         </p></li><li><p>
    91 <a class="indexterm" name="id2670277"></a>
    92 <a class="indexterm" name="id2670284"></a>
    93 <a class="indexterm" name="id2670291"></a>
    94 <a class="indexterm" name="id2670298"></a>
    95 <a class="indexterm" name="id2670304"></a>
     90        </p></li><li class="listitem"><p>
     91<a class="indexterm" name="id2676332"></a>
     92<a class="indexterm" name="id2676339"></a>
     93<a class="indexterm" name="id2676346"></a>
     94<a class="indexterm" name="id2676353"></a>
     95<a class="indexterm" name="id2676359"></a>
    9696                Mainly for historical reasons, there are several encoding methods in
    9797                Japanese, which are not fully compatible with each other. There are
     
    102102                UNIXes that can't use Japanese filenames.  Some implementations of the
    103103                EUC-JP series can't support the full Windows character set.
    104         </p></li><li><p>There are some code conversion tables between Unicode and legacy
     104        </p></li><li class="listitem"><p>There are some code conversion tables between Unicode and legacy
    105105                Japanese character sets. One is compatible with Windows, another one
    106106                is based on the reference of the Unicode consortium, and others are
     
    108108                define any conversion tables between Unicode and legacy character
    109109                sets, so there cannot be standard one.
    110         </p></li><li><p>The character set and conversion tables available in iconv() depend
     110        </p></li><li class="listitem"><p>The character set and conversion tables available in iconv() depend
    111111                on the iconv library that is available. Next to that, the Japanese locale
    112112                names may be different on different systems.  This means that the value of
    113113                the charset parameters depends on the implementation of iconv() you are using.
    114114                </p><p>
    115 <a class="indexterm" name="id2670354"></a>
    116 <a class="indexterm" name="id2670361"></a>
    117 <a class="indexterm" name="id2670368"></a>
    118 <a class="indexterm" name="id2670374"></a>
     115<a class="indexterm" name="id2676409"></a>
     116<a class="indexterm" name="id2676416"></a>
     117<a class="indexterm" name="id2676422"></a>
     118<a class="indexterm" name="id2676429"></a>
    119119                Though 2-byte fixed UCS-2 encoding is used in Windows internally,
    120120                Shift_JIS series encoding is usually used in Japanese environments
    121121                as ASCII encoding is in English environments.
    122         </p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2670386"></a>Basic Parameter Setting</h3></div></div></div><p>
    123 <a class="indexterm" name="id2670393"></a>
     122        </p></li></ul></div><div class="sect2" title="Basic Parameter Setting"><div class="titlepage"><div><div><h3 class="title"><a name="id2676441"></a>Basic Parameter Setting</h3></div></div></div><p>
     123<a class="indexterm" name="id2676448"></a>
    124124        The <a class="link" href="smb.conf.5.html#DOSCHARSET" target="_top">dos charset</a> and
    125125        <a class="link" href="smb.conf.5.html#DISPLAYCHARSET" target="_top">display charset</a>
     
    128128        but sometimes has a different name.
    129129        </p><p>
    130 <a class="indexterm" name="id2670430"></a>
    131 <a class="indexterm" name="id2670436"></a>
    132 <a class="indexterm" name="id2670443"></a>
     130<a class="indexterm" name="id2676485"></a>
     131<a class="indexterm" name="id2676491"></a>
     132<a class="indexterm" name="id2676498"></a>
    133133        The <a class="link" href="smb.conf.5.html#UNIXCHARSET" target="_top">unix charset</a> can be either Shift_JIS series,
    134134        EUC-JP series, or UTF-8. UTF-8 is always available, but the availability of other locales
     
    138138        value of the <a class="link" href="smb.conf.5.html#UNIXCHARSET" target="_top">unix charset</a>
    139139        parameter by using the vfs_cap module, which does the same thing as
    140         setting &#8220;<span class="quote">coding system = CAP</span>&#8221; in the Samba 2.2 series.
     140        setting <span class="quote">&#8220;<span class="quote">coding system = CAP</span>&#8221;</span> in the Samba 2.2 series.
    141141        </p><p>
    142142        Where to set <a class="link" href="smb.conf.5.html#UNIXCHARSET" target="_top">unix charset</a>
     
    147147                        used as a standard on Japanese Windows. In the case of <code class="constant">Shift_JIS</code>,
    148148                        for example, if a Japanese filename consists of 0x8ba4 and 0x974c
    149                         (a 4-bytes Japanese character string meaning &#8220;<span class="quote">share</span>&#8221;) and &#8220;<span class="quote">.txt</span>&#8221;
     149                        (a 4-bytes Japanese character string meaning <span class="quote">&#8220;<span class="quote">share</span>&#8221;</span>) and <span class="quote">&#8220;<span class="quote">.txt</span>&#8221;</span>
    150150                        is written from Windows on Samba, the filename on UNIX becomes
    151                         0x8ba4, 0x974c, &#8220;<span class="quote">.txt</span>&#8221; (an 8-byte BINARY string), same as Windows.
     151                        0x8ba4, 0x974c, <span class="quote">&#8220;<span class="quote">.txt</span>&#8221;</span> (an 8-byte BINARY string), same as Windows.
    152152                        </p><p>Since Shift_JIS series is usually used on some commercial-based
    153153                        UNIXes; hp-ux and AIX as the Japanese locale (however, it is also possible
     
    160160                        may be displayed, and some commands that cannot handle non-ASCII
    161161                        filenames may be aborted during parsing filenames. Especially, there
    162                         may be &#8220;<span class="quote">\ (0x5c)</span>&#8221; in filenames, which need to be handled carefully.
     162                        may be <span class="quote">&#8220;<span class="quote">\ (0x5c)</span>&#8221;</span> in filenames, which need to be handled carefully.
    163163                        It is best to not touch filenames written from Windows on UNIX.
    164164                        </p><p>
     
    167167                        with Shift_JIS.
    168168                        </p></dd><dt><span class="term">EUC-JP series</span></dt><dd><p>
    169 <a class="indexterm" name="id2670577"></a>
    170 <a class="indexterm" name="id2670584"></a>
     169<a class="indexterm" name="id2676632"></a>
     170<a class="indexterm" name="id2676639"></a>
    171171                        EUC-JP series means a locale that is equivalent to the industry
    172172                        standard called EUC-JP, widely used in Japanese UNIX (although EUC
    173173                        contains specifications for languages other than Japanese, such as
    174174                        EUC-KR). In the case of EUC-JP series, for example, if a Japanese
    175                         filename consists of 0x8ba4 and 0x974c and &#8220;<span class="quote">.txt</span>&#8221; is written from
     175                        filename consists of 0x8ba4 and 0x974c and <span class="quote">&#8220;<span class="quote">.txt</span>&#8221;</span> is written from
    176176                        Windows on Samba, the filename on UNIX becomes 0xb6a6, 0xcdad,
    177                         &#8220;<span class="quote">.txt</span>&#8221; (an 8-byte BINARY string).
    178                         </p><p>
    179 <a class="indexterm" name="id2670609"></a>
    180 <a class="indexterm" name="id2670616"></a>
    181 <a class="indexterm" name="id2670623"></a>
    182 <a class="indexterm" name="id2670629"></a>
    183 <a class="indexterm" name="id2670636"></a>
    184 <a class="indexterm" name="id2670643"></a>
    185 <a class="indexterm" name="id2670650"></a>
    186 <a class="indexterm" name="id2670657"></a>
    187 <a class="indexterm" name="id2670664"></a>
    188 <a class="indexterm" name="id2670670"></a>
     177                        <span class="quote">&#8220;<span class="quote">.txt</span>&#8221;</span> (an 8-byte BINARY string).
     178                        </p><p>
     179<a class="indexterm" name="id2676664"></a>
     180<a class="indexterm" name="id2676671"></a>
     181<a class="indexterm" name="id2676678"></a>
     182<a class="indexterm" name="id2676684"></a>
     183<a class="indexterm" name="id2676691"></a>
     184<a class="indexterm" name="id2676698"></a>
     185<a class="indexterm" name="id2676705"></a>
     186<a class="indexterm" name="id2676712"></a>
     187<a class="indexterm" name="id2676718"></a>
     188<a class="indexterm" name="id2676725"></a>
    189189                        Since EUC-JP is usually used on open source UNIX, Linux, and FreeBSD, and on commercial-based UNIX, Solaris,
    190190                        IRIX, and Tru64 UNIX as Japanese locale (however, it is also possible on Solaris to use Shift_JIS and UTF-8,
     
    195195                        </p><p>
    196196                        Although there is no character that needs to be carefully treated
    197                         like &#8220;<span class="quote">\ (0x5c)</span>&#8221;, broken filenames may be displayed and some
     197                        like <span class="quote">&#8220;<span class="quote">\ (0x5c)</span>&#8221;</span>, broken filenames may be displayed and some
    198198                        commands that cannot handle non-ASCII filenames may be aborted
    199199                        during parsing filenames.
    200200                        </p><p>
    201 <a class="indexterm" name="id2670704"></a>
     201<a class="indexterm" name="id2676758"></a>
    202202                        Moreover, if you built Samba using differently installed libiconv,
    203203                        the eucJP-ms locale included in libiconv and EUC-JP series locale
     
    210210                        or 2 bytes is used to express Japanese, basically a byte length of a UTF-8 string the length of the UTF-8
    211211                        string is 1.5 times that of the original Shift_JIS string. In the case of UTF-8, for example, if a Japanese
    212                         filename consists of 0x8ba4 and 0x974c, and &#8220;<span class="quote">.txt</span>&#8221; is written from Windows on Samba, the filename
    213                         on UNIX becomes 0xe585, 0xb1e6, 0x9c89, &#8220;<span class="quote">.txt</span>&#8221; (a 10-byte BINARY string).
     212                        filename consists of 0x8ba4 and 0x974c, and <span class="quote">&#8220;<span class="quote">.txt</span>&#8221;</span> is written from Windows on Samba, the filename
     213                        on UNIX becomes 0xe585, 0xb1e6, 0x9c89, <span class="quote">&#8220;<span class="quote">.txt</span>&#8221;</span> (a 10-byte BINARY string).
    214214                        </p><p>
    215215                        For systems where iconv() is not available or where iconv()'s locales
     
    220220                        Some broken filenames may be displayed, and some commands that
    221221                        cannot handle non-ASCII filenames may be aborted during parsing
    222                         filenames. Especially, there may be &#8220;<span class="quote">\ (0x5c)</span>&#8221; in filenames, which
     222                        filenames. Especially, there may be <span class="quote">&#8220;<span class="quote">\ (0x5c)</span>&#8221;</span> in filenames, which
    223223                        must be handled carefully, so you had better not touch filenames
    224224                        written from Windows on UNIX.
    225225                        </p><p>
    226 <a class="indexterm" name="id2670777"></a>
    227 <a class="indexterm" name="id2670784"></a>
    228 <a class="indexterm" name="id2670790"></a>
     226<a class="indexterm" name="id2676832"></a>
     227<a class="indexterm" name="id2676838"></a>
     228<a class="indexterm" name="id2676845"></a>
    229229                        In addition, although it is not directly concerned with Samba, since
    230230                        there is a delicate difference between the iconv() function, which is
     
    234234                        of the limitations involved in the process.
    235235                        </p><p>
    236 <a class="indexterm" name="id2670807"></a>
     236<a class="indexterm" name="id2676862"></a>
    237237                        Although Mac OS X uses UTF-8 as its encoding method for filenames,
    238238                        it uses an extended UTF-8 specification that Samba cannot handle, so
    239239                        UTF-8 locale is not available for Mac OS X.
    240240                        </p></dd><dt><span class="term">Shift_JIS series + vfs_cap (CAP encoding)</span></dt><dd><p>
    241 <a class="indexterm" name="id2670828"></a>
    242 <a class="indexterm" name="id2670835"></a>
    243 <a class="indexterm" name="id2670842"></a>
     241<a class="indexterm" name="id2676883"></a>
     242<a class="indexterm" name="id2676890"></a>
     243<a class="indexterm" name="id2676896"></a>
    244244                        CAP encoding means a specification used in CAP and NetAtalk, file
    245245                        server software for Macintosh. In the case of CAP encoding, for
    246246                        example, if a Japanese filename consists of 0x8ba4 and 0x974c, and
    247                         &#8220;<span class="quote">.txt</span>&#8221; is written from Windows on Samba, the filename on UNIX
    248                         becomes &#8220;<span class="quote">:8b:a4:97L.txt</span>&#8221; (a 14 bytes ASCII string).
     247                        <span class="quote">&#8220;<span class="quote">.txt</span>&#8221;</span> is written from Windows on Samba, the filename on UNIX
     248                        becomes <span class="quote">&#8220;<span class="quote">:8b:a4:97L.txt</span>&#8221;</span> (a 14 bytes ASCII string).
    249249                        </p><p>
    250250                        For CAP encoding, a byte that cannot be expressed as an ASCII
    251                         character (0x80 or above) is encoded in an &#8220;<span class="quote">:xx</span>&#8221; form. You need to take
    252                         care of containing a &#8220;<span class="quote">\(0x5c)</span>&#8221; in a filename, but filenames are not
     251                        character (0x80 or above) is encoded in an <span class="quote">&#8220;<span class="quote">:xx</span>&#8221;</span> form. You need to take
     252                        care of containing a <span class="quote">&#8220;<span class="quote">\(0x5c)</span>&#8221;</span> in a filename, but filenames are not
    253253                        broken in a system that cannot handle non-ASCII filenames.
    254254                        </p><p>
     
    270270                        To use CAP encoding on Samba-3, you should use the unix charset parameter and VFS
    271271                        as in <a class="link" href="unicode.html#vfscap-intl" title="Example 30.1. VFS CAP">the VFS CAP smb.conf file</a>.
    272                         </p><div class="example"><a name="vfscap-intl"></a><p class="title"><b>Example 30.1. VFS CAP</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td># the locale name "CP932" may be different</td></tr><tr><td><a class="indexterm" name="id2670941"></a><em class="parameter"><code>dos charset = CP932</code></em></td></tr><tr><td><a class="indexterm" name="id2670952"></a><em class="parameter"><code>unix charset = CP932</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[cap-share]</code></em></td></tr><tr><td><a class="indexterm" name="id2670973"></a><em class="parameter"><code>vfs option = cap</code></em></td></tr></table></div></div><br class="example-break"><p>
    273 <a class="indexterm" name="id2670988"></a>
    274 <a class="indexterm" name="id2670995"></a>
    275 <a class="indexterm" name="id2671002"></a>
    276 <a class="indexterm" name="id2671009"></a>
     272                        </p><div class="example"><a name="vfscap-intl"></a><p class="title"><b>Example 30.1. VFS CAP</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td># the locale name "CP932" may be different</td></tr><tr><td><a class="indexterm" name="id2676996"></a><em class="parameter"><code>dos charset = CP932</code></em></td></tr><tr><td><a class="indexterm" name="id2677007"></a><em class="parameter"><code>unix charset = CP932</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[cap-share]</code></em></td></tr><tr><td><a class="indexterm" name="id2677028"></a><em class="parameter"><code>vfs option = cap</code></em></td></tr></table></div></div><br class="example-break"><p>
     273<a class="indexterm" name="id2677043"></a>
     274<a class="indexterm" name="id2677050"></a>
     275<a class="indexterm" name="id2677057"></a>
     276<a class="indexterm" name="id2677064"></a>
    277277                        You should set CP932 if using GNU libiconv for unix charset. With this setting,
    278                         filenames in the &#8220;<span class="quote">cap-share</span>&#8221; share are written with CAP encoding.
    279                         </p></dd></dl></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2671027"></a>Individual Implementations</h3></div></div></div><p>
     278                        filenames in the <span class="quote">&#8220;<span class="quote">cap-share</span>&#8221;</span> share are written with CAP encoding.
     279                        </p></dd></dl></div></div><div class="sect2" title="Individual Implementations"><div class="titlepage"><div><div><h3 class="title"><a name="id2677082"></a>Individual Implementations</h3></div></div></div><p>
    280280Here is some additional information regarding individual implementations:
    281281</p><div class="variablelist"><dl><dt><span class="term">GNU libiconv</span></dt><dd><p>
     
    300300                        </p><p>
    301301                        Using the above glibc, these setting are available:
    302                         </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2671103"></a><em class="parameter"><code>dos charset = CP932</code></em></td></tr><tr><td><a class="indexterm" name="id2671115"></a><em class="parameter"><code>unix charset = CP932 / eucJP-ms / UTF-8</code></em></td></tr><tr><td><a class="indexterm" name="id2671127"></a><em class="parameter"><code>display charset = CP932</code></em></td></tr></table><p>
     302                        </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2677158"></a><em class="parameter"><code>dos charset = CP932</code></em></td></tr><tr><td><a class="indexterm" name="id2677170"></a><em class="parameter"><code>unix charset = CP932 / eucJP-ms / UTF-8</code></em></td></tr><tr><td><a class="indexterm" name="id2677182"></a><em class="parameter"><code>display charset = CP932</code></em></td></tr></table><p>
    303303                        </p><p>
    304304                        Other Japanese locales (for example, Shift_JIS and EUC-JP) should not
    305305                        be used because of the lack of the compatibility with Windows.
    306                         </p></dd></dl></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2671150"></a>Migration from Samba-2.2 Series</h3></div></div></div><p>
    307 Prior to Samba-2.2 series, the &#8220;<span class="quote">coding system</span>&#8221; parameter was used. The default codepage in Samba
     306                        </p></dd></dl></div></div><div class="sect2" title="Migration from Samba-2.2 Series"><div class="titlepage"><div><div><h3 class="title"><a name="id2677205"></a>Migration from Samba-2.2 Series</h3></div></div></div><p>
     307Prior to Samba-2.2 series, the <span class="quote">&#8220;<span class="quote">coding system</span>&#8221;</span> parameter was used. The default codepage in Samba
    3083082.x was code page 850. In the Samba-3 series this has been replaced with the <a class="link" href="smb.conf.5.html#UNIXCHARSET" target="_top">unix charset</a> parameter.  <a class="link" href="unicode.html#japancharsets" title="Table 30.1. Japanese Character Sets in Samba-2.2 and Samba-3">Japanese Character Sets in Samba-2.2 and Samba-3</a>
    309309shows the mapping table when migrating from the Samba-2.2 series to Samba-3.
    310 </p><div class="table"><a name="japancharsets"></a><p class="title"><b>Table 30.1. Japanese Character Sets in Samba-2.2 and Samba-3</b></p><div class="table-contents"><table summary="Japanese Character Sets in Samba-2.2 and Samba-3" border="1"><colgroup><col align="center"><col align="center"></colgroup><thead><tr><th align="center">Samba-2.2 Coding System</th><th align="center">Samba-3 unix charset</th></tr></thead><tbody><tr><td align="center">SJIS</td><td align="center">Shift_JIS series</td></tr><tr><td align="center">EUC</td><td align="center">EUC-JP series</td></tr><tr><td align="center">EUC3<sup>[<a name="id2671246" href="#ftn.id2671246" class="footnote">a</a>]</sup></td><td align="center">EUC-JP series</td></tr><tr><td align="center">CAP</td><td align="center">Shift_JIS series + VFS</td></tr><tr><td align="center">HEX</td><td align="center">currently none</td></tr><tr><td align="center">UTF8</td><td align="center">UTF-8</td></tr><tr><td align="center">UTF8-Mac<sup>[<a name="id2671277" href="#ftn.id2671277" class="footnote">b</a>]</sup></td><td align="center">currently none</td></tr><tr><td align="center">others</td><td align="center">none</td></tr></tbody><tbody class="footnotes"><tr><td colspan="2"><div class="footnote"><p><sup>[<a name="ftn.id2671246" href="#id2671246" class="para">a</a>] </sup>Only exists in Japanese Samba version</p></div><div class="footnote"><p><sup>[<a name="ftn.id2671277" href="#id2671277" class="para">b</a>] </sup>Only exists in Japanese Samba version</p></div></td></tr></tbody></table></div></div><br class="table-break"></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2671297"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2671302"></a>CP850.so Can't Be Found</h3></div></div></div><p>&#8220;<span class="quote">Samba is complaining about a missing <code class="filename">CP850.so</code> file.</span>&#8221;</p><p>
     310</p><div class="table"><a name="japancharsets"></a><p class="title"><b>Table 30.1. Japanese Character Sets in Samba-2.2 and Samba-3</b></p><div class="table-contents"><table summary="Japanese Character Sets in Samba-2.2 and Samba-3" border="1"><colgroup><col align="center"><col align="center"></colgroup><thead><tr><th align="center">Samba-2.2 Coding System</th><th align="center">Samba-3 unix charset</th></tr></thead><tbody><tr><td align="center">SJIS</td><td align="center">Shift_JIS series</td></tr><tr><td align="center">EUC</td><td align="center">EUC-JP series</td></tr><tr><td align="center">EUC3<sup>[<a name="id2677301" href="#ftn.id2677301" class="footnote">a</a>]</sup></td><td align="center">EUC-JP series</td></tr><tr><td align="center">CAP</td><td align="center">Shift_JIS series + VFS</td></tr><tr><td align="center">HEX</td><td align="center">currently none</td></tr><tr><td align="center">UTF8</td><td align="center">UTF-8</td></tr><tr><td align="center">UTF8-Mac<sup>[<a name="id2677332" href="#ftn.id2677332" class="footnote">b</a>]</sup></td><td align="center">currently none</td></tr><tr><td align="center">others</td><td align="center">none</td></tr></tbody><tbody class="footnotes"><tr><td colspan="2"><div class="footnote"><p><sup>[<a name="ftn.id2677301" href="#id2677301" class="para">a</a>] </sup>Only exists in Japanese Samba version</p></div><div class="footnote"><p><sup>[<a name="ftn.id2677332" href="#id2677332" class="para">b</a>] </sup>Only exists in Japanese Samba version</p></div></td></tr></tbody></table></div></div><br class="table-break"></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2677352"></a>Common Errors</h2></div></div></div><div class="sect2" title="CP850.so Can't Be Found"><div class="titlepage"><div><div><h3 class="title"><a name="id2677357"></a>CP850.so Can't Be Found</h3></div></div></div><p><span class="quote">&#8220;<span class="quote">Samba is complaining about a missing <code class="filename">CP850.so</code> file.</span>&#8221;</span></p><p>
    311311                CP850 is the default <a class="link" href="smb.conf.5.html#DOSCHARSET" target="_top">dos charset</a>.
    312312                The <a class="link" href="smb.conf.5.html#DOSCHARSET" target="_top">dos charset</a> is used to convert data to the codepage used by your DOS clients.
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/upgrading-to-3.0.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 35. Updating and Upgrading Samba</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="migration.html" title="Part IV. Migration and Updating"><link rel="prev" href="migration.html" title="Part IV. Migration and Updating"><link rel="next" href="NT4Migration.html" title="Chapter 36. Migration from NT4 PDC to Samba-3 PDC"></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 35. Updating and Upgrading Samba</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="migration.html">Prev</a> </td><th width="60%" align="center">Part IV. Migration and Updating</th><td width="20%" align="right"> <a accesskey="n" href="NT4Migration.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="upgrading-to-3.0"></a>Chapter 35. Updating and Upgrading Samba</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">August 16, 2007</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2676238">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676275">Upgrading from Samba-3.0.x to Samba-3.2.0</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676324">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2676475">New Features in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676484">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2677694">New Functionality</a></span></dt></dl></dd></dl></div><p>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 35. Updating and Upgrading Samba</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="migration.html" title="Part IV. Migration and Updating"><link rel="prev" href="migration.html" title="Part IV. Migration and Updating"><link rel="next" href="NT4Migration.html" title="Chapter 36. Migration from NT4 PDC to Samba-3 PDC"></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 35. Updating and Upgrading Samba</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="migration.html">Prev</a> </td><th width="60%" align="center">Part IV. Migration and Updating</th><td width="20%" align="right"> <a accesskey="n" href="NT4Migration.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 35. Updating and Upgrading Samba"><div class="titlepage"><div><div><h2 class="title"><a name="upgrading-to-3.0"></a>Chapter 35. Updating and Upgrading Samba</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">August 16, 2007</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2682300">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682336">Upgrading from Samba-3.0.x to Samba-3.2.0</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682386">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2682537">New Features in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682546">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2683756">New Functionality</a></span></dt></dl></dd></dl></div><p>
    22This chapter provides a detailed record of changes made during the 3.x series releases. At this time this
    33series consists of the 3.0.x series that is under the GNU GPL version 2 license, and the Samba 3.2.x series
    44that is being released under the terms of the GNU GPL version 3 license.
    5 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2676238"></a>Key Update Requirements</h2></div></div></div><p>
     5</p><div class="sect1" title="Key Update Requirements"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2682300"></a>Key Update Requirements</h2></div></div></div><p>
    66Samba is a fluid product in which there may be significant changes between releases. Some of these changes are
    77brought about as a result of changes in the protocols that are used by Microsoft Windows network clients as a
     
    14143.0.25 before 3.2.0-specific changes were applied. Unless a 3.0.x series feature is specifically revoked, the
    1515behavior of the 3.2.x series can be expected to follow the earlier pattern.
    16 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2676275"></a>Upgrading from Samba-3.0.x to Samba-3.2.0</h3></div></div></div><p>
    17 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="oldupdatenotes"></a>Upgrading from Samba-2.x to Samba-3.0.25</h3></div></div></div><p>
    18 <a class="indexterm" name="id2676298"></a>
    19 <a class="indexterm" name="id2676304"></a>
    20 <a class="indexterm" name="id2676311"></a>
     16</p><div class="sect2" title="Upgrading from Samba-3.0.x to Samba-3.2.0"><div class="titlepage"><div><div><h3 class="title"><a name="id2682336"></a>Upgrading from Samba-3.0.x to Samba-3.2.0</h3></div></div></div><p>
     17</p></div><div class="sect2" title="Upgrading from Samba-2.x to Samba-3.0.25"><div class="titlepage"><div><div><h3 class="title"><a name="oldupdatenotes"></a>Upgrading from Samba-2.x to Samba-3.0.25</h3></div></div></div><p>
     18<a class="indexterm" name="id2682359"></a>
     19<a class="indexterm" name="id2682366"></a>
     20<a class="indexterm" name="id2682373"></a>
    2121This chapter deals exclusively with the differences between Samba-3.0.25 and Samba-2.2.8a.
    2222It points out where configuration parameters have changed, and provides a simple guide for
    2323the move from 2.2.x to 3.0.25.
    24 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2676324"></a>Quick Migration Guide</h3></div></div></div><p>
     24</p></div><div class="sect2" title="Quick Migration Guide"><div class="titlepage"><div><div><h3 class="title"><a name="id2682386"></a>Quick Migration Guide</h3></div></div></div><p>
    2525Samba-3.0.25 default behavior should be approximately the same as Samba-2.2.x.
    2626The default behavior when the new parameter <a class="link" href="smb.conf.5.html#PASSDBBACKEND" target="_top">passdb backend</a>
     
    2929will use the <code class="filename">smbpasswd</code> database.
    3030</p><p>
    31 <a class="indexterm" name="id2676374"></a>
    32 <a class="indexterm" name="id2676382"></a>
     31<a class="indexterm" name="id2682436"></a>
     32<a class="indexterm" name="id2682443"></a>
    3333So why say that <span class="emphasis"><em>behavior should be approximately the same as Samba-2.2.x</em></span>? Because
    3434Samba-3.0.25 can negotiate new protocols, such as support for native Unicode, that may result in
     
    3737preserved across the upgrade.
    3838</p><p>
    39 <a class="indexterm" name="id2676402"></a>
    40 <a class="indexterm" name="id2676409"></a>
    41 <a class="indexterm" name="id2676416"></a>
    42 <a class="indexterm" name="id2676422"></a>
     39<a class="indexterm" name="id2682464"></a>
     40<a class="indexterm" name="id2682470"></a>
     41<a class="indexterm" name="id2682477"></a>
     42<a class="indexterm" name="id2682484"></a>
    4343If the Samba-2.2.x system is using an LDAP backend, and there is no time to update the LDAP
    4444database, then make sure that <a class="link" href="smb.conf.5.html#PASSDBBACKEND" target="_top">passdb backend = ldapsam_compat</a>
     
    4747to migrate the old LDAP database to the new one through use of the <code class="literal">pdbedit</code>.
    4848See <a class="link" href="passdb.html#pdbeditthing" title="The pdbedit Tool">The <span class="emphasis"><em>pdbedit</em></span> Command</a>.
    49 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2676475"></a>New Features in Samba-3.x Series</h2></div></div></div><p>
    50 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2676484"></a>New Features in Samba-3.2.x Series</h3></div></div></div><p>
    51 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2676494"></a>New Features in Samba-3.0.x</h3></div></div></div><p>
     49</p></div></div><div class="sect1" title="New Features in Samba-3.x Series"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2682537"></a>New Features in Samba-3.x Series</h2></div></div></div><p>
     50</p><div class="sect2" title="New Features in Samba-3.2.x Series"><div class="titlepage"><div><div><h3 class="title"><a name="id2682546"></a>New Features in Samba-3.2.x Series</h3></div></div></div><p>
     51</p></div><div class="sect2" title="New Features in Samba-3.0.x"><div class="titlepage"><div><div><h3 class="title"><a name="id2682556"></a>New Features in Samba-3.0.x</h3></div></div></div><p>
    5252The major new features are:
    53 </p><div class="orderedlist"><ol type="1"><li><p>
    54 <a class="indexterm" name="id2676516"></a>
    55 <a class="indexterm" name="id2676523"></a>
     53</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
     54<a class="indexterm" name="id2682578"></a>
     55<a class="indexterm" name="id2682584"></a>
    5656        Active Directory support. This release is able to join an ADS realm
    5757        as a member server and authenticate users using LDAP/Kerberos.
    58         </p></li><li><p>
    59 <a class="indexterm" name="id2676536"></a>
    60 <a class="indexterm" name="id2676543"></a>
     58        </p></li><li class="listitem"><p>
     59<a class="indexterm" name="id2682598"></a>
     60<a class="indexterm" name="id2682604"></a>
    6161        Unicode support. Samba will now negotiate Unicode on the wire, and
    6262        internally there is a much better infrastructure for multibyte
    6363        and Unicode character sets.
    64         </p></li><li><p>
    65 <a class="indexterm" name="id2676557"></a>
     64        </p></li><li class="listitem"><p>
     65<a class="indexterm" name="id2682618"></a>
    6666        New authentication system. The internal authentication system has
    6767        been almost completely rewritten. Most of the changes are internal,
    6868        but the new authoring system is also very configurable.
    69         </p></li><li><p>
    70 <a class="indexterm" name="id2676572"></a>
     69        </p></li><li class="listitem"><p>
     70<a class="indexterm" name="id2682632"></a>
    7171        New filename mangling system. The filename mangling system has been
    7272        completely rewritten. An internal database now stores mangling maps
    7373        persistently.
    74         </p></li><li><p>
    75 <a class="indexterm" name="id2676585"></a>
    76         New &#8220;<span class="quote">net</span>&#8221; command. A new &#8220;<span class="quote">net</span>&#8221; command has been added. It is
    77         somewhat similar to the &#8220;<span class="quote">net</span>&#8221; command in Windows. Eventually, we
     74        </p></li><li class="listitem"><p>
     75<a class="indexterm" name="id2682646"></a>
     76        New <span class="quote">&#8220;<span class="quote">net</span>&#8221;</span> command. A new <span class="quote">&#8220;<span class="quote">net</span>&#8221;</span> command has been added. It is
     77        somewhat similar to the <span class="quote">&#8220;<span class="quote">net</span>&#8221;</span> command in Windows. Eventually, we
    7878        plan to replace a bunch of other utilities (such as smbpasswd)
    79         with subcommands in &#8220;<span class="quote">net</span>&#8221;.
    80         </p></li><li><p>
    81 <a class="indexterm" name="id2676613"></a>
     79        with subcommands in <span class="quote">&#8220;<span class="quote">net</span>&#8221;</span>.
     80        </p></li><li class="listitem"><p>
     81<a class="indexterm" name="id2682674"></a>
    8282        Samba now negotiates NT-style status32 codes on the wire. This
    8383        considerably improves error handling.
    84         </p></li><li><p>
    85 <a class="indexterm" name="id2676626"></a>
     84        </p></li><li class="listitem"><p>
     85<a class="indexterm" name="id2682687"></a>
    8686        Better Windows 200x/XP printing support, including publishing
    8787        printer attributes in Active Directory.
    88         </p></li><li><p>
    89 <a class="indexterm" name="id2676640"></a>
    90 <a class="indexterm" name="id2676646"></a>
    91 <a class="indexterm" name="id2676653"></a>
     88        </p></li><li class="listitem"><p>
     89<a class="indexterm" name="id2682700"></a>
     90<a class="indexterm" name="id2682707"></a>
     91<a class="indexterm" name="id2682714"></a>
    9292        New loadable RPC modules for passdb backends and character sets.
    93         </p></li><li><p>
    94 <a class="indexterm" name="id2676666"></a>
     93        </p></li><li class="listitem"><p>
     94<a class="indexterm" name="id2682727"></a>
    9595        New default dual-daemon winbindd support for better performance.
    96         </p></li><li><p>
    97 <a class="indexterm" name="id2676678"></a>
    98 <a class="indexterm" name="id2676684"></a>
    99 <a class="indexterm" name="id2676691"></a>
     96        </p></li><li class="listitem"><p>
     97<a class="indexterm" name="id2682739"></a>
     98<a class="indexterm" name="id2682746"></a>
     99<a class="indexterm" name="id2682753"></a>
    100100        Support for migrating from a Windows NT 4.0 domain to a Samba
    101101        domain and maintaining user, group, and domain SIDs.
    102         </p></li><li><p>
    103 <a class="indexterm" name="id2676704"></a>
    104 <a class="indexterm" name="id2676711"></a>
     102        </p></li><li class="listitem"><p>
     103<a class="indexterm" name="id2682766"></a>
     104<a class="indexterm" name="id2682773"></a>
    105105        Support for establishing trust relationships with Windows NT 4.0
    106106        domain controllers.
    107         </p></li><li><p>
    108 <a class="indexterm" name="id2676724"></a>
    109 <a class="indexterm" name="id2676731"></a>
    110 <a class="indexterm" name="id2676738"></a>
     107        </p></li><li class="listitem"><p>
     108<a class="indexterm" name="id2682786"></a>
     109<a class="indexterm" name="id2682793"></a>
     110<a class="indexterm" name="id2682800"></a>
    111111        Initial support for a distributed Winbind architecture using
    112112        an LDAP directory for storing SID to UID/GID mappings.
    113         </p></li><li><p>
     113        </p></li><li class="listitem"><p>
    114114        Major updates to the Samba documentation tree.
    115         </p></li><li><p>
    116 <a class="indexterm" name="id2676756"></a>
    117 <a class="indexterm" name="id2676763"></a>
     115        </p></li><li class="listitem"><p>
     116<a class="indexterm" name="id2682818"></a>
     117<a class="indexterm" name="id2682825"></a>
    118118        Full support for client and server SMB signing to ensure
    119119        compatibility with default Windows 2003 security settings.
    120120        </p></li></ol></div><p>
    121121Plus lots of other improvements!
    122 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2676778"></a>Configuration Parameter Changes</h4></div></div></div><p>
     122</p><div class="sect3" title="Configuration Parameter Changes"><div class="titlepage"><div><div><h4 class="title"><a name="id2682840"></a>Configuration Parameter Changes</h4></div></div></div><p>
    123123This section contains a brief listing of changes to <code class="filename">smb.conf</code> options since the Samba-2.2.x series up to and
    124124including Samba-3.0.25.
     
    131131be obtain on-line from the Samba <a class="ulink" href="http://www.samba.org/samba/" target="_top">web site</a>, in
    132132the right column, under Current Stable Release, by clicking on <span class="emphasis"><em>Release Notes</em></span>.
    133 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2676823"></a>Removed Parameters</h4></div></div></div><a class="indexterm" name="id2676829"></a><p>
     133</p></div><div class="sect3" title="Removed Parameters"><div class="titlepage"><div><div><h4 class="title"><a name="id2682885"></a>Removed Parameters</h4></div></div></div><a class="indexterm" name="id2682890"></a><p>
    134134In alphabetical order, these are the parameters eliminated from Samba-2.2.x through 3.0.25.
    135 </p><div class="itemizedlist"><ul type="disc"><li><p>admin log</p></li><li><p>alternate permissions</p></li><li><p>character set</p></li><li><p>client codepage</p></li><li><p>code page directory</p></li><li><p>coding system</p></li><li><p>domain admin group</p></li><li><p>domain guest group</p></li><li><p>enable rid algorithm</p></li><li><p>enable svcctl</p></li><li><p>force unknown acl user</p></li><li><p>hosts equiv</p></li><li><p>ldap filter</p></li><li><p>min password length</p></li><li><p>nt smb support</p></li><li><p>post script</p></li><li><p>printer admin</p></li><li><p>printer driver</p></li><li><p>printer driver file</p></li><li><p>printer driver location</p></li><li><p>read size</p></li><li><p>source environment</p></li><li><p>status </p></li><li><p>strip dot </p></li><li><p>total print jobs</p></li><li><p>unicode</p></li><li><p>use rhosts</p></li><li><p>valid chars</p></li><li><p>vfs options</p></li><li><p>winbind enable local accounts</p></li><li><p>winbind max idle children</p></li><li><p>wins partners</p></li></ul></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2676994"></a>New Parameters</h4></div></div></div><p>The following new parameters have been released up to and including Samba 3.0.25 (grouped by function:)</p><p>Remote Management</p><a class="indexterm" name="id2677008"></a><div class="itemizedlist"><ul type="disc"><li><p>abort shutdown script</p></li><li><p>shutdown script</p></li></ul></div><p>User and Group Account Management</p><div class="itemizedlist"><ul type="disc"><li><p>add group script</p></li><li><p>add machine script</p></li><li><p>add user to group script</p></li><li><p>algorithmic rid base</p></li><li><p>delete group script</p></li><li><p>delete user from group script</p></li><li><p>passdb backend</p></li><li><p>rename user script</p></li><li><p>set primary group script</p></li><li><p>username map script</p></li></ul></div><p>Authentication</p><div class="itemizedlist"><ul type="disc"><li><p>auth methods</p></li><li><p>ldap password sync</p></li><li><p>passdb expand explicit</p></li><li><p>realm</p></li></ul></div><p>Protocol Options</p><div class="itemizedlist"><ul type="disc"><li><p>add port command</p></li><li><p>afs token lifetime</p></li><li><p>client lanman auth</p></li><li><p>client NTLMv2 auth</p></li><li><p>client schannel</p></li><li><p>client signing</p></li><li><p>client use spnego</p></li><li><p>defer sharing violations</p></li><li><p>disable netbios</p></li><li><p>dmapi support</p></li><li><p>enable privileges</p></li><li><p>use kerberos keytab</p></li><li><p>log nt token command</p></li><li><p>ntlm auth</p></li><li><p>paranoid server security </p></li><li><p>sendfile</p></li><li><p>server schannel</p></li><li><p>server signing</p></li><li><p>smb ports</p></li><li><p>svcctl list</p></li><li><p>use spnego</p></li></ul></div><p>File Service</p><div class="itemizedlist"><ul type="disc"><li><p>allocation roundup size</p></li><li><p>acl check permissions</p></li><li><p>acl group control</p></li><li><p>acl map full control</p></li><li><p>aio read size</p></li><li><p>aio write size</p></li><li><p>dfree cache time</p></li><li><p>dfree command</p></li><li><p>ea support</p></li><li><p>enable asu support</p></li><li><p>fam change notify</p></li><li><p>force unknown acl user</p></li><li><p>get quota command</p></li><li><p>hide special files</p></li><li><p>hide unwriteable files</p></li><li><p>inherit owner</p></li><li><p>hostname lookups</p></li><li><p>kernel change notify</p></li><li><p>mangle prefix</p></li><li><p>map acl inherit</p></li><li><p>map read only</p></li><li><p>max stat cache size</p></li><li><p>msdfs proxy</p></li><li><p>open files database hash size</p></li><li><p>set quota command</p></li><li><p>store dos attributes</p></li><li><p>use sendfile</p></li><li><p>usershare allow guests</p></li><li><p>usershare max shares</p></li><li><p>usershare owner only</p></li><li><p>usershare path</p></li><li><p>usershare prefix allow list</p></li><li><p>usershare prefix deny list</p></li><li><p>usershare template share</p></li><li><p>vfs objects</p></li></ul></div><p>Printing</p><div class="itemizedlist"><ul type="disc"><li><p>cups options</p></li><li><p>cups server</p></li><li><p>force printername</p></li><li><p>iprint server</p></li><li><p>max reported print jobs</p></li><li><p>printcap cache time</p></li></ul></div><p>Unicode and Character Sets</p><div class="itemizedlist"><ul type="disc"><li><p>display charset</p></li><li><p>dos charset</p></li><li><p>UNIX charset</p></li></ul></div><p>SID to UID/GID Mappings</p><div class="itemizedlist"><ul type="disc"><li><p>idmap backend</p></li><li><p>idmap gid</p></li><li><p>idmap uid</p></li><li><p>username map script</p></li><li><p>winbind nss info</p></li><li><p>winbind offline logon</p></li><li><p>winbind refresh tickets</p></li><li><p>winbind trusted domains only</p></li><li><p>template primary group</p></li></ul></div><p>LDAP</p><div class="itemizedlist"><ul type="disc"><li><p>ldap delete dn</p></li><li><p>ldap group suffix</p></li><li><p>ldap idmap suffix</p></li><li><p>ldap machine suffix</p></li><li><p>ldap passwd sync</p></li><li><p>ldap replication sleep</p></li><li><p>ldap timeout</p></li><li><p>ldap user suffix</p></li></ul></div><p>General Configuration</p><div class="itemizedlist"><ul type="disc"><li><p>eventlog list</p></li><li><p>preload modules</p></li><li><p>reset on zero vc</p></li><li><p>privatedir</p></li></ul></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2677559"></a>Modified Parameters (Changes in Behavior)</h4></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>acl group control (new default is No, deprecated parameter)</p></li><li><p>change notify timeout (scope changed)</p></li><li><p>dos filemode (disabled by default)</p></li><li><p>dos filetimes (enabled by default)</p></li><li><p>enable asu support (disabled by default)</p></li><li><p>enable privileges (enabled by default)</p></li><li><p>encrypt passwords (enabled by default) </p></li><li><p>host msdfs (enabled by default)</p></li><li><p>mangling method (set to hash2 by default) </p></li><li><p>map to guest</p></li><li><p>only user (deprecated)</p></li><li><p>passwd chat</p></li><li><p>passwd program</p></li><li><p>password server</p></li><li><p>restrict anonymous (integer value)</p></li><li><p>security (new ads value)</p></li><li><p>strict locking (auto by default)</p></li><li><p>winbind cache time (increased to 5 minutes)</p></li><li><p>winbind enum groups (disabled by default)</p></li><li><p>winbind enum users (disabled by default)</p></li><li><p>winbind nested groups (enabled by default)</p></li><li><p>winbind uid (deprecated in favor of idmap uid)</p></li><li><p>winbind gid (deprecated in favor of idmap gid)</p></li><li><p>winbindd nss info</p></li><li><p>write cache (deprecated)</p></li></ul></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2677694"></a>New Functionality</h3></div></div></div><p>
    136 <a class="indexterm" name="id2677702"></a>
     135</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>admin log</p></li><li class="listitem"><p>alternate permissions</p></li><li class="listitem"><p>character set</p></li><li class="listitem"><p>client codepage</p></li><li class="listitem"><p>code page directory</p></li><li class="listitem"><p>coding system</p></li><li class="listitem"><p>domain admin group</p></li><li class="listitem"><p>domain guest group</p></li><li class="listitem"><p>enable rid algorithm</p></li><li class="listitem"><p>enable svcctl</p></li><li class="listitem"><p>force unknown acl user</p></li><li class="listitem"><p>hosts equiv</p></li><li class="listitem"><p>ldap filter</p></li><li class="listitem"><p>min password length</p></li><li class="listitem"><p>nt smb support</p></li><li class="listitem"><p>post script</p></li><li class="listitem"><p>printer admin</p></li><li class="listitem"><p>printer driver</p></li><li class="listitem"><p>printer driver file</p></li><li class="listitem"><p>printer driver location</p></li><li class="listitem"><p>read size</p></li><li class="listitem"><p>source environment</p></li><li class="listitem"><p>status </p></li><li class="listitem"><p>strip dot </p></li><li class="listitem"><p>total print jobs</p></li><li class="listitem"><p>unicode</p></li><li class="listitem"><p>use rhosts</p></li><li class="listitem"><p>valid chars</p></li><li class="listitem"><p>vfs options</p></li><li class="listitem"><p>winbind enable local accounts</p></li><li class="listitem"><p>winbind max idle children</p></li><li class="listitem"><p>wins partners</p></li></ul></div></div><div class="sect3" title="New Parameters"><div class="titlepage"><div><div><h4 class="title"><a name="id2683055"></a>New Parameters</h4></div></div></div><p>The following new parameters have been released up to and including Samba 3.0.25 (grouped by function:)</p><p>Remote Management</p><a class="indexterm" name="id2683070"></a><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>abort shutdown script</p></li><li class="listitem"><p>shutdown script</p></li></ul></div><p>User and Group Account Management</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>add group script</p></li><li class="listitem"><p>add machine script</p></li><li class="listitem"><p>add user to group script</p></li><li class="listitem"><p>algorithmic rid base</p></li><li class="listitem"><p>delete group script</p></li><li class="listitem"><p>delete user from group script</p></li><li class="listitem"><p>passdb backend</p></li><li class="listitem"><p>rename user script</p></li><li class="listitem"><p>set primary group script</p></li><li class="listitem"><p>username map script</p></li></ul></div><p>Authentication</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>auth methods</p></li><li class="listitem"><p>ldap password sync</p></li><li class="listitem"><p>passdb expand explicit</p></li><li class="listitem"><p>realm</p></li></ul></div><p>Protocol Options</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>add port command</p></li><li class="listitem"><p>afs token lifetime</p></li><li class="listitem"><p>client lanman auth</p></li><li class="listitem"><p>client NTLMv2 auth</p></li><li class="listitem"><p>client schannel</p></li><li class="listitem"><p>client signing</p></li><li class="listitem"><p>client use spnego</p></li><li class="listitem"><p>defer sharing violations</p></li><li class="listitem"><p>disable netbios</p></li><li class="listitem"><p>dmapi support</p></li><li class="listitem"><p>enable privileges</p></li><li class="listitem"><p>use kerberos keytab</p></li><li class="listitem"><p>log nt token command</p></li><li class="listitem"><p>ntlm auth</p></li><li class="listitem"><p>paranoid server security </p></li><li class="listitem"><p>sendfile</p></li><li class="listitem"><p>server schannel</p></li><li class="listitem"><p>server signing</p></li><li class="listitem"><p>smb ports</p></li><li class="listitem"><p>svcctl list</p></li><li class="listitem"><p>use spnego</p></li></ul></div><p>File Service</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>allocation roundup size</p></li><li class="listitem"><p>acl check permissions</p></li><li class="listitem"><p>acl group control</p></li><li class="listitem"><p>acl map full control</p></li><li class="listitem"><p>aio read size</p></li><li class="listitem"><p>aio write size</p></li><li class="listitem"><p>dfree cache time</p></li><li class="listitem"><p>dfree command</p></li><li class="listitem"><p>ea support</p></li><li class="listitem"><p>enable asu support</p></li><li class="listitem"><p>fam change notify</p></li><li class="listitem"><p>force unknown acl user</p></li><li class="listitem"><p>get quota command</p></li><li class="listitem"><p>hide special files</p></li><li class="listitem"><p>hide unwriteable files</p></li><li class="listitem"><p>inherit owner</p></li><li class="listitem"><p>hostname lookups</p></li><li class="listitem"><p>kernel change notify</p></li><li class="listitem"><p>mangle prefix</p></li><li class="listitem"><p>map acl inherit</p></li><li class="listitem"><p>map read only</p></li><li class="listitem"><p>max stat cache size</p></li><li class="listitem"><p>msdfs proxy</p></li><li class="listitem"><p>open files database hash size</p></li><li class="listitem"><p>set quota command</p></li><li class="listitem"><p>store dos attributes</p></li><li class="listitem"><p>use sendfile</p></li><li class="listitem"><p>usershare allow guests</p></li><li class="listitem"><p>usershare max shares</p></li><li class="listitem"><p>usershare owner only</p></li><li class="listitem"><p>usershare path</p></li><li class="listitem"><p>usershare prefix allow list</p></li><li class="listitem"><p>usershare prefix deny list</p></li><li class="listitem"><p>usershare template share</p></li><li class="listitem"><p>vfs objects</p></li></ul></div><p>Printing</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>cups options</p></li><li class="listitem"><p>cups server</p></li><li class="listitem"><p>force printername</p></li><li class="listitem"><p>iprint server</p></li><li class="listitem"><p>max reported print jobs</p></li><li class="listitem"><p>printcap cache time</p></li></ul></div><p>Unicode and Character Sets</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>display charset</p></li><li class="listitem"><p>dos charset</p></li><li class="listitem"><p>UNIX charset</p></li></ul></div><p>SID to UID/GID Mappings</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>idmap backend</p></li><li class="listitem"><p>idmap gid</p></li><li class="listitem"><p>idmap uid</p></li><li class="listitem"><p>username map script</p></li><li class="listitem"><p>winbind nss info</p></li><li class="listitem"><p>winbind offline logon</p></li><li class="listitem"><p>winbind refresh tickets</p></li><li class="listitem"><p>winbind trusted domains only</p></li><li class="listitem"><p>template primary group</p></li></ul></div><p>LDAP</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>ldap delete dn</p></li><li class="listitem"><p>ldap group suffix</p></li><li class="listitem"><p>ldap idmap suffix</p></li><li class="listitem"><p>ldap machine suffix</p></li><li class="listitem"><p>ldap passwd sync</p></li><li class="listitem"><p>ldap replication sleep</p></li><li class="listitem"><p>ldap timeout</p></li><li class="listitem"><p>ldap user suffix</p></li></ul></div><p>General Configuration</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>eventlog list</p></li><li class="listitem"><p>preload modules</p></li><li class="listitem"><p>reset on zero vc</p></li><li class="listitem"><p>privatedir</p></li></ul></div></div><div class="sect3" title="Modified Parameters (Changes in Behavior)"><div class="titlepage"><div><div><h4 class="title"><a name="id2683621"></a>Modified Parameters (Changes in Behavior)</h4></div></div></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>acl group control (new default is No, deprecated parameter)</p></li><li class="listitem"><p>change notify timeout (scope changed)</p></li><li class="listitem"><p>dos filemode (disabled by default)</p></li><li class="listitem"><p>dos filetimes (enabled by default)</p></li><li class="listitem"><p>enable asu support (disabled by default)</p></li><li class="listitem"><p>enable privileges (enabled by default)</p></li><li class="listitem"><p>encrypt passwords (enabled by default) </p></li><li class="listitem"><p>host msdfs (enabled by default)</p></li><li class="listitem"><p>mangling method (set to hash2 by default) </p></li><li class="listitem"><p>map to guest</p></li><li class="listitem"><p>only user (deprecated)</p></li><li class="listitem"><p>passwd chat</p></li><li class="listitem"><p>passwd program</p></li><li class="listitem"><p>password server</p></li><li class="listitem"><p>restrict anonymous (integer value)</p></li><li class="listitem"><p>security (new ads value)</p></li><li class="listitem"><p>strict locking (auto by default)</p></li><li class="listitem"><p>winbind cache time (increased to 5 minutes)</p></li><li class="listitem"><p>winbind enum groups (disabled by default)</p></li><li class="listitem"><p>winbind enum users (disabled by default)</p></li><li class="listitem"><p>winbind nested groups (enabled by default)</p></li><li class="listitem"><p>winbind uid (deprecated in favor of idmap uid)</p></li><li class="listitem"><p>winbind gid (deprecated in favor of idmap gid)</p></li><li class="listitem"><p>winbindd nss info</p></li><li class="listitem"><p>write cache (deprecated)</p></li></ul></div></div></div><div class="sect2" title="New Functionality"><div class="titlepage"><div><div><h3 class="title"><a name="id2683756"></a>New Functionality</h3></div></div></div><p>
     136<a class="indexterm" name="id2683764"></a>
    137137        The major changes in behavior since that Samba-2.2.x series are documented in this section.
    138138        Please refer to the <code class="filename">WHATSNEW.txt</code> file that ships with every release of
    139139        Samba to obtain detailed information regarding the changes that have been made during the
    140140        life of the current Samba release.
    141         </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2677721"></a>TDB Data Files</h4></div></div></div><a class="indexterm" name="id2677727"></a><p>
     141        </p><div class="sect3" title="TDB Data Files"><div class="titlepage"><div><div><h4 class="title"><a name="id2683783"></a>TDB Data Files</h4></div></div></div><a class="indexterm" name="id2683788"></a><p>
    142142        Refer to <a class="link" href="install.html" title="Chapter 1. How to Install and Test SAMBA">Installation, Chapter 1</a>, <a class="link" href="install.html#tdbdocs" title="TDB Database File Information">Chapter 1</a>
    143143        for information pertaining to the Samba-3 data files, their location and the information that must be
    144144        preserved across server migrations, updates and upgrades.
    145145        </p><p>
    146 <a class="indexterm" name="id2677757"></a>
     146<a class="indexterm" name="id2683819"></a>
    147147        Please remember to back up your existing ${lock directory}/*tdb before upgrading to Samba-3. If necessary,
    148148        Samba will upgrade databases as they are opened. Downgrading from Samba-3 to 2.2, or reversion to an earlier
    149149        version of Samba-3 from a later release, is an unsupported path.
    150150        </p><p>
    151 <a class="indexterm" name="id2677772"></a>
     151<a class="indexterm" name="id2683834"></a>
    152152        The old Samba-2.2.x tdb files are described in <a class="link" href="upgrading-to-3.0.html#oldtdbfiledesc" title="Table 35.1. Samba-2.2.x TDB File Descriptions">the next table</a>.
    153153        </p><div class="table"><a name="oldtdbfiledesc"></a><p class="title"><b>Table 35.1. Samba-2.2.x TDB File Descriptions</b></p><div class="table-contents"><table summary="Samba-2.2.x TDB File Descriptions" border="1"><colgroup><col align="left"><col align="justify"><col align="left"></colgroup><thead><tr><th align="left">Name</th><th align="justify">Description</th><th align="center">Backup?</th></tr></thead><tbody><tr><td align="left">account_policy</td><td align="justify">User policy settings</td><td align="left">yes</td></tr><tr><td align="left">brlock</td><td align="justify">Byte-range file locking information.</td><td align="left">no</td></tr><tr><td align="left">connections</td><td align="justify"><p>Client connection information</p></td><td align="left">no</td></tr><tr><td align="left">locking</td><td align="justify">Temporary file locking data.</td><td align="left">no</td></tr><tr><td align="left">messages</td><td align="justify"><p>Temporary storage of messages being processed by smbd.</p></td><td align="left">no</td></tr><tr><td align="left">ntdrivers</td><td align="justify"><p>Stores per-printer driver information.</p></td><td align="left">yes</td></tr><tr><td align="left">ntforms</td><td align="justify"><p>Stores per-printer forms information.</p></td><td align="left">yes</td></tr><tr><td align="left">ntprinters</td><td align="justify"><p>Stores the per-printer devmode configuration settings.</p></td><td align="left">yes</td></tr><tr><td align="left">printing/*.tdb</td><td align="justify"><p>Cached output from lpq command created on a per-print-service basis.</p></td><td align="left">no</td></tr><tr><td align="left">registry</td><td align="justify"><p>Read-only Samba registry skeleton that provides support for
    154                                 exporting various database tables via the winreg RPCs.</p></td><td align="left">no</td></tr><tr><td align="left">sessionid</td><td align="justify"><p>Temporary cache for miscellaneous session information.</p></td><td align="left">no</td></tr><tr><td align="left">share_info</td><td align="justify">Share ACL settings.</td><td align="left">yes</td></tr><tr><td align="left">unexpected</td><td align="justify"><p>Packets received for which no process was listening.</p></td><td align="left">no</td></tr><tr><td align="left">winbindd_cache</td><td align="justify"><p>Cache of identity information received from an NT4 or an ADS domain.</p></td><td align="left">yes</td></tr><tr><td align="left">winbindd_idmap</td><td align="justify"><p>New ID map table from SIDS to UNIX UIDs/GIDs.</p></td><td align="left">yes</td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2678073"></a>Changes in Behavior</h4></div></div></div><p>
     154                                exporting various database tables via the winreg RPCs.</p></td><td align="left">no</td></tr><tr><td align="left">sessionid</td><td align="justify"><p>Temporary cache for miscellaneous session information.</p></td><td align="left">no</td></tr><tr><td align="left">share_info</td><td align="justify">Share ACL settings.</td><td align="left">yes</td></tr><tr><td align="left">unexpected</td><td align="justify"><p>Packets received for which no process was listening.</p></td><td align="left">no</td></tr><tr><td align="left">winbindd_cache</td><td align="justify"><p>Cache of identity information received from an NT4 or an ADS domain.</p></td><td align="left">yes</td></tr><tr><td align="left">winbindd_idmap</td><td align="justify"><p>New ID map table from SIDS to UNIX UIDs/GIDs.</p></td><td align="left">yes</td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect3" title="Changes in Behavior"><div class="titlepage"><div><div><h4 class="title"><a name="id2684135"></a>Changes in Behavior</h4></div></div></div><p>
    155155        The following issues are known changes in behavior between Samba-2.2 and
    156156        Samba-3 that may affect certain installations of Samba.
    157         </p><div class="orderedlist"><ol type="1"><li><p>
    158 <a class="indexterm" name="id2678094"></a>
    159 <a class="indexterm" name="id2678101"></a>
    160 <a class="indexterm" name="id2678108"></a>
     157        </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
     158<a class="indexterm" name="id2684156"></a>
     159<a class="indexterm" name="id2684163"></a>
     160<a class="indexterm" name="id2684170"></a>
    161161                When operating as a member of a Windows domain, Samba-2.2 would map any users authenticated by the remote DC
    162                 to the &#8220;<span class="quote">guest account</span>&#8221; if a UID could not be obtained via the getpwnam() call. Samba-3 rejects
    163                 the connection with the error message &#8220;<span class="quote">NT_STATUS_LOGON_FAILURE.</span>&#8221; There is no current workaround
     162                to the <span class="quote">&#8220;<span class="quote">guest account</span>&#8221;</span> if a UID could not be obtained via the getpwnam() call. Samba-3 rejects
     163                the connection with the error message <span class="quote">&#8220;<span class="quote">NT_STATUS_LOGON_FAILURE.</span>&#8221;</span> There is no current workaround
    164164                to re-establish the Samba-2.2 behavior.
    165                 </p></li><li><p>
    166 <a class="indexterm" name="id2678132"></a>
    167 <a class="indexterm" name="id2678139"></a>
     165                </p></li><li class="listitem"><p>
     166<a class="indexterm" name="id2684194"></a>
     167<a class="indexterm" name="id2684201"></a>
    168168                When adding machines to a Samba-2.2 controlled domain, the
    169                 &#8220;<span class="quote">add user script</span>&#8221; was used to create the UNIX identity of the
    170                 machine trust account. Samba-3 introduces a new &#8220;<span class="quote">add machine
    171                 script</span>&#8221; that must be specified for this purpose. Samba-3 will
    172                 not fall back to using the &#8220;<span class="quote">add user script</span>&#8221; in the absence of
    173                 an &#8220;<span class="quote">add machine script</span>&#8221;.
    174                 </p></li></ol></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2678169"></a>Passdb Backends and Authentication</h4></div></div></div><p>
     169                <span class="quote">&#8220;<span class="quote">add user script</span>&#8221;</span> was used to create the UNIX identity of the
     170                machine trust account. Samba-3 introduces a new <span class="quote">&#8220;<span class="quote">add machine
     171                script</span>&#8221;</span> that must be specified for this purpose. Samba-3 will
     172                not fall back to using the <span class="quote">&#8220;<span class="quote">add user script</span>&#8221;</span> in the absence of
     173                an <span class="quote">&#8220;<span class="quote">add machine script</span>&#8221;</span>.
     174                </p></li></ol></div></div><div class="sect3" title="Passdb Backends and Authentication"><div class="titlepage"><div><div><h4 class="title"><a name="id2684231"></a>Passdb Backends and Authentication</h4></div></div></div><p>
    175175        There have been a few new changes that Samba administrators should be
    176176        aware of when moving to Samba-3.
    177         </p><div class="orderedlist"><ol type="1"><li><p>
    178 <a class="indexterm" name="id2678190"></a>
     177        </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
     178<a class="indexterm" name="id2684252"></a>
    179179                Encrypted passwords have been enabled by default in order to
    180180                interoperate better with out-of-the-box Windows client
    181181                installations. This does mean that either (a) a Samba account
    182                 must be created for each user, or (b) &#8220;<span class="quote">encrypt passwords = no</span>&#8221;
     182                must be created for each user, or (b) <span class="quote">&#8220;<span class="quote">encrypt passwords = no</span>&#8221;</span>
    183183                must be explicitly defined in <code class="filename">smb.conf</code>.
    184                 </p></li><li><p>
    185 <a class="indexterm" name="id2678216"></a>
    186 <a class="indexterm" name="id2678222"></a>
    187 <a class="indexterm" name="id2678229"></a>
     184                </p></li><li class="listitem"><p>
     185<a class="indexterm" name="id2684277"></a>
     186<a class="indexterm" name="id2684284"></a>
     187<a class="indexterm" name="id2684291"></a>
    188188                Inclusion of new <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = ads</a> option for integration
    189189                with an Active Directory domain using the native Windows Kerberos 5 and LDAP protocols.
    190190                </p></li></ol></div><p>
    191 <a class="indexterm" name="id2678255"></a>
     191<a class="indexterm" name="id2684317"></a>
    192192        Samba-3 also includes the possibility of setting up chains of authentication methods (<a class="link" href="smb.conf.5.html#AUTHMETHODS" target="_top">auth methods</a>) and account storage backends (<a class="link" href="smb.conf.5.html#PASSDBBACKEND" target="_top">passdb backend</a>).  Please refer to
    193193        the <code class="filename">smb.conf</code> man page and <a class="link" href="passdb.html" title="Chapter 11. Account Information Databases">Account Information Databases</a>, for
     
    195195        the values actually mean in order to ensure Samba operates correctly.
    196196        </p><p>
    197 <a class="indexterm" name="id2678306"></a>
    198 <a class="indexterm" name="id2678313"></a>
    199 <a class="indexterm" name="id2678320"></a>
     197<a class="indexterm" name="id2684368"></a>
     198<a class="indexterm" name="id2684374"></a>
     199<a class="indexterm" name="id2684381"></a>
    200200        Certain functions of the <code class="literal">smbpasswd</code> tool have been split between the
    201201        new <code class="literal">smbpasswd</code> utility, the <code class="literal">net</code> tool, and the new <code class="literal">pdbedit</code>
    202202        utility. See the respective man pages for details.
    203         </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2678354"></a>LDAP</h4></div></div></div><p>
     203        </p></div><div class="sect3" title="LDAP"><div class="titlepage"><div><div><h4 class="title"><a name="id2684415"></a>LDAP</h4></div></div></div><p>
    204204        This section outlines the new features effecting Samba/LDAP integration.
    205         </p><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2678364"></a>New Schema</h5></div></div></div><p>
    206 <a class="indexterm" name="id2678372"></a>
    207 <a class="indexterm" name="id2678378"></a>
    208 <a class="indexterm" name="id2678385"></a>
    209 <a class="indexterm" name="id2678392"></a>
     205        </p><div class="sect4" title="New Schema"><div class="titlepage"><div><div><h5 class="title"><a name="id2684426"></a>New Schema</h5></div></div></div><p>
     206<a class="indexterm" name="id2684433"></a>
     207<a class="indexterm" name="id2684440"></a>
     208<a class="indexterm" name="id2684447"></a>
     209<a class="indexterm" name="id2684454"></a>
    210210                A new object class (sambaSamAccount) has been introduced to replace
    211211                the old sambaAccount. This change aids in the renaming of attributes
     
    215215                </p><p>
    216216                Example:
    217 <a class="indexterm" name="id2678408"></a>
     217<a class="indexterm" name="id2684470"></a>
    218218                </p><pre class="screen">
    219219                <code class="prompt">$ </code>ldapsearch .... -LLL -b "ou=people,dc=..." &gt; old.ldif
    220220                <code class="prompt">$ </code>convertSambaAccount --sid &lt;DOM SID&gt; --input old.ldif --output new.ldif
    221221                </pre><p>
    222 <a class="indexterm" name="id2678440"></a>
     222<a class="indexterm" name="id2684502"></a>
    223223                The &lt;DOM SID&gt; can be obtained by running
    224224</p><pre class="screen">
    225225<code class="prompt">$ </code><strong class="userinput"><code>net getlocalsid &lt;DOMAINNAME&gt;</code></strong>
    226226</pre><p>
    227 <a class="indexterm" name="id2678467"></a>
     227<a class="indexterm" name="id2684529"></a>
    228228                on the Samba PDC as root.
    229229                </p><p>
    230230                Under Samba-2.x the domain SID can be obtained by executing:
    231 <a class="indexterm" name="id2678479"></a>
     231<a class="indexterm" name="id2684540"></a>
    232232</p><pre class="screen">
    233233<code class="prompt">$ </code><strong class="userinput"><code>smbpasswd -S &lt;DOMAINNAME&gt;</code></strong>
    234234</pre><p>
    235235                </p><p>
    236 <a class="indexterm" name="id2678505"></a>
    237 <a class="indexterm" name="id2678512"></a>
    238 <a class="indexterm" name="id2678519"></a>
    239 <a class="indexterm" name="id2678526"></a>
     236<a class="indexterm" name="id2684566"></a>
     237<a class="indexterm" name="id2684573"></a>
     238<a class="indexterm" name="id2684580"></a>
     239<a class="indexterm" name="id2684587"></a>
    240240                The old <code class="literal">sambaAccount</code> schema may still be used by specifying the
    241241                <em class="parameter"><code>ldapsam_compat</code></em> passdb backend. However, the sambaAccount and
     
    246246                </p><p>
    247247                Other new object classes and their uses include:
    248                 </p><div class="itemizedlist"><ul type="disc"><li><p>
    249 <a class="indexterm" name="id2678573"></a>
    250 <a class="indexterm" name="id2678580"></a>
    251 <a class="indexterm" name="id2678586"></a>
    252 <a class="indexterm" name="id2678593"></a>
    253 <a class="indexterm" name="id2678600"></a>
    254 <a class="indexterm" name="id2678607"></a>
     248                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     249<a class="indexterm" name="id2684634"></a>
     250<a class="indexterm" name="id2684641"></a>
     251<a class="indexterm" name="id2684648"></a>
     252<a class="indexterm" name="id2684655"></a>
     253<a class="indexterm" name="id2684662"></a>
     254<a class="indexterm" name="id2684668"></a>
    255255                        <code class="literal">sambaDomain</code>  domain information used to allocate RIDs
    256256                        for users and groups as necessary. The attributes are added
    257                         in &#8220;<span class="quote">ldap suffix</span>&#8221; directory entry automatically if
    258                         an idmap UID/GID range has been set and the &#8220;<span class="quote">ldapsam</span>&#8221;
     257                        in <span class="quote">&#8220;<span class="quote">ldap suffix</span>&#8221;</span> directory entry automatically if
     258                        an idmap UID/GID range has been set and the <span class="quote">&#8220;<span class="quote">ldapsam</span>&#8221;</span>
    259259                        passdb backend has been selected.
    260                         </p></li><li><p>
    261 <a class="indexterm" name="id2678637"></a>
    262 <a class="indexterm" name="id2678644"></a>
    263 <a class="indexterm" name="id2678651"></a>
     260                        </p></li><li class="listitem"><p>
     261<a class="indexterm" name="id2684699"></a>
     262<a class="indexterm" name="id2684706"></a>
     263<a class="indexterm" name="id2684713"></a>
    264264                        sambaGroupMapping  an object representing the
    265265                        relationship between a posixGroup and a Windows
    266                         group/SID. These entries are stored in the &#8220;<span class="quote">ldap
    267                         group suffix</span>&#8221; and managed by the &#8220;<span class="quote">net groupmap</span>&#8221; command.
    268                         </p></li><li><p>
    269 <a class="indexterm" name="id2678676"></a>
    270 <a class="indexterm" name="id2678683"></a>
    271 <a class="indexterm" name="id2678690"></a>
    272 <a class="indexterm" name="id2678696"></a>
    273                         <code class="literal">sambaUNIXIdPool</code>  created in the &#8220;<span class="quote">ldap idmap suffix</span>&#8221; entry
    274                         automatically and contains the next available &#8220;<span class="quote">idmap UID</span>&#8221; and
    275                         &#8220;<span class="quote">idmap GID</span>&#8221;.
    276                         </p></li><li><p>
    277 <a class="indexterm" name="id2678728"></a>
    278 <a class="indexterm" name="id2678735"></a>
     266                        group/SID. These entries are stored in the <span class="quote">&#8220;<span class="quote">ldap
     267                        group suffix</span>&#8221;</span> and managed by the <span class="quote">&#8220;<span class="quote">net groupmap</span>&#8221;</span> command.
     268                        </p></li><li class="listitem"><p>
     269<a class="indexterm" name="id2684738"></a>
     270<a class="indexterm" name="id2684744"></a>
     271<a class="indexterm" name="id2684751"></a>
     272<a class="indexterm" name="id2684758"></a>
     273                        <code class="literal">sambaUNIXIdPool</code>  created in the <span class="quote">&#8220;<span class="quote">ldap idmap suffix</span>&#8221;</span> entry
     274                        automatically and contains the next available <span class="quote">&#8220;<span class="quote">idmap UID</span>&#8221;</span> and
     275                        <span class="quote">&#8220;<span class="quote">idmap GID</span>&#8221;</span>.
     276                        </p></li><li class="listitem"><p>
     277<a class="indexterm" name="id2684790"></a>
     278<a class="indexterm" name="id2684797"></a>
    279279                        <code class="literal">sambaIdmapEntry</code>  object storing a mapping between a
    280280                        SID and a UNIX UID/GID. These objects are created by the
    281281                        idmap_ldap module as needed.
    282                         </p></li></ul></div></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2678757"></a>New Suffix for Searching</h5></div></div></div><p>
    283 <a class="indexterm" name="id2678764"></a>
    284 <a class="indexterm" name="id2678771"></a>
    285 <a class="indexterm" name="id2678778"></a>
    286 <a class="indexterm" name="id2678785"></a>
    287 <a class="indexterm" name="id2678792"></a>
    288 <a class="indexterm" name="id2678799"></a>
    289 <a class="indexterm" name="id2678806"></a>
     282                        </p></li></ul></div></div><div class="sect4" title="New Suffix for Searching"><div class="titlepage"><div><div><h5 class="title"><a name="id2684818"></a>New Suffix for Searching</h5></div></div></div><p>
     283<a class="indexterm" name="id2684826"></a>
     284<a class="indexterm" name="id2684833"></a>
     285<a class="indexterm" name="id2684840"></a>
     286<a class="indexterm" name="id2684846"></a>
     287<a class="indexterm" name="id2684853"></a>
     288<a class="indexterm" name="id2684860"></a>
     289<a class="indexterm" name="id2684867"></a>
    290290                The following new <code class="filename">smb.conf</code> parameters have been added to aid in directing
    291291                certain LDAP queries when <em class="parameter"><code>passdb backend = ldapsam://...</code></em> has been
    292292                specified.
    293                 </p><div class="itemizedlist"><ul type="disc"><li><p>ldap suffix          used to search for user and computer accounts.</p></li><li><p>ldap user suffix     used to store user accounts.</p></li><li><p>ldap machine suffix  used to store machine trust accounts.</p></li><li><p>ldap group suffix    location of posixGroup/sambaGroupMapping entries.</p></li><li><p>ldap idmap suffix    location of sambaIdmapEntry objects.</p></li></ul></div><p>
    294 <a class="indexterm" name="id2678874"></a>
    295 <a class="indexterm" name="id2678881"></a>
     293                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>ldap suffix          used to search for user and computer accounts.</p></li><li class="listitem"><p>ldap user suffix     used to store user accounts.</p></li><li class="listitem"><p>ldap machine suffix  used to store machine trust accounts.</p></li><li class="listitem"><p>ldap group suffix    location of posixGroup/sambaGroupMapping entries.</p></li><li class="listitem"><p>ldap idmap suffix    location of sambaIdmapEntry objects.</p></li></ul></div><p>
     294<a class="indexterm" name="id2684936"></a>
     295<a class="indexterm" name="id2684942"></a>
    296296                If an <em class="parameter"><code>ldap suffix</code></em> is defined, it will be appended to all of the
    297297                remaining subsuffix parameters. In this case, the order of the suffix
     
    301301                Due to a limitation in Samba's <code class="filename">smb.conf</code> parsing, you should not surround
    302302                the domain names with quotation marks.
    303                 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2678922"></a>IdMap LDAP Support</h5></div></div></div><p>
    304 <a class="indexterm" name="id2678930"></a>
     303                </p></div><div class="sect4" title="IdMap LDAP Support"><div class="titlepage"><div><div><h5 class="title"><a name="id2684984"></a>IdMap LDAP Support</h5></div></div></div><p>
     304<a class="indexterm" name="id2684992"></a>
    305305                Samba-3 supports an LDAP backend for the idmap subsystem. The
    306306                following options inform Samba that the idmap table should be
    307307                stored on the directory server <span class="emphasis"><em>onterose</em></span> in the ou=Idmap,dc=quenya,dc=org partition.
    308                 </p><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td>...</td></tr><tr><td><a class="indexterm" name="id2678963"></a><em class="parameter"><code>idmap backend = ldap:ldap://onterose/</code></em></td></tr><tr><td><a class="indexterm" name="id2678975"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2678987"></a><em class="parameter"><code>idmap uid = 40000-50000</code></em></td></tr><tr><td><a class="indexterm" name="id2678999"></a><em class="parameter"><code>idmap gid = 40000-50000</code></em></td></tr></table><p>
    309 <a class="indexterm" name="id2679012"></a>
     308                </p><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td>...</td></tr><tr><td><a class="indexterm" name="id2685024"></a><em class="parameter"><code>idmap backend = ldap:ldap://onterose/</code></em></td></tr><tr><td><a class="indexterm" name="id2685037"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2685049"></a><em class="parameter"><code>idmap uid = 40000-50000</code></em></td></tr><tr><td><a class="indexterm" name="id2685060"></a><em class="parameter"><code>idmap gid = 40000-50000</code></em></td></tr></table><p>
     309<a class="indexterm" name="id2685074"></a>
    310310                This configuration allows Winbind installations on multiple servers to
    311311                share a UID/GID number space, thus avoiding the interoperability problems
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/winbind.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 24. Winbind: Use of Domain Accounts</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="VFS.html" title="Chapter 23. Stackable VFS modules"><link rel="next" href="AdvancedNetworkManagement.html" title="Chapter 25. Advanced Network Management"></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 24. Winbind: Use of Domain Accounts</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="VFS.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="AdvancedNetworkManagement.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="winbind"></a>Chapter 24. Winbind: Use of Domain Accounts</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Tim</span> <span class="orgname">Samba Team</span> <span class="surname">Potter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:tpot@linuxcare.com.au">tpot@linuxcare.com.au</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="orgname">Samba Team</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Naag</span> <span class="surname">Mummaneni</span></h3><span class="contrib">Notes for Solaris</span> <div class="affiliation"><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:getnag@rediffmail.com">getnag@rediffmail.com</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="orgname">SNAP</span> <span class="surname">Trostel</span></h3><div class="affiliation"><span class="orgname">SNAP<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jtrostel@snapserver.com">jtrostel@snapserver.com</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">June 15, 2005</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="winbind.html#id2653118">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2653461">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2653551">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2653704">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2653749">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2653875">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2653925">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654018">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654066">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654298">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654453">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654529">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2654586">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2654592">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654706">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654858">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2657317">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2657366">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2657408">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2657444">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2653118"></a>Features and Benefits</h2></div></div></div><p>
    2 <a class="indexterm" name="id2653126"></a>
    3 <a class="indexterm" name="id2653132"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 24. Winbind: Use of Domain Accounts</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="VFS.html" title="Chapter 23. Stackable VFS modules"><link rel="next" href="AdvancedNetworkManagement.html" title="Chapter 25. Advanced Network Management"></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 24. Winbind: Use of Domain Accounts</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="VFS.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="AdvancedNetworkManagement.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 24. Winbind: Use of Domain Accounts"><div class="titlepage"><div><div><h2 class="title"><a name="winbind"></a>Chapter 24. Winbind: Use of Domain Accounts</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Tim</span> <span class="surname">Potter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:tpot@linuxcare.com.au">tpot@linuxcare.com.au</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Naag</span> <span class="surname">Mummaneni</span></h3><span class="contrib">Notes for Solaris</span> <div class="affiliation"><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:getnag@rediffmail.com">getnag@rediffmail.com</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="surname">Trostel</span></h3><div class="affiliation"><span class="orgname">SNAP<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jtrostel@snapserver.com">jtrostel@snapserver.com</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">June 15, 2005</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="winbind.html#id2659210">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2659554">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2659643">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2659796">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2659842">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2659968">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2660018">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660111">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660159">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660391">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660546">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660622">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2660678">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2660684">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660799">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660951">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2663370">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2663418">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2663460">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2663497">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2659210"></a>Features and Benefits</h2></div></div></div><p>
     2<a class="indexterm" name="id2659218"></a>
     3<a class="indexterm" name="id2659225"></a>
    44        Integration of UNIX and Microsoft Windows NT through a unified logon has
    5         been considered a &#8220;<span class="quote">holy grail</span>&#8221; in heterogeneous computing environments for
     5        been considered a <span class="quote">&#8220;<span class="quote">holy grail</span>&#8221;</span> in heterogeneous computing environments for
    66        a long time.
    77        </p><p>
    8 <a class="indexterm" name="id2653149"></a>
    9 <a class="indexterm" name="id2653156"></a>
    10 <a class="indexterm" name="id2653163"></a>
    11 <a class="indexterm" name="id2653170"></a>
     8<a class="indexterm" name="id2659242"></a>
     9<a class="indexterm" name="id2659248"></a>
     10<a class="indexterm" name="id2659255"></a>
     11<a class="indexterm" name="id2659262"></a>
    1212        There is one other facility without which UNIX and Microsoft Windows network
    1313        interoperability would suffer greatly. It is imperative that there be a
     
    1515        domain user and group ownerships with integrity.
    1616        </p><p>
    17 <a class="indexterm" name="id2653185"></a>
    18 <a class="indexterm" name="id2653194"></a>
    19 <a class="indexterm" name="id2653201"></a>
    20 <a class="indexterm" name="id2653207"></a>
     17<a class="indexterm" name="id2659277"></a>
     18<a class="indexterm" name="id2659286"></a>
     19<a class="indexterm" name="id2659293"></a>
     20<a class="indexterm" name="id2659300"></a>
    2121        <span class="emphasis"><em>winbind</em></span> is a component of the Samba suite of programs that
    2222        solves the unified logon problem. Winbind uses a UNIX implementation of Microsoft
     
    2727        </p><p>
    2828        Winbind provides three separate functions:
    29         </p><div class="itemizedlist"><ul type="disc"><li><p>
    30 <a class="indexterm" name="id2653235"></a>
    31 <a class="indexterm" name="id2653242"></a>
     29        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
     30<a class="indexterm" name="id2659328"></a>
     31<a class="indexterm" name="id2659334"></a>
    3232                Authentication of user credentials (via PAM). This makes it possible to
    3333                log onto a UNIX/Linux system using user and group accounts from a Windows
    3434                NT4 (including a Samba domain) or an Active Directory domain.
    35                 </p></li><li><p>
    36 <a class="indexterm" name="id2653257"></a>
    37 <a class="indexterm" name="id2653264"></a>
     35                </p></li><li class="listitem"><p>
     36<a class="indexterm" name="id2659349"></a>
     37<a class="indexterm" name="id2659356"></a>
    3838                Identity resolution (via NSS). This is the default when winbind is not used.
    39                 </p></li><li><p>
    40 <a class="indexterm" name="id2653276"></a>
    41 <a class="indexterm" name="id2653282"></a>
    42 <a class="indexterm" name="id2653289"></a>
    43 <a class="indexterm" name="id2653295"></a>
    44 <a class="indexterm" name="id2653302"></a>
    45 <a class="indexterm" name="id2653309"></a>
    46 <a class="indexterm" name="id2653316"></a>
     39                </p></li><li class="listitem"><p>
     40<a class="indexterm" name="id2659368"></a>
     41<a class="indexterm" name="id2659375"></a>
     42<a class="indexterm" name="id2659381"></a>
     43<a class="indexterm" name="id2659388"></a>
     44<a class="indexterm" name="id2659395"></a>
     45<a class="indexterm" name="id2659402"></a>
     46<a class="indexterm" name="id2659408"></a>
    4747                Winbind maintains a database called winbind_idmap.tdb in which it stores
    4848                mappings between UNIX UIDs, GIDs, and NT SIDs. This mapping is used only
     
    5252                then instead of using a local mapping, Winbind will obtain this information
    5353                from the LDAP database.
    54                 </p></li></ul></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    55         <a class="indexterm" name="id2653346"></a>
    56         <a class="indexterm" name="id2653352"></a>
    57 <a class="indexterm" name="id2653362"></a>
    58 <a class="indexterm" name="id2653368"></a>
    59 <a class="indexterm" name="id2653375"></a>
    60 <a class="indexterm" name="id2653382"></a>
     54                </p></li></ul></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     55        <a class="indexterm" name="id2659438"></a>
     56        <a class="indexterm" name="id2659445"></a>
     57<a class="indexterm" name="id2659454"></a>
     58<a class="indexterm" name="id2659461"></a>
     59<a class="indexterm" name="id2659468"></a>
     60<a class="indexterm" name="id2659475"></a>
    6161        If <code class="literal">winbindd</code> is not running, smbd (which calls <code class="literal">winbindd</code>) will fall back to
    6262        using purely local information from <code class="filename">/etc/passwd</code> and <code class="filename">/etc/group</code> and no dynamic
    6363        mapping will be used. On an operating system that has been enabled with the NSS,
    6464        the resolution of user and group information will be accomplished via NSS.
    65         </p></div><div class="figure"><a name="winbind_idmap"></a><p class="title"><b>Figure 24.1. Winbind Idmap</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/idmap_winbind_no_loop.png" width="243" alt="Winbind Idmap"></div></div></div><br class="figure-break"></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2653461"></a>Introduction</h2></div></div></div><p>It is well known that UNIX and Microsoft Windows NT have
     65        </p></div><div class="figure"><a name="winbind_idmap"></a><p class="title"><b>Figure 24.1. Winbind Idmap</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/idmap_winbind_no_loop.png" width="243" alt="Winbind Idmap"></div></div></div><br class="figure-break"></div><div class="sect1" title="Introduction"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2659554"></a>Introduction</h2></div></div></div><p>It is well known that UNIX and Microsoft Windows NT have
    6666        different models for representing user and group information and
    6767        use different technologies for implementing them. This fact has
    6868        made it difficult to integrate the two systems in a satisfactory
    6969        manner.</p><p>
    70 <a class="indexterm" name="id2653477"></a>
    71 <a class="indexterm" name="id2653484"></a>
     70<a class="indexterm" name="id2659569"></a>
     71<a class="indexterm" name="id2659576"></a>
    7272        One common solution in use today has been to create
    7373        identically named user accounts on both the UNIX and Windows systems
     
    7878        can lead to synchronization problems between the UNIX and Windows
    7979        systems and confusion for users.</p><p>We divide the unified logon problem for UNIX machines into
    80         three smaller problems:</p><div class="itemizedlist"><ul type="disc"><li><p>Obtaining Windows NT user and group information.
    81                 </p></li><li><p>Authenticating Windows NT users.
    82                 </p></li><li><p>Password changing for Windows NT users.
     80        three smaller problems:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Obtaining Windows NT user and group information.
     81                </p></li><li class="listitem"><p>Authenticating Windows NT users.
     82                </p></li><li class="listitem"><p>Password changing for Windows NT users.
    8383                </p></li></ul></div><p>
    84 <a class="indexterm" name="id2653528"></a>
    85 <a class="indexterm" name="id2653535"></a>
     84<a class="indexterm" name="id2659620"></a>
     85<a class="indexterm" name="id2659627"></a>
    8686        Ideally, a prospective solution to the unified logon problem
    8787        would satisfy all the above components without duplication of
     
    9090        groups on either system. The Winbind system provides a simple
    9191        and elegant solution to all three components of the unified logon
    92         problem.</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2653551"></a>What Winbind Provides</h2></div></div></div><p>
    93 <a class="indexterm" name="id2653559"></a>
    94 <a class="indexterm" name="id2653566"></a>
    95 <a class="indexterm" name="id2653572"></a>
    96 <a class="indexterm" name="id2653579"></a>
     92        problem.</p></div><div class="sect1" title="What Winbind Provides"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2659643"></a>What Winbind Provides</h2></div></div></div><p>
     93<a class="indexterm" name="id2659651"></a>
     94<a class="indexterm" name="id2659658"></a>
     95<a class="indexterm" name="id2659665"></a>
     96<a class="indexterm" name="id2659672"></a>
    9797        Winbind unifies UNIX and Windows NT account management by
    9898        allowing a UNIX box to become a full member of an NT domain. Once
    9999        this is done, the UNIX box will see NT users and groups as if
    100         they were &#8220;<span class="quote">native</span>&#8221; UNIX users and groups, allowing the NT domain
     100        they were <span class="quote">&#8220;<span class="quote">native</span>&#8221;</span> UNIX users and groups, allowing the NT domain
    101101        to be used in much the same manner that NIS+ is used within
    102102        UNIX-only environments.</p><p>
    103 <a class="indexterm" name="id2653599"></a>
    104 <a class="indexterm" name="id2653606"></a>
    105 <a class="indexterm" name="id2653612"></a>
    106 <a class="indexterm" name="id2653619"></a>
     103<a class="indexterm" name="id2659691"></a>
     104<a class="indexterm" name="id2659698"></a>
     105<a class="indexterm" name="id2659705"></a>
     106<a class="indexterm" name="id2659712"></a>
    107107        The end result is that whenever a
    108108        program on the UNIX machine asks the operating system to look up
     
    113113        redirection to the NT domain controller is completely
    114114        transparent.</p><p>
    115 <a class="indexterm" name="id2653636"></a>
    116 <a class="indexterm" name="id2653643"></a>
     115<a class="indexterm" name="id2659729"></a>
     116<a class="indexterm" name="id2659736"></a>
    117117        Users on the UNIX machine can then use NT user and group
    118         names as they would &#8220;<span class="quote">native</span>&#8221; UNIX names. They can chown files
     118        names as they would <span class="quote">&#8220;<span class="quote">native</span>&#8221;</span> UNIX names. They can chown files
    119119        so they are owned by NT domain users or even login to the
    120120        UNIX machine and run a UNIX X-Window session as a domain user.</p><p>
    121 <a class="indexterm" name="id2653661"></a>
     121<a class="indexterm" name="id2659753"></a>
    122122        The only obvious indication that Winbind is being used is
    123123        that user and group names take the form <code class="constant">DOMAIN\user</code> and
     
    125125        that redirection to a domain controller is wanted for a particular
    126126        lookup and which trusted domain is being referenced.</p><p>
    127 <a class="indexterm" name="id2653683"></a>
    128 <a class="indexterm" name="id2653690"></a>
     127<a class="indexterm" name="id2659776"></a>
     128<a class="indexterm" name="id2659783"></a>
    129129        Additionally, Winbind provides an authentication service that hooks into the PAM system
    130130        to provide authentication via an NT domain to any PAM-enabled
    131131        applications. This capability solves the problem of synchronizing
    132132        passwords between systems, since all passwords are stored in a single
    133         location (on the domain controller).</p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2653704"></a>Target Uses</h3></div></div></div><p>
    134 <a class="indexterm" name="id2653712"></a>
     133        location (on the domain controller).</p><div class="sect2" title="Target Uses"><div class="titlepage"><div><div><h3 class="title"><a name="id2659796"></a>Target Uses</h3></div></div></div><p>
     134<a class="indexterm" name="id2659804"></a>
    135135                Winbind is targeted at organizations that have an
    136136                existing NT-based domain infrastructure into which they wish
     
    140140                simplifies the administrative overhead of deploying UNIX
    141141                workstations into an NT-based organization.</p><p>
    142 <a class="indexterm" name="id2653729"></a>
    143 <a class="indexterm" name="id2653735"></a>
     142<a class="indexterm" name="id2659821"></a>
     143<a class="indexterm" name="id2659828"></a>
    144144                Another interesting way in which we expect Winbind to
    145145                be used is as a central part of UNIX-based appliances. Appliances
    146146                that provide file and print services to Microsoft-based networks
    147147                will be able to use Winbind to provide seamless integration of
    148                 the appliance into the domain.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2653749"></a>Handling of Foreign SIDs</h3></div></div></div><p>
    149 <a class="indexterm" name="id2653757"></a>
     148                the appliance into the domain.</p></div><div class="sect2" title="Handling of Foreign SIDs"><div class="titlepage"><div><div><h3 class="title"><a name="id2659842"></a>Handling of Foreign SIDs</h3></div></div></div><p>
     149<a class="indexterm" name="id2659850"></a>
    150150        The term <span class="emphasis"><em>foreign SID</em></span> is often met with the reaction that it
    151151        is not relevant to a particular environment. The following documents an interchange
     
    153153        often expressed regarding the use of winbind.
    154154        </p><p>
    155 <a class="indexterm" name="id2653775"></a>
     155<a class="indexterm" name="id2659868"></a>
    156156        Fact: Winbind is needed to handle users who use workstations that are NOT part
    157157        of the local domain.
    158158        </p><p>
    159 <a class="indexterm" name="id2653787"></a>
    160         Response: &#8220;<span class="quote">Why? I've used Samba with workstations that are not part of my domains
     159<a class="indexterm" name="id2659880"></a>
     160        Response: <span class="quote">&#8220;<span class="quote">Why? I've used Samba with workstations that are not part of my domains
    161161        lots of times without using winbind. I thought winbind was for using Samba as a member server
    162         in a domain controlled by another Samba/Windows PDC.</span>&#8221;
     162        in a domain controlled by another Samba/Windows PDC.</span>&#8221;</span>
    163163        </p><p>
    164 <a class="indexterm" name="id2653804"></a>
    165 <a class="indexterm" name="id2653811"></a>
    166 <a class="indexterm" name="id2653818"></a>
     164<a class="indexterm" name="id2659897"></a>
     165<a class="indexterm" name="id2659904"></a>
     166<a class="indexterm" name="id2659910"></a>
    167167        If the Samba server will be accessed from a domain other than the local Samba domain, or
    168168        if there will be access from machines that are not local domain members, winbind will
     
    170170        of the foreign user separate from users that are members of the Samba domain.
    171171        </p><p>
    172 <a class="indexterm" name="id2653834"></a>
    173 <a class="indexterm" name="id2653840"></a>
    174 <a class="indexterm" name="id2653847"></a>
    175 <a class="indexterm" name="id2653854"></a>
     172<a class="indexterm" name="id2659926"></a>
     173<a class="indexterm" name="id2659933"></a>
     174<a class="indexterm" name="id2659940"></a>
     175<a class="indexterm" name="id2659947"></a>
    176176        This means that winbind is eminently useful in cases where a single
    177177        Samba PDC on a local network is combined with both domain member and domain non-member workstations.
     
    182182        foreign (non-member of the domain) account will be treated as MACHINE\george because
    183183        each has a different SID.
    184         </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2653875"></a>How Winbind Works</h2></div></div></div><p>
    185 <a class="indexterm" name="id2653883"></a>
    186 <a class="indexterm" name="id2653890"></a>
    187 <a class="indexterm" name="id2653897"></a>
    188 <a class="indexterm" name="id2653903"></a>
     184        </p></div></div><div class="sect1" title="How Winbind Works"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2659968"></a>How Winbind Works</h2></div></div></div><p>
     185<a class="indexterm" name="id2659975"></a>
     186<a class="indexterm" name="id2659982"></a>
     187<a class="indexterm" name="id2659989"></a>
     188<a class="indexterm" name="id2659996"></a>
    189189        The Winbind system is designed around a client/server
    190190        architecture. A long-running <code class="literal">winbindd</code> daemon
     
    192192        to arrive. These requests are generated by the NSS and PAM
    193193        clients and are processed sequentially.</p><p>The technologies used to implement Winbind are described
    194         in detail below.</p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2653925"></a>Microsoft Remote Procedure Calls</h3></div></div></div><p>
    195 <a class="indexterm" name="id2653934"></a>
    196 <a class="indexterm" name="id2653943"></a>
    197 <a class="indexterm" name="id2653950"></a>
    198 <a class="indexterm" name="id2653957"></a>
    199 <a class="indexterm" name="id2653964"></a>
     194        in detail below.</p><div class="sect2" title="Microsoft Remote Procedure Calls"><div class="titlepage"><div><div><h3 class="title"><a name="id2660018"></a>Microsoft Remote Procedure Calls</h3></div></div></div><p>
     195<a class="indexterm" name="id2660026"></a>
     196<a class="indexterm" name="id2660036"></a>
     197<a class="indexterm" name="id2660042"></a>
     198<a class="indexterm" name="id2660049"></a>
     199<a class="indexterm" name="id2660056"></a>
    200200                Over the last few years, efforts have been underway by various Samba Team members to implement various aspects of
    201201                the Microsoft Remote Procedure Call (MSRPC) system. This system is used for most network-related operations
     
    204204                Samba, it has also yielded a body of code that can be used for other purposes.
    205205                </p><p>
    206 <a class="indexterm" name="id2653983"></a>
    207 <a class="indexterm" name="id2653989"></a>
    208 <a class="indexterm" name="id2653996"></a>
     206<a class="indexterm" name="id2660075"></a>
     207<a class="indexterm" name="id2660082"></a>
     208<a class="indexterm" name="id2660089"></a>
    209209                Winbind uses various MSRPC calls to enumerate domain users and groups and to obtain detailed information about
    210210                individual users or groups. Other MSRPC calls can be used to authenticate NT domain users and to change user
    211211                passwords. By directly querying a Windows PDC for user and group information, Winbind maps the NT account
    212212                information onto UNIX user and group names.
    213                 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2654018"></a>Microsoft Active Directory Services</h3></div></div></div><p>
    214 <a class="indexterm" name="id2654027"></a>
    215 <a class="indexterm" name="id2654033"></a>
    216 <a class="indexterm" name="id2654040"></a>
    217 <a class="indexterm" name="id2654047"></a>
    218                 Since late 2001, Samba has gained the ability to interact with Microsoft Windows 2000 using its &#8220;<span class="quote">native
    219                 mode</span>&#8221; protocols rather than the NT4 RPC services.  Using LDAP and Kerberos, a domain member running
     213                </p></div><div class="sect2" title="Microsoft Active Directory Services"><div class="titlepage"><div><div><h3 class="title"><a name="id2660111"></a>Microsoft Active Directory Services</h3></div></div></div><p>
     214<a class="indexterm" name="id2660119"></a>
     215<a class="indexterm" name="id2660126"></a>
     216<a class="indexterm" name="id2660133"></a>
     217<a class="indexterm" name="id2660140"></a>
     218                Since late 2001, Samba has gained the ability to interact with Microsoft Windows 2000 using its <span class="quote">&#8220;<span class="quote">native
     219                mode</span>&#8221;</span> protocols rather than the NT4 RPC services.  Using LDAP and Kerberos, a domain member running
    220220                Winbind can enumerate users and groups in exactly the same way as a Windows 200x client would, and in so doing
    221221                provide a much more efficient and effective Winbind implementation.
    222                 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2654066"></a>Name Service Switch</h3></div></div></div><p>
    223 <a class="indexterm" name="id2654074"></a>
    224 <a class="indexterm" name="id2654080"></a>
    225 <a class="indexterm" name="id2654088"></a>
    226 <a class="indexterm" name="id2654094"></a>
     222                </p></div><div class="sect2" title="Name Service Switch"><div class="titlepage"><div><div><h3 class="title"><a name="id2660159"></a>Name Service Switch</h3></div></div></div><p>
     223<a class="indexterm" name="id2660166"></a>
     224<a class="indexterm" name="id2660173"></a>
     225<a class="indexterm" name="id2660180"></a>
     226<a class="indexterm" name="id2660187"></a>
    227227                The NSS is a feature that is present in many UNIX operating systems. It allows system
    228228                information such as hostnames, mail aliases, and user information
     
    233233                and then consult an NIS database for user information or a DNS server
    234234                for hostname information.</p><p>
    235 <a class="indexterm" name="id2654113"></a>
    236 <a class="indexterm" name="id2654119"></a>
    237 <a class="indexterm" name="id2654126"></a>
    238 <a class="indexterm" name="id2654133"></a>
    239 <a class="indexterm" name="id2654140"></a>
     235<a class="indexterm" name="id2660205"></a>
     236<a class="indexterm" name="id2660212"></a>
     237<a class="indexterm" name="id2660219"></a>
     238<a class="indexterm" name="id2660226"></a>
     239<a class="indexterm" name="id2660232"></a>
    240240                The NSS application programming interface allows Winbind to present itself as a source of system
    241241                information when resolving UNIX usernames and groups. Winbind uses this interface and information obtained
     
    244244                groups in an NT domain plus any trusted domain as though they were local users and groups.
    245245                </p><p>
    246 <a class="indexterm" name="id2654159"></a>
    247 <a class="indexterm" name="id2654165"></a>
    248 <a class="indexterm" name="id2654172"></a>
     246<a class="indexterm" name="id2660251"></a>
     247<a class="indexterm" name="id2660258"></a>
     248<a class="indexterm" name="id2660265"></a>
    249249                The primary control file for NSS is <code class="filename">/etc/nsswitch.conf</code>.  When a UNIX application
    250250                makes a request to do a lookup, the C library looks in <code class="filename">/etc/nsswitch.conf</code> for a line that
    251                 matches the service type being requested; for example, the &#8220;<span class="quote">passwd</span>&#8221; service type is used when
     251                matches the service type being requested; for example, the <span class="quote">&#8220;<span class="quote">passwd</span>&#8221;</span> service type is used when
    252252                user or group names are looked up. This config line specifies which implementations of that service should be
    253253                tried and in what order. If the passwd config line is:
     
    255255passwd: files example
    256256</pre><p>
    257 <a class="indexterm" name="id2654208"></a>
    258 <a class="indexterm" name="id2654215"></a>
    259 <a class="indexterm" name="id2654222"></a>
     257<a class="indexterm" name="id2660300"></a>
     258<a class="indexterm" name="id2660307"></a>
     259<a class="indexterm" name="id2660314"></a>
    260260                then the C library will first load a module called <code class="filename">/lib/libnss_files.so</code> followed
    261261                by the module <code class="filename">/lib/libnss_example.so</code>. The C library will dynamically load each of these
     
    263263                is resolved, the C library returns the result to the application.
    264264                </p><p>
    265 <a class="indexterm" name="id2654250"></a>
    266 <a class="indexterm" name="id2654256"></a>
    267 <a class="indexterm" name="id2654263"></a>
     265<a class="indexterm" name="id2660342"></a>
     266<a class="indexterm" name="id2660349"></a>
     267<a class="indexterm" name="id2660356"></a>
    268268                This NSS interface provides an easy way for Winbind to hook into the operating system. All that needs
    269269                to be done is to put <code class="filename">libnss_winbind.so</code> in <code class="filename">/lib/</code> then add
    270                 &#8220;<span class="quote">winbind</span>&#8221; into <code class="filename">/etc/nsswitch.conf</code> at the appropriate place. The C library
     270                <span class="quote">&#8220;<span class="quote">winbind</span>&#8221;</span> into <code class="filename">/etc/nsswitch.conf</code> at the appropriate place. The C library
    271271                will then call Winbind to resolve user and group names.
    272                 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2654298"></a>Pluggable Authentication Modules</h3></div></div></div><p>
    273 <a class="indexterm" name="id2654306"></a>
    274 <a class="indexterm" name="id2654313"></a>
    275 <a class="indexterm" name="id2654320"></a>
    276 <a class="indexterm" name="id2654327"></a>
     272                </p></div><div class="sect2" title="Pluggable Authentication Modules"><div class="titlepage"><div><div><h3 class="title"><a name="id2660391"></a>Pluggable Authentication Modules</h3></div></div></div><p>
     273<a class="indexterm" name="id2660399"></a>
     274<a class="indexterm" name="id2660405"></a>
     275<a class="indexterm" name="id2660412"></a>
     276<a class="indexterm" name="id2660419"></a>
    277277                PAMs provide a system for abstracting authentication and authorization technologies. With a PAM
    278278                module, it is possible to specify different authentication methods for different system applications without
     
    281281                local password file but only allow users resolved from an NIS database to log in over the network.
    282282                </p><p>
    283 <a class="indexterm" name="id2654346"></a>
    284 <a class="indexterm" name="id2654352"></a>
    285 <a class="indexterm" name="id2654359"></a>
    286 <a class="indexterm" name="id2654366"></a>
    287 <a class="indexterm" name="id2654373"></a>
     283<a class="indexterm" name="id2660438"></a>
     284<a class="indexterm" name="id2660445"></a>
     285<a class="indexterm" name="id2660452"></a>
     286<a class="indexterm" name="id2660459"></a>
     287<a class="indexterm" name="id2660466"></a>
    288288                Winbind uses the authentication management and password management PAM interface to integrate Windows
    289289                NT users into a UNIX system. This allows Windows NT users to log in to a UNIX machine and be authenticated
     
    291291                on the PDC.
    292292                </p><p>
    293 <a class="indexterm" name="id2654389"></a>
    294 <a class="indexterm" name="id2654395"></a>
    295 <a class="indexterm" name="id2654402"></a>
    296 <a class="indexterm" name="id2654409"></a>
     293<a class="indexterm" name="id2660481"></a>
     294<a class="indexterm" name="id2660488"></a>
     295<a class="indexterm" name="id2660495"></a>
     296<a class="indexterm" name="id2660502"></a>
    297297                PAM is configured by providing control files in the directory <code class="filename">/etc/pam.d/</code> for
    298298                each of the services that require authentication. When an authentication request is made by an application,
     
    302302                and the PAM control files for relevant services are updated to allow authentication via Winbind. See the PAM
    303303                documentation in <a class="link" href="pam.html" title="Chapter 28. PAM-Based Distributed Authentication">PAM-Based Distributed Authentication</a>, for more information.
    304                 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2654453"></a>User and Group ID Allocation</h3></div></div></div><p>
    305 <a class="indexterm" name="id2654461"></a>
    306 <a class="indexterm" name="id2654468"></a>
    307 <a class="indexterm" name="id2654474"></a>
     304                </p></div><div class="sect2" title="User and Group ID Allocation"><div class="titlepage"><div><div><h3 class="title"><a name="id2660546"></a>User and Group ID Allocation</h3></div></div></div><p>
     305<a class="indexterm" name="id2660554"></a>
     306<a class="indexterm" name="id2660560"></a>
     307<a class="indexterm" name="id2660567"></a>
    308308                When a user or group is created under Windows NT/200x, it is allocated a numerical relative identifier
    309309                (RID). This is slightly different from UNIX, which has a range of numbers that are used to identify users and
     
    314314                will have mapped all Windows NT users and groups to UNIX user IDs and group IDs.
    315315                </p><p>
    316 <a class="indexterm" name="id2654497"></a>
    317 <a class="indexterm" name="id2654504"></a>
    318 <a class="indexterm" name="id2654510"></a>
    319 <a class="indexterm" name="id2654517"></a>
     316<a class="indexterm" name="id2660590"></a>
     317<a class="indexterm" name="id2660596"></a>
     318<a class="indexterm" name="id2660603"></a>
     319<a class="indexterm" name="id2660610"></a>
    320320                The results of this mapping are stored persistently in an ID mapping database held in a tdb database.
    321321                This ensures that RIDs are mapped to UNIX IDs in a consistent way.
    322                 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2654529"></a>Result Caching</h3></div></div></div><p>
    323 <a class="indexterm" name="id2654537"></a>
    324 <a class="indexterm" name="id2654543"></a>
    325 <a class="indexterm" name="id2654550"></a>
    326 <a class="indexterm" name="id2654557"></a>
    327 <a class="indexterm" name="id2654564"></a>
     322                </p></div><div class="sect2" title="Result Caching"><div class="titlepage"><div><div><h3 class="title"><a name="id2660622"></a>Result Caching</h3></div></div></div><p>
     323<a class="indexterm" name="id2660629"></a>
     324<a class="indexterm" name="id2660636"></a>
     325<a class="indexterm" name="id2660643"></a>
     326<a class="indexterm" name="id2660650"></a>
     327<a class="indexterm" name="id2660656"></a>
    328328                An active directory system can generate a lot of user and group name lookups. To reduce the network
    329329                cost of these lookups, Winbind uses a caching scheme based on the SAM sequence number supplied by NT domain
     
    333333                compared against the sequence number of the cached entry.  If the sequence numbers do not match, then the
    334334                cached information is discarded and up-to-date information is requested directly from the PDC.
    335                 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2654586"></a>Installation and Configuration</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2654592"></a>Introduction</h3></div></div></div><p>
    336 <a class="indexterm" name="id2654600"></a>
    337 <a class="indexterm" name="id2654607"></a>
    338 <a class="indexterm" name="id2654613"></a>
     335                </p></div></div><div class="sect1" title="Installation and Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2660678"></a>Installation and Configuration</h2></div></div></div><div class="sect2" title="Introduction"><div class="titlepage"><div><div><h3 class="title"><a name="id2660684"></a>Introduction</h3></div></div></div><p>
     336<a class="indexterm" name="id2660692"></a>
     337<a class="indexterm" name="id2660699"></a>
     338<a class="indexterm" name="id2660706"></a>
    339339This section describes the procedures used to get Winbind up and running. Winbind is capable of providing
    340340access and authentication control for Windows Domain users through an NT or Windows 200x PDC for regular
    341341services, such as telnet and ftp, as well for Samba services.
    342 </p><div class="itemizedlist"><ul type="disc"><li><p>
     342</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    343343        <span class="emphasis"><em>Why should I do this?</em></span>
    344344        </p><p>
    345 <a class="indexterm" name="id2654639"></a>
    346 <a class="indexterm" name="id2654646"></a>
    347 <a class="indexterm" name="id2654653"></a>
    348 <a class="indexterm" name="id2654660"></a>
     345<a class="indexterm" name="id2660732"></a>
     346<a class="indexterm" name="id2660739"></a>
     347<a class="indexterm" name="id2660746"></a>
     348<a class="indexterm" name="id2660753"></a>
    349349This allows the Samba administrator to rely on the authentication mechanisms on the Windows NT/200x PDC
    350350for the authentication of domain members. Windows NT/200x users no longer need to have separate accounts on
    351351the Samba server.
    352         </p></li><li><p>
     352        </p></li><li class="listitem"><p>
    353353        <span class="emphasis"><em>Who should be reading this document?</em></span>
    354354        </p><p>
    355 <a class="indexterm" name="id2654685"></a>
    356 <a class="indexterm" name="id2654691"></a>
     355<a class="indexterm" name="id2660777"></a>
     356<a class="indexterm" name="id2660784"></a>
    357357This document is designed for system administrators. If you are implementing Samba on a file server and wish
    358358to (fairly easily) integrate existing Windows NT/200x users from your PDC onto the Samba server, this document
    359359is for you.
    360         </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2654706"></a>Requirements</h3></div></div></div><p>
    361 <a class="indexterm" name="id2654714"></a>
    362 <a class="indexterm" name="id2654721"></a>
    363 <a class="indexterm" name="id2654728"></a>
     360        </p></li></ul></div></div><div class="sect2" title="Requirements"><div class="titlepage"><div><div><h3 class="title"><a name="id2660799"></a>Requirements</h3></div></div></div><p>
     361<a class="indexterm" name="id2660807"></a>
     362<a class="indexterm" name="id2660813"></a>
     363<a class="indexterm" name="id2660820"></a>
    364364If you have a Samba configuration file that you are currently using, <span class="emphasis"><em>BACK IT UP!</em></span>
    365365If your system already uses PAM, <span class="emphasis"><em>back up the <code class="filename">/etc/pam.d</code> directory
    366366contents!</em></span> If you haven't already made a boot disk, <span class="emphasis"><em>MAKE ONE NOW!</em></span>
    367367</p><p>
    368 <a class="indexterm" name="id2654757"></a>
    369 <a class="indexterm" name="id2654764"></a>
    370 <a class="indexterm" name="id2654771"></a>
     368<a class="indexterm" name="id2660850"></a>
     369<a class="indexterm" name="id2660857"></a>
     370<a class="indexterm" name="id2660864"></a>
    371371Messing with the PAM configuration files can make it nearly impossible to log in to your machine. That's
    372372why you want to be able to boot back into your machine in single-user mode and restore your
     
    374374way things are going.
    375375</p><p>
    376 <a class="indexterm" name="id2654792"></a>
    377 <a class="indexterm" name="id2654799"></a>
     376<a class="indexterm" name="id2660884"></a>
     377<a class="indexterm" name="id2660891"></a>
    378378The latest version of Samba-3 includes a functioning winbindd daemon. Please refer to the <a class="ulink" href="http://samba.org/" target="_top">main Samba Web page</a>, or better yet, your closest Samba mirror site for
    379379instructions on downloading the source code.
    380380</p><p>
    381 <a class="indexterm" name="id2654818"></a>
    382 <a class="indexterm" name="id2654825"></a>
    383 <a class="indexterm" name="id2654832"></a>
    384 <a class="indexterm" name="id2654838"></a>
     381<a class="indexterm" name="id2660911"></a>
     382<a class="indexterm" name="id2660918"></a>
     383<a class="indexterm" name="id2660924"></a>
     384<a class="indexterm" name="id2660931"></a>
    385385To allow domain users the ability to access Samba shares and files, as well as potentially other services
    386386provided by your Samba machine, PAM must be set up properly on your
    387387machine. In order to compile the Winbind modules, you should have at least the PAM development libraries installed
    388388on your system. Please refer to the PAM Web site <a class="ulink" href="http://www.kernel.org/pub/linux/libs/pam/" target="_top">http://www.kernel.org/pub/linux/libs/pam/</a>.
    389 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2654858"></a>Testing Things Out</h3></div></div></div><p>
    390 <a class="indexterm" name="id2654866"></a>
    391 <a class="indexterm" name="id2654873"></a>
    392 <a class="indexterm" name="id2654880"></a>
    393 <a class="indexterm" name="id2654887"></a>
    394 <a class="indexterm" name="id2654893"></a>
     389</p></div><div class="sect2" title="Testing Things Out"><div class="titlepage"><div><div><h3 class="title"><a name="id2660951"></a>Testing Things Out</h3></div></div></div><p>
     390<a class="indexterm" name="id2660959"></a>
     391<a class="indexterm" name="id2660966"></a>
     392<a class="indexterm" name="id2660972"></a>
     393<a class="indexterm" name="id2660979"></a>
     394<a class="indexterm" name="id2660986"></a>
    395395Before starting, it is probably best to kill off all the Samba-related daemons running on your server.
    396396Kill off all <span class="application">smbd</span>, <span class="application">nmbd</span>, and <span class="application">winbindd</span> processes that may be running. To use PAM,
     
    400400better in Samba if the pam-devel package is also installed. This package includes the header files
    401401needed to compile PAM-aware applications.
    402 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2654945"></a>Configure <code class="filename">nsswitch.conf</code> and the Winbind Libraries on Linux and Solaris</h4></div></div></div><p>
    403 <a class="indexterm" name="id2654960"></a>
    404 <a class="indexterm" name="id2654966"></a>
    405 <a class="indexterm" name="id2654973"></a>
    406 <a class="indexterm" name="id2654980"></a>
     402</p><div class="sect3" title="Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris"><div class="titlepage"><div><div><h4 class="title"><a name="id2661038"></a>Configure <code class="filename">nsswitch.conf</code> and the Winbind Libraries on Linux and Solaris</h4></div></div></div><p>
     403<a class="indexterm" name="id2661052"></a>
     404<a class="indexterm" name="id2661059"></a>
     405<a class="indexterm" name="id2661066"></a>
     406<a class="indexterm" name="id2661072"></a>
    407407PAM is a standard component of most current generation UNIX/Linux systems. Unfortunately, few systems install
    408408the <code class="filename">pam-devel</code> libraries that are needed to build PAM-enabled Samba. Additionally, Samba-3
     
    414414The libraries needed to run the <span class="application">winbindd</span> daemon through nsswitch need to be copied to their proper locations:
    415415</p><p>
    416 <a class="indexterm" name="id2655020"></a>
     416<a class="indexterm" name="id2661112"></a>
    417417</p><pre class="screen">
    418418<code class="prompt">root# </code><strong class="userinput"><code>cp ../samba/source/nsswitch/libnss_winbind.so /lib</code></strong>
     
    423423<code class="prompt">root# </code> <strong class="userinput"><code>ln -s /lib/libnss_winbind.so /lib/libnss_winbind.so.2</code></strong>
    424424</p><p>And, in the case of Sun Solaris:
    425 <a class="indexterm" name="id2655067"></a>
     425<a class="indexterm" name="id2661160"></a>
    426426</p><pre class="screen">
    427427<code class="prompt">root# </code><strong class="userinput"><code>ln -s /usr/lib/libnss_winbind.so /usr/lib/libnss_winbind.so.1</code></strong>
     
    430430</pre><p>
    431431</p><p>
    432 <a class="indexterm" name="id2655116"></a>
     432<a class="indexterm" name="id2661209"></a>
    433433As root, edit <code class="filename">/etc/nsswitch.conf</code> to allow user and group entries to be visible from the
    434434<span class="application">winbindd</span> daemon. My <code class="filename">/etc/nsswitch.conf</code> file looked like this after editing:
     
    438438group:      files winbind
    439439</pre><p>
    440 <a class="indexterm" name="id2655153"></a>
    441 <a class="indexterm" name="id2655159"></a>
    442 <a class="indexterm" name="id2655166"></a>
    443 <a class="indexterm" name="id2655173"></a>
    444 <a class="indexterm" name="id2655180"></a>
     440<a class="indexterm" name="id2661245"></a>
     441<a class="indexterm" name="id2661252"></a>
     442<a class="indexterm" name="id2661259"></a>
     443<a class="indexterm" name="id2661266"></a>
     444<a class="indexterm" name="id2661272"></a>
    445445The libraries needed by the <code class="literal">winbindd</code> daemon will be automatically
    446446entered into the <code class="literal">ldconfig</code> cache the next time
     
    454454this library is indeed recognized by the dynamic link loader.
    455455</p><p>
    456 <a class="indexterm" name="id2655244"></a>
    457 <a class="indexterm" name="id2655251"></a>
    458 <a class="indexterm" name="id2655257"></a>
    459 <a class="indexterm" name="id2655264"></a>
    460 <a class="indexterm" name="id2655271"></a>
     456<a class="indexterm" name="id2661336"></a>
     457<a class="indexterm" name="id2661343"></a>
     458<a class="indexterm" name="id2661350"></a>
     459<a class="indexterm" name="id2661357"></a>
     460<a class="indexterm" name="id2661364"></a>
    461461The Sun Solaris dynamic link loader management tool is called <code class="literal">crle</code>. The
    462462use of this tool is necessary to instruct the dynamic link loader to search directories that
     
    481481From this it is apparent that the <code class="filename">/usr/local/lib</code> directory is included
    482482in the search dynamic link libraries in order to satisfy object module dependencies.
    483 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2655343"></a>NSS Winbind on AIX</h4></div></div></div><p>(This section is only for those running AIX.)</p><p>
    484 <a class="indexterm" name="id2655355"></a>
    485 <a class="indexterm" name="id2655362"></a>
    486 <a class="indexterm" name="id2655369"></a>
    487 <a class="indexterm" name="id2655376"></a>
    488 <a class="indexterm" name="id2655383"></a>
    489 <a class="indexterm" name="id2655390"></a>
     483</p></div><div class="sect3" title="NSS Winbind on AIX"><div class="titlepage"><div><div><h4 class="title"><a name="id2661436"></a>NSS Winbind on AIX</h4></div></div></div><p>(This section is only for those running AIX.)</p><p>
     484<a class="indexterm" name="id2661448"></a>
     485<a class="indexterm" name="id2661454"></a>
     486<a class="indexterm" name="id2661461"></a>
     487<a class="indexterm" name="id2661468"></a>
     488<a class="indexterm" name="id2661475"></a>
     489<a class="indexterm" name="id2661482"></a>
    490490The Winbind AIX identification module gets built as <code class="filename">libnss_winbind.so</code> in the
    491491nsswitch directory of the Samba source. This file can be copied to <code class="filename">/usr/lib/security</code>,
     
    500500authentication. Use caution configuring loadable authentication modules, since misconfiguration can make
    501501it impossible to log on to the system.  Information regarding the AIX authentication module API can
    502 be found in the &#8220;<span class="quote">Kernel Extensions and Device Support Programming Concepts for AIX</span>&#8221; document that
     502be found in the <span class="quote">&#8220;<span class="quote">Kernel Extensions and Device Support Programming Concepts for AIX</span>&#8221;</span> document that
    503503describes the <a class="ulink" href="http://publibn.boulder.ibm.com/doc_link/en_US/a_doc_lib/aixprggd/kernextc/sec_load_mod.htm" target="_top">
    504504Loadable Authentication Module Programming Interface</a> for AIX. Further information on administering the modules
    505505can be found in the <a class="ulink" href="http://publibn.boulder.ibm.com/doc_link/en_US/a_doc_lib/aixbman/baseadmn/iandaadmin.htm" target="_top">System
    506506Management Guide: Operating System and Devices.</a>
    507 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2655457"></a>Configure smb.conf</h4></div></div></div><p>
    508 <a class="indexterm" name="id2655465"></a>
    509 <a class="indexterm" name="id2655471"></a>
    510 <a class="indexterm" name="id2655478"></a>
     507</p></div><div class="sect3" title="Configure smb.conf"><div class="titlepage"><div><div><h4 class="title"><a name="id2661549"></a>Configure smb.conf</h4></div></div></div><p>
     508<a class="indexterm" name="id2661557"></a>
     509<a class="indexterm" name="id2661564"></a>
     510<a class="indexterm" name="id2661571"></a>
    511511Several parameters are needed in the <code class="filename">smb.conf</code> file to control the behavior of <span class="application">winbindd</span>. These
    512512are described in more detail in the <a class="citerefentry" href="winbindd.8.html"><span class="citerefentry"><span class="refentrytitle">winbindd</span>(8)</span></a> man page. My <code class="filename">smb.conf</code> file, as shown in <a class="link" href="winbind.html#winbindcfg" title="Example 24.1. smb.conf for Winbind Setup">the smb.conf for Winbind Setup</a>, was modified to include the necessary entries in the [global] section.
    513 </p><div class="example"><a name="winbindcfg"></a><p class="title"><b>Example 24.1. smb.conf for Winbind Setup</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td>#  separate domain and username with '\', like DOMAIN\username</td></tr><tr><td><a class="indexterm" name="id2655552"></a><em class="parameter"><code>winbind separator = \</code></em></td></tr><tr><td>#  use uids from 10000 to 20000 for domain users</td></tr><tr><td><a class="indexterm" name="id2655568"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td>#  use gids from 10000 to 20000 for domain groups</td></tr><tr><td><a class="indexterm" name="id2655584"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr><tr><td>#  allow enumeration of winbind users and groups</td></tr><tr><td><a class="indexterm" name="id2655599"></a><em class="parameter"><code>winbind enum users = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2655611"></a><em class="parameter"><code>winbind enum groups = yes</code></em></td></tr><tr><td>#  give winbind users a real shell (only needed if they have telnet access)</td></tr><tr><td><a class="indexterm" name="id2655628"></a><em class="parameter"><code>template homedir = /home/winnt/%D/%U</code></em></td></tr><tr><td><a class="indexterm" name="id2655640"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2655654"></a>Join the Samba Server to the PDC Domain</h4></div></div></div><p>
    514 <a class="indexterm" name="id2655662"></a>
    515 <a class="indexterm" name="id2655669"></a>
    516 <a class="indexterm" name="id2655676"></a>
     513</p><div class="example"><a name="winbindcfg"></a><p class="title"><b>Example 24.1. smb.conf for Winbind Setup</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td>#  separate domain and username with '\', like DOMAIN\username</td></tr><tr><td><a class="indexterm" name="id2661644"></a><em class="parameter"><code>winbind separator = \</code></em></td></tr><tr><td>#  use uids from 10000 to 20000 for domain users</td></tr><tr><td><a class="indexterm" name="id2661660"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td>#  use gids from 10000 to 20000 for domain groups</td></tr><tr><td><a class="indexterm" name="id2661676"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr><tr><td>#  allow enumeration of winbind users and groups</td></tr><tr><td><a class="indexterm" name="id2661692"></a><em class="parameter"><code>winbind enum users = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2661704"></a><em class="parameter"><code>winbind enum groups = yes</code></em></td></tr><tr><td>#  give winbind users a real shell (only needed if they have telnet access)</td></tr><tr><td><a class="indexterm" name="id2661720"></a><em class="parameter"><code>template homedir = /home/winnt/%D/%U</code></em></td></tr><tr><td><a class="indexterm" name="id2661732"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect3" title="Join the Samba Server to the PDC Domain"><div class="titlepage"><div><div><h4 class="title"><a name="id2661746"></a>Join the Samba Server to the PDC Domain</h4></div></div></div><p>
     514<a class="indexterm" name="id2661755"></a>
     515<a class="indexterm" name="id2661762"></a>
     516<a class="indexterm" name="id2661768"></a>
    517517All machines that will participate in domain security should be members of
    518518the domain. This applies also to the PDC and all BDCs.
    519519</p><p>
    520 <a class="indexterm" name="id2655688"></a>
    521 <a class="indexterm" name="id2655694"></a>
    522 <a class="indexterm" name="id2655701"></a>
    523 <a class="indexterm" name="id2655712"></a>
    524 <a class="indexterm" name="id2655719"></a>
    525 <a class="indexterm" name="id2655726"></a>
    526 <a class="indexterm" name="id2655733"></a>
    527 <a class="indexterm" name="id2655739"></a>
    528 <a class="indexterm" name="id2655746"></a>
     520<a class="indexterm" name="id2661780"></a>
     521<a class="indexterm" name="id2661787"></a>
     522<a class="indexterm" name="id2661794"></a>
     523<a class="indexterm" name="id2661805"></a>
     524<a class="indexterm" name="id2661812"></a>
     525<a class="indexterm" name="id2661818"></a>
     526<a class="indexterm" name="id2661825"></a>
     527<a class="indexterm" name="id2661832"></a>
     528<a class="indexterm" name="id2661839"></a>
    529529The process of joining a domain requires the use of the <code class="literal">net rpc join</code>
    530530command. This process communicates with the domain controller it will register with
     
    533533start Samba on a PDC so that it can join its own domain.
    534534</p><p>
    535 <a class="indexterm" name="id2655774"></a>
    536 <a class="indexterm" name="id2655781"></a>
    537 <a class="indexterm" name="id2655788"></a>
     535<a class="indexterm" name="id2661867"></a>
     536<a class="indexterm" name="id2661873"></a>
     537<a class="indexterm" name="id2661880"></a>
    538538Enter the following command to make the Samba server join the domain, where <em class="replaceable"><code>PDC</code></em> is
    539539the name of your PDC and <em class="replaceable"><code>Administrator</code></em> is a domain user who has administrative
    540540privileges in the domain.
    541 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    542 <a class="indexterm" name="id2655809"></a>
    543 <a class="indexterm" name="id2655816"></a>
    544 <a class="indexterm" name="id2655822"></a>
    545 <a class="indexterm" name="id2655829"></a>
     541</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     542<a class="indexterm" name="id2661902"></a>
     543<a class="indexterm" name="id2661908"></a>
     544<a class="indexterm" name="id2661915"></a>
     545<a class="indexterm" name="id2661922"></a>
    546546Before attempting to join a machine to the domain, verify that Samba is running
    547547on the target domain controller (usually PDC) and that it is capable of being reached via ports
    548548137/udp, 135/tcp, 139/tcp, and 445/tcp (if Samba or Windows Server 2Kx).
    549549</p></div><p>
    550 <a class="indexterm" name="id2655844"></a>
     550<a class="indexterm" name="id2661936"></a>
    551551The use of the <code class="literal">net rpc join</code> facility is shown here:
    552552</p><pre class="screen">
    553553<code class="prompt">root# </code><strong class="userinput"><code>/usr/local/samba/bin/net rpc join -S PDC -U Administrator</code></strong>
    554554</pre><p>
    555 The proper response to the command should be &#8220;<span class="quote">Joined the domain
    556 <em class="replaceable"><code>DOMAIN</code></em></span>&#8221; where <em class="replaceable"><code>DOMAIN</code></em>
     555The proper response to the command should be <span class="quote">&#8220;<span class="quote">Joined the domain
     556<em class="replaceable"><code>DOMAIN</code></em></span>&#8221;</span> where <em class="replaceable"><code>DOMAIN</code></em>
    557557is your domain name.
    558 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2655892"></a>Starting and Testing the <code class="literal">winbindd</code> Daemon</h4></div></div></div><p>
    559 <a class="indexterm" name="id2655906"></a>
    560 <a class="indexterm" name="id2655912"></a>
    561 <a class="indexterm" name="id2655919"></a>
     558</p></div><div class="sect3" title="Starting and Testing the winbindd Daemon"><div class="titlepage"><div><div><h4 class="title"><a name="id2661984"></a>Starting and Testing the <code class="literal">winbindd</code> Daemon</h4></div></div></div><p>
     559<a class="indexterm" name="id2661998"></a>
     560<a class="indexterm" name="id2662005"></a>
     561<a class="indexterm" name="id2662012"></a>
    562562Eventually, you will want to modify your Samba startup script to automatically invoke the winbindd daemon when
    563563the other parts of Samba start, but it is possible to test out just the Winbind portion first. To start up
     
    567567</pre><p>
    568568Use the appropriate path to the location of the <code class="literal">winbindd</code> executable file.
    569 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    570 <a class="indexterm" name="id2655959"></a>
    571 <a class="indexterm" name="id2655965"></a>
     569</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     570<a class="indexterm" name="id2662051"></a>
     571<a class="indexterm" name="id2662058"></a>
    572572The command to start up Winbind services assumes that Samba has been installed in the
    573573<code class="filename">/usr/local/samba</code> directory tree. You may need to search for the location of Samba files
    574574if this is not the location of <code class="literal">winbindd</code> on your system.
    575575</p></div><p>
    576 <a class="indexterm" name="id2655991"></a>
    577 <a class="indexterm" name="id2655998"></a>
     576<a class="indexterm" name="id2662084"></a>
     577<a class="indexterm" name="id2662090"></a>
    578578I'm always paranoid and like to make sure the daemon is really running.
    579579</p><pre class="screen">
     
    581581</pre><p>
    582582</p><p>
    583 <a class="indexterm" name="id2656026"></a>
     583<a class="indexterm" name="id2662118"></a>
    584584This command should produce output like the following if the daemon is running.
    585585</p><pre class="screen">
     
    587587</pre><p>
    588588</p><p>
    589 <a class="indexterm" name="id2656043"></a>
    590 <a class="indexterm" name="id2656050"></a>
     589<a class="indexterm" name="id2662136"></a>
     590<a class="indexterm" name="id2662142"></a>
    591591Now, for the real test, try to get some information about the users on your PDC:
    592592</p><pre class="screen">
     
    603603CEO\TsInternetUser
    604604</pre><p>
    605 Obviously, I have named my domain &#8220;<span class="quote">CEO</span>&#8221; and my <a class="link" href="smb.conf.5.html#WINBINDSEPARATOR" target="_top">winbind separator</a> is
    606 &#8220;<span class="quote">\</span>&#8221;.
    607 </p><p>
    608 <a class="indexterm" name="id2656108"></a>
    609 <a class="indexterm" name="id2656115"></a>
     605Obviously, I have named my domain <span class="quote">&#8220;<span class="quote">CEO</span>&#8221;</span> and my <a class="link" href="smb.conf.5.html#WINBINDSEPARATOR" target="_top">winbind separator</a> is
     606<span class="quote">&#8220;<span class="quote">\</span>&#8221;</span>.
     607</p><p>
     608<a class="indexterm" name="id2662201"></a>
     609<a class="indexterm" name="id2662207"></a>
    610610You can do the same sort of thing to get group information from the PDC:
    611611</p><pre class="screen">
     
    621621CEO\Group Policy Creator Owners
    622622</pre><p>
    623 <a class="indexterm" name="id2656144"></a>
    624 <a class="indexterm" name="id2656151"></a>
    625 <a class="indexterm" name="id2656158"></a>
    626 <a class="indexterm" name="id2656165"></a>
    627 <a class="indexterm" name="id2656171"></a>
    628 <a class="indexterm" name="id2656178"></a>
    629 <a class="indexterm" name="id2656185"></a>
     623<a class="indexterm" name="id2662237"></a>
     624<a class="indexterm" name="id2662244"></a>
     625<a class="indexterm" name="id2662250"></a>
     626<a class="indexterm" name="id2662257"></a>
     627<a class="indexterm" name="id2662264"></a>
     628<a class="indexterm" name="id2662270"></a>
     629<a class="indexterm" name="id2662277"></a>
    630630The function <code class="literal">getent</code> can now be used to get unified lists of both local and PDC users and
    631631groups. Try the following command:
     
    641641<code class="prompt">root# </code><strong class="userinput"><code>getent group</code></strong>
    642642</pre><p>
    643 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2656247"></a>Fix the init.d Startup Scripts</h4></div></div></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2656253"></a>Linux</h5></div></div></div><p>
    644 <a class="indexterm" name="id2656260"></a>
    645 <a class="indexterm" name="id2656267"></a>
    646 <a class="indexterm" name="id2656274"></a>
    647 <a class="indexterm" name="id2656281"></a>
    648 <a class="indexterm" name="id2656288"></a>
    649 <a class="indexterm" name="id2656295"></a>
    650 <a class="indexterm" name="id2656302"></a>
    651 <a class="indexterm" name="id2656307"></a>
    652 <a class="indexterm" name="id2656313"></a>
     643</p></div><div class="sect3" title="Fix the init.d Startup Scripts"><div class="titlepage"><div><div><h4 class="title"><a name="id2662339"></a>Fix the init.d Startup Scripts</h4></div></div></div><div class="sect4" title="Linux"><div class="titlepage"><div><div><h5 class="title"><a name="id2662345"></a>Linux</h5></div></div></div><p>
     644<a class="indexterm" name="id2662352"></a>
     645<a class="indexterm" name="id2662359"></a>
     646<a class="indexterm" name="id2662366"></a>
     647<a class="indexterm" name="id2662373"></a>
     648<a class="indexterm" name="id2662380"></a>
     649<a class="indexterm" name="id2662387"></a>
     650<a class="indexterm" name="id2662394"></a>
     651<a class="indexterm" name="id2662399"></a>
     652<a class="indexterm" name="id2662405"></a>
    653653The <span class="application">winbindd</span> daemon needs to start up after the <span class="application">smbd</span> and <span class="application">nmbd</span> daemons are running.  To accomplish this
    654654task, you need to modify the startup scripts of your system.  They are located at
     
    711711        return $RETVAL
    712712}
    713 </pre></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2656458"></a>Solaris</h5></div></div></div><p>
     713</pre></div><div class="sect4" title="Solaris"><div class="titlepage"><div><div><h5 class="title"><a name="id2662551"></a>Solaris</h5></div></div></div><p>
    714714Winbind does not work on Solaris 9; see <a class="link" href="Portability.html#winbind-solaris9" title="Winbind on Solaris 9">Winbind on Solaris 9 section</a>
    715715for details.
    716716</p><p>
    717 <a class="indexterm" name="id2656479"></a>
    718 <a class="indexterm" name="id2656486"></a>
    719 <a class="indexterm" name="id2656493"></a>
    720 <a class="indexterm" name="id2656500"></a>
    721 <a class="indexterm" name="id2656507"></a>
    722 <a class="indexterm" name="id2656514"></a>
     717<a class="indexterm" name="id2662572"></a>
     718<a class="indexterm" name="id2662578"></a>
     719<a class="indexterm" name="id2662586"></a>
     720<a class="indexterm" name="id2662593"></a>
     721<a class="indexterm" name="id2662599"></a>
     722<a class="indexterm" name="id2662606"></a>
    723723On Solaris, you need to modify the <code class="filename">/etc/init.d/samba.server</code> startup script. It
    724724usually only starts smbd and nmbd but should now start winbindd, too. If you have Samba installed in
     
    781781/usr/local/samba/sbin/winbindd -D
    782782</pre><p>
    783 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2656602"></a>Restarting</h5></div></div></div><p>
    784 <a class="indexterm" name="id2656610"></a>
    785 <a class="indexterm" name="id2656617"></a>
     783</p></div><div class="sect4" title="Restarting"><div class="titlepage"><div><div><h5 class="title"><a name="id2662695"></a>Restarting</h5></div></div></div><p>
     784<a class="indexterm" name="id2662703"></a>
     785<a class="indexterm" name="id2662710"></a>
    786786If you restart the <span class="application">smbd</span>, <span class="application">nmbd</span>, and <span class="application">winbindd</span> daemons at this point, you
    787787should be able to connect to the Samba server as a domain member just as
    788788if you were a local user.
    789 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2656647"></a>Configure Winbind and PAM</h4></div></div></div><p>
    790 <a class="indexterm" name="id2656655"></a>
    791 <a class="indexterm" name="id2656662"></a>
    792 <a class="indexterm" name="id2656669"></a>
    793 <a class="indexterm" name="id2656675"></a>
     789</p></div></div><div class="sect3" title="Configure Winbind and PAM"><div class="titlepage"><div><div><h4 class="title"><a name="id2662740"></a>Configure Winbind and PAM</h4></div></div></div><p>
     790<a class="indexterm" name="id2662748"></a>
     791<a class="indexterm" name="id2662755"></a>
     792<a class="indexterm" name="id2662762"></a>
     793<a class="indexterm" name="id2662768"></a>
    794794If you have made it this far, you know that <code class="literal">winbindd</code> and Samba are working together. If you
    795795want to use Winbind to provide authentication for other services, keep reading. The PAM configuration files
     
    797797<code class="filename">/etc/pam.d</code> files? If not, do it now.)
    798798</p><p>
    799 <a class="indexterm" name="id2656702"></a>
    800 <a class="indexterm" name="id2656709"></a>
    801 <a class="indexterm" name="id2656716"></a>
    802 <a class="indexterm" name="id2656723"></a>
    803 <a class="indexterm" name="id2656730"></a>
    804 <a class="indexterm" name="id2656737"></a>
     799<a class="indexterm" name="id2662795"></a>
     800<a class="indexterm" name="id2662802"></a>
     801<a class="indexterm" name="id2662809"></a>
     802<a class="indexterm" name="id2662816"></a>
     803<a class="indexterm" name="id2662822"></a>
     804<a class="indexterm" name="id2662829"></a>
    805805You will need a PAM module to use winbindd with these other services. This module will be compiled in the
    806806<code class="filename">../source/nsswitch</code> directory by invoking the command:
     
    815815<code class="prompt">root# </code><strong class="userinput"><code>cp ../samba/source/nsswitch/pam_winbind.so /lib/security</code></strong>
    816816</pre><p>
    817 </p><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2656813"></a>Linux/FreeBSD-Specific PAM Configuration</h5></div></div></div><p>
    818 <a class="indexterm" name="id2656822"></a>
     817</p><div class="sect4" title="Linux/FreeBSD-Specific PAM Configuration"><div class="titlepage"><div><div><h5 class="title"><a name="id2662906"></a>Linux/FreeBSD-Specific PAM Configuration</h5></div></div></div><p>
     818<a class="indexterm" name="id2662914"></a>
    819819The <code class="filename">/etc/pam.d/samba</code> file does not need to be changed. I just left this file as it was:
    820820</p><pre class="programlisting">
     
    822822account required  /lib/security/pam_stack.so service=system-auth
    823823</pre><p>
    824 <a class="indexterm" name="id2656846"></a>
    825 <a class="indexterm" name="id2656853"></a>
    826 <a class="indexterm" name="id2656860"></a>
    827 <a class="indexterm" name="id2656867"></a>
    828 <a class="indexterm" name="id2656874"></a>
    829 <a class="indexterm" name="id2656880"></a>
    830 <a class="indexterm" name="id2656887"></a>
    831 <a class="indexterm" name="id2656894"></a>
    832 <a class="indexterm" name="id2656901"></a>
     824<a class="indexterm" name="id2662939"></a>
     825<a class="indexterm" name="id2662946"></a>
     826<a class="indexterm" name="id2662953"></a>
     827<a class="indexterm" name="id2662959"></a>
     828<a class="indexterm" name="id2662966"></a>
     829<a class="indexterm" name="id2662973"></a>
     830<a class="indexterm" name="id2662980"></a>
     831<a class="indexterm" name="id2662987"></a>
     832<a class="indexterm" name="id2662994"></a>
    833833The other services that I modified to allow the use of Winbind as an authentication service were the normal
    834834login on the console (or a terminal session), telnet logins, and ftp service. In order to enable these
     
    844844        enable = yes
    845845</pre><p>
    846 <a class="indexterm" name="id2656954"></a>
    847 <a class="indexterm" name="id2656961"></a>
    848 <a class="indexterm" name="id2656968"></a>
     846<a class="indexterm" name="id2663046"></a>
     847<a class="indexterm" name="id2663053"></a>
     848<a class="indexterm" name="id2663060"></a>
    849849For ftp services to work properly, you will also need to either have individual directories for the domain
    850850users already present on the server or change the home directory template to a general directory for all
    851851domain users. These can be easily set using the <code class="filename">smb.conf</code> global entry <a class="link" href="smb.conf.5.html#TEMPLATEHOMEDIR" target="_top">template homedir</a>.
    852 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    853 <a class="indexterm" name="id2657004"></a>
     852</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     853<a class="indexterm" name="id2663096"></a>
    854854The directory in <a class="link" href="smb.conf.5.html#TEMPLATEHOMEDIR" target="_top">template homedir</a> is not created automatically! Use pam_mkhomedir or
    855855pre-create the directories of users to make sure users can log in on UNIX with their own home directory.
    856856</p></div><p>
    857 <a class="indexterm" name="id2657028"></a>
    858 <a class="indexterm" name="id2657035"></a>
    859 <a class="indexterm" name="id2657041"></a>
     857<a class="indexterm" name="id2663121"></a>
     858<a class="indexterm" name="id2663127"></a>
     859<a class="indexterm" name="id2663134"></a>
    860860The <code class="filename">/etc/pam.d/ftp</code> file can be changed to allow Winbind ftp access in a manner similar to
    861861the samba file. My <code class="filename">/etc/pam.d/ftp</code> file was changed to look like this:
     
    870870session    required     /lib/security/pam_stack.so service=system-auth
    871871</pre><p>
    872 <a class="indexterm" name="id2657078"></a>
     872<a class="indexterm" name="id2663170"></a>
    873873The <code class="filename">/etc/pam.d/login</code> file can be changed in nearly the same way. It now looks like this:
    874874</p><pre class="programlisting">
     
    884884session    optional     /lib/security/pam_console.so
    885885</pre><p>
    886 <a class="indexterm" name="id2657108"></a>
    887 <a class="indexterm" name="id2657115"></a>
    888 <a class="indexterm" name="id2657122"></a>
     886<a class="indexterm" name="id2663201"></a>
     887<a class="indexterm" name="id2663208"></a>
     888<a class="indexterm" name="id2663215"></a>
    889889In this case, I added the </p><pre class="programlisting">auth sufficient /lib/security/pam_winbind.so</pre><p> lines
    890890as before, but also added the </p><pre class="programlisting">required pam_securetty.so</pre><p> above it to disallow
     
    892892use_first_pass</pre><p> line after the <code class="literal">winbind.so</code> line to get rid of annoying
    893893double prompts for passwords.
    894 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2657160"></a>Solaris-Specific Configuration</h5></div></div></div><p>
    895 <a class="indexterm" name="id2657168"></a>
    896 <a class="indexterm" name="id2657175"></a>
     894</p></div><div class="sect4" title="Solaris-Specific Configuration"><div class="titlepage"><div><div><h5 class="title"><a name="id2663252"></a>Solaris-Specific Configuration</h5></div></div></div><p>
     895<a class="indexterm" name="id2663261"></a>
     896<a class="indexterm" name="id2663268"></a>
    897897The <code class="filename">/etc/pam.conf</code> needs to be changed. I changed this file so my Domain
    898898users can log on both locally as well as with telnet. The following are the changes
     
    961961#other password optional /usr/lib/security/$ISA/pam_krb5.so.1 try_first_pass
    962962</pre><p>
    963 <a class="indexterm" name="id2657287"></a>
     963<a class="indexterm" name="id2663339"></a>
    964964I also added a <em class="parameter"><code>try_first_pass</code></em> line after the <code class="filename">winbind.so</code>
    965965line to get rid of annoying double prompts for passwords.
     
    967967Now restart your Samba and try connecting through your application that you
    968968configured in the pam.conf.
    969 </p></div></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2657317"></a>Conclusion</h2></div></div></div><p>
    970 <a class="indexterm" name="id2657325"></a>
    971 <a class="indexterm" name="id2657332"></a>
    972 <a class="indexterm" name="id2657338"></a>
    973 <a class="indexterm" name="id2657345"></a>
    974 <a class="indexterm" name="id2657352"></a>
     969</p></div></div></div></div><div class="sect1" title="Conclusion"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2663370"></a>Conclusion</h2></div></div></div><p>
     970<a class="indexterm" name="id2663377"></a>
     971<a class="indexterm" name="id2663384"></a>
     972<a class="indexterm" name="id2663391"></a>
     973<a class="indexterm" name="id2663397"></a>
     974<a class="indexterm" name="id2663404"></a>
    975975The Winbind system, through the use of the NSS, PAMs, and appropriate Microsoft RPC calls, have allowed us to
    976976provide seamless integration of Microsoft Windows NT domain users on a UNIX system. The result is a great
    977977reduction in the administrative cost of running a mixed UNIX and NT network.
    978 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2657366"></a>Common Errors</h2></div></div></div><p>
     978</p></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2663418"></a>Common Errors</h2></div></div></div><p>
    979979        Winbind has a number of limitations in its current released version that we hope to overcome in future releases:
    980         </p><div class="itemizedlist"><ul type="disc"><li><p>
     980        </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
    981981                Winbind is currently only available for the Linux, Solaris, AIX, and IRIX operating systems, although
    982982                ports to other operating systems are certainly possible. For such ports to be feasible, we require the C
    983983                library of the target operating system to support the NSS and PAM systems. This is becoming more common as NSS
    984984                and PAM gain support among UNIX vendors.
    985                 </p></li><li><p>
     985                </p></li><li class="listitem"><p>
    986986                The mappings of Windows NT RIDs to UNIX IDs is not made algorithmically and depends on the order in
    987987                which unmapped users or groups are seen by Winbind. It may be difficult to recover the mappings of RID to UNIX
    988988                ID if the file containing this information is corrupted or destroyed.
    989                 </p></li><li><p>
     989                </p></li><li class="listitem"><p>
    990990                Currently the Winbind PAM module does not take into account possible workstation and logon time
    991991                restrictions that may be set for Windows NT users; this is instead up to the PDC to enforce.
    992                 </p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2657408"></a>NSCD Problem Warning</h3></div></div></div><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
     992                </p></li></ul></div><div class="sect2" title="NSCD Problem Warning"><div class="titlepage"><div><div><h3 class="title"><a name="id2663460"></a>NSCD Problem Warning</h3></div></div></div><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
    993993        Do not under any circumstances run <code class="literal">nscd</code> on any system
    994994        on which <code class="literal">winbindd</code> is running.
     
    997997        even though NSSWITCH is correctly configured, it will not be possible to resolve
    998998        domain users and groups for file and directory controls.
    999         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2657444"></a>Winbind Is Not Resolving Users and Groups</h3></div></div></div><p>&#8220;<span class="quote">
     999        </p></div><div class="sect2" title="Winbind Is Not Resolving Users and Groups"><div class="titlepage"><div><div><h3 class="title"><a name="id2663497"></a>Winbind Is Not Resolving Users and Groups</h3></div></div></div><p><span class="quote">&#8220;<span class="quote">
    10001000        My <code class="filename">smb.conf</code> file is correctly configured. I have specified <a class="link" href="smb.conf.5.html#IDMAPUID" target="_top">idmap uid = 12000</a>,
    10011001        and <a class="link" href="smb.conf.5.html#IDMAPGID" target="_top">idmap gid = 3000-3500</a> and <code class="literal">winbind</code> is running.
    10021002        When I do the following, it all works fine.
    1003         </span>&#8221;</p><pre class="screen">
     1003        </span>&#8221;</span></p><pre class="screen">
    10041004<code class="prompt">root# </code><strong class="userinput"><code>wbinfo -u</code></strong>
    10051005MIDEARTH\maryo
     
    10211021...
    10221022maryo:x:15000:15003:Mary Orville:/home/MIDEARTH/maryo:/bin/false
    1023 </pre><p>&#8220;<span class="quote">
     1023</pre><p><span class="quote">&#8220;<span class="quote">
    10241024But the following command just fails:
    1025 </span>&#8221;
     1025</span>&#8221;</span>
    10261026</p><pre class="screen">
    10271027<code class="prompt">root# </code><strong class="userinput"><code>chown maryo a_file</code></strong>
    10281028chown: `maryo': invalid user
    10291029</pre><p>
    1030 &#8220;<span class="quote">
     1030<span class="quote">&#8220;<span class="quote">
    10311031This is driving me nuts! What can be wrong?
    1032 </span>&#8221;</p><p>
     1032</span>&#8221;</span></p><p>
    10331033Same problem as the one above.
    10341034Your system is likely running <code class="literal">nscd</code>, the name service
Note: See TracChangeset for help on using the changeset viewer.